blob: 86f406a4d496dc4f79755dc883e7204cfe5f5417 [file] [log] [blame]
<?xml version='1.0'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>header - example</title>
<link href="/style/style.css" media="screen" rel="stylesheet" type="text/css" />
<link href="./style/demo.css" media="screen" rel="stylesheet" type="text/css" />
<script src="/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="/jquery/jquery.menu.js" type="text/javascript"></script>
</head>
<body>
<!-- header -->
<div id="tx-header">
<!-- system -->
<div id="tx-system">
<!-- global search -->
<div id="tx-globalsearch">
<form action="/globalsearch/">
<fieldset>
<input type="text" name="globalsearch_value" /> <input type="submit" value="" class="tx-icon tx-icon-search"/>
</fieldset>
</form>
</div>
<!-- user information -->
<div id="tx-login">
<a href="" class="tx-icon tx-icon-user">actions</a> <span>Mans Huster</span>
</div>
<div id="tx-logo"><a href=""></a></div>
<!-- main menu -->
<div id="tx-menu">
<ol>
<li><a href="">Dashboard</a></li>
<li><a href="">Modulgruppe 1</a>
<ol>
<li><a href="">Submenu 1</a></li>
<li><a href="">Submenu 2</a></li>
<li><a href="">Submenu 3</a></li>
<li><a href="">Submenu 4</a></li>
</ol>
</li>
<li><a href="">Modulgruppe 2</a>
<ol>
<li><a href="">Submenu 1</a></li>
<li><a href="">Submenu 2</a></li>
</ol>
</li>
<li><a href="">Help</a>
<ol>
<li><a href="">About</a></li>
<li><a href="">What</a></li>
<li><a href="">Where</a></li>
</ol>
</li>
</ol>
</div>
</div>
<!-- //system -->
<!-- module -->
<div id="tx-module">
<!-- module title -->
<h1>header example</h1>
<!-- page editing actions -->
<div id="tx-page-actions">
<ol>
<li><a href="" class="tx-button tx-button-generic">Page Editing</a></li>
<li><a href="" class="tx-button tx-button-generic-on">Preview</a></li>
<li><a href="" class="tx-button tx-button-generic">Page Data</a></li>
<li><a href="" class="tx-button tx-button-generic">Something</a></li>
</ol>
</div>
</div>
<!-- // module -->
<!-- moduletabs -->
<div id="tx-module-tabs">
<!-- moduletabs -->
<ol>
<li class="tx-active"><a href="#">Assets</a></li>
<li><a href="#">Image Sets</a></li>
<li><a href="#">My Lightboxes</a></li>
<li class="tx-active"><a href="#">My Something</a></li>
<li><a href="#">My Everything</a></li>
</ol>
<!-- -->
<div id="tx-contextual-buttons">
<ol>
<li><a href="#" class="tx-button tx-button-remove">Remove</a></li>
<li><a href="#" class="tx-button tx-button-create">Create</a></li>
<li><a href="#" class="tx-button tx-button-modify">Modify</a></li>
<li><a href="#" class="tx-button tx-button-generic">Generic</a></li>
</ol>
</div>
</div>
<!-- // moduletabs -->
<!-- moduleoptions -->
<div id="tx-module-options">
<ol>
<li><a href="#" class="tx-icon tx-toggle-list-on">Table</a></li>
<li><a href="#" class="tx-icon tx-toggle-thumbnail-on">Thumbnail</a></li>
<li class="tx-spacer"><a href="#" class="tx-icon tx-toggle-tree-on">Tree</a></li>
<li><a href="#" class="tx-icon tx-toggle-size1-on">Size 1</a></li>
<li><a href="#" class="tx-icon tx-toggle-size2-on">Size 2</a></li>
<li><a href="#" class="tx-icon tx-toggle-size3-on">Size 3</a></li>
</ol>
</div>
<!-- // moduleoptions -->
</div>
<!-- // header -->
<!-- content -->
<div id="tx-content">
<div id="demo">
<h3>Description</h3>
<div>The header is a &lt;div> with id <strong>tx-header</strong> and is the first child of the &lt;body>.</div>
<br/>
The <strong>div#tx-system</strong> contains the globalsearch, menu, logo and login.<br/>
The global search is a &lt;div> with id <strong>tx-globalsearch</strong> and contains HTML.<br/>
The logo could be placed on the left top corner and is a &lt;div> containing a &lt;a> e.g. &lt;div id="tx-logo">&lt;a href="" />&lt;/div><br/>
The menu is a &lt;div> with id <strong>tx-menu</strong>, which contains an ordered list.<br/>
<br/>
<br/>
The <strong>div#tx-module</strong> contains the title and the page actions.<br/>
The title of the module is a &lt;h1>.
The page action buttons area is a &lt;div> with id <strong>tx-page-actions</strong>, which contains an ordered list.<br/>
<br/>
<br/>
The tabs and contextual buttons are in a &lt;div> with id <strong>tx-module-tabs</strong> which contains:<br/>
An ordered list &lt;ol> for the module tabs.<br/>
A &lt;div> with id <strong>tx-contextual-buttons</strong>, which contains an ordered list of contextual action buttons<br/>
<br/>
<br/>
The <strong>div#tx-module-options</strong> contains the toggle icons and paginator/select elements.<br/>
An ordered list &lt;ol> for the module options, which contains the toggles and status icons.<br/>
<br/>
<br/>
<h3>Example code</h3>
<pre>
&lt;!-- header --&gt;
&lt;div id="tx-header"&gt;
&lt;!-- system --&gt;
&lt;div id="tx-system"&gt;
&lt;!-- global search --&gt;
&lt;div id="tx-globalsearch"&gt;
&lt;form action="/globalsearch/"&gt;
&lt;fieldset&gt;
&lt;input type="text" name="globalsearch_value" /&gt; &lt;input type="submit" value="" class="tx-icon tx-icon-search"/&gt;
&lt;/fieldset&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;!-- user information --&gt;
&lt;div id="tx-login"&gt;
&lt;a href="" class="tx-icon tx-icon-user"&gt;actions&lt;/a&gt; &lt;span&gt;Mans Huster&lt;/span&gt;
&lt;/div&gt;
&lt;div id="tx-logo"&gt;&lt;a href=""&gt;&lt;/a&gt;&lt;/div&gt;
&lt;!-- main menu --&gt;
&lt;div id="tx-menu"&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=""&gt;Dashboard&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=""&gt;Modulgruppe 1&lt;/a&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=""&gt;Submenu 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=""&gt;Submenu 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=""&gt;Submenu 3&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=""&gt;Submenu 4&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=""&gt;Modulgruppe 2&lt;/a&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=""&gt;Submenu 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=""&gt;Submenu 2&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=""&gt;Help&lt;/a&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=""&gt;About&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=""&gt;What&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=""&gt;Where&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- //system --&gt;
&lt;!-- module --&gt;
&lt;div id="tx-module"&gt;
&lt;!-- module title --&gt;
&lt;h1&gt;Example&lt;/h1&gt;
&lt;!-- page editing actions --&gt;
&lt;div id="tx-page-actions"&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="" class="tx-button tx-button-generic"&gt;Page Editing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="" class="tx-button tx-button-generic-on"&gt;Preview&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="" class="tx-button tx-button-generic"&gt;Page Data&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="" class="tx-button tx-button-generic"&gt;Something&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- // module --&gt;
&lt;!-- moduletabs --&gt;
&lt;div id="tx-module-tabs"&gt;
&lt;!-- moduletabs --&gt;
&lt;ol&gt;
&lt;li class="tx-active"&gt;&lt;a href="#"&gt;Assets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;Image Sets&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;My Lightboxes&lt;/a&gt;&lt;/li&gt;
&lt;li class="tx-active"&gt;&lt;a href="#"&gt;My Something&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#"&gt;My Everything&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;!-- --&gt;
&lt;div id="tx-contextual-buttons"&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="#" class="tx-button tx-button-remove"&gt;Remove&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#" class="tx-button tx-button-create"&gt;Create&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#" class="tx-button tx-button-modify"&gt;Modify&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#" class="tx-button tx-button-generic"&gt;Generic&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!-- // moduletabs --&gt;
&lt;!-- moduleoptions --&gt;
&lt;div id="tx-module-options"&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href="#" class="tx-icon tx-toggle-list-on"&gt;Table&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#" class="tx-icon tx-toggle-thumbnail-on"&gt;Thumbnail&lt;/a&gt;&lt;/li&gt;
&lt;li class="tx-spacer"&gt;&lt;a href="#" class="tx-icon tx-toggle-tree-on"&gt;Tree&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#" class="tx-icon tx-toggle-size1-on"&gt;Size 1&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#" class="tx-icon tx-toggle-size2-on"&gt;Size 2&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#" class="tx-icon tx-toggle-size3-on"&gt;Size 3&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;!-- // moduleoptions --&gt;
&lt;/div&gt;
&lt;!-- // header --&gt;
</pre>
</div>
</div>
</body>
</html>