ui adjust

This commit is contained in:
Josh North 2021-04-30 09:29:51 -04:00
parent 7396aefbec
commit cc6864ae7f
4 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ src/Language/es.lang.ini
.tmp/* .tmp/*
!.tmp/index.php !.tmp/index.php
/nbproject/private/ /nbproject/private/
/simplesaml/

View File

@ -31,3 +31,7 @@ spl_autoload_register( function( $class ) {
require $file; require $file;
} }
}); });
//simplesaml
require_once('../simplesamlphp/lib/_autoload.php');

View File

@ -50,6 +50,11 @@
$timeplus = new DateTime($StaticFunctions->getUTC(), new DateTimeZone('UTC')); // DUMB WAY TO CALCULATE SOME TIMES $timeplus = new DateTime($StaticFunctions->getUTC(), new DateTimeZone('UTC')); // DUMB WAY TO CALCULATE SOME TIMES
$timeplus->setTimezone(new DateTimeZone("$timezone")); $timeplus->setTimezone(new DateTimeZone("$timezone"));
$timenow = $timeplus->format('Y-m-d H:i:s'); $timenow = $timeplus->format('Y-m-d H:i:s');
//simplesaml
//$as = new \SimpleSAML\Auth\Simple('default-sp');
//$as->requireAuth();
//$attributes = $as->getAttributes();
?> ?>
<!doctype html> <!doctype html>
<html lang="<?php echo $app_disp_lang; ?>"> <html lang="<?php echo $app_disp_lang; ?>">

View File

@ -231,7 +231,7 @@ $(document).on("click", ".open-voidModal", function (e) {
<table class="table table-sm table-responsive-sm text-nowrap"> <table class="table table-sm table-responsive-sm text-nowrap">
<thead class="thead-dark"> <thead class="thead-dark">
<tr> <tr>
<th class="small col-sm-1"><?php echo $transLang['TIMEREASON']; ?></th><th class="small col-sm-2"><?php echo $transLang['NAME']; ?></th><th class="small col-sm-2"><?php echo $transLang['ESCORT']; ?></th><th class="small col-sm-2"><?php echo $transLang['VALIDATIONS']; ?></th><th class="small col-sm-2"><?php echo $transLang['BADGEINITIALS']; ?></th><?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?><th class="small col-sm-1"><?php echo $transLang['CARNUM'] . " / " . $transLang['SSANUM']; ?></th><?php }; ?><th class="small col-sm-1"><?php echo $transLang['ACTIONS']; ?></th> <th class="small col-xs-1"><?php echo $transLang['TIMEREASON']; ?></th><th class="small col-xs-2"><?php echo $transLang['NAME']; ?></th><th class="small col-xs-2"><?php echo $transLang['ESCORT']; ?></th><th class="small col-xs-2"><?php echo $transLang['VALIDATIONS']; ?></th><th class="small col-xs-2"><?php echo $transLang['BADGEINITIALS']; ?></th><?php if($SiteInfo->getSite($siteid, $uid, "0", "0")[0]["sites_region"] == "EMEA") { ?><th class="small col-xs-1"><?php echo $transLang['CARNUM'] . " / " . $transLang['SSANUM']; ?></th><?php }; ?><th class="small col-xs-1"><?php echo $transLang['ACTIONS']; ?></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>