summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIzhar Firdaus <izhar@mitsuko.local>2009-08-07 12:48:45 +0800
committerIzhar Firdaus <izhar@mitsuko.local>2009-08-07 12:48:45 +0800
commit26c41e58bb49257bd26cb8453cde3e5d82ae6594 (patch)
treea4ce04a2cff827fe9435bdffce69c6837b0190f4
parentf195540bd68c6690bca43a0ba8011c5a5bccccd5 (diff)
downloadfedoratheme.kindofblue-26c41e58bb49257bd26cb8453cde3e5d82ae6594.zip
fedoratheme.kindofblue-26c41e58bb49257bd26cb8453cde3e5d82ae6594.tar.gz
fedoratheme.kindofblue-26c41e58bb49257bd26cb8453cde3e5d82ae6594.tar.xz
* minor update before server migrationHEADmaster
-rw-r--r--fedoratheme/kindofblue/skins/fedoratheme_kindofblue_custom_templates/main_template.pt191
-rw-r--r--fedoratheme/kindofblue/skins/fedoratheme_kindofblue_styles/ploneCustom.css.dtml4
2 files changed, 195 insertions, 0 deletions
diff --git a/fedoratheme/kindofblue/skins/fedoratheme_kindofblue_custom_templates/main_template.pt b/fedoratheme/kindofblue/skins/fedoratheme_kindofblue_custom_templates/main_template.pt
new file mode 100644
index 0000000..eadc054
--- /dev/null
+++ b/fedoratheme/kindofblue/skins/fedoratheme_kindofblue_custom_templates/main_template.pt
@@ -0,0 +1,191 @@
+<metal:page define-macro="master"><metal:doctype define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:doctype>
+<metal:block define-slot="top_slot" />
+<metal:block use-macro="here/global_defines/macros/defines" />
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xml:lang="en"
+ lang="en"
+ tal:define="lang language"
+ tal:attributes="lang lang;
+ xml:lang lang">
+
+ <tal:cache tal:define="charset site_properties/default_charset|string:utf-8">
+ <metal:cache use-macro="here/global_cache_settings/macros/cacheheaders">
+ Get the global cache headers located in global_cache_settings.
+ </metal:cache>
+ </tal:cache>
+
+ <head>
+
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
+ tal:define="charset site_properties/default_charset|string:utf-8"
+ tal:attributes="content string:text/html;;charset=${charset}" />
+
+ <metal:baseslot define-slot="base">
+ <base tal:attributes="href here/renderBase" /><!--[if lt IE 7]></base><![endif]-->
+ </metal:baseslot>
+
+ <meta name="generator" content="Plone - http://plone.org" />
+
+ <div tal:replace="structure provider:plone.htmlhead" />
+
+ <meta tal:define="metatags python:putils.listMetaTags(here).items()"
+ tal:condition="metatags"
+ tal:repeat="keyval metatags"
+ tal:attributes="name python:keyval[0];
+ content python:keyval[1];" />
+
+ <!-- Internet Explorer CSS Fixes -->
+ <tal:iefixstart replace="structure string:&lt;!--[if IE]&gt;" />
+ <style type="text/css" media="all" tal:condition="exists: portal/IEFixes.css"
+ tal:content="string:@import url($portal_url/IEFixes.css);">
+ </style>
+ <tal:iefixend replace="structure string:&lt;![endif]--&gt;" />
+
+ <link tal:replace="structure provider:plone.htmlhead.links" />
+
+ <!-- Disable IE6 image toolbar -->
+ <meta http-equiv="imagetoolbar" content="no" />
+
+ <tal:comment replace="nothing"> A slot where you can insert elements in the header from a template </tal:comment>
+ <metal:headslot define-slot="head_slot" />
+
+ <tal:comment replace="nothing"> A slot where you can insert CSS in the header from a template </tal:comment>
+ <metal:styleslot define-slot="style_slot" />
+
+ <tal:comment replace="nothing"> This is deprecated, please use style_slot instead. </tal:comment>
+ <metal:cssslot define-slot="css_slot" />
+
+ <tal:comment replace="nothing"> A slot where you can insert javascript in the header from a template </tal:comment>
+ <metal:javascriptslot define-slot="javascript_head_slot" />
+
+ </head>
+
+ <body tal:attributes="class string:${here/getSectionFromURL} template-${template/id};
+ dir python:test(isRTL, 'rtl', 'ltr')">
+ <div id="visual-portal-wrapper">
+
+ <div id="portal-top" i18n:domain="plone">
+ <div tal:replace="structure provider:plone.portaltop" />
+ </div>
+
+ <div class="visualClear" id="clear-space-before-wrapper-table"><!-- --></div>
+ <metal:mainbody define-slot="mainbody">
+ <table id="portal-columns">
+ <tbody>
+ <tr>
+ <tal:comment replace="nothing"> Start of the left column </tal:comment>
+ <td id="portal-column-one"
+ metal:define-slot="column_one_slot"
+ tal:condition="sl">
+ <div class="visualPadding">
+ <metal:portlets define-slot="portlets_one_slot">
+ <tal:block replace="structure provider:plone.leftcolumn" />
+ </metal:portlets>
+ &nbsp;
+ </div>
+ </td>
+ <tal:comment replace="nothing"> End of the left column </tal:comment>
+
+ <tal:comment replace="nothing"> Start of main content block </tal:comment>
+ <td id="portal-column-content"
+ tal:define="tabindex python:Iterator(mainSlot=False)">
+
+ <metal:block define-slot="content">
+ <div metal:define-macro="content"
+ tal:define="show_border context/@@plone/showEditableBorder"
+ tal:attributes="class python:test(show_border,'documentEditable','')">
+
+ <div tal:replace="structure provider:plone.contentviews" />
+
+ <div id="region-content"
+ class="documentContent">
+
+ <span id="contentTopLeft"></span>
+ <span id="contentTopRight"></span>
+
+ <a name="documentContent"></a>
+
+ <div metal:use-macro="here/global_statusmessage/macros/portal_message">
+ Portal status message
+ </div>
+
+ <div id="viewlet-above-content" tal:content="structure provider:plone.abovecontent" />
+
+ <metal:slot metal:define-slot="body">
+ <tal:comment replace="nothing">
+ The div with ID #content will only show up if we're actually on a content
+ view, never on edit forms, control panels etc. It's meant to only wrap the
+ actual content that gets rendered on a page, not the other UI elements.
+ </tal:comment>
+ <div id="content"
+ tal:omit-tag="not:context/@@plone_context_state/is_view_template">
+ <metal:header metal:define-slot="header" tal:content="nothing">
+ Visual Header
+ </metal:header>
+ <metal:bodytext metal:define-slot="main" tal:content="nothing">
+ Page body text
+ </metal:bodytext>
+ </div>
+ </metal:slot>
+
+ <metal:sub metal:define-slot="sub">
+
+ <div tal:replace="structure provider:plone.belowcontent" />
+
+ </metal:sub>
+
+ <span id="contentBottomLeft"></span>
+ <span id="contentBottomRight"></span>
+
+ </div>
+
+ </div>
+
+ </metal:block>
+ </td>
+ <tal:comment replace="nothing"> End of main content block </tal:comment>
+
+ <tal:comment replace="nothing"> Start of right column </tal:comment>
+ <td id="portal-column-two"
+ metal:define-slot="column_two_slot"
+ tal:condition="sr">
+ <div class="visualPadding">
+ <metal:portlets define-slot="portlets_two_slot">
+ <tal:block replace="structure provider:plone.rightcolumn" />
+ </metal:portlets>
+ &nbsp;
+ </div>
+ </td>
+ <tal:comment replace="nothing"> End of the right column </tal:comment>
+ </tr>
+ </tbody>
+ </table>
+ </metal:mainbody>
+ <tal:comment replace="nothing"> end column wrapper </tal:comment>
+
+ <div class="visualClear" id="clear-space-before-footer"><!-- --></div>
+
+ <div tal:define="context_state context/@@plone_context_state;
+ portlet_assignable context_state/portlet_assignable"
+ tal:condition="python:not sl and not sr and portlet_assignable and checkPermission('Portlets: Manage portlets', context)">
+ <a class="managePortletsFallback"
+ tal:attributes="href string:${context_state/canonical_object_url}/@@manage-portlets"
+ i18n:translate="manage_portlets_fallback">
+ Manage portlets
+ </a>
+ </div>
+
+ <metal:block i18n:domain="plone">
+
+ <div tal:replace="structure provider:plone.portalfooter" />
+
+ </metal:block>
+
+ <div class="visualClear"><!-- --></div>
+ </div>
+<div id="kss-spinner"><img tal:attributes="src string:${portal_url}/spinner.gif" alt="" /></div>
+
+</body>
+</html>
+</metal:page>
diff --git a/fedoratheme/kindofblue/skins/fedoratheme_kindofblue_styles/ploneCustom.css.dtml b/fedoratheme/kindofblue/skins/fedoratheme_kindofblue_styles/ploneCustom.css.dtml
index da69f89..965005a 100644
--- a/fedoratheme/kindofblue/skins/fedoratheme_kindofblue_styles/ploneCustom.css.dtml
+++ b/fedoratheme/kindofblue/skins/fedoratheme_kindofblue_styles/ploneCustom.css.dtml
@@ -46,6 +46,10 @@ li.formTab .selected {
font-weight:bold;
}
+.portlet {
+ width:200px;
+}
+
/* ploneboard */
.boardCommentDetails {