summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e695dea)
raw | patch | inline | side by side (parent: e695dea)
author | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 3 Oct 2003 16:57:28 +0000 (16:57 +0000) | ||
committer | jlgijsbers <jlgijsbers@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Fri, 3 Oct 2003 16:57:28 +0000 (16:57 +0000) |
'white-space: nowrap;'.
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1892 57a73879-2fb5-44c3-a270-3262357dd7e2
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1892 57a73879-2fb5-44c3-a270-3262357dd7e2
diff --git a/doc/customizing.txt b/doc/customizing.txt
index 2662f62945040cf7be84d72c932336095b420b27..951a881bcaf48dc3ab39f87db91a9aba24c64bb0 100644 (file)
--- a/doc/customizing.txt
+++ b/doc/customizing.txt
Customising Roundup
===================
-:Version: $Revision: 1.100 $
+:Version: $Revision: 1.101 $
.. This document borrows from the ZopeBook section on ZPT. The original is at:
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
<table class="form">
<tr>
- <th nowrap>Title</th>
+ <th>Title</th>
<td colspan="3" tal:content="structure python:context.title.field(size=60)">title</td>
</tr>
<tr>
- <th nowrap>Priority</th>
+ <th>Priority</th>
<td tal:content="structure context/priority/menu">priority</td>
- <th nowrap>Status</th>
+ <th>Status</th>
<td tal:content="structure context/status/menu">status</td>
</tr>
<tr>
- <th nowrap>Superseder</th>
+ <th>Superseder</th>
<td>
<span tal:replace="structure python:context.superseder.field(showid=1, size=20)" />
<span tal:replace="structure python:db.issue.classhelp('id,title')" />
<br>View: <span tal:replace="structure python:context.superseder.link(showid=1)" />
</span>
</td>
- <th nowrap>Nosy List</th>
+ <th>Nosy List</th>
<td>
<span tal:replace="structure context/nosy/field" />
<span tal:replace="structure python:db.user.classhelp('username,realname,address,phone')" />
</tr>
<tr>
- <th nowrap>Assigned To</th>
+ <th>Assigned To</th>
<td tal:content="structure context/assignedto/menu">
assignedto menu
</td>
</tr>
<tr>
- <th nowrap>Change Note</th>
+ <th>Change Note</th>
<td colspan="3">
<textarea name=":note" wrap="hard" rows="5" cols="60"></textarea>
</td>
</tr>
<tr>
- <th nowrap>File</th>
+ <th>File</th>
<td colspan="3"><input type="file" name=":file" size="40"></td>
</tr>
to the form, a new category will be created with that name::
<tr>
- <th nowrap>Name</th>
+ <th>Name</th>
<td tal:content="structure python:context.name.field(size=60)">
name</td>
</tr>
<tr><th class="header" colspan="2">Category</th></tr>
<tr>
- <th nowrap>Name</th>
+ <th>Name</th>
<td tal:content="structure python:context.name.field(size=60)">
name</td>
</tr>
table to lay things out. It doesn't matter where in the table we add new
stuff, it is entirely up to your sense of aesthetics::
- <th nowrap>Category</th>
+ <th>Category</th>
<td><span tal:replace="structure context/category/field" />
<span tal:replace="structure db/category/classhelp" />
</td>
4. in the ``issue.item.html`` template, change the status editing bit
from::
- <th nowrap>Status</th>
+ <th>Status</th>
<td tal:content="structure context/status/menu">status</td>
to::
- <th nowrap>Status</th>
+ <th>Status</th>
<td>
<select tal:condition="context/id" name="status">
<tal:block tal:define="ok context/status/transitions"
<td><a tal:attributes="href string:msg${msg/id}"
tal:content="string:msg${msg/id}"></a></td>
<td tal:content="msg/author">author</td>
- <td nowrap tal:content="msg/date/pretty">date</td>
+ <td class="date" tal:content="msg/date/pretty">date</td>
<td tal:content="msg/summary">summary</td>
<td>
<a tal:attributes="href string:?@remove@messages=${msg/id}&@action=edit">
<tal:block tal:condition="python:cat in '6 10 13 14 15 16 17'.split()">
<tr>
- <th nowrap>Operating System</th>
+ <th>Operating System</th>
<td tal:content="structure context/os/field"></td>
</tr>
<tr>
- <th nowrap>Web Browser</th>
+ <th>Web Browser</th>
<td tal:content="structure context/browser/field"></td>
</tr>
</tal:block>
field to capture a new timelog item's perdiod::
<tr>
- <th nowrap>Time Log</th>
+ <th>Time Log</th>
<td colspan=3><input type="text" name="timelog-1@period" />
<br />(enter as '3y 1m 4d 2:40:02' or parts thereof)
</td>
<td><a tal:attributes="href string:msg${msg/id}"
tal:content="string:msg${msg/id}"></a></td>
<td tal:content="msg/author">author</td>
- <td nowrap tal:content="msg/date/pretty">date</td>
+ <td class="date" tal:content="msg/date/pretty">date</td>
<td tal:content="msg/summary">summary</td>
<td>
<a tal:attributes="href string:?@remove@messages=${msg/id}&@action=edit">remove</a>
<tal:block tal:repeat="msg context/messages">
<tr>
<th tal:content="msg/author">author</th>
- <th nowrap tal:content="msg/date/pretty">date</th>
+ <th class="date" tal:content="msg/date/pretty">date</th>
<th style="text-align: right">
(<a tal:attributes="href string:?@remove@messages=${msg/id}&@action=edit">remove</a>)
</th>
2. Add the new "blockers" property to the issue.item edit page, using
something like::
- <th nowrap>Waiting On</th>
+ <th>Waiting On</th>
<td>
<span tal:replace="structure python:context.blockers.field(showid=1,
size=20)" />
index dfd666e020bf10b1e51fe5ef07ef8b612ff0c5c4..0a26b59d66f0fc799980d977ad96f53365c0971c 100644 (file)
<td tal:condition="request/show/priority"
tal:content="python:i.priority.plain() or default"> </td>
<td tal:condition="request/show/id" tal:content="i/id"> </td>
- <td nowrap tal:condition="request/show/creation"
+ <td class="date" tal:condition="request/show/creation"
tal:content="i/creation/reldate"> </td>
- <td nowrap tal:condition="request/show/activity"
+ <td class="date" tal:condition="request/show/activity"
tal:content="i/activity/reldate"> </td>
<td tal:condition="request/show/topic"
tal:content="python:i.topic.plain() or default"> </td>
index 6d861429747b2f1b4470cac1d754db75d4dd80ee..6e3b8f29fe05dfbc6ad998b8fec240ae5a3906c8 100644 (file)
<table class="form">
<tr>
- <th class="required" nowrap>Title</th>
+ <th class="required">Title</th>
<td colspan=3 tal:content="structure python:context.title.field(size=60)">title</td>
</tr>
<tr>
- <th class="required" nowrap>Priority</th>
+ <th class="required">Priority</th>
<td tal:content="structure context/priority/menu">priority</td>
- <th nowrap>Status</th>
+ <th>Status</th>
<td tal:content="structure context/status/menu">status</td>
</tr>
<tr>
- <th nowrap>Superseder</th>
+ <th>Superseder</th>
<td>
<span tal:replace="structure python:context.superseder.field(showid=1, size=20)" />
<span tal:replace="structure python:db.issue.classhelp('id,title', property='superseder')" />
tal:content="sup/id"></a>
</span>
</td>
- <th nowrap>Nosy List</th>
+ <th>Nosy List</th>
<td>
<span tal:replace="structure context/nosy/field" />
<span tal:replace="structure
</tr>
<tr>
- <th nowrap>Assigned To</th>
+ <th>Assigned To</th>
<td tal:content="structure context/assignedto/menu">assignedto menu</td>
- <th nowrap>Topics</th>
+ <th>Topics</th>
<td>
<span tal:replace="structure context/topic/field" />
<span tal:replace="structure python:db.keyword.classhelp(property='topic')" />
</tr>
<tr>
- <th nowrap>Change Note</th>
+ <th>Change Note</th>
<td colspan=3>
<textarea tal:content="request/form/:note/value | default"
name=":note" wrap="hard" rows="5" cols="80"></textarea>
</tr>
<tr>
- <th nowrap>File</th>
+ <th>File</th>
<td colspan=3><input type="file" name=":file" size="40"></td>
</tr>
@@ -99,28 +99,28 @@ python:db.user.classhelp('username,realname,address', property='nosy', width='60
<table class="form" tal:condition="context/is_only_view_ok">
<tr>
- <th nowrap>Title</th><td colspan=3 tal:content="context/title">title</td>
+ <th>Title</th><td colspan=3 tal:content="context/title">title</td>
</tr>
<tr>
- <th nowrap>Priority</th><td tal:content="context/priority">priority</td>
- <th nowrap>Status</th><td tal:content="context/status">status</td>
+ <th>Priority</th><td tal:content="context/priority">priority</td>
+ <th>Status</th><td tal:content="context/status">status</td>
</tr>
<tr>
- <th nowrap>Superseder</th>
+ <th>Superseder</th>
<td>
<span tal:condition="context/superseder" tal:repeat="sup context/superseder">
<br>View: <a tal:attributes="href string:issue${sup/id}"
tal:content="sup/id"></a>
</span>
</td>
- <th nowrap>Nosy List</th><td><span tal:replace="context/nosy" /></td>
+ <th>Nosy List</th><td><span tal:replace="context/nosy" /></td>
</tr>
<tr>
- <th nowrap>Assigned To</th><td tal:content="context/assignedto"></td>
- <th nowrap>Topics</th><td tal:content="structure context/topic"></td>
+ <th>Assigned To</th><td tal:content="context/assignedto"></td>
+ <th>Topics</th><td tal:content="structure context/topic"></td>
</tr>
</table>
index 4572370865abc26e78c4e705625818573d07ae53..47f9223575db6c6adb6af38036da81c0462856ce 100644 (file)
<table class="form">
<tr>
- <th nowrap>Keyword</th>
+ <th>Keyword</th>
<td tal:content="structure context/name/field">name</td>
</tr>
index 49e203a411428a557c24f6dd8548f865daa0e245..4242aae9ada9685659bc66d373b59033e761712f 100644 (file)
<table class="form">
<tr>
- <th nowrap>Author</th>
+ <th>Author</th>
<td tal:content="context/author"></td>
</tr>
<tr>
- <th nowrap>Recipients</th>
+ <th>Recipients</th>
<td tal:content="context/recipients"></td>
</tr>
<tr>
- <th nowrap>Date</th>
+ <th>Date</th>
<td tal:content="context/date"></td>
</tr>
</table>
index a5f368088bdc505f595e3faf8612a83e901dbae2..9d06dfc13996584f56da5d175c81dbe478f8243d 100644 (file)
width: 100%;
}
+td.date, th.date {
+ white-space: nowrap;
+}
+
p.ok-message {
background-color: #22bb22;
padding: 5 5 5 5;
text-align: right;
vertical-align: top;
font-weight: normal;
+ white-space: nowrap;
}
table.form th.header {
index aefee18bd5ab0108c80247dbe6168f256d0ff5bf..10834fddd4ddca677ed15c93b452f4f4dc3aba70 100644 (file)
</tr>
<tr>
- <td rowspan="2" valign="top" nowrap class="sidebar">
+ <td rowspan="2" valign="top" class="sidebar">
<p class="userblock" tal:condition="python:request.user.username=='anonymous'">
<form method="POST" action="">
<input size="10" name="__login_name"><br>
index 8aad4587e09dbc6b301b9378dc465737b8d44200..16372434fae87b3cc723a2b0c1100863541e59f3 100644 (file)
td.sidebar {
padding: 1 0 0 1;
+ white-space: nowrap;
}
td.sidebar p.classblock {