1
0
Fork 0
Manager/templates/__dashboard.php

145 lines
5.9 KiB
PHP
Raw Normal View History

2020-08-04 09:44:59 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>OpenSim - Kontrollzentrum - <?= $v['username'] ?> - <?= $v['title'] ?></title>
2020-08-04 09:44:59 +00:00
<link href="./img/4Creative.ico" rel="icon">
<link href="./img/4Creative.ico" rel="apple-touch-icon">
<link href="./style/sb-admin.min.css" rel="stylesheet"> <?= $v['custom-css'] ?>
2020-08-04 09:44:59 +00:00
</head>
<body id="page-top">
<nav class="navbar navbar-expand navbar-dark bg-dark static-top">
2023-09-05 20:25:08 +00:00
<button class="btn btn-link btn-sm text-white order-1 order-sm-0" id="sidebarToggle">
2020-08-04 09:44:59 +00:00
<i class="fas fa-bars"></i>
</button>
<div class="d-none d-md-inline-block form-inline ml-auto mr-0 mr-md-3 my-2 my-md-0"></div>
<ul class="navbar-nav ml-auto ml-md-0">
<li class="nav-item dropdown no-arrow">
<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?= $v['username'] ?> <i class="fas fa-user-circle fa-fw"></i></a>
2020-08-04 09:44:59 +00:00
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="userDropdown">
<a class="dropdown-item" href="?page=profile">Profil</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">Logout</a>
</div>
</li>
</ul>
</nav>
<div id="wrapper">
<ul class="sidebar navbar-nav">
2020-08-04 10:08:41 +00:00
<li class="nav-item">
2020-08-04 09:44:59 +00:00
<a class="nav-link" href="index.php">
<i class="fas fa-fw fa-tachometer-alt"></i>
<span>Dashboard</span>
2020-08-04 09:44:59 +00:00
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.php?page=profile">
<i class="far fa-address-card"></i>
<span>Profil</span></a>
</li>
2020-08-08 03:32:08 +00:00
<li class="nav-item">
<a class="nav-link" href="index.php?page=identities">
<i class="fas fa-fingerprint"></i>
<span>Identität</span></a>
</li>
2020-08-04 09:44:59 +00:00
<li class="nav-item">
<a class="nav-link" href="index.php?page=user-online-state">
<i class="fas fa-link"></i>
<span>Online Anzeige</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.php?page=regions">
<i class="fas fa-globe-europe"></i>
<span>Deine Regionen</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.php?page=groups">
<i class="fas fa-users"></i>
<span>Deine Gruppen</span></a>
</li>
2020-08-06 01:15:07 +00:00
<li class="nav-item">
<a class="nav-link" href="index.php?page=friends">
<i class="fas fa-street-view"></i>
<span>Deine Freunde</span></a>
</li>
<?php if ($v['admin']): ?>
2020-08-04 09:44:59 +00:00
<div class="nav-link" style="padding: 1.75rem 1rem 0.75rem; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; color: rgba(255, 255, 255, 0.25)">
Administration
</div>
<li class="nav-item">
<a class="nav-link" href="index.php?page=users">
<i class="fas fa-user-plus"></i>
<span>Benutzer verwalten</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.php?page=groups">
<i class="fas fa-users"></i>
<span>Gruppen verwalten</span></a>
</li>
<li class="nav-item">
2020-08-05 09:03:03 +00:00
<a class="nav-link" href="index.php?page=regions&SHOWALL=1">
2020-08-04 09:44:59 +00:00
<i class="fas fa-globe-europe"></i>
<span>Regionen verwalten</span></a>
</li>
<?php endif ?>
2020-08-04 09:44:59 +00:00
</ul>
<div id="content-wrapper">
<div class="container-fluid">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="index.php">Gridverwaltung</a>
</li>
<li class="breadcrumb-item active"><?= $v['title'] ?></li>
2020-08-04 09:44:59 +00:00
</ol>
<hr><br>
<?php if (strlen($v['child-template']) != 0) { require $v['child-template']; } else { echo $v['child-content']; } ?>
2020-08-04 09:44:59 +00:00
</div>
</div>
</div>
<div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Bist du sicher?</h5>
<button class="close" type="button" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">Wähle 'Logout' wenn du dich wirklich abmelden möchtest.</div>
<div class="modal-footer">
<button class="btn btn-secondary" type="button" data-dismiss="modal">Abbrechen</button>
<a class="btn btn-primary" href="index.php?logout=1">Logout</a>
</div>
</div>
</div>
</div>
<script src="./js/vendor/jquery.min.js"></script>
<script src="./js/vendor/bootstrap.bundle.min.js"></script>
<script src="./js/vendor/jquery.easing.min.js"></script>
<script src="./js/sb-admin.min.js"></script>
<?= $v['custom-js'] ?>
2020-08-04 09:44:59 +00:00
</body>
</html>