|
51 | 51 | <input readonly type="text" name="name_last" value="{{ $user->name_last }}" class="form-control form-autocomplete-stop"> |
52 | 52 | </div> |
53 | 53 | </div> |
| 54 | + <div class="form-group"> |
| 55 | + <label class="control-label">Default Langauge</label> |
| 56 | + <div> |
| 57 | + <select name="language" class="form-control"> |
| 58 | + @foreach($languages as $key => $value) |
| 59 | + <option value="{{ $key }}" @if($user->language === $key) selected @endif>{{ $value }}</option> |
| 60 | + @endforeach |
| 61 | + </select> |
| 62 | + <p class="text-muted"><small>The default language to use when rendering the Panel for this user.</small></p> |
| 63 | + </div> |
| 64 | + </div> |
54 | 65 | </div> |
55 | 66 | <div class="box-footer"> |
56 | 67 | {!! csrf_field() !!} |
|
101 | 112 | </div> |
102 | 113 | </div> |
103 | 114 | </form> |
104 | | - <div class="col-xs-12"> |
105 | | - <div class="box"> |
106 | | - <div class="box-header with-border"> |
107 | | - <h3 class="box-title">Associated Servers</h3> |
108 | | - </div> |
109 | | - <div class="box-body table-responsive no-padding"> |
110 | | - <table class="table table-hover"> |
111 | | - <thead> |
112 | | - <tr> |
113 | | - <th style="width:2%;"></th> |
114 | | - <th>Identifier</th> |
115 | | - <th>Server Name</th> |
116 | | - <th>Access</th> |
117 | | - <th>Node</th> |
118 | | - <th style="width:10%;"></th> |
119 | | - </tr> |
120 | | - </thead> |
121 | | - <tbody> |
122 | | - Oh dear, this hasn't been fixed yet? |
| 115 | + {{--<div class="col-xs-12">--}} |
| 116 | + {{--<div class="box">--}} |
| 117 | + {{--<div class="box-header with-border">--}} |
| 118 | + {{--<h3 class="box-title">Associated Servers</h3>--}} |
| 119 | + {{--</div>--}} |
| 120 | + {{--<div class="box-body table-responsive no-padding">--}} |
| 121 | + {{--<table class="table table-hover">--}} |
| 122 | + {{--<thead>--}} |
| 123 | + {{--<tr>--}} |
| 124 | + {{--<th style="width:2%;"></th>--}} |
| 125 | + {{--<th>Identifier</th>--}} |
| 126 | + {{--<th>Server Name</th>--}} |
| 127 | + {{--<th>Access</th>--}} |
| 128 | + {{--<th>Node</th>--}} |
| 129 | + {{--<th style="width:10%;"></th>--}} |
| 130 | + {{--</tr>--}} |
| 131 | + {{--</thead>--}} |
| 132 | + {{--<tbody>--}} |
123 | 133 | {{--@foreach($user->setAccessLevel('subuser')->access()->get() as $server)--}} |
124 | 134 | {{--<tr>--}} |
125 | 135 | {{--<td><a href="{{ route('server.index', $server->uuidShort) }}/"><i class="fa fa-tachometer"></i></a></td>--}} |
|
136 | 146 | {{--<td class="centered">@if($server->suspended === 0)<span class="label muted muted-hover label-success">Active</span>@else<span class="label label-warning">Suspended</span>@endif</td>--}} |
137 | 147 | {{--</td>--}} |
138 | 148 | {{--@endforeach--}} |
139 | | - </tbody> |
140 | | - </table> |
141 | | - </div> |
142 | | - </form> |
143 | | - </div> |
144 | | - </div> |
| 149 | + {{--</tbody>--}} |
| 150 | + {{--</table>--}} |
| 151 | + {{--</div>--}} |
| 152 | + {{--</div>--}} |
| 153 | + {{--</div>--}} |
145 | 154 | <div class="col-xs-12"> |
146 | 155 | <div class="box box-danger"> |
147 | 156 | <div class="box-header with-border"> |
|
0 commit comments