Minor BS4 adjustments

master
Skylar Ittner 6 years ago
parent 8f587dd888
commit d7d23e5e19

@ -1,5 +1,5 @@
<div class="row justify-content-center">
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-4">
<div class="col-12 col-sm-6 col-md-4 col-lg-4">
<div class="alert alert-warning"><b><?php lang("404 error");?></b><br /> <?php lang("page not found"); ?></div>
</div>
</div>

@ -14,11 +14,11 @@ redirectifnotloggedin();
<thead>
<tr>
<th data-priority="0"></th>
<th data-priority="1"><i class="fas fa-fw fa-calendar hidden-xs"></i> <?php lang('logtime'); ?></th>
<th data-priority="1"><i class="fas fa-fw fa-server hidden-xs"></i> <?php lang('logtype'); ?></th>
<th data-priority="2"><i class="fas fa-fw fa-id-badge hidden-xs"></i> <?php lang('username'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-globe hidden-xs"></i> <?php lang('ip address'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-info-circle hidden-xs"></i> <?php lang('other data'); ?></th>
<th data-priority="1"><i class="fas fa-fw fa-calendar d-none d-md-inline"></i> <?php lang('logtime'); ?></th>
<th data-priority="1"><i class="fas fa-fw fa-server d-none d-md-inline"></i> <?php lang('logtype'); ?></th>
<th data-priority="2"><i class="fas fa-fw fa-id-badge d-none d-md-inline"></i> <?php lang('username'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-globe d-none d-md-inline"></i> <?php lang('ip address'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-info-circle d-none d-md-inline"></i> <?php lang('other data'); ?></th>
</tr>
</thead>
<tbody>
@ -27,11 +27,11 @@ redirectifnotloggedin();
<tfoot>
<tr>
<th data-priority="0"></th>
<th data-priority="1"><i class="fas fa-fw fa-calendar hidden-xs"></i> <?php lang('logtime'); ?></th>
<th data-priority="1"><i class="fas fa-fw fa-server hidden-xs"></i> <?php lang('logtype'); ?></th>
<th data-priority="2"><i class="fas fa-fw fa-id-badge hidden-xs"></i> <?php lang('username'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-globe hidden-xs"></i> <?php lang('ip address'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-info-circle hidden-xs"></i> <?php lang('other data'); ?></th>
<th data-priority="1"><i class="fas fa-fw fa-calendar d-none d-md-inline"></i> <?php lang('logtime'); ?></th>
<th data-priority="1"><i class="fas fa-fw fa-server d-none d-md-inline"></i> <?php lang('logtype'); ?></th>
<th data-priority="2"><i class="fas fa-fw fa-id-badge d-none d-md-inline"></i> <?php lang('username'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-globe d-none d-md-inline"></i> <?php lang('ip address'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-info-circle d-none d-md-inline"></i> <?php lang('other data'); ?></th>
</tfoot>
</table>
<br />

@ -31,7 +31,7 @@ if ($VARS['man'] && $database->has('accounts', ['username' => $VARS['man']])) {
<div class="form-group">
<label for="manager-box"><i class="fas fa-id-card"></i> <?php lang("manager"); ?></label><br />
<div class="input-group">
<input type="text"<?php if ($employees === false) { ?>id="manager-box"<?php } ?> class="form-control" value="<?php echo $user ?>" name="manager" placeholder="<?php lang("type to select a manager"); ?>" <?php
<input type="text"<?php if ($employees === false) { ?> id="manager-box"<?php } ?> class="form-control" value="<?php echo $user ?>" name="manager" placeholder="<?php lang("type to select a manager"); ?>" <?php
if ($employees !== false) {
echo "readonly";
}
@ -80,7 +80,7 @@ if ($VARS['man'] && $database->has('accounts', ['username' => $VARS['man']])) {
<input type="hidden" name="action" value="editmanager" />
<input type="hidden" name="source" value="managers" />
<?php if ($employees !== false) { ?>
<div class="card-footer d-flex">
<button type="submit" class="btn btn-success ml-auto" id="save-btn"><i class="fas fa-save"></i> <?php lang("save"); ?></button>

@ -16,12 +16,12 @@ redirectifnotloggedin();
<tr>
<th data-priority="0"></th>
<th data-priority="1"><?php lang('actions'); ?></th>
<th data-priority="1"><i class="fas fa-fw fa-user hidden-xs"></i> <?php lang('name'); ?></th>
<th data-priority="2"><i class="fas fa-fw fa-id-badge hidden-xs"></i> <?php lang('username'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-envelope hidden-xs"></i> <?php lang('email'); ?></th>
<th data-priority="4"><i class="fas fa-fw fa-lock hidden-xs"></i> <?php lang('2fa'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-check-circle hidden-xs"></i> <?php lang('status'); ?></th>
<th data-priority="4"><i class="fas fa-fw fa-server hidden-xs"></i> <?php lang('type'); ?></th>
<th data-priority="1"><i class="fas fa-fw fa-user d-none d-md-inline"></i> <?php lang('name'); ?></th>
<th data-priority="2"><i class="fas fa-fw fa-id-badge d-none d-md-inline"></i> <?php lang('username'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-envelope d-none d-md-inline"></i> <?php lang('email'); ?></th>
<th data-priority="4"><i class="fas fa-fw fa-lock d-none d-md-inline"></i> <?php lang('2fa'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-check-circle d-none d-md-inline"></i> <?php lang('status'); ?></th>
<th data-priority="4"><i class="fas fa-fw fa-server d-none d-md-inline"></i> <?php lang('type'); ?></th>
</tr>
</thead>
<tbody>
@ -30,12 +30,12 @@ redirectifnotloggedin();
<tr>
<th data-priority="0"></th>
<th data-priority="1"><?php lang('actions'); ?></th>
<th data-priority="1"><i class="fas fa-fw fa-user hidden-xs"></i> <?php lang('name'); ?></th>
<th data-priority="2"><i class="fas fa-fw fa-id-badge hidden-xs"></i> <?php lang('username'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-envelope hidden-xs"></i> <?php lang('email'); ?></th>
<th data-priority="4"><i class="fas fa-fw fa-lock hidden-xs"></i> <?php lang('2fa'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-check-circle hidden-xs"></i> <?php lang('status'); ?></th>
<th data-priority="4"><i class="fas fa-fw fa-server hidden-xs"></i> <?php lang('type'); ?></th>
<th data-priority="1"><i class="fas fa-fw fa-user d-none d-md-inline"></i> <?php lang('name'); ?></th>
<th data-priority="2"><i class="fas fa-fw fa-id-badge d-none d-md-inline"></i> <?php lang('username'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-envelope d-none d-md-inline"></i> <?php lang('email'); ?></th>
<th data-priority="4"><i class="fas fa-fw fa-lock d-none d-md-inline"></i> <?php lang('2fa'); ?></th>
<th data-priority="3"><i class="fas fa-fw fa-check-circle d-none d-md-inline"></i> <?php lang('status'); ?></th>
<th data-priority="4"><i class="fas fa-fw fa-server d-none d-md-inline"></i> <?php lang('type'); ?></th>
</tfoot>
</table>
<script nonce="<?php echo $SECURE_NONCE; ?>">

Loading…
Cancel
Save