added uikit markup for mv winix function

WIP: #2
This commit is contained in:
Tomasz Sowa 2021-01-26 16:37:11 +01:00
parent ec6f946b97
commit 572afd360a
3 changed files with 20 additions and 16 deletions

View File

@ -2,30 +2,36 @@
<h1>{mv_header}</h1>
<p>
[if item_is]{mv_page} [item_url]:[else]{mv_dir} [dir_without_slash][end]
</p>
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]mv">
<fieldset>
<legend>{mv_form_legend}</legend>
<p>
[if item_is]{mv_page} [item_url]:[else]{mv_dir} [dir][end]
</p>
<p class="withnext">{suggested_url}</p>
<input class="edit" type="text" name="dst_path" value="[dir_without_slash][if item_is]/[item_url][end]">
<form class="uk-form-stacked uk-width-1-2@s" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]mv">
<div class="uk-margin">
<label class="uk-form-label" for="winix_url">{suggested_url}</label>
<div class="uk-form-controls">
<input class="uk-input" id="winix_url" type="text" name="dst_path" value="[dir_without_slash][if item_is]/[item_url][end]">
</div>
</div>
[if not item_is]
<label><input type="checkbox" name="c"[if winix_function_param_is "c"]checked="checked"[end]>{mv_only_content}</label>
<div class="uk-margin">
<label><input class="uk-checkbox uk-margin-small-right" type="checkbox" name="c"[if winix_function_param_is "c"] checked="checked"[end]>{mv_only_content}</label>
</div>
[end]
[if winix_function_param_is "postredirect"]
<input type="hidden" name="postredirect" value="[winix_function_param_value "postredirect"]">
[end]
<input class="submit" type="submit" value="{move}">
</fieldset>
<div class="uk-margin">
<input class="uk-button uk-button-primary" type="submit" value="{move}">
</div>
</form>
</div>

View File

@ -407,7 +407,6 @@ mount_current = Current mount point
mv_header = Move
mv_form_legend = Move form
mv_page = Move page
mv_dir = Move directory
mv_only_content = Move only content of the directory

View File

@ -427,7 +427,6 @@ mount_current = Bieżący punkt montowania
mv_header = Przenieś
mv_form_legend = Formularz zmiany
mv_page = Przenieś stronę
mv_dir = Przenieś katalog
mv_only_content = Przenieś tylko zawartość katalogu