diff options
author | Christoph Wurst <christoph@owncloud.com> | 2016-05-18 18:25:05 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@owncloud.com> | 2016-05-23 09:11:12 +0200 |
commit | 6495534bcdbbda8aa2748cc9f5d94dcb2bc7a04a (patch) | |
tree | b000c3f7bc3b5dc2cc96b80b7f9ece2c51e9ba01 /settings/templates | |
parent | 12431aa3997154aaea4eec11c2dd65f9e5dbe179 (diff) | |
download | nextcloud-server-6495534bcdbbda8aa2748cc9f5d94dcb2bc7a04a.tar.gz nextcloud-server-6495534bcdbbda8aa2748cc9f5d94dcb2bc7a04a.zip |
add button to add new device tokens
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/personal.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php index a7e86b50a59..4f8d564f549 100644 --- a/settings/templates/personal.php +++ b/settings/templates/personal.php @@ -147,6 +147,7 @@ if($_['passwordChangeSupported']) { <tr> <th>Browser</th> <th>Most recent activity</th> + <th></th> </tr> </thead> <tbody class="token-list icon-loading"> @@ -162,11 +163,21 @@ if($_['passwordChangeSupported']) { <tr> <th>Name</th> <th>Most recent activity</th> + <th><a class="icon-delete"></a></th> </tr> </thead> <tbody class="token-list icon-loading"> </tbody> </table> + <p><?php p($l->t('A device password is a passcode that gives an app or device permissions to access your ownCloud account.'));?></p> + <div id="device-token-form"> + <input id="device-token-name" type="text" placeholder="Device name"> + <button id="device-add-token" class="button">Create new device password</button> + </div> + <div id="device-token-result" class="hidden"> + <span id="device-new-token"></span> + <button id="device-token-hide" class="button">Done</button> + </div> </div> <form id="language" class="section"> |