Fix minor errors in template HTML
parent
3bc2fee80a
commit
c7bf6f4d6e
|
@ -29,6 +29,7 @@ class ViewerWelcomePage extends \Mcp\RequestHandler
|
|||
'grid-name' => $this->app->config('grid')['name'],
|
||||
'news' => $this->app->config('grid')['main-news']
|
||||
])->unsafeVar('json-image-array', json_encode($images))
|
||||
->unsafeVar('image-1', $images[0])->unsafeVar('image-2', $images[1])
|
||||
->unsafeVar('stats', "Registrierte User: ".$opensim->getUserCount()."<br>Regionen: ".$opensim->getRegionCount()."<br>Aktuell Online: ".($opensim->getOnlineCount()-1))
|
||||
->render();
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
<body id="page-top">
|
||||
<nav class="navbar navbar-expand navbar-dark bg-dark static-top">
|
||||
<button class="btn btn-link btn-sm text-white order-1 order-sm-0" id="sidebarToggle" href="#">
|
||||
<button class="btn btn-link btn-sm text-white order-1 order-sm-0" id="sidebarToggle">
|
||||
<i class="fas fa-bars"></i>
|
||||
</button>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<center><?= $v['message'] ?></center>
|
||||
<p class="text-center"><?= $v['message'] ?></p>
|
||||
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
|
@ -37,7 +37,7 @@
|
|||
|
||||
<div class="row" style="margin-top: 15px;">
|
||||
<div class="col">
|
||||
<label for="dropdownPartner">Partner</label>
|
||||
<label for="inputpartner">Partner</label>
|
||||
<input type="text" class="form-control" name="formInputFeldPartnerName" id="inputpartner" placeholder="<?= $v['partner'] ?>">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -70,7 +70,7 @@
|
|||
|
||||
<div class="row" style="margin-top: 15px;">
|
||||
<div class="col">
|
||||
<label for="newPassword">Neues Passwort</label>
|
||||
<label for="PasswordNew">Neues Passwort</label>
|
||||
<input type="text" class="form-control" id="PasswordNew" name="newPassword">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -78,7 +78,7 @@
|
|||
|
||||
<div class="row" style="margin-top: 15px;">
|
||||
<div class="col">
|
||||
<label for="newPasswordRepeat">Neues Passwort wiederholen</label>
|
||||
<label for="PasswordNewRepeat">Neues Passwort wiederholen</label>
|
||||
<input type="text" class="form-control" id="PasswordNewRepeat" name="newPasswordRepeat">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -86,7 +86,7 @@
|
|||
<div class="row" style="margin-top: 15px;">
|
||||
<div class="col">
|
||||
<?= $v['csrf'] ?>
|
||||
<center><button type="submit" name="savePassword" class="btn btn-primary btn-lg">Speichern</button></center>
|
||||
<p class="text-center"><button type="submit" name="savePassword" class="btn btn-primary btn-lg">Speichern</button></p>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -98,7 +98,7 @@
|
|||
</div>
|
||||
|
||||
<p class="lead"><b>IAR Sicherung</b></p>
|
||||
<center><?= $v['iar-message'] ?></center>
|
||||
<p class="text-center"><?= $v['iar-message'] ?></p>
|
||||
Hier kannst du eine IAR deines Inventars erstellen.<br>
|
||||
Dies wird einige Zeit dauern. Du bekommst eine PM mit einem Downloadlink sobald deine IAR fertig erstellt wurde.
|
||||
|
||||
|
@ -106,7 +106,7 @@
|
|||
<div class="row" style="margin-top: 15px;">
|
||||
<div class="col">
|
||||
<?= $v['csrf'] ?>
|
||||
<center><button type="submit" name="createIAR" class="btn btn-primary btn-lg" <?= $v['iar-button-state'] ?>>IAR erstellen</button></center>
|
||||
<p class="text-center"><button type="submit" name="createIAR" class="btn btn-primary btn-lg" <?= $v['iar-button-state'] ?>>IAR erstellen</button></p>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
@ -137,7 +137,7 @@
|
|||
<div class="row">
|
||||
<div class="col">
|
||||
<?= $v['csrf'] ?>
|
||||
<center><button type="submit" name="deleteAccount" class="btn btn-danger btn-lg">Account löschen</button></center>
|
||||
<p class="text-center"><button type="submit" name="deleteAccount" class="btn btn-danger btn-lg">Account löschen</button></p>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html lang='en'>
|
||||
<head>
|
||||
<title><?= $v['grid-name'] ?></title>
|
||||
<style>
|
||||
body {
|
||||
background-color: rgb(0, 0, 0);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
font-family: 'Arial';
|
||||
font-family: 'Arial', sans-serif;
|
||||
font-size: 11px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
@ -65,8 +67,8 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img src='' style='border: 0; display: block; opacity; 0; position: absolute;' id='Image1' />
|
||||
<img src='' style='border: 0; display: block; opacity: 0; position: absolute;' id='Image2' />
|
||||
<img src='<?= $v['image-1'] ?>' style='border: 0; display: block; opacity: 0; position: absolute;' id='Image1' alt=''/>
|
||||
<img src='<?= $v['image-2'] ?>' style='border: 0; display: block; opacity: 0; position: absolute;' id='Image2' alt=''/>
|
||||
<script type='text/javascript'>
|
||||
var Images = <?= $v['json-image-array'] ?>;
|
||||
var MakeAnimation = true;
|
||||
|
|
Loading…
Reference in New Issue