summaryrefslogtreecommitdiffstats
path: root/base/tps/shared/webapps/tps/ui/user.html
blob: 435349e5a1b7bf316981af86aca77f4079b76be5 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!-- --- BEGIN COPYRIGHT BLOCK ---
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
     the Free Software Foundation; version 2 of the License.

     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.

     You should have received a copy of the GNU General Public License along
     with this program; if not, write to the Free Software Foundation, Inc.,
     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

     Copyright (C) 2014 Red Hat, Inc.
     All rights reserved.
     --- END COPYRIGHT BLOCK --- -->
<div class="pki-header">
<ol class="breadcrumb">
    <li><a href="#">Home</a></li>
    <li><a href="#users">Users</a></li>
    <li class="active"><strong><span name="title">User ${id}</span></strong></li>
</ol>

<span name="title" class="pki-title">User ${id}</span>

<span class="pki-actions">

<ul name="view" class="pki-actions-menu">
<li name="edit"><a href="#">Edit</a></li>
</ul>

<span name="edit" class="pki-actions-menu" style="display: none;">
<button name="cancel">Cancel</button>
<button name="save" class="primary">Save</button>
</span>

</span>

</div>

<div name="user" class="pki-fields">
<fieldset>
    <label>User ID</label>
    <input name="userID" readonly="readonly"><br>
    <label>Full Name</label>
    <input name="fullName" readonly="readonly"><br>
    <label>Email</label>
    <input name="email" readonly="readonly"><br>
</fieldset>
</div>

<div name="profiles">

<h2>Profiles</h2>

<table name="list">
<thead>
    <tr>
         <th class="pki-table-actions" colspan="2">
             <span name="search">
                 <input name="search" type="text" placeholder="Search...">
             </span>
             <span class="pki-table-buttons">
                 <button name="add">Add</button>
                 <button name="remove">Remove</button>
             </span>
         </th>
    </tr>
    <tr>
        <th class="pki-select-column"><input id="user-profiles-selectall" type="checkbox"><label for="user-profiles-selectall">&nbsp;</label></th>
        <th>Profile ID</th>
    </tr>
</thead>
<tbody>
    <tr>
        <td class="pki-select-column"><input id="user-profiles-select" type="checkbox"><label for="user-profiles-select">&nbsp;</label></td>
        <td name="id">${id}</td>
    </tr>
</tbody>
<tfoot>
    <tr>
         <th class="pki-table-actions" colspan="2">
             <div class="pki-table-info">
                 Total: <span name="totalEntries">0</span> entries
             </div>
             <div class="pki-page-controls">
                 <ul class="pagination">
                     <li><a href="#" name="first"><span class="i fa fa-angle-double-left"></span></a></li>
                     <li><a href="#" name="prev"><span class="i fa fa-angle-left"></span></a></li>
                 </ul>
                 <span class="pki-page-jump">
                     <input name="page" type="text" value="1"> of <span name="totalPages">1</span>
                 </span>
                 <ul class="pagination">
                     <li><a href="#" name="next"><span class="i fa fa-angle-right"></span></a></li>
                     <li><a href="#" name="last"><span class="i fa fa-angle-double-right"></span></a></li>
                 </ul>
             </div>
         </th>
    </tr>
</tfoot>
</table>

</div>

<div id="user-profile-dialog" class="modal">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    <span class="pficon pficon-close"></span>
                </button>
                <h4 class="modal-title">Add Profile</h4>
            </div>
            <div class="modal-body">
                Profile:
                <select name="id">
                </select>
            </div>
            <div class="modal-footer">
                <button name="add" class="btn btn-primary">Add</button>
                <button name="cancel" class="btn btn-default" data-dismiss="modal">Cancel</button>
            </div>
        </div>
    </div>
</div>