Wrap all admin views in g-block and g-block content. This provides the means to visually separate the view's title and description from everything else. Primary admin view title should always be h1, and only one h1 per view. Removed some unused admin CSS id's.

This commit is contained in:
Chad Kieffer
2009-10-18 20:22:10 -06:00
parent 91ab6f161f
commit 5f56cbf997
20 changed files with 889 additions and 886 deletions

View File

@@ -1,25 +1,22 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<div id="g-server-add-admin">
<h2>
<?= t("Add From Server Admininstration") ?>
</h2>
<div id="g-authorized-path">
<h3><?= t("Authorized Paths") ?></h3>
<div class="g-block">
<h1> <?= t("Add From Server Admininstration") ?> </h1>
<div class="g-block-content">
<h2><?= t("Authorized Paths") ?></h2>
<ul<? if (!empty($paths)): ?> style="display: none;"<? endif ?>>
<li class="g-module-status g-info"><?= t("No Authorized image source paths defined yet") ?></li>
</ul>
<ul id="g-path-list">
<ul>
<? foreach ($paths as $id => $path): ?>
<li class="ui-icon-left">
<span class="ui-icon ui-icon-folder-open"></span>
<?= 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 ui-icon ui-icon-trash">
X
</a>
<?= html::clean($path) ?>
class="g-remove-dir"><span class="ui-icon ui-icon-trash">X</span></a>
</li>
<? endforeach ?>
</ul>
<?= $form ?>
</div>
<?= $form ?>
</div>