Index: trunk/phase3/templates/xhtml_slim.pt |
— | — | @@ -0,0 +1,206 @@ |
| 2 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | + |
| 4 | +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}"> |
| 5 | + <head> |
| 6 | + <meta http-equiv="Content-Type" content="text/html; charset=${charset}" /> |
| 7 | + |
| 8 | + <title tal:content="title">Leonardo Da Vinci - Wikipedia</title> |
| 9 | + |
| 10 | + <style type="text/css" media="screen"> |
| 11 | + /*<![CDATA[*/ |
| 12 | + @import url(${stylepath}/${skinname}/main.css); |
| 13 | + /*]]>*/ |
| 14 | + </style> |
| 15 | + <!-- Custom style sheet if available, could either be a pref or a subpage of the user page |
| 16 | + <style type="text/css" media="all"> |
| 17 | + /*<![CDATA[*/ |
| 18 | + @import url(${stylepath}/DaVinciCustom.css); |
| 19 | + /*]]>*/ |
| 20 | + </style>--> |
| 21 | + <!-- Style sheet used for printing --> |
| 22 | + <link rel="stylesheet" type="text/css" media="print" href="${stylepath}/commonPrint.css" /> |
| 23 | + <!-- fixes for some this hack of a browser --> |
| 24 | + <!--[if IE]> |
| 25 | + <style type="text/css" media="all">@import url(${stylepath}/${skinname}/IEFixes.css);</style> |
| 26 | + <![endif]--> |
| 27 | + <link tal:condition="favicon" rel="shortcut icon" href="${favicon}" type="image/x-icon" /> |
| 28 | + <!-- Disable IE6 image toolbar --> |
| 29 | + <meta http-equiv="imagetoolbar" content="no" /> |
| 30 | + <script type="text/javascript" src="${stylepath}/wikibits.js"> |
| 31 | + </script> |
| 32 | + </head> |
| 33 | + |
| 34 | + <body> |
| 35 | + <div id="visual-portal-wrapper"> |
| 36 | + |
| 37 | + <div id="portal-column-content"> |
| 38 | + <div id="content"> |
| 39 | + <a name="top" id="contentTop"></a> |
| 40 | + <div class="documentContent"> |
| 41 | + |
| 42 | + <h1 class="documentFirstHeading" tal:content="title">Leonardo da Vinci</h1> |
| 43 | + |
| 44 | + <div id="bodyContent" class="plain"> |
| 45 | + <h3 id="siteSubtitle" i18n:translate="string:fromwikipedia">From Wikipedia, the free encyclopedia.</h3> |
| 46 | + <div tal:condition="subtitle" id="documentSubtitle" tal:content="structure subtitle"></div> |
| 47 | + <!--esi:include src="userxy/message"/> cached per user, purged on new message--> |
| 48 | + <div tal:condition="newtalk" class="portalMessage" tal:content="newtalk"></div> |
| 49 | + <!-- the content area is cached with the remaining inexpensive sceleton, one version for all. |
| 50 | + The edit links and right-click section stuff is attached from js --> |
| 51 | + <!-- start content --> |
| 52 | + |
| 53 | + ${bodytext} |
| 54 | + |
| 55 | + <!-- end content --> |
| 56 | + <div class="documentByLine"> |
| 57 | + </div> |
| 58 | + </div> |
| 59 | + </div> |
| 60 | + </div> |
| 61 | + </div> |
| 62 | + </div><!-- end of main content block --> |
| 63 | + <!-- start of the left (by default at least) column --> |
| 64 | + <div id="portal-column-one"> |
| 65 | + <!--<esi:include src="thisurl?esiview=contentviews&watch=0&priv=sysop"/> tricky to purge because of the many different versions, |
| 66 | + might not be worth it for non-anons --> |
| 67 | + <div id="portlet-contentViews" class="portlet"> |
| 68 | + <h5 class="hiddenStructure">Views</h5> |
| 69 | + |
| 70 | + <ul class="contentViews"> |
| 71 | + <li tal:repeat="action content_actions" |
| 72 | + tal:attributes="id string:contentaction-${repeat/action/key}; class action/class"> |
| 73 | + <a class="" href="?action=edit" |
| 74 | + tal:attributes="href action/href; accesskey action/akey | default; title action/ttip" |
| 75 | + tal:content="action/text">Linktext</a> |
| 76 | + </li> |
| 77 | + </ul> |
| 78 | + |
| 79 | + </div> |
| 80 | + <!--<esi:include src="userxy?personaltools"/> cached per user, just rendered once per session --> |
| 81 | + <div class="portlet" id="portlet-personal"> |
| 82 | + <h5 class="hiddenStructure" i18n:translate="string:personaltools">Personal Tools</h5> |
| 83 | + |
| 84 | + <div class="portletBody"> |
| 85 | + <div class="portletContent odd"> |
| 86 | + <ul id="portal-personaltools"> |
| 87 | + <li tal:repeat="item personal_urls" |
| 88 | + tal:attributes="id string:personaltools-${repeat/item/key};"> |
| 89 | + <a class="" href="myuserpage" |
| 90 | + tal:attributes="href item/href; accesskey item/akey | default; title item/ttip" |
| 91 | + tal:content="item/text">Log in</a> |
| 92 | + </li> |
| 93 | + </ul> |
| 94 | + </div> |
| 95 | + </div> |
| 96 | + </div> |
| 97 | + <!--<esi:include src="staticLogoNaviSearch"/> same for all pages, contains quite a few messages that are worth caching --> |
| 98 | + <div class="portlet" id="portlet-logo"> |
| 99 | + <a href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a> |
| 100 | + </div> |
| 101 | + |
| 102 | + <div class="portlet" id="portlet-navigation-tree"> |
| 103 | + <h5 i18n:translate="string:navigation">Navigation</h5> |
| 104 | + |
| 105 | + <div class="portletBody"> |
| 106 | + <div class="portletContent odd"> |
| 107 | + <ul> |
| 108 | + <li><a href="${nav_urls/mainpage/href}" |
| 109 | + i18n:attributes="accesskey string:accesskey-mainpage | default; title string:tooltip-mainpage" |
| 110 | + i18n:translate="string:mainpage">Main Page</a></li> |
| 111 | + |
| 112 | + <li><a href="${nav_urls/randompage/href}" |
| 113 | + i18n:attributes="accesskey string:accesskey-randompage | default; title string:tooltip-randompage" |
| 114 | + i18n:translate="string:randompage">Random Page</a></li> |
| 115 | + |
| 116 | + <li><a href="${nav_urls/currentevents/href" |
| 117 | + i18n:translate="string:currentevents">Current Events</a></li> |
| 118 | + |
| 119 | + <li><a href="${nav_urls/sitesupport/href}" |
| 120 | + i18n:translate="string:sitesupport">Contact us</a></li> |
| 121 | + </ul> |
| 122 | + </div> |
| 123 | + </div> |
| 124 | + </div> |
| 125 | + |
| 126 | + <div id="portlet-search" class="portlet"> |
| 127 | + <h5 i18n:translate="string:search">Search</h5> |
| 128 | + |
| 129 | + <div class="portletBody"> |
| 130 | + <div class="portletContent odd"> |
| 131 | + <form name="searchform" action="${searchaction}" id="searchform"> |
| 132 | + <input id="searchGadget" name="search" type="text" tabindex="30001" |
| 133 | + i18n:attributes="accesskey string:accesskey-search | default"/> |
| 134 | + |
| 135 | + <input type='submit' name="go" value="Go" class="searchButton" |
| 136 | + i18n:attributes="value string:go"/> <input type='submit' |
| 137 | + value="Search" class="searchButton" |
| 138 | + i18n:attributes="value string:search"/> |
| 139 | + </form> |
| 140 | + </div> |
| 141 | + </div> |
| 142 | + </div> |
| 143 | + |
| 144 | + <!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> one anon, one logged-in user version per page because of the links --> |
| 145 | + <div class="portlet" id="portlet-toolbox"> |
| 146 | + <h5 i18n:translate="string:toolbox">Toolbox</h5> |
| 147 | + |
| 148 | + <div class="portletBody"> |
| 149 | + <div class="portletContent odd"> |
| 150 | + <ul> |
| 151 | + |
| 152 | + <li><a href="${nav_urls/help/href}" |
| 153 | + i18n:translate="string:help">Help</a></li> |
| 154 | + |
| 155 | + <li><a href="${nav_urls/recentchanges/href}" |
| 156 | + i18n:attributes="accesskey string:accesskey-recentchanges | default" |
| 157 | + i18n:translate="string:recentchanges">Recent Changes</a></li> |
| 158 | + |
| 159 | + <li><a href="${nav_urls/recentchangeslinked/href}" |
| 160 | + i18n:translate="string:recentchangeslinked">Related Changes</a></li> |
| 161 | + |
| 162 | + <li><a href="${nav_urls/whatlinkshere/href}" |
| 163 | + i18n:attributes="accesskey string:accesskey-whatlinkshere | default" |
| 164 | + i18n:translate="string:whatlinkshere">What links here</a></li> |
| 165 | + |
| 166 | + <li><a href="${nav_urls/specialpages/href}" |
| 167 | + i18n:translate="string:specialpages">Special Pages</a></li> |
| 168 | + |
| 169 | + <li tal:condition="loggedin"><a href="${nav_urls/upload/href" |
| 170 | + i18n:attributes="accesskey string:accesskey-upload | default" |
| 171 | + i18n:translate="string:upload">Upload a file</a></li> |
| 172 | + |
| 173 | + </ul> |
| 174 | + </div> |
| 175 | + </div> |
| 176 | + </div> |
| 177 | + <!-- end staticLogoNaviSearch --> |
| 178 | + |
| 179 | + <div id="portlet-language" class="portlet" tal:condition="language_urls"> |
| 180 | + <h5 i18n:translate="string:otherlanguages">Language</h5> |
| 181 | + |
| 182 | + <div class="portletBody"> |
| 183 | + <div class="portletContent odd"> |
| 184 | + <ul> |
| 185 | + <li tal:repeat="langlink language_urls"> |
| 186 | + <a href="mylanguagelink" |
| 187 | + tal:attributes="href langlink/href" |
| 188 | + tal:content="structure langlink/text">English</a> |
| 189 | + </li> |
| 190 | + </ul> |
| 191 | + </div> |
| 192 | + </div> |
| 193 | + </div> |
| 194 | + </div><!-- end of the left (by default at least) column --> |
| 195 | + <!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> static footer, same for all pages but contains a few messaged that are worth caching --> |
| 196 | + <div class="visualClear"></div> |
| 197 | + <div id="portal-footer"> |
| 198 | + <ul id="footer-list"> |
| 199 | + <li id="footer-pagestats" tal:condition="pagestats">${pagestats}</li> |
| 200 | + <li id="footer-about" tal:condition="about">${about}</li> |
| 201 | + <li id="footer-disclaimer" tal:condition="disclaimer">${disclaimer}</li> |
| 202 | + </ul> |
| 203 | + </div> |
| 204 | + |
| 205 | + <div id="portal-colophon"></div> |
| 206 | + </body> |
| 207 | +</html> |
Property changes on: trunk/phase3/templates/xhtml_slim.pt |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 208 | + native |
Added: svn:keywords |
2 | 209 | + Author Date Id Revision |