mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-26 22:39:10 -04:00
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:
@@ -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) . "&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>
|
||||
|
||||
Reference in New Issue
Block a user