-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item531: various style changes to top bar, navigation, logo, background
git-svn-id: http://svn.foswiki.org/trunk/FoswikiSiteSkin@2257 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
- Loading branch information
ArthurClemens
authored and
ArthurClemens
committed
Jan 31, 2009
1 parent
540e628
commit 4c57095
Showing
18 changed files
with
88 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}% | ||
%{ main navigation items }% | ||
%TMPL:DEF{"topbarbuttons"}%<ul> | ||
%TMPL:P{"topbarbutton" DESTWEB="Home" LABEL="Home"}% | ||
%TMPL:P{"topbarbutton" DESTWEB="About" LABEL="About"}% | ||
%TMPL:P{"topbarbutton" DESTWEB="System" LABEL="Documentation"}% | ||
%TMPL:P{"topbarbutton" DESTWEB="Extensions" LABEL="Extensions"}% | ||
%TMPL:P{"topbarbutton" DESTWEB="Support" LABEL="Support"}% | ||
%TMPL:P{"topbarbutton" DESTWEB="Community" LABEL="Community"}% | ||
%TMPL:P{"topbarbutton" DESTWEB="Development" LABEL="Development"}% | ||
%TMPL:P{"topbarbutton" DESTWEB="Download" LABEL="Download"}% | ||
</ul>%TMPL:END% | ||
|
||
%{ definition of main navigation list item }% | ||
%TMPL:DEF{"topbarbutton"}%<li><a href="%SCRIPTURL{"view"}%/%DESTWEB%/WebHome" class="%IF{"'%DESTWEB%'='%WEB%'" then="active" else="inactive"}%">%LABEL%</a></li>%TMPL:END% | ||
|
||
%{ display of name and login / logout links at very top }% | ||
%TMPL:DEF{"userbar"}%<div id="foswikisiteUserBar"><ul>%IF{"context authenticated" then='<li>%MAKETEXT{"Hello [_1]" args="[[%WIKIUSERNAME%][%SPACEOUT{%WIKINAME%}%]]"}%</li>'}%%IF{"$ LOGOUT != ''" then='<li>%LOGOUT%</li>'}%%IF{"$ LOGIN != '' and not context authenticated" then='<li>You are visiting this site as: [[%WIKIUSERNAME%][%WIKINAME%]]</li><li>%LOGIN% %IF{"context registration_supported AND context registration_enabled" then="%MAKETEXT{"or"}% [[%SYSTEMWEB%.UserRegistration][%MAKETEXT{"Register"}%]]"}%</li>'}%<li>[[%USERSWEB%.WikiUsers][Users]]</li></ul></div>%TMPL:END% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
%TMPL:INCLUDE{"viewtopbar"}% | ||
%TMPL:DEF{"topbar"}%<div id="patternTopBar"><div id="patternTopBarLeft"></div><div id="patternTopBarRight"><div id="patternTopBarContentsWrapper"><div id="patternTopBarContents">%IF{"istopic '%SYSTEMWEB%.WebTopBar'" then="$percntINCLUDE{$quot%SYSTEMWEB%.WebTopBar$quot}$percnt" else="$percntINCLUDE{$quot%SYSTEMWEB%.WebTopBarExample$quot}$percnt"}%</div></div></div> | ||
<div id="patternTopBarButtons">%TMPL:P{"topbarbuttons"}%</div> | ||
</div><!-- /patternTopBar-->%TMPL:END% | ||
%TMPL:INCLUDE{"Navigation"}% %{ loads System.FoswikiSiteSkinNavigationTemplate }% | ||
|
||
%TMPL:DEF{"topbarbuttons"}%<ul>%TMPL:P{"topbarbutton" DESTWEB="Home" LABEL="About"}%%TMPL:P{"topbarbutton" DESTWEB="Download" LABEL="Download"}%%TMPL:P{"topbarbutton" DESTWEB="System" LABEL="Documentation"}%%TMPL:P{"topbarbutton" DESTWEB="Community" LABEL="Community"}%%TMPL:P{"topbarbutton" DESTWEB="Extensions" LABEL="Extensions"}%%TMPL:P{"topbarbutton" DESTWEB="Support" LABEL="Support"}%%TMPL:P{"topbarbutton" DESTWEB="Development" LABEL="Development"}%</ul>%TMPL:END% | ||
|
||
%TMPL:DEF{"topbarbutton"}%<li><a href="%SCRIPTURL{"view"}%/%DESTWEB%/WebHome" class="%IF{"'%DESTWEB%'='%WEB%'" then="active" else="inactive"}%">%LABEL%</a></li>%TMPL:END% | ||
|
||
%TMPL:DEF{"userbar"}%<div id="userbar">[[Main.YourAccount][Your account]] <span class="userbarsep"> | </span> [[Main.WebHome][Users]] <span class="userbarsep"> | </span> [[System.UserRegistration][Register]]</div>%TMPL:END% | ||
%TMPL:DEF{"topbar"}%<div id="patternTopBar"><div id="patternTopBarContentsWrapper"><div id="patternTopBarContents">%IF{"istopic '%SYSTEMWEB%.WebTopBar'" then="$percntINCLUDE{$quot%SYSTEMWEB%.WebTopBar$quot}$percnt" else="$percntINCLUDE{$quot%SYSTEMWEB%.WebTopBarExample$quot}$percnt"}%</div><!--/patternTopBarContents--><div id="patternTopBarButtons">%TMPL:P{"topbarbuttons"}%</div></div><!--/patternTopBarContentsWrapper--> | ||
</div><!-- /patternTopBar-->%TMPL:END% |