diff options
Diffstat (limited to 'templates/account.tpl')
-rw-r--r-- | templates/account.tpl | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/templates/account.tpl b/templates/account.tpl new file mode 100644 index 0000000..1f3bbfa --- /dev/null +++ b/templates/account.tpl | |||
@@ -0,0 +1,58 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | <title>Manage Account</title> | ||
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
6 | <link rel="stylesheet" type="text/css" href="/assets/site.css" /> | ||
7 | <script type="text/javascript" src="/assets/site.js"></script> | ||
8 | </head> | ||
9 | <body> | ||
10 | <div id="api-error"><p>Error communicating with the API.</p><p class="sub-message"></p></div> | ||
11 | <div id="api-success">Saved!</div> | ||
12 | |||
13 | <h1>Manage Account</h1> | ||
14 | <form method="PUT" action="/api/account" id="account-form"> | ||
15 | <ol> | ||
16 | <li> | ||
17 | <label for="short_name">Short Name:</label> | ||
18 | <input type="text" id="short_name" name="short_name" /> | ||
19 | </li> | ||
20 | <li> | ||
21 | <label for="account_type">Account Type:</label> | ||
22 | <input type="text" id="account_type" name="account_type" /> | ||
23 | </li> | ||
24 | <li> | ||
25 | <label>Account Number:</label> | ||
26 | <input type="number" id="account_number" name="account_number" /> | ||
27 | </li> | ||
28 | <li> | ||
29 | <label for="name">Name:</label> | ||
30 | <input type="text" id="name" name="name" /> | ||
31 | </li> | ||
32 | <li> | ||
33 | <label for="console_session_duration">Console Session Duration (ms):</label> | ||
34 | <input type="number" id="console_session_duration" name="console_session_duration" value="21600000000000" /> | ||
35 | </li> | ||
36 | <li> | ||
37 | <label for="vault_material">Vault Material:</label> | ||
38 | <input type="text" id="vault_material" name="vault_material" /> | ||
39 | </li> | ||
40 | <li> | ||
41 | <label for="default_region">Default Region:</label> | ||
42 | <input type="text" id="default_region" name="default_region" /> | ||
43 | </li> | ||
44 | <li> | ||
45 | <label for="users">Users:</label> | ||
46 | <select id="users" name="users" multiple></select> | ||
47 | </li> | ||
48 | <li class="submit"> | ||
49 | <button id="back">Back</button> | ||
50 | <button id="submit-form">Save</button> | ||
51 | </li> | ||
52 | </ol> | ||
53 | </form> | ||
54 | <script type="text/javascript"> | ||
55 | window.addEventListener('load', setupManageAccount); | ||
56 | </script> | ||
57 | </body> | ||
58 | </html> | ||