commit b41365ccfe497baf10750fb984f3e27ba8798a36
parent f674a6c7ff1d43d0f78ed3912da1d5496ab11d10
Author: Jan Dankert <devnull@localhost>
Date: Sat, 21 Jul 2012 01:41:03 +0200
\"Neu\"-Buttons nicht im Kopf, sondern am Tabellen-Ende.
Diffstat:
6 files changed, 51 insertions(+), 19 deletions(-)
diff --git a/themes/default/templates/grouplist/add.tpl.src.xml b/themes/default/templates/grouplist/add.tpl.src.xml
@@ -1,3 +1,13 @@
-<output xmlns="http://www.openrat.de/template"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.openrat.de/template ../template.xsd"><header back="true"><form><part class="line"><part class="label"><label for="name" key="name"></label></part><part class="input"><input name="name" class="focus"></input></part></part></form></header></output>
-\ No newline at end of file
+<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.openrat.de/template ../template.xsd">
+ <form>
+ <part class="line">
+ <part class="label">
+ <label for="name" key="name"></label>
+ </part>
+ <part class="input">
+ <input name="name" class="focus"></input>
+ </part>
+ </part>
+ </form>
+</output>
+\ No newline at end of file
diff --git a/themes/default/templates/grouplist/show.tpl.src.xml b/themes/default/templates/grouplist/show.tpl.src.xml
@@ -1,6 +1,5 @@
<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openrat.de/template ../template.xsd">
- <header views="add" />
<table>
<row class="headline">
<cell>
@@ -15,10 +14,11 @@
</cell>
</row>
</list>
- <row>
- <cell>
- <link class="action" action="group" subaction="add">
- <text key="menu_group_add"></text>
+ <row class="data">
+ <cell colspan="2">
+ <link type="view" subaction="add">
+ <image icon="add"/>
+ <text text="new"/>
</link>
</cell>
</row>
diff --git a/themes/default/templates/projectlist/add.tpl.src.xml b/themes/default/templates/projectlist/add.tpl.src.xml
@@ -1,6 +1,5 @@
<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openrat.de/template ../template.xsd">
- <header back="true"></header>
<form method="post">
<part class="line">
<part class="label">
@@ -8,13 +7,13 @@
</part>
<part class="input">
- <input name="name"></input>
+ <input name="name" class="focus"></input>
</part>
</part>
<fieldset title="message:options">
<part class="line">
<part class="label">
- <radio name="type" value="empty"></radio>
+ <radio name="type" value="empty" checked="true"></radio>
<label for="type_empty">
<text key="empty"></text>
</label>
@@ -29,5 +28,4 @@
</part>
</fieldset>
</form>
- <focus field="name"></focus>
</output>
\ No newline at end of file
diff --git a/themes/default/templates/projectlist/show.tpl.src.xml b/themes/default/templates/projectlist/show.tpl.src.xml
@@ -1,6 +1,5 @@
<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openrat.de/template ../template.xsd">
- <header views="add" />
<table>
<row class="headline">
<cell>
@@ -21,5 +20,13 @@
</cell>
</row>
</list>
+ <row class="data">
+ <cell colspan="2">
+ <link type="view" subaction="add">
+ <image icon="add"/>
+ <text text="new"/>
+ </link>
+ </cell>
+ </row>
</table>
</output>
\ No newline at end of file
diff --git a/themes/default/templates/userlist/add.tpl.src.xml b/themes/default/templates/userlist/add.tpl.src.xml
@@ -1,3 +1,13 @@
-<output xmlns="http://www.openrat.de/template"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.openrat.de/template ../template.xsd"><header back="true"><form method="post"><part class="line"><part class="label"><label for="name" key="user_username"></label></part><part class="input"><input name="name" class="focus"></input></part></part></form></header></output>
-\ No newline at end of file
+<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.openrat.de/template ../template.xsd">
+ <form method="post">
+ <part class="line">
+ <part class="label">
+ <label for="name" key="user_username"></label>
+ </part>
+ <part class="input">
+ <input name="name" class="focus"></input>
+ </part>
+ </part>
+ </form>
+</output>
+\ No newline at end of file
diff --git a/themes/default/templates/userlist/show.tpl.src.xml b/themes/default/templates/userlist/show.tpl.src.xml
@@ -1,6 +1,5 @@
<output xmlns="http://www.openrat.de/template" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.openrat.de/template ../template.xsd">
- <header views="add" />
<table>
<row class="headline">
<cell>
@@ -35,5 +34,13 @@
</cell>
</row>
</list>
+ <row class="data">
+ <cell colspan="3">
+ <link type="view" subaction="add">
+ <image icon="add"/>
+ <text text="new"/>
+ </link>
+ </cell>
+ </row>
</table>
</output>
\ No newline at end of file