summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-07-11 05:03:36 -0700
committerBharat Mediratta <bharat@menalto.com>2009-07-11 05:03:36 -0700
commit954ab5a5051edb67eca8ae74283a80a226e39672 (patch)
treee27757f7ea82d064d2cd9a38b295648b4073f850 /themes
parent8e8a9f728b4e04f281eacc1467e79f55cb2343c5 (diff)
Further simplify server_add (and bump it to version 3).
Now we don't have checkboxes, but instead we restrict you to selecting directories and albums from only one level in the hierarchy. This makes it easier for us to make sure that we properly create the hierarchy that you want and avoid confusion about what's going to wind up where. Modify Server_Add_File_Model to have a parent_id and item_id and then modify them as we go so that we can build up a tree structure there *before* we create any items. This makes it much easier to figure out where a new item is going to go and get rid of a bunch of probably buggy code in the main task.
Diffstat (limited to 'themes')
-rw-r--r--themes/default/css/screen.css20
1 files changed, 6 insertions, 14 deletions
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index 41e51623..842a1491 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -879,24 +879,20 @@ form .gError,
/* Server Add */
-.gCheckboxTree input {
- display: inline;
+#gServerAddTree {
+ cursor: pointer;
}
-.gCheckboxTree li {
+#gServerAddTree li {
padding: 0;
float: none;
}
-.gCheckboxTree .ui-icon {
- cursor: pointer;
+#gServerAddTree span.selected {
+ background: #ddd;
}
-.gFile {
- padding-left: 2.5em;
-}
-
-#gServerAdd #gServerAddTree {
+#gServerAddTree {
border: 1px solid #ccc;
height: 25em;
overflow: auto;
@@ -909,10 +905,6 @@ form .gError,
padding-left: 1.2em;
}
-#gServerAdd ul li .gFile {
- padding-left: 2.5em;
-}
-
#gServerAdd .gBreadcrumbs {
font-size: 1em;
padding: 0;