Merge pull request #452 from nextcloud/session-passwords-design
Adjust wording and layout of Sessions and App passwords personal settings
This commit is contained in:
commit
21b05b646f
|
@ -38,8 +38,7 @@ input#openid, input#webdav { width:20em; }
|
||||||
#displaynameform,
|
#displaynameform,
|
||||||
#lostpassword,
|
#lostpassword,
|
||||||
#groups,
|
#groups,
|
||||||
#passwordform,
|
#passwordform {
|
||||||
#language {
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
|
@ -104,17 +103,18 @@ table.nostyle td { padding: 0.2em 0; }
|
||||||
#apppasswords table {
|
#apppasswords table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 150px;
|
min-height: 150px;
|
||||||
padding-top: 25px;
|
padding-top: 5px;
|
||||||
|
max-width: 580px;
|
||||||
}
|
}
|
||||||
#sessions table th,
|
#sessions table th,
|
||||||
#apppasswords table th {
|
#apppasswords table th {
|
||||||
font-weight: 800;
|
opacity: .5;
|
||||||
}
|
}
|
||||||
#sessions table th,
|
#sessions table th,
|
||||||
#sessions table td,
|
#sessions table td,
|
||||||
#apppasswords table th,
|
#apppasswords table th,
|
||||||
#apppasswords table td {
|
#apppasswords table td {
|
||||||
padding: 10px;
|
padding: 10px 10px 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sessions .token-list td,
|
#sessions .token-list td,
|
||||||
|
|
|
@ -167,12 +167,12 @@ if($_['passwordChangeSupported']) {
|
||||||
|
|
||||||
<div id="sessions" class="section">
|
<div id="sessions" class="section">
|
||||||
<h2><?php p($l->t('Sessions'));?></h2>
|
<h2><?php p($l->t('Sessions'));?></h2>
|
||||||
<span class="hidden-when-empty"><?php p($l->t('These are the web, desktop and mobile clients currently logged in to your account.'));?></span>
|
<span class="hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.'));?></span>
|
||||||
<table>
|
<table>
|
||||||
<thead class="token-list-header">
|
<thead class="token-list-header">
|
||||||
<tr>
|
<tr>
|
||||||
<th><?php p($l->t('Browser'));?></th>
|
<th><?php p($l->t('Device'));?></th>
|
||||||
<th><?php p($l->t('Most recent activity'));?></th>
|
<th><?php p($l->t('Recent activity'));?></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -183,19 +183,18 @@ if($_['passwordChangeSupported']) {
|
||||||
|
|
||||||
<div id="apppasswords" class="section">
|
<div id="apppasswords" class="section">
|
||||||
<h2><?php p($l->t('App passwords'));?></h2>
|
<h2><?php p($l->t('App passwords'));?></h2>
|
||||||
<span class="hidden-when-empty"><?php p($l->t("You've linked these apps."));?></span>
|
<p><?php p($l->t('Passcodes that give an app or device permissions to access your account.'));?></p>
|
||||||
<table>
|
<table>
|
||||||
<thead class="hidden-when-empty">
|
<thead class="hidden-when-empty">
|
||||||
<tr>
|
<tr>
|
||||||
<th><?php p($l->t('Name'));?></th>
|
<th><?php p($l->t('Name'));?></th>
|
||||||
<th><?php p($l->t('Most recent activity'));?></th>
|
<th><?php p($l->t('Recent activity'));?></th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody class="token-list icon-loading">
|
<tbody class="token-list icon-loading">
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<p><?php p($l->t('An app password is a passcode that gives an app or device permissions to access your %s account.', [$theme->getName()]));?></p>
|
|
||||||
<div id="app-password-form">
|
<div id="app-password-form">
|
||||||
<input id="app-password-name" type="text" placeholder="<?php p($l->t('App name')); ?>">
|
<input id="app-password-name" type="text" placeholder="<?php p($l->t('App name')); ?>">
|
||||||
<button id="add-app-password" class="button"><?php p($l->t('Create new app password')); ?></button>
|
<button id="add-app-password" class="button"><?php p($l->t('Create new app password')); ?></button>
|
||||||
|
|
Loading…
Reference in New Issue