Home | History | Annotate | Download | only in templates
      1 <!DOCTYPE html>
      2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
      3 <!--
      4  * Copyright (C) 2010 The Android Open Source Project
      5  *
      6  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
      7  * use this file except in compliance with the License. You may obtain a copy of
      8  * the License at
      9  *
     10  * http://www.apache.org/licenses/LICENSE-2.0
     11  *
     12  * Unless required by applicable law or agreed to in writing, software
     13  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
     14  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
     15  * License for the specific language governing permissions and limitations under
     16  * the License.
     17 -->
     18     <head>
     19         <title>SampleSync: Contacts for '{{ username }}'</title>
     20         <link type="text/css" rel="stylesheet" href="/static/css/main.css" media="screen" />
     21     </head>
     22     <body>
     23         <h1>SampleSync: Contacts for '{{ username }}'</h1>
     24         <table class="data" cellpadding="0" cellspacing="0">
     25         <tr>
     26             <th>&nbsp;</th>
     27             <th>Id</th>
     28             <th>Name</th>
     29             <th>Email</th>
     30             <th>Home</th>
     31             <th>Office</th>
     32             <th>Mobile</th>
     33             <th>Status</th>
     34         </tr>
     35         {% for contact in contacts %}
     36         <tr {% if contact.deleted %} class="deleted" {% endif %}>
     37             <td class="center">
     38             <a href="/edit_avatar?id={{ contact.key.id }}"><img src="/avatar?id={{ contact.key.id }}" height="25" width="25" /></a>
     39             </td>
     40             <td><a href="/edit_contact?id={{ contact.key.id }}">{{ contact.key.id }}</a></td>
     41             <td><a href="/edit_contact?id={{ contact.key.id }}">{{ contact.firstname }} {{ contact.lastname }}</a></td>
     42             <td>{{ contact.email }}</td>
     43             <td>{{ contact.phone_home }}</td>
     44             <td>{{ contact.phone_office }}</td>
     45             <td>{{ contact.phone_mobile }}</td>
     46             <td><span style="whitespace: no-wrap;">{{ contact.status }}</span></td>
     47         </tr>
     48         {% endfor %}
     49         </table>
     50 
     51         <a href = "/add_contact">Add Contact</a>
     52     </body>
     53 </html>