Changeset 891
- Timestamp:
- 11/23/08 21:13:17 (3 years ago)
- Location:
- trunk/PatternSkin/data/System
- Files:
-
- 4 edited
-
PatternSkin.txt (modified) (3 diffs)
-
PatternSkinCssCookbook.txt (modified) (3 diffs)
-
PatternSkinCustomization.txt (modified) (4 diffs)
-
PatternSkinElements.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PatternSkin/data/System/PatternSkin.txt
r883 r891 2 2 %STARTINCLUDE% 3 3 <!-- 4 * Set SHORTDESCRIPTION = <nop>PatternSkin provides a CSS based default look and feel for TWiki- flexible and <nop>W3C-compliant. Its layout and color scheme are designed to provide a nice, clean and productive editing environment4 * Set SHORTDESCRIPTION = <nop>PatternSkin provides a CSS based default look and feel - flexible and <nop>W3C-compliant. Its layout and color scheme are designed to provide a nice, clean and productive editing environment 5 5 --> 6 6 ---+!! Pattern skin … … 44 44 ---++ Installation 45 45 46 *Note:* You do not need to install anything on the browser to use this skin. The following instructions are for the administrator who installs the skin on the server where TWiki is running.46 *Note:* You do not need to install anything on the browser to use this skin. The following instructions are for the administrator who installs the skin on the server where Foswiki is running. 47 47 48 *Note 2:* !PatternSkin is included with TWiki by default. Use the following instructions only if you are upgrading !PatternSkin.48 *Note 2:* !PatternSkin is included with Foswiki by default. Use the following instructions only if you are upgrading !PatternSkin. 49 49 50 50 * Download the ZIP file from the Skin Home page (see below) … … 79 79 ---++ Skin Info 80 80 81 | Description: | TWiki's default skin; CSS based, flexible and <nop>W3C-compliant |81 | Description: | Foswiki's default skin; CSS based, flexible and <nop>W3C-compliant | 82 82 | Screenshot: | <a href="%ATTACHURL%/patternskin_screenshot_full.png"><img src="%ATTACHURL%/patternskin_screenshot.jpg" style="border:1px solid #eee;" alt="Click for full screen image" width="600" height="130" /></a> | 83 83 | Preview: | [[%SCRIPTURL{view}%/%WEB%/%TOPIC%?skin=pattern][Preview with this skin]] | 84 84 | Base Name: | pattern | 85 85 | Copyright: | © 2004-2008 ArthurClemens | 86 | Skin Version: | 08 Nov 2008 (v3.0.2) |86 | Skin Version: | 23 Nov 2008 (v3.0.3) | 87 87 | History: | <!-- specify latest version first --> | 88 88 | 03 Aug 2008: | v.3.0.1 - TWiki 4.2.1 (Edinburgh) RELEASE VERSION | -
trunk/PatternSkin/data/System/PatternSkinCssCookbook.txt
r700 r891 3 3 ---+!! %SYSTEMWEB%.PatternSkin CSS Cookbook 4 4 5 *Questions and answers on how to customize the default look of TWiki for your own needs, using style sheets.* For configuring page elements, see PatternSkinCustomization.5 *Questions and answers on how to customize the default look of Foswiki for your own needs, using style sheets.* For configuring page elements, see PatternSkinCustomization. 6 6 7 7 %TOC% … … 14 14 * [[%PUBURLPATH%/%SYSTEMWEB%/PatternSkin/colors.css][colors.css]] - border colors, text colors and background colors 15 15 16 When customizing your TWiki installation, you can either choose to completely rewrite all css styles, or to selectively override some styles. The latter option is by far less time consuming, but all depends on your graphical wishes.16 When customizing your Foswiki installation, you can either choose to completely rewrite all css styles, or to selectively override some styles. The latter option is by far less time consuming, but all depends on your graphical wishes. 17 17 18 18 ---+++ Changing the color scheme … … 51 51 * Some other topic: the style is only visible in that one topic 52 52 53 User styles are always loaded after TWiki styles.53 User styles are always loaded after Foswiki styles. 54 54 55 55 The rest of this topic shows examples of small CSS changes. -
trunk/PatternSkin/data/System/PatternSkinCustomization.txt
r758 r891 3 3 ---+!! %TWIKIWEB%.PatternSkin Customization 4 4 5 *Guidelines how to create and customize page templates.* For styling your TWiki using stylesheets, see PatternSkinCssCookbook.5 *Guidelines how to create and customize page templates.* For styling your Foswiki using stylesheets, see PatternSkinCssCookbook. 6 6 7 7 %TOC% … … 23 23 To change templates you will need shell access. If you don't have this read on below in [[#TopicTemplates][The topic template approach]]. 24 24 25 The quickest way to change the view template would be to simply change the text in the template. A safer way - strongly recommended, because it will survive a TWiki update - is to create your own custom skin. That may sound like an awful lot of work, but in reality a skin may be as much as 1 file that consists of only a few lines of code.25 The quickest way to change the view template would be to simply change the text in the template. A safer way - strongly recommended, because it will survive a Foswiki update - is to create your own custom skin. That may sound like an awful lot of work, but in reality a skin may be as much as 1 file that consists of only a few lines of code. 26 26 27 27 *Example* %BR% … … 157 157 </blockquote> 158 158 159 To search a couple of webs, for instance the webs Main and TWiki, write:160 <blockquote> 161 <verbatim> 162 <input type="hidden" name="web" value="Main, TWiki" />159 To search a couple of webs, for instance the webs Main and System, write: 160 <blockquote> 161 <verbatim> 162 <input type="hidden" name="web" value="Main,System" /> 163 163 </verbatim> 164 164 </blockquote> … … 303 303 ---+++ I want to hide the edit buttons from certain users 304 304 305 It may defy the wiki-ness of your TWiki installation, but in certain circumstances it could be useful to hide the edit buttons from users that are not logged in, for instance for clients that have gotten viewing rights only.305 It may defy the wiki-ness of your Foswiki installation, but in certain circumstances it could be useful to hide the edit buttons from users that are not logged in, for instance for clients that have gotten viewing rights only. 306 306 307 307 Using either a template or a topic template, 'empty' =top:toolbarbuttons= and =topicaction= by writing: -
trunk/PatternSkin/data/System/PatternSkinElements.txt
r549 r891 2 2 %META:TOPICPARENT{name="PatternSkin"}% 3 3 <!-- 4 <div class="twikiBroadcastMessage"> <strong>NOTE:</strong> Edit and Attach will be disabled today between 05:00 PM and 06:00 PM PDT (00:00 to 01:00 GMT) for a scheduled TWiki maintenance.</div>4 <div class="twikiBroadcastMessage"> <strong>NOTE:</strong> Edit and Attach will be disabled today between 05:00 PM and 06:00 PM PDT (00:00 to 01:00 GMT) for a scheduled Foswiki maintenance.</div> 5 5 --> 6 6 … … 96 96 <div class="twikiAttachments"> 97 97 <table summary="Topic attachments" style="border-width:1px;" cellspacing="0" id="twikiAttachmentsTable" cellpadding="0" class="twikiTable" rules="rows" border="1"><caption>Topic attachments</caption><tr class="twikiTableEven"><th bgcolor="#ffffff" align="center" valign="middle" style="text-align:center;vertical-align:middle;" class="twikiFirstCol"> <a rel="nofollow" href="%TOPIC%?sortcol=0;table=1;up=0#sorted_table" style="color:#0066cc" title="Sort by this column">I</a> </th><th bgcolor="#ffffff" align="center" valign="middle" style="text-align:center;vertical-align:middle;"> <a rel="nofollow" href="%TOPIC%?sortcol=1;table=1;up=0#sorted_table" style="color:#0066cc" title="Sort by this column">Attachment</a> </th><th bgcolor="#ffffff" align="center" valign="middle" style="text-align:center;vertical-align:middle;"> <a rel="nofollow" href="%TOPIC%?sortcol=2;table=1;up=0#sorted_table" style="color:#0066cc" title="Sort by this column">Action</a> </th><th bgcolor="#ffffff" align="center" valign="middle" style="text-align:center;vertical-align:middle;"> <a rel="nofollow" href="%TOPIC%?sortcol=3;table=1;up=0#sorted_table" style="color:#0066cc" title="Sort by this column">Size</a> </th><th bgcolor="#ffffff" align="center" valign="middle" style="text-align:center;vertical-align:middle;"> <a rel="nofollow" href="%TOPIC%?sortcol=4;table=1;up=0#sorted_table" style="color:#0066cc" title="Sort by this column">Date</a> </th><th bgcolor="#ffffff" align="center" valign="middle" style="text-align:center;vertical-align:middle;"> <a rel="nofollow" href="%TOPIC%?sortcol=5;table=1;up=0#sorted_table" style="color:#0066cc" title="Sort by this column">Who</a> </th><th bgcolor="#ffffff" align="center" valign="middle" style="text-align:center;vertical-align:middle;"> <a rel="nofollow" href="%TOPIC%?sortcol=6;table=1;up=0#sorted_table" style="color:#0066cc" title="Sort by this column">Comment</a> </th></tr> 98 <tr class="twikiTableOdd"><td bgcolor="#ffffff" align="center" valign="top" style="text-align:center;vertical-align:top;" class="twikiFirstCol"> <img width="16" alt="txt" align="top" src="%PUBURL%/%SYSTEMWEB%/DocumentGraphics/txt.gif" height="16" border="0" /><span class="twikiHidden">txt</span> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;"> <a href="/twiki4/MAIN/bin/viewfile/ TWiki/FileAttachment?rev=;filename=Sample.txt">Sample.txt</a> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;"> <a href="/twiki4/MAIN/bin/attach/TWiki/FileAttachment?filename=Sample.txt&revInfo=1" title='change, update, previous revisions, move, delete...'rel='nofollow'>manage</a> </td><td bgcolor="#ffffff" align="right" valign="top" style="text-align:right;vertical-align:top;"> 0.1 K </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;"> 22 Jul 2000 - 19:37 </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;"> <a href="ProjectContributor" class="twikiLink">ProjectContributor</a> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;"> Just a sample </td></tr>99 <tr class="twikiTableEven"><td bgcolor="#ffffff" align="center" valign="top" style="text-align:center;vertical-align:top;" class="twikiFirstCol twikiLast"> <img width="16" alt="gif" align="top" src="%PUBURL%/%SYSTEMWEB%/DocumentGraphics/gif.gif" height="16" border="0" /><span class="twikiHidden">gif</span> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;" class="twikiLast"> <a href="/twiki4/MAIN/bin/viewfile/ TWiki/FileAttachment?rev=;filename=Smile.gif">Smile.gif</a> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;" class="twikiLast"> <a href="/twiki4/MAIN/bin/attach/TWiki/FileAttachment?filename=Smile.gif&revInfo=1" title='change, update, previous revisions, move, delete...'rel='nofollow'>manage</a> </td><td bgcolor="#ffffff" align="right" valign="top" style="text-align:right;vertical-align:top;" class="twikiLast"> 0.1 K </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;" class="twikiLast"> 22 Jul 2000 - 19:38 </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;" class="twikiLast"> <a href="ProjectContributor" class="twikiLink">ProjectContributor</a> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;" class="twikiLast"> Smiley face </td></tr>98 <tr class="twikiTableOdd"><td bgcolor="#ffffff" align="center" valign="top" style="text-align:center;vertical-align:top;" class="twikiFirstCol"> <img width="16" alt="txt" align="top" src="%PUBURL%/%SYSTEMWEB%/DocumentGraphics/txt.gif" height="16" border="0" /><span class="twikiHidden">txt</span> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;"> <a href="/twiki4/MAIN/bin/viewfile/System/FileAttachment?rev=;filename=Sample.txt">Sample.txt</a> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;"> <a href="/twiki4/MAIN/bin/attach/System/FileAttachment?filename=Sample.txt&revInfo=1" title='change, update, previous revisions, move, delete...'rel='nofollow'>manage</a> </td><td bgcolor="#ffffff" align="right" valign="top" style="text-align:right;vertical-align:top;"> 0.1 K </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;"> 22 Jul 2000 - 19:37 </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;"> <a href="ProjectContributor" class="twikiLink">ProjectContributor</a> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;"> Just a sample </td></tr> 99 <tr class="twikiTableEven"><td bgcolor="#ffffff" align="center" valign="top" style="text-align:center;vertical-align:top;" class="twikiFirstCol twikiLast"> <img width="16" alt="gif" align="top" src="%PUBURL%/%SYSTEMWEB%/DocumentGraphics/gif.gif" height="16" border="0" /><span class="twikiHidden">gif</span> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;" class="twikiLast"> <a href="/twiki4/MAIN/bin/viewfile/System/FileAttachment?rev=;filename=Smile.gif">Smile.gif</a> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;" class="twikiLast"> <a href="/twiki4/MAIN/bin/attach/System/FileAttachment?filename=Smile.gif&revInfo=1" title='change, update, previous revisions, move, delete...'rel='nofollow'>manage</a> </td><td bgcolor="#ffffff" align="right" valign="top" style="text-align:right;vertical-align:top;" class="twikiLast"> 0.1 K </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;" class="twikiLast"> 22 Jul 2000 - 19:38 </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;" class="twikiLast"> <a href="ProjectContributor" class="twikiLink">ProjectContributor</a> </td><td bgcolor="#ffffff" align="left" valign="top" style="text-align:left;vertical-align:top;" class="twikiLast"> Smiley face </td></tr> 100 100 </table></div><!--//twikiAttachments--> 101 101 102 ---++ TWikiform102 ---++ Data form 103 103 104 104 <noautolink> … … 116 116 <p /> 117 117 <span class="patternSearched">Searched: <b>caching</b></span><span id="twikiNumberOfResultsContainer"></span><span id="twikiModifySearchContainer"></span> 118 <h4 class="patternSearchResultsHeader" style="background-color:#FFD8AA"><span class="twikiLeft"><b>Results from TWiki web</b> retrieved at 00:46 (GMT)</span><span class="twikiRight"></span><br class="twikiClear" /></h4>119 <div class="patternSearchResult"><div class="twikiTopRow"><div class="twikiLeft"><a href="/twiki4/MAIN/bin/view/ TWiki/HeadlinesPlugin"><b>HeadlinesPlugin</b></a></div><div class="twikiRight twikiSRAuthor"> <a href="/twiki4/MAIN/bin/view/Main/ProjectContributor" class="twikiLink">ProjectContributor</a></div><div class="twikiRight twikiSRRev"><span class="twikiNew">NEW</span> - <a href="/twiki4/MAIN/bin/rdiff/TWiki/HeadlinesPlugin" rel='nofollow'>27 May 2006 - 07:56</a> </div><br class="twikiClear" /></div><!--/twikiTopRow--><div class="twikiBottomRow"><div class="twikiSummary twikiGrayText">Headlines Plugin Description This plugin displays RSS and ATOM feeds from news sites. Use it to build news portals that show headline news. Note: Syndic8.com ...</div><!--/twikiSummary-->120 </div><!--/twikiBottomRow--></div><!--/patternSearchResult--><div class="patternSearchResult"><div class="twikiTopRow"><div class="twikiLeft"><a href="/twiki4/MAIN/bin/view/ TWiki/TWikiAjaxContrib"><b>TWikiAjaxContrib</b></a></div><div class="twikiRight twikiSRAuthor"> <a href="/twiki4/MAIN/bin/view/Main/ProjectContributor" class="twikiLink">ProjectContributor</a></div><div class="twikiRight twikiSRRev">r2 - <a href="/twiki4/MAIN/bin/rdiff/TWiki/TWikiAjaxContrib" rel='nofollow'>02 Nov 2006 - 22:04</a> </div><br class="twikiClear" /></div><!--/twikiTopRow--><div class="twikiBottomRow"><div class="twikiSummary twikiGrayText">TWikiAjaxContrib TWikiAjaxContrib provides a convenience wrapper class around Yahoo's Connection Manager (AJAX). Goals are: To make it possible for plugins ...</div><!--/twikiSummary-->121 </div><!--/twikiBottomRow--></div><!--/patternSearchResult--><div class="patternSearchResult"><div class="twikiTopRow"><div class="twikiLeft"><a href="/twiki4/MAIN/bin/view/ TWiki/TWikiAjaxContribExamples"><b>TWikiAjaxContribExamples</b></a></div><div class="twikiRight twikiSRAuthor"> <a href="/twiki4/MAIN/bin/view/Main/ProjectContributor" class="twikiLink">ProjectContributor</a></div><div class="twikiRight twikiSRRev">r2 - <a href="/twiki4/MAIN/bin/rdiff/TWiki/TWikiAjaxContribExamples" rel='nofollow'>02 Nov 2006 - 22:04</a> </div><br class="twikiClear" /></div><!--/twikiTopRow--><div class="twikiBottomRow"><div class="twikiSummary twikiGrayText">!TWikiAjaxContrib Examples Code examples and demos for TWikiAjaxContrib. Default loading indicator Because TWiki files are served along dynamic urls we cannot use ...</div><!--/twikiSummary-->118 <h4 class="patternSearchResultsHeader" style="background-color:#FFD8AA"><span class="twikiLeft"><b>Results from Foswiki web</b> retrieved at 00:46 (GMT)</span><span class="twikiRight"></span><br class="twikiClear" /></h4> 119 <div class="patternSearchResult"><div class="twikiTopRow"><div class="twikiLeft"><a href="/twiki4/MAIN/bin/view/System/HeadlinesPlugin"><b>HeadlinesPlugin</b></a></div><div class="twikiRight twikiSRAuthor"> <a href="/twiki4/MAIN/bin/view/Main/ProjectContributor" class="twikiLink">ProjectContributor</a></div><div class="twikiRight twikiSRRev"><span class="twikiNew">NEW</span> - <a href="/twiki4/MAIN/bin/rdiff/System/HeadlinesPlugin" rel='nofollow'>27 May 2006 - 07:56</a> </div><br class="twikiClear" /></div><!--/twikiTopRow--><div class="twikiBottomRow"><div class="twikiSummary twikiGrayText">Headlines Plugin Description This plugin displays RSS and ATOM feeds from news sites. Use it to build news portals that show headline news. Note: Syndic8.com ...</div><!--/twikiSummary--> 120 </div><!--/twikiBottomRow--></div><!--/patternSearchResult--><div class="patternSearchResult"><div class="twikiTopRow"><div class="twikiLeft"><a href="/twiki4/MAIN/bin/view/System/TWikiAjaxContrib"><b>TWikiAjaxContrib</b></a></div><div class="twikiRight twikiSRAuthor"> <a href="/twiki4/MAIN/bin/view/Main/ProjectContributor" class="twikiLink">ProjectContributor</a></div><div class="twikiRight twikiSRRev">r2 - <a href="/twiki4/MAIN/bin/rdiff/System/TWikiAjaxContrib" rel='nofollow'>02 Nov 2006 - 22:04</a> </div><br class="twikiClear" /></div><!--/twikiTopRow--><div class="twikiBottomRow"><div class="twikiSummary twikiGrayText">TWikiAjaxContrib TWikiAjaxContrib provides a convenience wrapper class around Yahoo's Connection Manager (AJAX). Goals are: To make it possible for plugins ...</div><!--/twikiSummary--> 121 </div><!--/twikiBottomRow--></div><!--/patternSearchResult--><div class="patternSearchResult"><div class="twikiTopRow"><div class="twikiLeft"><a href="/twiki4/MAIN/bin/view/System/TWikiAjaxContribExamples"><b>TWikiAjaxContribExamples</b></a></div><div class="twikiRight twikiSRAuthor"> <a href="/twiki4/MAIN/bin/view/Main/ProjectContributor" class="twikiLink">ProjectContributor</a></div><div class="twikiRight twikiSRRev">r2 - <a href="/twiki4/MAIN/bin/rdiff/System/TWikiAjaxContribExamples" rel='nofollow'>02 Nov 2006 - 22:04</a> </div><br class="twikiClear" /></div><!--/twikiTopRow--><div class="twikiBottomRow"><div class="twikiSummary twikiGrayText">!TWikiAjaxContrib Examples Code examples and demos for TWikiAjaxContrib. Default loading indicator Because Foswiki files are served along dynamic urls we cannot use ...</div><!--/twikiSummary--> 122 122 </div><!--/twikiBottomRow--></div><!--/patternSearchResult--><div class="patternSearchResultCount" id="twikiBottomResultCount">Number of topics: <b>3</b></div><!--/patternSearchResultCount--> 123 123 <p /> 124 124 <a name="twikiSearchForm"></a> 125 125 <div class="twikiPageForm"> 126 <form action="/twiki4/MAIN/bin/view/ TWiki/WebSearch">126 <form action="/twiki4/MAIN/bin/view/System/WebSearch"> 127 127 <table id="twikiSearchTable" border="0" cellspacing="0" cellpadding="0"> 128 128 <tr> 129 129 <td colspan="2" class="first"> 130 130 <input type="text" class="twikiInputField" name="search" value="caching" size="40" /> 131 <input type="submit" class="twikiSubmit" value='Search' /><span class="twikiSmall"> <a href="/twiki4/MAIN/bin/view/ TWiki/WebSearchAdvanced" class="twikiLink">Advanced search</a> | <a href="/twiki4/MAIN/bin/view/TWiki/SearchHelp" class="twikiLink">Help</a></span>131 <input type="submit" class="twikiSubmit" value='Search' /><span class="twikiSmall"> <a href="/twiki4/MAIN/bin/view/System/WebSearchAdvanced" class="twikiLink">Advanced search</a> | <a href="/twiki4/MAIN/bin/view/System/SearchHelp" class="twikiLink">Help</a></span> 132 132 <div class="twikiSmall" style="padding:1em 0 0 0;">TIP: to search for all topics that contain <code>"SOAP"</code>, <code>"WSDL"</code>, a literal <code>"web service"</code>, but not <code>"shampoo"</code>, write: <code>soap wsdl "web service" -shampoo</code></div> 133 133 </td> … … 138 138 <input type="radio" class="twikiRadioButton" id="textbody" name="scope" value="text" checked="checked" /><label for="textbody"> Text body</label> <input type="radio" class="twikiRadioButton" id="topictitle" name="scope" value="topic" /><label for="topictitle"> Topic title</label> <input type="radio" class="twikiRadioButton" id="both" name="scope" value="all" /><label for="both"> Both body and title</label> 139 139 <hr /> 140 <input type="checkbox" class="twikiCheckbox" id="web" name="web" /><label for="web"> All public webs</label> <span class="twikiSmall">(otherwise search TWikiWeb only)</span>140 <input type="checkbox" class="twikiCheckbox" id="web" name="web" /><label for="web"> All public webs</label> <span class="twikiSmall">(otherwise search System Web only)</span> 141 141 </td> 142 142 </tr>
Note: See TracChangeset
for help on using the changeset viewer.
