File: table-desc.html

package info (click to toggle)
albatross 1.36-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,472 kB
  • ctags: 1,822
  • sloc: python: 7,437; makefile: 146; sh: 132
file content (40 lines) | stat: -rw-r--r-- 1,066 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head><title>Table Description</title></head>
<body bgcolor="#ddeeff">

<al-form method="post">
 <font size="+1"><b>Table:</b></font>
 <al-select name="table" size="1" optionexpr="tables"/>
 <al-input type="submit" name="changetable" value="Show Table">
</al-form>

<font size="+1"><b>Table Columns</b></font>
<al-expand name="box">
<al-if expr="len(columns) == 0">
<font color="red">There are no columns.</font>
<al-else>
<table width="100%">
 <tr align="left" bgcolor="#cccccc">
  <th>Name</th>
  <th>Type</th>
  <th>Length</th>
  <th>Status</th>
 </tr>
<al-for iter="c" expr="columns">
 <al-if expr="c.index() & 1"><tr><al-else><tr bgcolor="#eeeeee"></al-if>
  <td nowrap><al-value expr="c.value()[0]"></td>
  <td nowrap><al-value expr="c.value()[1]"></td>
  <td nowrap><al-value expr="c.value()[2]"></td>
  <td nowrap><al-value expr="c.value()[3]"></td>
 </tr>
</al-for>
</table>
</al-if>
</al-expand>

<al-form method="post">
 <al-input type="submit" name="back" value="Back">
</al-form>
</body>
</html>