summaryrefslogtreecommitdiffstats
path: root/settings/templates/personal.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/templates/personal.php')
-rw-r--r--settings/templates/personal.php41
1 files changed, 41 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 29bf240e7e3..dcc83b3e99e 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -139,6 +139,47 @@ if($_['passwordChangeSupported']) {
}
?>
+<div id="sessions" class="section">
+ <h2><?php p($l->t('Sessions'));?></h2>
+ <span class="hidden-when-empty"><?php p($l->t('These are the web browsers currently logged in to your ownCloud.'));?></span>
+ <table>
+ <thead class="token-list-header">
+ <tr>
+ <th><?php p($l->t('Browser'));?></th>
+ <th><?php p($l->t('Most recent activity'));?></th>
+ <th></th>
+ </tr>
+ </thead>
+ <tbody class="token-list icon-loading">
+ </tbody>
+ </table>
+</div>
+
+<div id="devices" class="section">
+ <h2><?php p($l->t('Devices'));?></h2>
+ <span class="hidden-when-empty"><?php p($l->t("You've linked these devices."));?></span>
+ <table>
+ <thead class="hidden-when-empty">
+ <tr>
+ <th><?php p($l->t('Name'));?></th>
+ <th><?php p($l->t('Most recent activity'));?></th>
+ <th></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">
+ <input id="device-new-token" type="text" readonly="readonly"/>
+ <button id="device-token-hide" class="button">Done</button>
+ </div>
+</div>
+
<form id="language" class="section">
<h2>
<label for="languageinput"><?php p($l->t('Language'));?></label>