summaryrefslogtreecommitdiff
path: root/templates/article_summary_page.html
blob: 09b3cf53251416c961d92709b361acbfd5008cec (plain)
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{.section head}
  <link href="/style/admin.css" rel="stylesheet" type="text/css"/>
{.end}

{.section body}
<p>
  <form method="POST">
    <input name="create-article" type="hidden" />
    <input type="submit" value="{create-button-label|html-attr-value}" />
  </form>
</p>

<table>
  <thead>
    <th>{id-label}</th>
    <th>{aliases-label}</th>
    <th>{branch-label}</th>
    <th>{branch-title-label}</th>
    <th>{date-label}</th>
    <th>{characteristics-label}</th>
  </thead>

  <tbody>
    {.repeated section articles}
    <tr class="major-row">
      <td class="article-id"
          rowspan="{revision-num|html-attr-value}">{id|html}</td>
      <td class="article-aliases"
          rowspan="{revision-num|html-attr-value}">
        {.repeated section aliases}
        {@|html}
        <br />
        {.end}
        <form method="POST" style="white-space: nowrap">
          <input name="add-alias" type="hidden" />
          <input name="article" type="hidden" value="{id|html-attr-value}" />
          <input name="alias" type="text" size="10" />
          <input type="submit" value="{add-alias-label|html-attr-value}" />
        </form>
      </td>
      {.repeated section revisions}
      <td class="revision-id">
        <a href="{link|html-attr-value}">{id|html}</a>
      </td>
      <td class="revision-title">
        <a href="{link|html-attr-value}">{title|html}</a>
      </td>
      <td class="revision-date">{date|html}</td>
      <td class="revision-characteristics">{characteristics|html}</td>
      {.alternates with}
    </tr>
    <tr class="minor-row">
      {.end}
    </tr>
    {.end}
  </tbody>
</table>
{.end}