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:
Chad Kieffer
2009-10-23 22:24:06 -06:00
parent 85affaf23f
commit e3f90a889d
7 changed files with 50 additions and 77 deletions

View File

@@ -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) . "&amp;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>