Adding new Style templates and CSS from TWG.

The new css/wg-css replaces /webgui.css.  It is removed in this upgrade.
This commit is contained in:
Colin Kuskie 2009-11-12 13:56:50 -08:00
parent c9d1cba820
commit 97ce509059
8 changed files with 34 additions and 0 deletions

View file

@ -11,6 +11,7 @@
- fixed #11215: Los Angeles cannot be default timezone
- fixed #11220: Map asset badly broken
- fixed #11222: testEnvironment.pl Missing Dependencies
- fixed #11226: New stylesheet (wg-base.css), new style templates (from the TWG)
7.8.4
- Fixed a compatibility problem between WRE and new Spectre code.

View file

@ -15,6 +15,25 @@ save you many hours of grief.
the Visitor account. Previously, based on how the user was created,
they would get default values from different places.
* The following style templates have been cleaned up by the TWG:
- WebGUI 6 Blank Style, Style 01; Style 02, Style 03:
- no structural changes
- Fail safe:
- added new CSS that is more robust and validates (in external file: style.css);
- it was also necessary to update the css to work with the new navigation templates
- changed the markup and the order of the home/login/user/admin controls at the bottom
- All of the above templates:
- added a link tag to wg-base.css
- added conditional comments at the top and bottom of the body tag to be able to target
IE versions easily with css
* Added wg-base.css, which is linked to in each style template. This stylesheet is for css that
is used in more than one tempalte, like pagination inline icons etc. Inline styles that are
removed from templates, will be replaced with styles in wg-base.css (and example is RFE 11182).
Elements that are styled in wg-base.css have a classname that starts with "wg-".
wg-base.css replaces webgui.css, which will be removed from the site.
7.8.4
--------------------------------------------------------------------
* A bug introduced in 7.8.1 could cause the Shop sale notification

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -32,6 +32,7 @@ my $session = start(); # this line required
fixPackageFlagOnOlder( $session );
addEMSSubmissionTables($session);
configEMSActivities($session);
removeOldWebGUICSS($session);
# upgrade functions go here
@ -48,6 +49,19 @@ finish($session); # this line required
# print "DONE!\n" unless $quiet;
#}
#----------------------------------------------------------------------------
# Describe what our function does
sub removeOldWebGUICSS {
my $session = shift;
print "\tRemoving the old webgui.css file... " unless $quiet;
my $snippet = WebGUI::Asset->newByDynamicClass($session, 'PcRRPhh-0KfvLLNIPdxJTw');
if ($snippet) {
$snippet->purge;
}
# and here's our code
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Describe what our function does
sub configEMSActivities {