Commit Graph

125 Commits

Author SHA1 Message Date
Chad Kieffer
ce70ab3785 Comment and code format fixes 2009-01-16 07:22:30 +00:00
Chad Kieffer
e749e6cf3e Added drop target style, other minor admin dashboard style updates. 2009-01-16 06:45:25 +00:00
Chad Kieffer
3e5ef37ee8 Make admin dashboard blocks draggable. Updated order and position not yet saved. 2009-01-16 00:55:36 +00:00
Andy Staudacher
e4a9b19bf9 Changing t() placeholder syntax from {{replace_me}} to %replace_me. 2009-01-15 10:02:41 +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
Bharat Mediratta
bc421a615a Implement deleting dashboard blocks.
* Refactor blocks so that they have a separate id vs css_id.  This way
  we can have a unique identifier for each visual block.

* Store blocks with a random id as their unique identifier

* Add Admin_Dashboard::remove_block() and modify
  themes/admin_default/views/block.html.php to call it when you click the
  remove box.
2009-01-12 08:26:38 +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
a1c70d4a68 Remove gDraggable, we won't be using it. jQuery UI theme will handle this. 2009-01-12 07:31:40 +00:00
Chad Kieffer
d880c0b7e2 If there's sidebar content, use yui-t5. If none, yui-t7. 2009-01-12 04:24:53 +00:00
Bharat Mediratta
11fb04cdde Only the admin dashboard has a sidebar now.
admin.html.php looks for $sidebar and renders the page appropriately
if one exists.  But only admin_dashboard has one currently.
2009-01-12 04:04:55 +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
Bharat Mediratta
59202b943e Make the logos link back to the main album page for easy navigation. 2009-01-12 00:42:14 +00:00
Chad Kieffer
88246de0ff Add all the files jquery ui needs, including css for each widget. ui.all.css includes calls to the widget css we're currently using. Add new widget css here. 2009-01-12 00:22:55 +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
Bharat Mediratta
0033887ba8 Rework the way we do theme selection. Show the currently active theme
and then thumbnails for all the other available themes.  If you select
one of the other available themes, it gives you a preview pane where
you can look at either the main page or the site admin page with the
new theme, then choose to activate it if you like it.
2009-01-11 00:24:39 +00:00
Bharat Mediratta
c35f110686 Improve name/descriptions 2009-01-11 00:19:44 +00:00
Chad Kieffer
66d5db01d5 Replace default theme screenshot with the admin theme. 2009-01-10 23:18:32 +00:00
Chad Kieffer
aed5a4c788 2009-01-10 22:39:24 +00:00
Felix Rabinovich
705c55fb79 Submit theme values 2009-01-10 22:04:49 +00:00
Chad Kieffer
15c25d85ec Switch the pager to use themeroller's icon sprites. I applied jquery ui css classes to newly added span classes in the pager templates directly, will likely move these out and apply through ui.init.js later. 2009-01-10 21:50:35 +00:00
Felix Rabinovich
72e9d20f3c Display theme details 2009-01-10 19:41:43 +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
Felix Rabinovich
006f18dc7a Split themes into two tabs for regular and admin themes 2009-01-10 08:00:43 +00:00
Chad Kieffer
7569b39802 Updated to jquery ui 1.6rc4. Lots of changes, improved widget theme css and icons. No need to fix position dialogs anymore. Included the following in the combined file + i18n files. Requires push back up to vendor branch.
UI Core
Effects Core
Draggable - Req'd by Sortable
Resizeable - Image/watermark/avatar scaling
Sortable - Rearrange
Dialog - All over :)
Datepicker - Edit albums/items
Progressbar
Highlight - Message display, comment addition
Transfer - Adding tags from available list to field


Not fully integrated into the default theme yet.
2009-01-10 06:25:44 +00:00
Chad Kieffer
5690e58c45 Move site status message to the very top of the page, before the header. 2009-01-10 05:59:43 +00:00
Felix Rabinovich
48e73e9081 Theme Administration cleanup initialization 2009-01-09 23:54:40 +00:00
Felix Rabinovich
b647aa0f74 Theme Administration v. 2. Doesn't distinguish between regular and admin themes yet 2009-01-09 23:31:46 +00:00
Chad Kieffer
3c31549011 Added gCommentsAdminMenu to clearfix. 2009-01-09 08:08:22 +00:00
Chad Kieffer
f97d7da720 Reformated comment admin table layout. Added bulk action checkboxes and menu, reply link, and edit link, all of which need to be wired up. 2009-01-09 07:33:22 +00:00
Andy Staudacher
a631fe29f3 i18n refactoring: Rename all _() (reserved by gettext) calls to t().
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08 17:13:06 +00:00
Bharat Mediratta
3d4cf6f27e Added avatar.jpg and pager.html.php (used in comments module) 2009-01-08 02:46:42 +00:00
Bharat Mediratta
925720ac3d Make any ul.gMenu into a sf-menu 2009-01-07 09:08:05 +00:00
Bharat Mediratta
6bff8959cf Reattach event listeners to open modal dialogs. 2009-01-04 08:47:08 +00:00
Chad Kieffer
62fe5f0bd6 Inject the drag and drop handle style via jQuery. Restore background color bars behind admin block titles. 2009-01-03 01:26:22 +00:00
Chad Kieffer
a57ede2f96 Added default user avatar. Comment thread updates, including display of avatar. Sidebar block display white space updates. Combined gLoginMenu and gCredits css. 2009-01-03 01:11:20 +00:00
Chad Kieffer
7db1758e93 More admin menu cleanup to reduce it's height. Removed redundant admin theme images, these are included in the default theme. Added a favicon. 2009-01-02 22:06:12 +00:00
Chad Kieffer
19d144496d Remove Superfish navbar CSS. It's not being used. 2009-01-02 21:25:44 +00:00
Chad Kieffer
d6e2614802 Added basic table styles. Fixed width issue on gContent in the admin theme. Only display background colors on gInfo, gError, gWarning, etc. if they appear in gSiteStatus or gMessage. Miscellaneous form style updates. 2009-01-02 21:21:54 +00:00
Chad Kieffer
1ce19a994d Set the admin layout to 100% of the window. Add IE fix stylesheet for admin theme, reduce height of admin header. 2009-01-02 20:09:28 +00:00
Chad Kieffer
5321c8d59d Switched admin menu from navbar back to plain menu, plain dropdowns are more usable. Minor text formatting updates. 2009-01-02 07:09:25 +00:00
Bharat Mediratta
cd1d023754 Change the preamble for views in two ways:
1) drop unnecessary semicolon
2) start with <?php for extra security in the case that the server itself doesn't
   have short_tags enabled (the app won't work, but we need to make sure that we're
   still secure)
2009-01-01 00:23:29 +00:00
Bharat Mediratta
11d2788af8 Refactor common dialog JS code out into lib/gallery.dialog.js 2009-01-01 00:06:52 +00:00
Bharat Mediratta
22a7983bbd Re-add $theme->messages(), which got accidentally removed. 2008-12-29 04:12:21 +00:00
Bharat Mediratta
b46bfdd492 Separate permanent messages out of the message helper and put them
into site_status.  Show site status in the header in the admin theme.
2008-12-29 00:35:31 +00:00
Felix Rabinovich
0bef37eb0b To reset a form use resetForm 2008-12-26 05:36:08 +00:00
Felix Rabinovich
7f95c80e88 User Administration. Edit users. Take 3 2008-12-26 00:58:15 +00:00