mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-26 14:29:14 -04:00
Adjust order of items on server_add admin page. Restore autocomplete to the add form. Created a server_add.css file.
This commit is contained in:
@@ -2,21 +2,20 @@
|
||||
<div class="g-block">
|
||||
<h1> <?= t("Add From Server Admininstration") ?> </h1>
|
||||
<div class="g-block-content">
|
||||
<?= $form ?>
|
||||
<h2><?= t("Authorized Paths") ?></h2>
|
||||
<ul<? if (!empty($paths)): ?> style="display: none;"<? endif ?>>
|
||||
<ul id="g-server-add-paths">
|
||||
<? if (empty($paths)): ?>
|
||||
<li class="g-module-status g-info"><?= t("No Authorized image source paths defined yet") ?></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<? endif ?>
|
||||
<? foreach ($paths as $id => $path): ?>
|
||||
<li class="ui-icon-left">
|
||||
<span class="ui-icon ui-icon-folder-open"></span>
|
||||
<li>
|
||||
<?= html::clean($path) ?>
|
||||
<a href="<?= url::site("admin/server_add/remove_path?path=" . urlencode($path) . "&csrf=$csrf") ?>"
|
||||
id="icon_<?= $id?>"
|
||||
class="g-remove-dir"><span class="ui-icon ui-icon-trash">X</span></a>
|
||||
id="icon_<?= $id ?>"
|
||||
class="g-remove-dir g-button"><span class="ui-icon ui-icon-trash"><?= t("delete") ?></span></a>
|
||||
</li>
|
||||
<? endforeach ?>
|
||||
</ul>
|
||||
<?= $form ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user