summaryrefslogtreecommitdiff
path: root/modules/gallery/views
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2010-02-28 18:46:43 -0700
committerChad Kieffer <ckieffer@gmail.com>2010-02-28 18:46:43 -0700
commit5f985b3e2aa404d9b1145796dff8bc4c1e48b3f0 (patch)
treeb49a42de655b59fa7b332a4b678d64acdacbc4d4 /modules/gallery/views
parent835027bdb6e5646250d29529168359ad40e9d5f1 (diff)
Updates to upload CSS to make it themeable and RTL compatible. Use absolute positioning to handle upload button positioning. Remove color definitions to allow jQuery UI theme to set button colors. Consolidate upload dialog CSS to modules/css/gallery.css. Closes #885.
Diffstat (limited to 'modules/gallery/views')
-rw-r--r--modules/gallery/views/form_uploadify.html.php29
1 files changed, 4 insertions, 25 deletions
diff --git a/modules/gallery/views/form_uploadify.html.php b/modules/gallery/views/form_uploadify.html.php
index 137cb353..2cb690ea 100644
--- a/modules/gallery/views/form_uploadify.html.php
+++ b/modules/gallery/views/form_uploadify.html.php
@@ -1,25 +1,4 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
-<style>
-#g-add-photos-canvas object {
- height: 33px;
- left: -80px;
- position: relative;
- z-index: 100;
-}
-#g-add-photos-canvas span {
- height: 33px;
- width: 150px;
-}
-#g-add-photos-button {
- float: left;
- left: 155px;
- padding-bottom: .5em;
- padding-top: .5em;
- position: relative;
- width: 150px;
- z-index: 1;
-}
-</style>
<script type="text/javascript" src="<?= url::file("lib/swfobject.js") ?>"></script>
<script type="text/javascript" src="<?= url::file("lib/uploadify/jquery.uploadify.min.js") ?>"></script>
<script type="text/javascript">
@@ -121,11 +100,11 @@
</ul>
</div>
-<div id="g-add-photos-canvas" style="text-align: center;clear: both">
- <a id="g-add-photos-button" class="ui-corner-all" href="#"><?= t("Select photos...") ?></a>
+<div id="g-add-photos-canvas">
+ <button id="g-add-photos-button" class="g-button ui-state-default ui-corner-all" href="#"><?= t("Select photos...") ?></button>
<span id="g-uploadify"></span>
</div>
-<div id="g-add-photos-status" style="text-align: center;">
- <ul>
+<div id="g-add-photos-status">
+ <ul id="g-action-status" class="g-message-block">
</ul>
</div>