|
32 | 32 | <?php $oldInput = array_flip(is_array(old('permissions')) ? old('permissions') : []) ?> |
33 | 33 | <div class="row"> |
34 | 34 | <div class="form-group col-md-12"> |
35 | | - <label class="control-label">User Email:</label> |
36 | | - <div> |
37 | | - <input type="text" name="email" autocomplete="off" value="{{ old('email') }}" class="form-control" /> |
38 | | - </div> |
| 35 | + <div class="well" style="padding: 0 19px 19px;margin-bottom:0;"> |
| 36 | + <label class="control-label">User Email:</label> |
| 37 | + <div> |
| 38 | + <input type="text" name="email" autocomplete="off" value="{{ old('email') }}" class="form-control" /> |
| 39 | + </div> |
| 40 | + </div> |
39 | 41 | </div> |
40 | 42 | </div> |
41 | 43 | <div class="row"> |
|
113 | 115 | <div class="checkbox highlight"> |
114 | 116 | <label class="checkbox-custom highlight" data-initialize="checkbox"> |
115 | 117 | <input class="sr-only" name="permissions[]" type="checkbox" @if(isset($oldInput['download-files']))checked="checked"@endif value="download-files"> <strong>Download Files</strong> |
116 | | - <p class="text-muted"><small><span class="label label-danger">Danger</span> Allows user to download files. If a user is given this permission they can download and view file contents.</small><p> |
| 118 | + <p class="text-muted"><small><span class="label label-danger">Danger</span> Allows user to download files. If a user is given this permission they can download and view file contents even if that permission is not assigned on the panel.</small><p> |
117 | 119 | </label> |
118 | 120 | </div> |
119 | 121 | </div> |
|
172 | 174 | <p class="text-muted"><small>Allows a user to modify startup variables for a server.</small><p> |
173 | 175 | </label> |
174 | 176 | </div> |
| 177 | + </div> |
| 178 | + </div> |
| 179 | + <div class="row"> |
| 180 | + <div class="col-md-6 fuelux"> |
| 181 | + <h4>Database Management</h4><hr /> |
| 182 | + <div class="checkbox highlight"> |
| 183 | + <label class="checkbox-custom highlight" data-initialize="checkbox"> |
| 184 | + <input class="sr-only" name="permissions[]" type="checkbox" @if(isset($oldInput['view-databases']))checked="checked"@endif value="view-databases"> <strong>View Database Details</strong> |
| 185 | + <p class="text-muted"><small><span class="label label-danger">Danger</span> Allows user to view all databases associated with this server (including usernames and password for the databases).</small><p> |
| 186 | + </label> |
| 187 | + </div> |
| 188 | + <div class="checkbox highlight"> |
| 189 | + <label class="checkbox-custom highlight" data-initialize="checkbox"> |
| 190 | + <input class="sr-only" name="permissions[]" type="checkbox" @if(isset($oldInput['reset-db-password']))checked="checked"@endif value="reset-db-password"> <strong>Reset Database Password</strong> |
| 191 | + <p class="text-muted"><small>Allows a user to reset passwords for databases.</small><p> |
| 192 | + </label> |
| 193 | + </div> |
| 194 | + </div> |
| 195 | + <div class="col-md-6 fuelux"> |
175 | 196 | <h4>SFTP Management</h4><hr /> |
176 | 197 | <div class="checkbox highlight"> |
177 | 198 | <label class="checkbox-custom highlight" data-initialize="checkbox"> |
|
0 commit comments