// Image preference bootstraping
This commit is contained in:
1 parent
a62f9169d5
commit
3ba337f19a
1 file changed
+13
-10
@@ -64,7 +64,7 @@
|
|||||||
{l s='Be careful! Manually uploaded thumbnails will be erased and replaced by automatically generated thumbnails.'}
|
{l s='Be careful! Manually uploaded thumbnails will be erased and replaced by automatically generated thumbnails.'}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="form-group">
|
||||||
<label class="control-label col-lg-3">{l s='Select an image'}</label>
|
<label class="control-label col-lg-3">{l s='Select an image'}</label>
|
||||||
<div class="col-lg-9">
|
<div class="col-lg-9">
|
||||||
<select name="type" onchange="changeFormat(this)">
|
<select name="type" onchange="changeFormat(this)">
|
||||||
@@ -76,20 +76,19 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
|
||||||
{foreach $types AS $k => $type}
|
{foreach $types AS $k => $type}
|
||||||
<label class="control-label col-lg-3 second-select format_{$k}" style="display:none;">{l s='Select a format'}</label>
|
<div class="form-group second-select format_{$k}" style="display:none;">
|
||||||
<div class="col-lg-9 second-select margin-form format_{$k}" style="display:none;">
|
<label class="control-label col-lg-3">{l s='Select a format'}</label>
|
||||||
<select class="second-select format_{$k}" name="format_{$k}">
|
<div class="col-lg-9 margin-form">
|
||||||
|
<select name="format_{$k}">
|
||||||
<option value="all">{l s='All'}</option>
|
<option value="all">{l s='All'}</option>
|
||||||
{foreach $formats[$k] AS $format}
|
{foreach $formats[$k] AS $format}
|
||||||
<option value="{$format['id_image_type']}">{$format['name']}</option>
|
<option value="{$format['id_image_type']}">{$format['name']}</option>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
{/foreach}
|
|
||||||
</div>
|
</div>
|
||||||
|
{/foreach}
|
||||||
<script>
|
<script>
|
||||||
function changeFormat(elt)
|
function changeFormat(elt)
|
||||||
{ldelim}
|
{ldelim}
|
||||||
@@ -98,7 +97,7 @@
|
|||||||
{rdelim}
|
{rdelim}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="row">
|
<div class="form-group">
|
||||||
<label class="control-label col-lg-3">
|
<label class="control-label col-lg-3">
|
||||||
{l s='Erase previous images'}
|
{l s='Erase previous images'}
|
||||||
</label>
|
</label>
|
||||||
@@ -117,11 +116,15 @@
|
|||||||
<span class="slide-button btn btn-default"></span>
|
<span class="slide-button btn btn-default"></span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{l s='Select "No" only if your server timed out and you need to resume the regeneration.'}
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-lg-9">
|
||||||
|
<p class="help-block">{l s='Select "No" only if your server timed out and you need to resume the regeneration.'}</p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="form-group">
|
||||||
<div class="col-lg-9 col-lg-push-3">
|
<div class="col-lg-9 col-lg-push-3">
|
||||||
<input type="Submit" name="submitRegenerate{$table}" value="{l s='Regenerate thumbnails'}" class="btn btn-default" onclick="return confirm('{l s='Are you sure?'}');" />
|
<input type="Submit" name="submitRegenerate{$table}" value="{l s='Regenerate thumbnails'}" class="btn btn-default" onclick="return confirm('{l s='Are you sure?'}');" />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user