mirror of
https://github.com/sismics/docs.git
synced 2024-11-25 15:17:57 +01:00
Minor UI tweaks
This commit is contained in:
parent
ed1353a4eb
commit
f5705b1153
@ -46,6 +46,19 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr ng-if="!documents">
|
||||
<td colspan="3" class="text-center">
|
||||
<img src="img/loader.gif" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr ng-if="totalDocuments == 0">
|
||||
<td colspan="3" class="text-center">
|
||||
<span ng-if="search.length == 0">No document in the database</span>
|
||||
<span ng-if="search.length > 0">No matches for <strong>"{{ search }}"</strong></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr ng-click="viewDocument(document.id)" ng-repeat="document in documents" ng-class="{ active: $stateParams.id == document.id }">
|
||||
<td>
|
||||
{{ document.title }} ({{ document.file_count }})
|
||||
@ -79,8 +92,11 @@
|
||||
used on {{ userInfo.storage_quota / 1000000 | number: 0 }}MB
|
||||
</div>
|
||||
|
||||
<div class="text-right">
|
||||
<div class="text-right" >
|
||||
<span ng-if="totalDocuments">
|
||||
{{ totalDocuments }} document{{ totalDocuments > 1 ? 's' : '' }} found
|
||||
</span>
|
||||
<span ng-if="!totalDocuments"> </span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<h1>Groups <small>management</small> <a class="btn btn-primary" href="#/settings/group/add">Add</a></h1>
|
||||
<h1>Groups <small>management</small> <a class="btn btn-primary" href="#/settings/group/add">Add a group</a></h1>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4 well">
|
||||
|
@ -13,10 +13,12 @@
|
||||
<td>{{ session.create_date | date: 'yyyy-MM-dd HH:mm' }}</td>
|
||||
<td>{{ session.last_connection_date | date: 'yyyy-MM-dd HH:mm' }}</td>
|
||||
<td title="{{ session.user_agent }}">{{ session.ip }}</td>
|
||||
<td><span ng-show="session.current" class="glyphicon glyphicon-ok"></span></td>
|
||||
<td>
|
||||
<span ng-show="session.current" class="glyphicon glyphicon-ok" title="This is the current session"></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="form-actions">
|
||||
<button type="submit" class="btn btn-warning" ng-click="deleteSession()">Clear all other sessions</button>
|
||||
<button type="submit" class="btn btn-warning" title="All other devices connected to this account will be disconnected" ng-click="deleteSession()">Clear all other sessions</button>
|
||||
</div>
|
@ -1,4 +1,4 @@
|
||||
<h1>Users <small>management</small> <a class="btn btn-primary" href="#/settings/user/add">Add</a></h1>
|
||||
<h1>Users <small>management</small> <a class="btn btn-primary" href="#/settings/user/add">Add a user</a></h1>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4 well">
|
||||
|
Loading…
Reference in New Issue
Block a user