mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-26 22:39:10 -04:00
Admin theme style cleanup. Merged separate selected, available, unavailable into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
select_toolkit = function(el) {
|
||||
if (!$(this).hasClass("unavailable")) {
|
||||
if (!$(this).hasClass("gUnavailable")) {
|
||||
window.location = '<?= url::site("admin/graphics/choose/__TK__?csrf=" . access::csrf_token()) ?>'
|
||||
.replace("__TK__", $(this).attr("id"));
|
||||
}
|
||||
};
|
||||
$("#gAvailableToolkits div.gBlock").click(select_toolkit);
|
||||
$("#gAvailableToolkits .gBlock").click(select_toolkit);
|
||||
});
|
||||
|
||||
</script>
|
||||
@@ -17,12 +17,10 @@
|
||||
<?= t("Gallery needs a graphics toolkit in order to manipulate your photos. Please choose one from the list below.") ?>
|
||||
</p>
|
||||
|
||||
<div id="gSelectedToolkit">
|
||||
<h2> <?= t("Active Toolkit") ?> </h2>
|
||||
<?= $active ?>
|
||||
</div>
|
||||
<h2> <?= t("Active Toolkit") ?> </h2>
|
||||
<?= $active ?>
|
||||
|
||||
<div id="gAvailableToolkits">
|
||||
<div class="gAvailable">
|
||||
<h2> <?= t("Available Toolkits") ?> </h2>
|
||||
<?= $available ?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user