index.html 897 Bytes
Newer Older
1 2 3
{{extend 'db_layout.html'}}

<div>
4
    <h3>User info</h3>
5 6 7 8 9 10
    
    <div id="db_table_container">
        <table class="db_table" id="table">
            <thead>
                <tr><td class="column1"> user name</td>
                    <td> @</td>
11
                    <td class="colum1">created patient</td>
12 13 14 15 16
                </tr>
            </thead>
            
           {{for row in query :}}
               <tr onclick="db.call('user/info', {'id' :'{{=row.id}}'} )">
17
                    <td> {{=row.first_name + " " + row.last_name }} </td>
18
                    <td> {{=row.email}}  </td>
19
                    <td> {{=row.created_patient}}  </td>
20 21 22 23 24 25 26 27 28 29 30 31 32 33
                </tr>
           {{pass}}
        
        </table>
        <table class="db_table" id="db_fixed_header"></table>
    </div>

</div>

{{elif 'content' in globals():}}
{{=content}}
{{else:}}
{{=BEAUTIFY(response._vars)}}
{{pass}}