Commit Graph

63 Commits

Author SHA1 Message Date
Bharat Mediratta
dbeadc1407 Use the Kohana cascading filesystem to locate resources loaded by the
theme.  Because the theme comes first, this means that themes can
override any module resources, at the cost that we no longer have
namespacing for JS and CSS files.

The only file getting used outside of this model is
themes/default/screen.css which is used in the admin theme.  I fixed
that by copying screen.css into admin_default and renaming its
screen.css to admin_screen.css.  I also copied over all the images
that it was referencing.

Fixes tickets #48 and #539.

Theme API changes:
- theme_script(), theme_url() and theme_css() are no longer needed
- script(), url() and css() now refer to the first matching asset in
  the module load path, where gallery3/lib is at the end of the path
2009-07-22 14:27:57 -07:00
Tim Almdal
04f02b49c5 Add task logging functionality. When a task runs, it creates a log that is
stored in the persistant cache for 30 days.  On the admin_maintenance page
there is a new link for completed tasks "browse log".  Clicking this will
open a dialog box that has the the contents of the log displayed.

The user can then view the log and close the dialog, or press the save button
to download the log to their local machine.
2009-07-05 17:38:49 -07:00
jhilden
b943b0f7c1 made the 'back to gallery' link in the admin a lighter grey
(and removed the commented out <img>)
2009-07-01 02:39:00 -04:00
jhilden
979d327595 change to the 'back to the Gallery' link from the admin. 2009-07-01 02:17:38 -04:00
jhilden
0b34ec4e8b UI enhancement: made the 'back to the Gallery' links a little bit easier to discover 2009-06-30 22:22:29 -04:00
Bharat Mediratta
2fbc03437a Digibug simplification cleanup. Upgrade digibug module to version 2.
1) Simplify the admin settings page to what most of our users
   want. Eliminate basic_ and default_ ids.  We just have company_id
   and default_id.  Advanced users can use advanced settings for now.

2) Fix security in print_photos (didn't get it right in my last commit)

3) Use the regular thumb and full urls if the images are publicly
   available to reduce load on the proxy.

4) Simplify proxy expiration code.

5) Eliminate all specialized styles from the admin theme.
2009-06-27 15:55:47 -07:00
Tim Almdal
e2e1aa0683 1) Rename the basic_company_id and basic_event_id to default_*_id
2) Removed the tabs on the digibug admin page word count is now at 35.
3) Added a default link which resets the event and company id's to gallery's ids
2009-06-25 21:41:54 -07:00
Tim Almdal
d9e4ad79bb 1) Move the digibug css in the default and admin_default themes
2) Remove most of the marketing cruft on the admin pages
3) Change the name of the admin settings to just Digibug
4) Remove the "switch on mouseover" approach
2009-06-25 08:14:34 -07:00
Bharat Mediratta
ec61cd5031 Fix css indentation 2009-06-22 14:20:28 -07:00
jhilden
d297f1fdd2 first stab at makeing the language admin view prettier 2009-06-10 02:07:47 -04:00
jhilden
f1c91ab977 fixed that you couldn't copy and paste text from the admin dashboard
* made only the block headers draggable, so that the rest of the block could be normal
* this should fix bug #292
2009-06-09 23:54:02 -04:00
Andy Staudacher
0e415dae9b Preliminary BiDi support (needs *a lot* of tweaking) 2009-06-06 15:24:14 -07:00
jhilden
277c96c2f6 user admin facelift
* added drag & drop help message for empty groups
* fixed overflow issue with more than ~10 members in one group
* CSS improvements
2009-05-31 18:25:43 -04:00
jhilden
2c1c4d3475 small UI/CSS facelift for user admin + git test 2009-05-30 12:09:56 -04:00
Bharat Mediratta
12380b8b39 Add the "advanced settings" controller which lets you see all the
vars.  We'll eventually turn this into a registry where you can edit
settings directly (at your own risk).
2009-05-13 19:48:57 +00:00
Bharat Mediratta
b9aeec634d Colorize admin user rows to make them stand out 2009-05-13 03:44:55 +00:00
Chad Kieffer
812cb94b1e Usability update: include an "Activate Toolkit Name" button with available toolkits 2009-05-06 03:47:58 +00:00
Jakob Hilden
b909132f54 tag changes in the tag admin should now work as expected 2009-03-25 04:47:25 +00:00
Tim Almdal
8afefb9be5 Remove mptt warning message hack 2009-03-17 05:07:36 +00:00
Chad Kieffer
c377ffc2a5 Ticket #97. Applied button css where missing. Minor form css improvements. 2009-03-16 05:50:05 +00:00
Tim Almdal
13a337b6cd Add a new css selector for the high lighting a warning on the MPTT
graphical display screen in the developer module.
2009-03-16 02:58:15 +00:00
Tim Almdal
74768e4cea The first incarnation of the developer tools. This allows the user to
enter a module name, a description and pick the call backs and or
events they want to support and generate the basic module skeleton
with one click.
@todo: clone a module, clone a theme, generate skeleton controller,
view,
2009-03-13 22:15:16 +00:00
Tim Almdal
c0e65b2029 move server_add styles into the theme screen.css files 2009-03-04 16:36:41 +00:00
Bharat Mediratta
df7b05b40e Move tag CSS into admin theme's screen.css
Use JS to add titles to avoid repeating the same text 10s of times.
2009-02-26 03:38:56 +00:00
Bharat Mediratta
07310c8499 Add slightly more visual feedback when you're hovering over a
draggable user.  Also, drag the icon and name not just the icon.
2009-02-26 03:05:29 +00:00
Chad Kieffer
cd8d1c6582 Temp fix for photostreamin admin dashboard, other miscellaneous css fixes. Apply jQuery UI button css to submit inputs in the admin theme. 2009-02-23 05:14:05 +00:00
Chad Kieffer
5dcf2794c5 Fixes to comment admin buttons. 2009-02-20 07:10:20 +00:00
Chad Kieffer
d04dbadfa1 Apply buttons to comment moderation and action buttons, beginnings of a photo stream carousel block in admin dashboard. 2009-02-15 22:36:51 +00:00
Chad Kieffer
d487558369 Fixed gViewMenu button issues. Fixed major admin_default theme issues, content now clears the menu. Added IE-specific stylesheet to admin theme. 2009-02-12 04:25:43 +00:00
Chad Kieffer
67d551d5e3 jQuery-based buttons! Form updates, short form updates. Need to fix add user/group buttons and search form on search results page. 2009-02-06 06:34:47 +00:00
Chad Kieffer
196ef392ab Move admin_default table styles to default for consistency. 2009-02-06 02:10:00 +00:00
Tim Almdal
04fe9da190 Addressed the issues in ticket 34.
Surround the the attempt to use gd_info with a try catch block.
Created a new class gInstalledToolkit which has the highlighting and
the over pointer definition.  Now if you mouse across an inactive
toolkit it remains inert.
2009-02-05 23:29:44 +00:00
Chad Kieffer
8a4eb9eed2 For consistency with the rest of the admin UI, display User list as table, not list. Apply cursor: move to jQuery UI draggable and sortable. Clean up admin table styles a bit. 2009-02-01 18:37:45 +00:00
Bharat Mediratta
25b8008304 Fix button background image url 2009-01-28 19:31:10 +00:00
Chad Kieffer
f315b9822d Annotate and number admin_default's style sheet sections. Changed gSelected from green to neutral light gray BG color. Various user admin style updates. 2009-01-25 21:14:44 +00:00
Chad Kieffer
be2b1b6400 Add opacity values for gUnavailable in IE with the filter attribute. 2009-01-25 20:28:07 +00:00
Chad Kieffer
ffa1fa45f6 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. 2009-01-25 06:55:24 +00:00
Chad Kieffer
55cd2afde5 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. 2009-01-24 20:06:13 +00:00
Chad Kieffer
e749e6cf3e Added drop target style, other minor admin dashboard style updates. 2009-01-16 06:45:25 +00:00
Bharat Mediratta
38ddf559f0 Put up a nice message if there are no other themes available to
choose.
2009-01-13 10:57:38 +00:00
Bharat Mediratta
35a529cd86 Change admin/themes to show both styles of themes side by side. This
eliminates the menu, which is kind of clunky.

While I'm at it, let's call the "regular" themes a "site theme" so we
have "site" and "admin" themes.
2009-01-13 10:53:06 +00:00
Bharat Mediratta
2fb5a0efb1 fix up the selected theme, too. 2009-01-13 05:12:46 +00:00
Bharat Mediratta
16bebdca06 Make the admin/graphics UI mimic admin/themes with a single selected
toolkit above, and other available ones below.
2009-01-13 04:56:29 +00:00
Chad Kieffer
42e635bff0 Theme admin refinement. Make more room to show the preview by enlarging the iframe and removing the heading above it. 2009-01-12 07:57:13 +00:00
Chad Kieffer
5fdcdc0e68 Applied jquery ui dialog titlebar to dashboard blocks to add a close button. It's not semantically "nice" but it works for now. 2009-01-12 03:49:19 +00:00
Chad Kieffer
eccf2bf83e Moved admin css that needs a home to admin theme. Removed bg texture from default theme's site menu and buttons. Leave 'em with a flat color for now. 2009-01-11 22:49:54 +00:00
Chad Kieffer
aed5a4c788 2009-01-10 22:39:24 +00:00
Chad Kieffer
e82afcebfa Site message placement and style adjustments. 2009-01-10 19:33:01 +00:00
Chad Kieffer
dd5c70fc39 Make the admin theme header fully visible at 1024px wide. Revert to larger Gallery logo. 2009-01-10 18:34:25 +00:00
Chad Kieffer
3c31549011 Added gCommentsAdminMenu to clearfix. 2009-01-09 08:08:22 +00:00