blob: ae9e87a445603ca77d0d0233759abe87c80c184a [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>buttons - 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" />
</head>
<body>
<!-- content -->
<div id="tx-content" class="demo">
<div id="demo">
<h3>Description</h3>
<h3>Available Buttons</h3>
<div>
<strong>Buttons</strong> are &lt;a> with the class <strong>tx-button</strong>. Furthermore there are 4 different types of buttons :
<br/>
<br/>
remove actions have the additional class: <strong>tx-button-remove</strong><br/>
modifying or editing buttons have the additional class: <strong>tx-button-modify</strong><br/>
create actions have the additional class: <strong>tx-button-create</strong><br/>
create actions have the additional class: <strong>tx-button-generic</strong><br/>
<br/>
<ol>
<li><a href="#" title="tx-button-remove" class="tx-button tx-button-remove">Remove</a></li>
<li><a href="#" title="tx-button-create" class="tx-button tx-button-create">Create</a></li>
<li><a href="#" title="tx-button-modify" class="tx-button tx-button-modify">Modify</a></li>
<li><a href="#" title="tx-button-generic" class="tx-button tx-button-generic">Generic</a></li>
</ol>
<br/>
<br/>
<br/>
e.g.
<pre>&lt;a class="tx-button tx-button-remove" href="#" >remove&lt;/a></pre>
<br/>Buttons have 2 visual states: inactive and active. Add the class <strong>tx-inactive</strong> to make a button visually inactive.
<br/>
<br/>
<ol>
<li><a href="#" title="tx-button-remove" class="tx-button tx-button-remove tx-inactive">Remove</a></li>
<li><a href="#" title="tx-button-create" class="tx-button tx-button-create tx-inactive">Create</a></li>
<li><a href="#" title="tx-button-modify" class="tx-button tx-button-modify tx-inactive">Modify</a></li>
<li><a href="#" title="tx-button-generic" class="tx-button tx-button-generic tx-inactive">Generic</a></li>
</ol>
<br/>
<br/>
<br/>
e.g.
<pre>&lt;a class="tx-button tx-button-remove tx-inactive" href="#" >remove&lt;/a></pre>
</div>
<h3>Icons</h3>
<strong>Icons</strong> are &lt;a> with the class <strong>tx-icon</strong>. e.g.There are 4 different type of icons. These icons have an active and inactive state (in case of toggles on/off)
<br/>
<br/>
<strong>active</strong>
<ol>
<li><a href="#" title="tx-icon-delete" class="tx-icon tx-icon-delete">Delete</a></li>
<li><a href="#" title="tx-icon-ok" class="tx-icon tx-icon-ok">Ok</a></li>
<li><a href="#" title="tx-icon-search" class="tx-icon tx-icon-search">Search</a></li>
<li><a href="#" title="tx-icon-edit" class="tx-icon tx-icon-edit">Edit</a></li>
<li><a href="#" title="tx-toggle-list-on" class="tx-icon tx-toggle-list-on">Table</a></li>
</ol>
<br/>
<br/>
<br/>
e.g.<pre>&lt;a class="tx-icon tx-icon-delete" href="#">Delete&lt;/a></pre>
<strong>inactive</strong>
<ol>
<li><a href="#" title="tx-icon-delete" class="tx-icon tx-icon-delete tx-inactive">Delete</a></li>
<li><a href="#" title="tx-icon-ok" class="tx-icon tx-icon-ok tx-inactive">Ok</a></li>
<li><a href="#" title="tx-icon-search" class="tx-icon tx-icon-search tx-inactive">Search</a></li>
<li><a href="#" title="tx-icon-edit" class="tx-icon tx-icon-edit tx-inactive">Edit</a></li>
<li><a href="#" title="tx-icon-toggle-list-off" class="tx-icon tx-toggle-list-off">Table</a></li>
</ol>
<br/>
<br/>
<br/>
e.g.<pre>&lt;a class="tx-icon tx-icon-delete tx-inactive" href="#">Delete&lt;/a></pre>
<br/>
<br/>
The following paragraphs describes the available icons:
<br/>
<br/>
<h4>Remove</h4>
<ol>
<li><a href="#" class="tx-icon tx-icon-delete" title="tx-icon-delete">Delete</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-delete tx-inactive" href="#">delete&lt;/a></pre></li>
</ol>
<h4>Create</h4>
<ol>
<li><a href="#" class="tx-icon tx-icon-ok" title="tx-icon-ok">Ok</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-ok" href="#">ok&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-plus" title="tx-icon-plus">Plus</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-plus" href="#">plus&lt;/a></pre></li>
</ol>
<h4>Modify</h4>
<ol>
<li><a href="#" class="tx-icon tx-icon-modify" title="tx-icon-modify">Edit</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-modify" href="#">modify&lt;/a></pre></li>
</ol>
<h4>Generic</h4>
<ol>
<li><a href="#" class="tx-icon tx-icon-search" title="tx-icon-search">Search</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-search" href="#">search&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-sitechooser" title="tx-icon-sitechooser">Site chooser</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-sitechooser" href="#">sitechooser&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-user" title="tx-icon-user">User</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-user" href="#">user&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-close" title="tx-icon-close">Close</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-close" href="#">close&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-forward" title="tx-icon-forward">Forward</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-forward" href="#">forward&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-back" title="tx-icon-back">Back</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-back" href="#">back&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-zoomin" title="tx-icon-zoomin">Zoom in</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-zoomin" href="#">zoomin&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-zoomout" title="tx-icon-zoomout">Zoom out</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-zoomout" href="#">zoomout&lt;/a></pre></li>
</ol>
<h3>Available Toggle buttons</h3>
There are also <strong>toggles</strong> available, which are &lt;a>. These buttons are defined by using the class <strong>tx-icon</strong>. Toggle buttons are switches between to states (on/off state). There are toggle buttons available for representing resources as lists, trees and thumbnails. Futhermore there are toggle buttons for choosing a size of a thumbnail.
<br/>
<br/>
<h4>On (clickable)</h4>
<ol>
<li><a href="#" title="tx-toggle-list-on" class="tx-icon tx-toggle-list-on">Table</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-list-on" href="#">list-on&lt;/a></pre></li>
<li><a href="#" title="tx-toggle-thumbnail-on" class="tx-icon tx-toggle-thumbnail-on">Thumbnail</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-thumbnail-on" href="#">thumbnail-on&lt;/a></pre></li>
<li><a href="#" title="tx-toggle-tree-on" class="tx-icon tx-toggle-tree-on">Tree</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-tree-on" href="#">tree-on&lt;/a></pre></li>
<li><a href="#" title="tx-toggle-size1-on" class="tx-icon tx-toggle-size1-on">Size 1</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-size1-on" href="#">size1-on&lt;/a></pre></li>
<li><a href="#" title="tx-toggle-size2-on" class="tx-icon tx-toggle-size2-on">Size 2</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-size2-on" href="#">size2-on&lt;/a></pre></li>
<li><a href="#" title="tx-toggle-size3-on" class="tx-icon tx-toggle-size3-on">Size 3</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-size3-on" href="#">size3-on&lt;/a></pre></li>
</ol>
<br/>
<br/>
<br/>
<h4>Off (select)</h4>
<ol>
<li><a href="#" title="tx-toggle-list-off" class="tx-icon tx-toggle-list-off">Table</a>&nbsp;<pre>&lt;a class="tx-icon tx-toggle-list-off" href="#">list&lt;/a></pre></li>
<li><a href="#" title="tx-toggle-thumbnail-off" class="tx-icon tx-toggle-thumbnail-off">Thumbnail</a>&nbsp;<pre>&lt;a class="tx-icon tx-toggle-thumbnail-off" href="#">thumbnail&lt;/a></pre></li>
<li><a href="#" title="tx-toggle-tree-off" class="tx-icon tx-toggle-tree-off">Tree</a>&nbsp;<pre>&lt;a class="tx-icon tx-toggle-tree-off" href="#">tree&lt;/a></pre></li>
<li><a href="#" title="tx-toggle-size1-off" class="tx-icon tx-toggle-size1-off">Size 1</a>&nbsp;<pre>&lt;a class="tx-icon tx-toggle-size1-off" href="#">size1&lt;/a></pre></li>
<li><a href="#" title="tx-toggle-size2-off" class="tx-icon tx-toggle-size2-off">Size 2</a>&nbsp;<pre>&lt;a class="tx-icon tx-toggle-size2-off" href="#">size2&lt;/a></pre></li>
<li><a href="#" title="tx-toggle-size3-off" class="tx-icon tx-toggle-size3-off">Size 3</a>&nbsp;<pre>&lt;a class="tx-icon tx-toggle-size3-off" href="#">size3&lt;/a></pre></li>
</ol>
<br/>
<br/>
<br/>
<h3>Various icons / buttons</h3>
<ol>
<li><a href="#" class="tx-icon tx-icon-alert">Alert</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-alert" href="#">alert&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-drag">Drag Icon</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-drag" href="#">drag&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-down">Down</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-down" href="#">down&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-up">Up</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-up" href="#">up&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-right">Right</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-right" href="#">right&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-left">Left</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-left" href="#">left&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-down-inverse demo-bg">Down</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-down-inverse" href="#">downinverse&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-up-inverse demo-bg">Up</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-up-inverse" href="#">upinverse&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-right-inverse demo-bg">Right</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-right-inverse" href="#">rightinverse&lt;/a></pre></li>
<li><a href="#" class="tx-icon tx-icon-left-inverse demo-bg">Left</a>&nbsp;<pre>&lt;a class="tx-icon tx-icon-left-inverse" href="#">leftinverse&lt;/a></pre></li>
</ol>
</div>
</div>
<!-- // content -->
</body>
</html>