mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
add separation
This commit is contained in:
@@ -76,42 +76,44 @@
|
|||||||
{{ 'print:: Can download subdef' | trans }}
|
{{ 'print:: Can download subdef' | trans }}
|
||||||
</label>
|
</label>
|
||||||
<div id="print-download-subdef" style="display: none;">
|
<div id="print-download-subdef" style="display: none;">
|
||||||
<select id="print-select-download-subdef" name="print-select-download-subdef" style="margin-left: 0px;">
|
<fieldset style="border-bottom: 1px inset #6d6666;border-top: 1px inset #6d6666;padding:10px;">
|
||||||
{% for subdefName in printer.getAvailableSubdefName %}
|
<select id="print-select-download-subdef" name="print-select-download-subdef" style="margin-left: 0px;">
|
||||||
<option value="{{ subdefName}}" class="download-{{ subdefName }}"
|
{% for subdefName in printer.getAvailableSubdefName %}
|
||||||
data-count=""
|
<option value="{{ subdefName}}" class="download-{{ subdefName }}"
|
||||||
{% if subdefName == "preview" %} selected {% endif %} >
|
data-count=""
|
||||||
{{ subdefName }}
|
{% if subdefName == "preview" %} selected {% endif %} >
|
||||||
</option>
|
{{ subdefName }}
|
||||||
{% endfor %}
|
</option>
|
||||||
</select>
|
{% endfor %}
|
||||||
<div class="acceptDl-info" style="display:inline-block;padding-top: 4px;width: 400px;text-align: center;margin-bottom: 0px;">
|
|
||||||
<span class="download-count-info"></span> {{ 'print:: element downloadable' | trans }}
|
|
||||||
</div>
|
|
||||||
<div class="alert alert-warning" style="padding-top: 4px;padding-bottom: 4px;width: 480px;text-align: center;margin-left: 0px;margin-top: 10px;margin-bottom: 10px;">
|
|
||||||
<span> {{ 'print:: warning! Only available media for chosen subdef is downloadable' | trans }} </span>
|
|
||||||
</div>
|
|
||||||
<div style="margin:10px 0px;">
|
|
||||||
<label>{{ 'print:: subdef url ttl' | trans }}</label>
|
|
||||||
<input style="margin-bottom: 2px;width:100px;" type="number" min="0" name="print-download-ttl" value ="2"/>
|
|
||||||
<select id="print-download-ttl-unit" name="print-download-ttl-unit" style="margin-left: 0px;width:100px">
|
|
||||||
<option value="3600" >{{ 'print:: hour' | trans }}</option>
|
|
||||||
<option value="86400" selected>{{ 'print:: day' | trans }}</option>
|
|
||||||
<option value="604800" >{{ 'print:: week' | trans }}</option>
|
|
||||||
<option value="2592000" >{{ 'print:: month' | trans }}</option>
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
<div class="acceptDl-info" style="display:inline-block;padding-top: 4px;width: 400px;text-align: center;margin-bottom: 0px;">
|
||||||
<div style="margin:10px 0px;">
|
<span class="download-count-info"></span> {{ 'print:: element downloadable' | trans }}
|
||||||
<label>{{ 'print:: choose filename' | trans }}</label>
|
</div>
|
||||||
<label for="download-title-name" class="radio" style="margin-left: 10px;">
|
<div class="alert alert-warning" style="padding-top: 4px;padding-bottom: 4px;width: 480px;text-align: center;margin-left: 0px;margin-top: 10px;margin-bottom: 10px;">
|
||||||
<input type="radio" name="print-filename" id="download-title-name" checked value="title" />
|
<span> {{ 'print:: warning! Only available media for chosen subdef is downloadable' | trans }} </span>
|
||||||
{{ 'print:: title' | trans }}
|
</div>
|
||||||
</label>
|
<div style="margin:10px 0px;">
|
||||||
<label for="download-original-name" class="radio" style="margin-left: 10px;">
|
<label>{{ 'print:: subdef url ttl' | trans }}</label>
|
||||||
<input type="radio" name="print-filename" id="download-original-name" value="originalname" />
|
<input style="margin-bottom: 2px;width:100px;" type="number" min="0" name="print-download-ttl" value ="2"/>
|
||||||
{{ 'print:: original media name' | trans }}
|
<select id="print-download-ttl-unit" name="print-download-ttl-unit" style="margin-left: 0px;width:100px">
|
||||||
</label>
|
<option value="3600" >{{ 'print:: hour' | trans }}</option>
|
||||||
</div>
|
<option value="86400" selected>{{ 'print:: day' | trans }}</option>
|
||||||
|
<option value="604800" >{{ 'print:: week' | trans }}</option>
|
||||||
|
<option value="2592000" >{{ 'print:: month' | trans }}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div style="margin:10px 0px;">
|
||||||
|
<label>{{ 'print:: choose filename' | trans }}</label>
|
||||||
|
<label for="download-title-name" class="radio" style="margin-left: 10px;">
|
||||||
|
<input type="radio" name="print-filename" id="download-title-name" checked value="title" />
|
||||||
|
{{ 'print:: title' | trans }}
|
||||||
|
</label>
|
||||||
|
<label for="download-original-name" class="radio" style="margin-left: 10px;">
|
||||||
|
<input type="radio" name="print-filename" id="download-original-name" value="originalname" />
|
||||||
|
{{ 'print:: original media name' | trans }}
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user