added uikit markup for template winix function

WIP: #2
This commit is contained in:
Tomasz Sowa 2021-01-27 18:44:58 +01:00
parent 10e291bb39
commit ac6ede6aef
3 changed files with 22 additions and 19 deletions

View File

@ -44,28 +44,33 @@
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]template">
<fieldset>
<legend>{template_form_legend}</legend>
{template_form_info}:
<select name="template" class="template">
[# the first should be an empty string (value="") which means: a first template from the mount point]
<option value="-1">({template_form_from_mount_point})</option>
[for template_tab]
<option value="[template_tab_index]"[if template_tab_isdefault] selected[end]>[template_tab_file_name]</option>
[end]
</select>
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]template">
<div class="uk-margin">
<label class="uk-form-label" for="winix_select_template">{template_form_info}</label>
<div class="uk-form-controls">
<select class="uk-select" id="winix_select_template" name="template">
[# the first should be an empty string (value="") which means: a first template from the mount point]
<option value="-1">({template_form_from_mount_point})</option>
[for template_tab]
<option value="[template_tab_index]"[if template_tab_isdefault] selected[end]>[template_tab_file_name]</option>
[end]
</select>
</div>
</div>
[if winix_function_param_is "postredirect"]
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end]
<input class="submit" type="submit" value="{change}">
</fieldset>
<div class="uk-margin">
<input class="uk-button uk-button-primary" type="submit" value="{change}">
</div>
</form>

View File

@ -307,7 +307,6 @@ template_header = Template
template_info_file = Current html template for this file
template_info_dir = Current html template for this directory
template_from_mount_point = is taken from the mount point
template_form_legend = Template form
template_form_info = Select a new template
template_form_from_mount_point = from the mount point

View File

@ -327,7 +327,6 @@ template_header = Szablon
template_info_file = Bieżący szablon dla tego pliku
template_info_dir = Bieżący szablon dla tego katalogu
template_from_mount_point = jest brany z punktu montowania
template_form_legend = Formularz zmiany szablonu
template_form_info = Wybierz nowy szablon
template_form_from_mount_point = z punktu montowania