mirror of
https://github.com/cytopia/devilbox.git
synced 2024-12-19 04:47:52 +00:00
Layout improvements
This commit is contained in:
parent
1212447225
commit
94e0df976f
@ -33,4 +33,6 @@ $MY_MYSQL_LINK = NULL;
|
||||
|
||||
require $MY_DIR . DIRECTORY_SEPARATOR . 'include' . DIRECTORY_SEPARATOR .'functions.php';
|
||||
|
||||
$MY_MYSQL_LINK = my_mysql_connect($MY_MYSQL_ERR);
|
||||
if (isset($CONNECT) && $CONNECT) {
|
||||
$MY_MYSQL_LINK = my_mysql_connect($MY_MYSQL_ERR);
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
<?php
|
||||
$CONNECT = TRUE;
|
||||
require '../config.php';
|
||||
|
||||
if (isset($_GET['size'])) {
|
||||
|
@ -1,5 +1,9 @@
|
||||
/* Fix tables
|
||||
/* Bootstrap overwrites
|
||||
-------------------------------------------------- */
|
||||
html, body {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
td {
|
||||
word-break: break-all;
|
||||
}
|
||||
@ -99,3 +103,5 @@ nav.navbar {
|
||||
color: #373a3c;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
||||
|
55
.devilbox/www/htdocs/credits.php
Normal file
55
.devilbox/www/htdocs/credits.php
Normal file
@ -0,0 +1,55 @@
|
||||
<?php require '../config.php'; ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<?php require '../include/head.php'; ?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php require '../include/navigation.php'; ?>
|
||||
|
||||
<div class="container">
|
||||
|
||||
<h1>Credits</h1>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
|
||||
<table class="table table-striped ">
|
||||
<thead class="thead-inverse ">
|
||||
<tr>
|
||||
<th>Vendor</th>
|
||||
<th>License</th>
|
||||
<th>Url</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Bootstrap</td>
|
||||
<td>MIT</td>
|
||||
<td><a href="https://github.com/twbs/bootstrap">https://github.com/twbs/bootstrap</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Opcache GUI</td>
|
||||
<td>MIT</td>
|
||||
<td><a href="https://github.com/amnuts/opcache-gui">https://github.com/amnuts/opcache-gui</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>phpMyAdmin</td>
|
||||
<td>GPL 2.0</td>
|
||||
<td><a href="https://github.com/phpmyadmin/phpmyadmin">https://github.com/phpmyadmin/phpmyadmin</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
||||
<?php require '../include/footer.php'; ?>
|
||||
</body>
|
||||
</html>
|
@ -1,4 +1,4 @@
|
||||
<?php require '../config.php'; ?>
|
||||
<?php $CONNECT = TRUE; require '../config.php'; ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@ -14,11 +14,9 @@
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php
|
||||
$databases = getDatabases();
|
||||
?>
|
||||
<table class="table table-striped">
|
||||
<thead class="thead-inverse">
|
||||
|
||||
<table class="table table-striped ">
|
||||
<thead class="thead-inverse ">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Charset</th>
|
||||
@ -28,7 +26,7 @@
|
||||
</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($databases as $name => $keys): ?>
|
||||
<?php foreach (getDatabases() as $name => $keys): ?>
|
||||
<tr>
|
||||
<td><?php echo $name;?></td>
|
||||
<td><?php echo $keys['charset'];?></td>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php require '../config.php'; ?>
|
||||
<?php $CONNECT = TRUE; require '../config.php'; ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@ -39,7 +39,7 @@
|
||||
<div class="bg-danger">
|
||||
<div>
|
||||
<div>
|
||||
<?php echo getHttpVersion();?>
|
||||
<h3><?php echo getHttpVersion();?></h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -56,7 +56,7 @@
|
||||
<div class="bg-info">
|
||||
<div>
|
||||
<div>
|
||||
<?php echo getPHPVersion(); ?>
|
||||
<h3><?php echo getPHPVersion(); ?></h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -73,7 +73,7 @@
|
||||
<div class="bg-warning">
|
||||
<div>
|
||||
<div>
|
||||
<?php echo getMySQLVersion();?>
|
||||
<h3><?php echo getMySQLVersion();?></h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php require '../config.php'; ?>
|
||||
<?php $CONNECT = TRUE; require '../config.php'; ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@ -22,7 +22,7 @@
|
||||
<li><a target="_blank" href="https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html">https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html</a></li>
|
||||
</ul>
|
||||
|
||||
<table class="table table-striped table-sm">
|
||||
<table class="table table-striped">
|
||||
<thead class="thead-inverse">
|
||||
<tr>
|
||||
<th>Variable</th>
|
||||
@ -45,12 +45,5 @@
|
||||
</div><!-- /.container -->
|
||||
|
||||
<?php require '../include/footer.php'; ?>
|
||||
<script>
|
||||
// self executing function here
|
||||
(function() {
|
||||
// your page initialization code here
|
||||
// the DOM will be available here
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -18,12 +18,5 @@
|
||||
</div><!-- /.container -->
|
||||
|
||||
<?php require '../include/footer.php'; ?>
|
||||
<script>
|
||||
// self executing function here
|
||||
(function() {
|
||||
// your page initialization code here
|
||||
// the DOM will be available here
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -16,7 +16,7 @@
|
||||
<div class="col-md-12">
|
||||
<?php $vHosts = getVirtualHosts(); ?>
|
||||
<?php if ($vHosts): ?>
|
||||
<table class="table table-striped table-sm">
|
||||
<table class="table table-striped">
|
||||
<thead class="thead-inverse">
|
||||
<tr>
|
||||
<th>Project</th>
|
||||
|
@ -1,9 +1,13 @@
|
||||
<nav class="navbar navbar-full footer navbar-dark bg-inverse">
|
||||
<div class="container">
|
||||
<p class="text-muted">Render time: <?php echo round((microtime(true) - $TIME_START), 2); ?> sec</p>
|
||||
<ul class="nav navbar-nav">
|
||||
<li class="nav-item nav-link">Render time: <?php echo round((microtime(true) - $TIME_START), 2); ?> sec</li>
|
||||
<li class="nav-item float-xs-right"><a class="nav-link" href="/credits.php"><code>Credits</code></a></li>
|
||||
<li class="nav-item float-xs-right"><a class="nav-link" href="https://github.com/cytopia/devilbox"><code>Github</code></a></li>
|
||||
</div>
|
||||
</nav>
|
||||
<?php my_mysqli_close($GLOBALS['MY_MYSQL_LINK']); ?>
|
||||
|
||||
<?php if ($GLOBALS['MY_MYSQL_LINK']) { my_mysqli_close($GLOBALS['MY_MYSQL_LINK']); } ?>
|
||||
|
||||
<?php /*
|
||||
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
||||
@ -11,4 +15,4 @@
|
||||
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
||||
<script src="/vendor/bootstrap/bootstrap.min.js"></script>
|
||||
*/
|
||||
?>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user