Commit Graph

88 Commits

Author SHA1 Message Date
Chad Kieffer
3bce5d00ee Renamed apple_touch_url to apple_touch_icon_url. 2011-04-22 12:50:21 -04:00
Chad Kieffer
4a9b45c9c3 Created apple-touch-icon and added to wind and admin_wind themes. 2011-04-22 12:37:28 -04:00
Bharat Mediratta
bda14f29ea Put external CSS before external JS, per:
http://code.google.com/speed/page-speed/docs/rtt.html#PutStylesBeforeScripts

ref:
http://gallery.menalto.com/node/100693

Thanks Serge!

Fixes #1633.
2011-03-05 15:59:52 -08:00
Bharat Mediratta
08c41f2976 Add "html_attributes" theme callback to allow modules to inject attributes into
the <html> element, including things like namespaces.   Fixes #1615.
2011-01-21 00:07:00 -08:00
Bharat Mediratta
20ae106c22 Display a message in the "Check for Gallery upgrades" block when
there's a newer version available, even if the user has dismissed the
site status message.  #1605.
2011-01-17 21:16:43 -08:00
Bharat Mediratta
5ac49d497f Create new APIs for allowing themers to control what CSS/JS get
combined and when.  Backwards compatible in that old themes will work,
but their CSS/JS will no longer be combined unless they make some
changes.  Fixes #1600.
2011-01-10 22:20:12 -08:00
Chad Kieffer
c0f398554a Fixed path to loading-small.gif. Thanks serged! 2010-12-09 21:59:23 -07:00
Tim Almdal
d52d57b617 Cleanup links to some of the image links. 2010-09-21 19:54:38 -07:00
Tim Almdal
960db6d7e5 Move the image files into the themes. Leave the favicon and logo in lib/images. 2010-09-20 22:36:34 -07:00
Tim Almdal
8b21123493 When the lib/gallery.common.css was combined, the image urls did not point to the correct location.
So lets fix that up. But first undo the reverts:
93d1a8103e "Revert 'Move the contents of lib/gallery.common.css into themes/wind/css/screen.php and themes/admin_wind/css/screen.php.  Most themers seem to copy the contents into their theme's screen.css anyway.'"
f14290f34f "Revert 'Clean up white space'"
ff8ee5bdfc "Revert 'Add some whitespace.'"
2010-09-19 07:53:39 -07:00
Bharat Mediratta
93d1a8103e Revert "Move the contents of lib/gallery.common.css into themes/wind/css/screen.php and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway."
This reverts commit 4251704175.
2010-09-18 17:51:25 -07:00
Tim Almdal
4251704175 Move the contents of lib/gallery.common.css into themes/wind/css/screen.php and themes/admin_wind/css/screen.php. Most themers seem to copy the contents into their theme's screen.css anyway. 2010-09-15 18:20:27 -07:00
Bharat Mediratta
5cd34160af Remove unnecessary g2_import CSS (which we were loading on every page
-- doh!) and replace it with a new "enumeration" list style in the
admin_wind CSS.  Reshuffle the page a little bit to make it look cleaner.
2010-09-08 21:34:16 -07:00
Bharat Mediratta
b49d2e6e00 Make .g-unavailable a little more legible. 2010-09-04 14:01:23 -07:00
Bharat Mediratta
bc0d5e79cb Revert "Change the theme option page to display using tabs if the site theme has an admin page."
This reverts commit d66c496fb1.

Conflicts:

	modules/gallery/helpers/theme.php
	modules/gallery/views/admin_theme_options.html.php
	themes/admin_wind/css/screen.css
2010-08-29 23:09:52 -07:00
Bharat Mediratta
4c8445852d Bump gallery module to v36 and add a favicon_url variable, which we
expose in Admin > Appearance > Theme Options and defaults to
lib/images/favicon.ico.

Thix fixes ticket #1312.
2010-08-29 16:27:32 -07:00
Tim Almdal
c90996341a Fix for ticket #1288. Add a containing <ul> element for the footer on the admin page. Also respect the "show credits" variable setting. 2010-08-11 08:02:16 -07:00
Bharat Mediratta
6899af367b Cleanup on the Admin > Languages page.
Hide the fieldset and legend in the theme, since they don't add any value.
Change l10n_client::_server_url() to use the short style GMC urls and make the
API a little tighter.
2010-07-20 12:45:04 -07:00
Tim Almdal
d66c496fb1 Change the theme option page to display using tabs if the site theme has an admin page. 2010-06-25 06:45:09 -07:00
Tim Almdal
3b05db2685 Move the themeroller files to the themes from gallery/lib. These are visual related and make more sense to be in the theme. Both three_nids and browny_wind* have created copies for their visual standard. So this just makes it consistent across the board. 2010-06-23 11:16:56 -07:00
mamouneyya
5494751a33 oops.. remove the padding in RTL for admin-wind, since it seems that it's zero (why the rule is duplicated with different values in the file in lines: 159, 301?) 2010-06-23 23:32:53 +08:00
mamouneyya
b8800c69e1 flip the padding direction for sidebar blocks contents in RTL 2010-06-23 23:32:40 +08:00
Bharat Mediratta
1783c04692 Remove the title attribute for menus using JS since we're showing that
text anyway.  This may be turn into an accessibility issue, but it's
pretty annoying to have a tooltip show up with the text in it.
2010-06-20 11:15:53 -07:00
mamouneyya
3b89a56caf Flip some margin/padding values for RTL 2010-06-18 14:10:05 +03:00
Bharat Mediratta
6b01022a97 Hide the admin menu and show it after it's loaded to minimize flicker.
Normalize the comment text about this interaction between admin_wind
and wind.
2010-06-13 20:44:13 -07:00
Bharat Mediratta
dc4fdca2ab Localize "Gallery Admin" 2010-05-14 16:54:50 -07:00
ckieffer
dcd09c09e8 Missed this in commit 9e3c0c08849b5842f9c345d7b4f90ee82359dedb. 2010-05-14 17:13:35 -06:00
Andy Staudacher
a19b97f8d6 First step towards fixing ticket #1038: Allowing for custom page <title> in admin pages, just like in non-admin pages.
TODO: Set $view->page_title in the many admin controllers we have. I just set it for admin_maintenance.php to show how it's intended to be used. I copied the title from views/admin_maintenance.html.php to the controller.
2010-02-28 13:35:58 -08:00
Tim Almdal
abdeb21ccb Add a user_menu method to the Admin_View and then use this method to get the
user menu.  Since the information displayed is identical in both admin and
theme views, it makes sense to combine the generation to it is done in a common
location.
2010-01-23 13:29:49 -08:00
Chad Kieffer
690ea4a014 Rename g-pager to g-paginator after the recent pagination update. 2009-11-19 11:55:43 -08:00
Chad Kieffer
6ddbef3dcd Add a bit more space back inbetween admin form inputs on pages 2009-11-08 23:13:02 -07:00
Chad Kieffer
e184b5b6b1 Apply borders and padding back to theme choices. 2009-11-08 22:46:26 -07:00
Chad Kieffer
2bd4fa4b43 Remove g-actions, it doesn't serve any real purpose in styling or JavaScript. 2009-11-08 21:46:09 -07:00
Chad Kieffer
176ca8cb33 Move g-panel styles into gallery.common and tighten up form layout a bit. 2009-11-08 19:21:06 -07:00
Chad Kieffer
d73de4f0a2 No need to abbreviate text in CSS class names. Thx bharat! 2009-11-08 09:00:49 -07:00
Chad Kieffer
95ffb393d3 Restore padding and border for admin dashboard blocks, minor table margin adjustments. 2009-11-07 15:34:34 -07:00
Chad Kieffer
322422e785 Remove borders and padding on blocks in the content area to clean things up in the admin views a bit. 2009-11-07 14:03:10 -07:00
Tim Almdal
e300ede3d8 1) Change the name of the form and message to g-in-place-edit-form and g-in-place-edit-message.
2) Make sure the cancel button works and cleans up the dom appropriately.
2009-11-07 00:05:49 -08:00
Chad Kieffer
c9d38e606f Add a bit of white space under fieldsets. 2009-11-07 00:13:31 -07:00
Tim Almdal
f102693966 Correct some speeling errors 2009-11-06 22:19:01 -08:00
Chad Kieffer
3e0a81a394 Move log viewing and translation CSS from admin_wind to gallery.css. Explicitly set widths on all admin forms to 270px, all work better at a narrower width than the 500px default set by gallery.dialog.js. 2009-11-06 21:35:32 -07:00
Tim Almdal
6984737a54 Clean up problem with cancelling the inplace edit left a whole bunch of css artifacts. 2009-11-05 21:35:40 -08:00
jhilden
9a8e9bc7f5 Small CSS fix for language admin 2009-11-03 17:40:39 -05:00
Chad Kieffer
e95c0dcf2b Rename Default to Wind and Admin Wind themes respectively in CSS docblocks. 2009-11-01 22:15:06 -07:00
Chad Kieffer
80dedf77d8 Cleanup RTL styles even further. I think this gets wind and admin_wind looking pretty good for RTL. Related to the previous commit, remove g-right from login menu, let the theme handle positioning. 2009-11-01 19:11:58 -07:00
Tim Almdal
7ea13b3869 Normalize capitalization ticket #596 2009-10-28 12:15:52 -07:00
Chad Kieffer
fbc5517711 Initial RTL update work. Consolidated shared rtl-related css selectors in gallery.common. Applied g-right and g-left to a few banner items, including login menu and the logo. 2009-10-28 00:15:08 -06:00
Chad Kieffer
27571a1467 We really only need one "back to the Gallery" link in the banner. Replace the one on the left with "you are logged in as". Added a bit of height to the admin banner to space out the admin menu from the login menu. Forced the removal of padding-left in g-inline list items. 2009-10-27 23:18:45 -06:00
Chad Kieffer
0c6840dea2 Put margin between g-inline items. Update login menu in the admin theme. Set h1 size in all g-dialogs, rather than a few specific ones. 2009-10-27 07:37:07 -07:00
Chad Kieffer
02b6366dd2 Switch instances of first to g-first. 2009-10-27 07:37:04 -07:00