Created 'Liquid' skin
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@813 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
bc4a012b4f
commit
536983c5da
7 changed files with 112 additions and 0 deletions
|
@ -20,5 +20,6 @@
|
|||
/>
|
||||
|
||||
<include package=".skin" />
|
||||
<include package=".liquid" />
|
||||
|
||||
</configure>
|
||||
|
|
4
browser/liquid/__init__.py
Normal file
4
browser/liquid/__init__.py
Normal file
|
@ -0,0 +1,4 @@
|
|||
"""
|
||||
$Id$
|
||||
"""
|
||||
|
BIN
browser/liquid/bg_cyberview.gif
Normal file
BIN
browser/liquid/bg_cyberview.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 100 B |
28
browser/liquid/configure.zcml
Normal file
28
browser/liquid/configure.zcml
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!-- $Id$ -->
|
||||
|
||||
<configure
|
||||
xmlns:zope="http://namespaces.zope.org/zope"
|
||||
xmlns="http://namespaces.zope.org/browser"
|
||||
i18n_domain="zope"
|
||||
>
|
||||
|
||||
<layer name="liquid" />
|
||||
|
||||
<skin name="Liquid"
|
||||
layers="liquid rotterdam default" />
|
||||
|
||||
<page for="*"
|
||||
name="skin_macros" template="view_macros.pt"
|
||||
permission="zope.View"
|
||||
layer="liquid" />
|
||||
|
||||
<resource name="liquid.css" file="liquid4.css"
|
||||
layer="liquid" />
|
||||
|
||||
<resource name="cyberconcepts.gif" file="cyc-logo03.gif"
|
||||
layer="liquid" />
|
||||
|
||||
<resource name="bg_cyberview.gif" file="bg_cyberview.gif"
|
||||
layer="liquid" />
|
||||
|
||||
</configure>
|
BIN
browser/liquid/cyc-logo03.gif
Normal file
BIN
browser/liquid/cyc-logo03.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
32
browser/liquid/liquid4.css
Normal file
32
browser/liquid/liquid4.css
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
$Id$
|
||||
|
||||
based on http://www.tjkdesign.com/articles/liquid/4.asp
|
||||
|
||||
*/
|
||||
|
||||
body {
|
||||
min-width:640px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font: 0.8em Tahoma, Helvetica, Arial, sans-serif;
|
||||
background-color: white;
|
||||
color: #000066;
|
||||
}
|
||||
|
||||
#header,#menu,#content,#sub-section,#footer {
|
||||
overflow:hidden;
|
||||
display:inline-block
|
||||
}
|
||||
|
||||
#header,#footer {width:100%}
|
||||
#menu,#content,#sub-section {float:left}
|
||||
#menu {width:20%}
|
||||
#content {width:60%}
|
||||
#sub-section {width:19.9%}
|
||||
#footer {clear:left}
|
||||
|
||||
.top {
|
||||
background-image: url('bg_cyberview.gif');
|
||||
height: 75px;
|
||||
}
|
47
browser/liquid/view_macros.pt
Normal file
47
browser/liquid/view_macros.pt
Normal file
|
@ -0,0 +1,47 @@
|
|||
<metal:block define-macro="page"><metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:block>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
|
||||
i18n:domain="zope">
|
||||
|
||||
<head metal:define-macro="head">
|
||||
<title metal:define-slot="title"
|
||||
tal:content="options/getTitle|view/getTitle|context/getTitle|default">
|
||||
cyberconcepts IT-Consulting
|
||||
</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<link href="liquid.css" rel="stylesheet" type="text/css"
|
||||
tal:attributes="href context/++resource++liquid.css" />
|
||||
<div metal:define-slot="headers" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="header">
|
||||
<div class="top">
|
||||
<a href="#" name="top" tal:attributes="href string:${request/URL/1}/@@manage">
|
||||
<img src="cyberconcepts.gif" height="75" border="0"
|
||||
alt="cyberconcepts IT-Consulting"
|
||||
tal:attributes="src context/++resource++cyberconcepts.gif" />
|
||||
</a>
|
||||
<span metal:use-macro="context/@@standard_macros/logged_user">
|
||||
Logged in as user
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="menu"><h1>menu</h1></div>
|
||||
|
||||
<div id="content">
|
||||
<span metal:define-slot="body">Here comes the body</span>
|
||||
</div>
|
||||
|
||||
<div id="sub-section"><h1>sub-section</h1></div>
|
||||
|
||||
<div id="footer"><h1>footer</h1>
|
||||
<span metal:use-macro="context/@@standard_macros/footer" />
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</metal:block>
|
||||
|
Loading…
Add table
Reference in a new issue