Commit c1d2cf23 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes #3074 Removed snapshot field from setup template

parent 449a1e73
......@@ -17,12 +17,8 @@
{if $generic_settings.snapshot_active == FALSE}
<div class='step4_container'>
<div class='step4_name'>
<input type='checkbox' value='1' name='snapshot_active'
onClick='
changeState("snapshot_base");
changeState("snapshot_server");
changeState("snapshot_user");
changeState("snapshot_password");'>{t}Enable snapshots{/t}
<input type='checkbox' value='1' name='snapshot_active'
onClick='changeState("snapshot_base");'/>{t}Enable snapshots{/t}
</div>
</div>
<div style='margin-left:10px;'>
......@@ -35,33 +31,6 @@
type='text' value='{$generic_settings.snapshot_base}' disabled>
</div>
</div>
<div class='step4_container'>
<div class='step4_name'>
{t}Server{/t}
</div>
<div class='step4_value'>
<input style='width:220' id='snapshot_server' name='snapshot_server'
type='text' value='{$generic_settings.snapshot_server}' disabled>
</div>
</div>
<div class='step4_container'>
<div class='step4_name'>
{t}User{/t}
</div>
<div class='step4_value'>
<input style='width:220' id='snapshot_user' name='snapshot_user'
type='text' value='{$generic_settings.snapshot_user}' disabled>
</div>
</div>
<div class='step4_container'>
<div class='step4_name'>
{t}Password{/t}
</div>
<div class='step4_value'>
<input style='width:220' id='snapshot_password' name='snapshot_password'
type='password' value='{$generic_settings.snapshot_password}' disabled>
</div>
</div>
</div>
{else}
......@@ -80,33 +49,6 @@
type='text' value='{$generic_settings.snapshot_base}'>
</div>
</div>
<div class='step4_container'>
<div class='step4_name'>
{t}Server{/t}
</div>
<div class='step4_value'>
<input style='width:220' id='snapshot_server' name='snapshot_server'
type='text' value='{$generic_settings.snapshot_server}'>
</div>
</div>
<div class='step4_container'>
<div class='step4_name'>
{t}User{/t}
</div>
<div class='step4_value'>
<input style='width:220' id='snapshot_user' name='snapshot_user'
type='text' value='{$generic_settings.snapshot_user}'>
</div>
</div>
<div class='step4_container'>
<div class='step4_name'>
{t}Password{/t}
</div>
<div class='step4_value'>
<input style='width:220;' id='snapshot_password' name='snapshot_password'
type='password' value='{$generic_settings.snapshot_password}'>
</div>
</div>
</div>
{/if}
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment