server/src/main/webapp/WEB-INF/templates/admin/spacesList.html
author ymh <ymh.work@gmail.com>
Tue, 02 Apr 2013 01:56:11 +0200
changeset 127 906fed13c1e1
child 128 93a1fbe6a848
permissions -rw-r--r--
space admin edit.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
127
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<!DOCTYPE html>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" >
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
  <head>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
    <title>Renkan Admin - Spaces</title>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
    <meta charset="utf-8"/>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
    <link rel="shortcut icon" href="../../../static/img/favicon.ico" th:href="@{/static/img/favicon.ico}"/>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
    <link href="../../../static/css/style.css" rel="stylesheet" th:href="@{/static/css/style.css}"/>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
    <link href="../../../static/css/index.css" rel="stylesheet" th:href="@{/static/css/index.css}"/>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
    
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
    <script th:remove="all" type="text/javascript" src="../../../static/lib/jquery.min.js"></script>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
    <script th:remove="all" type="text/javascript" src="../../../static/js/thymol.js"></script>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
  </head>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
  <body>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
    <div id="container">
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
      <div id="wrapper">
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
        <h1><a href="renkanIndex.html" th:href="@{/admin}" th:text="#{renkanAdmin.renkan_admin}" id="home-link">Renkan administration</a></h1>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
        <h2 th:text="#{renkanAdmin.object_list(#{renkanAdmin.space_objects_name})}">List of objects</h2>        
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
        <div th:include="fragment/paginationFragment :: paginationFragment" class="pagination-container">
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
          <div>               
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
            <a href="#?p.page=1">&lt;&lt;</a>                    
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
            <a href="#?p.page=3">&lt;</a>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
            <span>...</span>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    27
            <a href="#?p.page=2">2</a>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    28
            <a href="#?p.page=3">3</a>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    29
            <span>4</span>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    30
            <a href="#?p.page=5">5</a>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    31
            <a href="#?p.page=6">6</a>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    32
            <span>...</span>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
            <a href="#?p.page=5">&gt;</a>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
            <a href="#?p.page=7">&gt;&gt;</a> 
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
          </div>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
        </div>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
        <div id="objects-content">
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
          <ul class="object-tools">
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
            <li><a href="spacesAdd.html" th:href="@{/admin/spaces/add}" th:text="#{renkanAdmin.space_add}">Add space</a></li>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
          </ul>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
          <table>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
            <thead>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
              <tr>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
                <th th:text="#{renkanAdmin.object_name}" class="spaces-table-title">Name</th>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
                <th th:text="#{renkanAdmin.object_name}" class="spaces-table-created">Created</th>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
                <th th:text="#{renkanAdmin.object_edit}" class="spaces-table-actions">Edit</th>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
                <th th:text="#{renkanAdmin.object_delete}" class="spaces-table-actions">Delete</th>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
              </tr>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
            </thead>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
            <tbody>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
              <tr th:each="object: ${page.content}">
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
                <td th:text="${object.title}" class="spaces-table-title" >title</td>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
                <td th:text="${#dates.format(object.created, #messages.msg('date.format'))}" class="spaces-table-created">created</td>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
                <td><a href="spaceEdit.html" th:href="@{'/admin/spaces/'+${object.id}}" th:text="#{renkanAdmin.object_edit_link}" class="spaces-table-actions">Edit</a></td>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
                <td><a href="#" th:href="@{'/s/'+${object.id}}" th:text="#{renkanAdmin.object_delete_link}" class="spaces-table-actions">Delete</a></td>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
              </tr>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
            </tbody>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
          </table>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
        </div>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    60
        
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    61
      </div>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    62
      <footer id="footer" th:substituteby="fragment/pageFragment::footerFragment">
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    63
        <div id="version">© <span class="version-date">2013</span> <a href="http://www.iri.centrepompidou.fr" target="_blanck">IRI</a> - Version <span class="version-version">0.0</span></div>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    64
      </footer>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    65
    </div>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    66
  </body>
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    67
</html>