summaryrefslogtreecommitdiffstats
path: root/settings/templates/users.php
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2014-01-26 20:51:29 +0530
committerArthur Schiwon <blizzz@owncloud.com>2014-06-02 12:52:52 +0200
commit0663d954e6d8170c10d444771f90210fb48f65c9 (patch)
tree7a18402c7aaa13516d2efecb733231edf19cd5c4 /settings/templates/users.php
parentf0e69b2b99174c29859729c0d91d8b4a97c6f28b (diff)
downloadnextcloud-server-0663d954e6d8170c10d444771f90210fb48f65c9.tar.gz
nextcloud-server-0663d954e6d8170c10d444771f90210fb48f65c9.zip
resolve conflicts while picking c0fb623
Diffstat (limited to 'settings/templates/users.php')
-rw-r--r--settings/templates/users.php72
1 files changed, 47 insertions, 25 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php
index 937b40611b0..1dde76e5bd4 100644
--- a/settings/templates/users.php
+++ b/settings/templates/users.php
@@ -14,30 +14,29 @@ unset($items['admin']);
$_['subadmingroups'] = array_flip($items);
?>
-<div id="controls">
- <form id="newuser" autocomplete="off">
- <input id="newusername" type="text" placeholder="<?php p($l->t('Login Name'))?>" /> <input
- type="password" id="newuserpassword"
- placeholder="<?php p($l->t('Password'))?>" /> <select
- class="groupsselect"
- id="newusergroups" data-placeholder="groups"
- title="<?php p($l->t('Groups'))?>" multiple="multiple">
- <?php foreach($_["groups"] as $group): ?>
- <option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
- <?php endforeach;?>
- </select> <input type="submit" value="<?php p($l->t('Create'))?>" />
- </form>
- <?php if((bool)$_['recoveryAdminEnabled']): ?>
- <div class="recoveryPassword">
- <input id="recoveryPassword"
- type="password"
- placeholder="<?php p($l->t('Admin Recovery Password'))?>"
- title="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"
- alt="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"/>
- </div>
- <?php endif; ?>
- <div class="quota">
- <span><?php p($l->t('Default Storage'));?></span>
+<!-- THE APP NAVIGATION LEFT CONTENT AREA -->
+<div id="app-navigation">
+ <ul>
+ <!-- Add new group -->
+ <li>
+ <input type="text" placeholder="<?php p($l->t('Group')); ?>..." />
+ <button><?php p($l->t('Add')); ?></button>
+ </li>
+ <!-- Everyone -->
+ <li>
+ <a href="#"><?php p($l->t('Everyone')); ?></a>
+ </li>
+ <!--List of Groups-->
+ <?php foreach($_["groups"] as $group): ?>
+ <li>
+ <a href="#"><?php p($group['name']);?></a>
+ </li>
+ <?php endforeach; ?>
+ </ul>
+ <!-- Default storage -->
+ <div class="app-settings">
+ <div class="quota">
+ <span><?php p($l->t('Default Storage'));?></span>
<?php if((bool) $_['isadmin']): ?>
<select class='quota' data-inputtitle="<?php p($l->t('Please enter storage quota (ex: "512 MB" or "12 GB")')) ?>">
<option
@@ -73,9 +72,32 @@ $_['subadmingroups'] = array_flip($items);
</option>
</select>
<?php endif; ?>
+ </div>
</div>
</div>
-
+<div id="controls">
+ <form id="newuser" autocomplete="off">
+ <input id="newusername" type="text" placeholder="<?php p($l->t('Login Name'))?>" /> <input
+ type="password" id="newuserpassword"
+ placeholder="<?php p($l->t('Password'))?>" /> <select
+ class="groupsselect"
+ id="newusergroups" data-placeholder="groups"
+ title="<?php p($l->t('Groups'))?>" multiple="multiple">
+ <?php foreach($_["groups"] as $group): ?>
+ <option value="<?php p($group['name']);?>"><?php p($group['name']);?></option>
+ <?php endforeach;?>
+ </select> <input type="submit" value="<?php p($l->t('Create'))?>" />
+ </form>
+ <?php if((bool)$_['recoveryAdminEnabled']): ?>
+ <div class="recoveryPassword">
+ <input id="recoveryPassword"
+ type="password"
+ placeholder="<?php p($l->t('Admin Recovery Password'))?>"
+ title="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"
+ alt="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"/>
+ </div>
+ <?php endif; ?>
+</div>
<table class="hascontrols grid" data-groups="<?php p(json_encode($allGroups));?>">
<thead>
<tr>