summaryrefslogtreecommitdiff
path: root/core/views/admin_graphics.html.php
diff options
context:
space:
mode:
authorChad Kieffer <chad@2tbsp.com>2009-01-24 20:06:13 +0000
committerChad Kieffer <chad@2tbsp.com>2009-01-24 20:06:13 +0000
commit55cd2afde539842d54bd79fb7bdced37e5e53101 (patch)
treed98859e8e84864706124a89f1ee9b1dc1ebf7683 /core/views/admin_graphics.html.php
parentcbff78daa8a642e1800916f92e43202857c3b677 (diff)
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.
Diffstat (limited to 'core/views/admin_graphics.html.php')
-rw-r--r--core/views/admin_graphics.html.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/core/views/admin_graphics.html.php b/core/views/admin_graphics.html.php
index c5e32320..9cf54ccd 100644
--- a/core/views/admin_graphics.html.php
+++ b/core/views/admin_graphics.html.php
@@ -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>