Skip to content

Commit

Permalink
Item531: release-ready for foswiki.org; tested on IE6 & 7
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/FoswikiSiteSkin@2274 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ArthurClemens authored and ArthurClemens committed Jan 31, 2009
1 parent cbdb5a2 commit dd84b8a
Show file tree
Hide file tree
Showing 43 changed files with 2,978 additions and 758 deletions.
38 changes: 15 additions & 23 deletions data/System/FoswikiSiteSkin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
---++ Screenshot

Click to enlarge:%BR%
%SEARCH{ "%TOPIC%" scope="topic" nosearch="on" nototal="on" format="$pattern(.*\| *Screenshot\:[^\|]*\|([^\|]*).*)" }%
<div class="foswikiGrayText">Click to view full screenshot</div>
%SEARCH{ "%TOPIC%" scope="topic" nosearch="on" nototal="on" format="<div class='foswikiImage'>$pattern(.*\| *Screenshot\:[^\|]*\|([^\|]*).*)</div>" }%

---++ Installation

Expand All @@ -23,14 +22,21 @@ Click to enlarge:%BR%
* [[%SCRIPTURLPATH{"view"}%/%WEB%/%TOPIC%?skin=foswikisite,pattern ][Test if installed]]

---+++ Activation
Write these settings in %MAINWEB%.SitePreferences:
Write these settings in [[%MAINWEB%.SitePreferences]]:
<verbatim>
Overall skin:
* Set SKIN = foswikisite,pattern
* Set FOSWIKI_STYLE_URL = %PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/style.css
* Empty =FOSWIKI_COLORS_URL=:
* Set FOSWIKI_COLORS_URL =

Because this skin leans on PatternSkin, also set:
* Set PATTERNSKIN_THEME = %PUBURL%/%SYSTEMWEB%/PatternSkin/theme_foswiki.css
The column preference:
* Set PATTERNSKIN_COLUMNS = %PUBURL%/%SYSTEMWEB%/PatternSkin/column_right.css
* Set PATTERNSKIN_THEME = %PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/theme_foswikisite.css
* Set PATTERNSKIN_COLUMNS = %PUBURL%/%SYSTEMWEB%/FoswikiSiteSkin/column_right.css

Set TablePlugin styles:
* Set TABLEPLUGIN_TABLEATTRIBUTES = tableborder="1" cellpadding="0" cellspacing="0" valign="top" headercolor="#444444" headerbg="#e0e0e4" headerbgsorted="#c5c5cc" databg="#ffffff,#edf4f9" databgsorted="#f1f7fc,#ddebf6" tablerules="rows"

</verbatim>

---++ Skin Info
Expand All @@ -39,25 +45,11 @@ The column preference:
| Screenshot: | <a href="%ATTACHURL%/screenshot_full.png"><img src="%ATTACHURL%/screenshot.jpg" style="border:1px solid #eee;" alt="Click for full screen image" width="600" /></a> |
| Preview: | [[%SCRIPTURL{view}%/%WEB%/%TOPIC%?skin=foswikisite,pattern][Preview with this skin]] |
| Base Name: | foswikisite,pattern |
| Skin Version: | 07 Jan 2009 (v1.0.0) |
| Skin Version: | 31 Jan 2009 (v1.1.0) |
| History: | <!-- specify latest version first -->&nbsp; |
| 31 Jan 2009: | Renamed <nop>FoswikiDotOrgPatternSkinContrib to <nop>FoswikiSiteSkin; visual update, made CSS independent of PatternSkin. |
| 07 Jan 2009: | Initial version (v1.0.0) |
| Dependencies: | Foswiki:Extensions/PatternSkin (automatically supported by Dakar) |
| Skin Home: | http://foswiki.org/Extensions/%TOPIC% |
| Feedback: | http://foswiki.org/Extensions/%TOPIC%Dev | %STOPINCLUDE%
| Support: | http://foswiki.org/Support/%TOPIC% | %STOPINCLUDE%
| Download: | http://foswiki.org/Extensions/%TOPIC% |

%META:FILEATTACHMENT{name="GrayBlend.gif" attr="" comment="<nop>GrayBlend.gif"}%
%META:FILEATTACHMENT{name="attach.png" attr="" comment="attach.png"}%
%META:FILEATTACHMENT{name="foswiki-header-left.png" attr="" comment="foswiki-header-left.png"}%
%META:FILEATTACHMENT{name="foswiki-header-right.png" attr="" comment="foswiki-header-right.png"}%
%META:FILEATTACHMENT{name="page_white_add.png" attr="" comment="page_white_add.png"}%
%META:FILEATTACHMENT{name="page_white_stack.png" attr="" comment="page_white_stack.png"}%
%META:FILEATTACHMENT{name="pencil.png" attr="" comment="pencil.png"}%
%META:FILEATTACHMENT{name="printer.png" attr="" comment="printer.png"}%
%META:FILEATTACHMENT{name="style-ie.css" attr="" comment="style-ie.css"}%
%META:FILEATTACHMENT{name="style.css" attr="" comment="style.css"}%
%META:FILEATTACHMENT{name="supersleight.js" attr="" comment="supersleight.js"}%
%META:FILEATTACHMENT{name="text_align_left.png" attr="" comment="text_align_left.png"}%
%META:FILEATTACHMENT{name="wrench.png" attr="" comment="wrench.png"}%
%META:FILEATTACHMENT{name="x.gif" attr="" comment="x.gif"}%
8 changes: 5 additions & 3 deletions data/System/FoswikiSiteSkinNavigationTemplate.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
%META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.0" version="$Rev: 1838 $"}%
<verbatim>
%{ main navigation items }%
%TMPL:DEF{"topbarbuttons"}%<ul>
%TMPL:DEF{"topbarbuttons"}%<div id="patternTopBarButtons"><ul>
%TMPL:P{"topbarbutton" DESTWEB="Home" LABEL="Home"}%
%TMPL:P{"topbarbutton" DESTWEB="About" LABEL="About"}%
%TMPL:P{"topbarbutton" DESTWEB="System" LABEL="Documentation"}%
Expand All @@ -9,10 +10,11 @@
%TMPL:P{"topbarbutton" DESTWEB="Community" LABEL="Community"}%
%TMPL:P{"topbarbutton" DESTWEB="Development" LABEL="Development"}%
%TMPL:P{"topbarbutton" DESTWEB="Download" LABEL="Download"}%
</ul>%TMPL:END%
</ul></div>%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%
%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%
</verbatim>
2 changes: 1 addition & 1 deletion lib/Foswiki/Contrib/FoswikiSiteSkin.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ $VERSION = '$Rev: 1340 $';
# This is a free-form string you can use to "name" your own plugin version.
# It is *not* used by the build automation tools, but is reported as part
# of the version number in PLUGINDESCRIPTIONS.
$RELEASE = '1.0';
$RELEASE = '1.1.0';


1;
36 changes: 23 additions & 13 deletions lib/Foswiki/Contrib/FoswikiSiteSkin/MANIFEST
Original file line number Diff line number Diff line change
@@ -1,23 +1,33 @@
data/System/FoswikiSiteSkin.txt 0644 Skin documentation
data/System/FoswikiSiteSkinNavigationTemplate.txt 0644 Top bar navigation buttons
lib/Foswiki/Contrib/FoswikiSiteSkin.pm 0666
pub/System/FoswikiSiteSkin/attach.gif 0644
pub/System/FoswikiSiteSkin/bg_button_gradient.gif 0644
pub/System/FoswikiSiteSkin/bg_buttoncancel_gradient.gif 0644
pub/System/FoswikiSiteSkin/bg_submit_gradient.gif 0644
pub/System/FoswikiSiteSkin/bullet-toc.gif 0644
pub/System/FoswikiSiteSkin/button_arrow.gif 0644
pub/System/FoswikiSiteSkin/button_font_selector.gif 0644
pub/System/FoswikiSiteSkin/colors.css 0644
pub/System/FoswikiSiteSkin/column_right.css 0644
pub/System/FoswikiSiteSkin/GrayBlend.gif 0644
pub/System/FoswikiSiteSkin/attach.png 0644
pub/System/FoswikiSiteSkin/header-left.png 0644
pub/System/FoswikiSiteSkin/header.png 0644
pub/System/FoswikiSiteSkin/header-left.gif 0644
pub/System/FoswikiSiteSkin/header.gif 0644
pub/System/FoswikiSiteSkin/logo.gif 0644
pub/System/FoswikiSiteSkin/menu_background.gif 0644
pub/System/FoswikiSiteSkin/topicactions_background.gif 0644
pub/System/FoswikiSiteSkin/page_white_add.png 0644
pub/System/FoswikiSiteSkin/page_white_stack.png 0644
pub/System/FoswikiSiteSkin/pencil.png 0644
pub/System/FoswikiSiteSkin/printer.png 0644
pub/System/FoswikiSiteSkin/style-ie.css 0644
pub/System/FoswikiSiteSkin/page_white_add.gif 0644
pub/System/FoswikiSiteSkin/page_white_stack.gif 0644
pub/System/FoswikiSiteSkin/pencil.gif 0644
pub/System/FoswikiSiteSkin/printer.gif 0644
pub/System/FoswikiSiteSkin/screenshot.jpg 0644
pub/System/FoswikiSiteSkin/screenshot_full.png 0644
pub/System/FoswikiSiteSkin/style.css 0644
pub/System/FoswikiSiteSkin/supersleight.js 0644
pub/System/FoswikiSiteSkin/text_align_left.png 0644
pub/System/FoswikiSiteSkin/wrench.png 0644
pub/System/FoswikiSiteSkin/x.gif 0755
pub/System/FoswikiSiteSkin/supersleight.js 0644 Would fix transparent PNGs on IE6, but does not work, do is disabled
pub/System/FoswikiSiteSkin/text_align_left.gif 0644
pub/System/FoswikiSiteSkin/theme_foswikisite.css 0644
pub/System/FoswikiSiteSkin/topicactions_background.gif 0644
pub/System/FoswikiSiteSkin/wrench.gif 0644
pub/System/FoswikiSiteSkin/x.gif 0644
templates/foswiki.foswikisite.tmpl 0644
templates/view.foswikisite.tmpl 0644
templates/viewsidebar.foswikisite.tmpl 0644
Expand Down
Binary file added pub/System/FoswikiSiteSkin/attach.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pub/System/FoswikiSiteSkin/attach.psd
Binary file not shown.
Binary file added pub/System/FoswikiSiteSkin/badge.psd
Binary file not shown.
Binary file added pub/System/FoswikiSiteSkin/bg_button_gradient.gif
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pub/System/FoswikiSiteSkin/bullet-toc.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pub/System/FoswikiSiteSkin/button_arrow.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pub/System/FoswikiSiteSkin/button_font_selector.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit dd84b8a

Please sign in to comment.