Add autocomplete to login. Updates to quota list
This commit is contained in:
parent
e49e180ce0
commit
b1e896c187
@ -67,7 +67,7 @@
|
||||
|
||||
<div class="input-group mb-1">
|
||||
<div class="form-floating">
|
||||
<input type="password" name="Password" id="password" class="form-control" placeholder="<%=l 'PASSWORD'%>">
|
||||
<input type="password" name="Password" id="password" class="form-control" placeholder="<%=l 'PASSWORD'%>" autocomplete="on">
|
||||
<label for="password">Password</label>
|
||||
</div>
|
||||
<div class="input-group-text">
|
||||
|
@ -4,11 +4,20 @@
|
||||
|
||||
<%= $modul %>
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<pre>
|
||||
<%= dumper $c->current_route %>
|
||||
<%= dumper $userAccounts %>
|
||||
</pre>
|
||||
% }
|
||||
|
||||
<h2><%= l 'quo_CURRENT_USAGE_AND_SETTINGS' %></h2>
|
||||
|
||||
<br>
|
||||
|
||||
% my $numUsers = @$userAccounts;
|
||||
|
||||
|
||||
% if ($numUsers == 0){
|
||||
<%= l 'ACCOUNT_USER_NONE' %>
|
||||
% } else {
|
||||
@ -32,14 +41,21 @@
|
||||
<tbody>
|
||||
|
||||
% foreach my $user (@$userAccounts) {
|
||||
% my $uid = getpwnam($user->key);
|
||||
% unless ($uid) {
|
||||
% warn($self->localise('COULD_NOT_GET_UID'),$user->key);
|
||||
% next;
|
||||
% }
|
||||
% my $name = $user->prop("FirstName")." ".$user->prop("LastName");
|
||||
% my $dev = Quota::getqcarg('/home/e-smith/files');
|
||||
% my ($bc, $bs, $bh, $bt, $ic, $is, $ih, $it) = Quota::query($dev, $uid);
|
||||
|
||||
% my $uid = getpwnam($user->key);
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
UID <%= l 'quo_COULD_NOT_GET_UID' %> <%= dumper $user->key %><br>
|
||||
% }
|
||||
|
||||
<br>
|
||||
% unless ($uid) {
|
||||
% warn (l 'quo_COULD_NOT_GET_UID', $user->key);
|
||||
% next;
|
||||
% }
|
||||
% my $name = $user->prop("FirstName")." ".$user->prop("LastName");
|
||||
% my $dev = Quota::getqcarg('/home/e-smith/files');
|
||||
% my ($bc, $bs, $bh, $bt, $ic, $is, $ih, $it) = Quota::query($dev, $uid);
|
||||
|
||||
<tr>
|
||||
<td><%= $user->key %></td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user