diff --git a/.devilbox/www/htdocs/_ajax_callback.php b/.devilbox/www/htdocs/_ajax_callback.php new file mode 100644 index 00000000..3ec6e8b0 --- /dev/null +++ b/.devilbox/www/htdocs/_ajax_callback.php @@ -0,0 +1,19 @@ + (string)$MySQL->getDBSize($_GET['database']), + 'table' => (string)$MySQL->getTableCount($_GET['database']) + )); + } else if (isset($_GET['type']) && $_GET['type'] == 'postgres') { + $schema = isset($_GET['schema']) ? $_GET['schema'] : ''; + echo json_encode(array( + 'size' => (string)$Postgres->getSchemaSize($_GET['database'], $schema), + 'table' => (string)$Postgres->getTableCount($_GET['database'], $schema) + )); + } +} else if (isset($_GET['vhost'])) { + echo $Docker->PHP_checkVirtualHost($_GET['vhost']); +} diff --git a/.devilbox/www/htdocs/_ajax_db.php b/.devilbox/www/htdocs/_ajax_db.php deleted file mode 100644 index 592bd5f8..00000000 --- a/.devilbox/www/htdocs/_ajax_db.php +++ /dev/null @@ -1,10 +0,0 @@ -getDBSize($_GET['size']); -} elseif (isset($_GET['table'])) { - echo $MySQL->getTableCount($_GET['table']); -} else { - echo '0'; -} diff --git a/.devilbox/www/htdocs/_ajax_vhost.php b/.devilbox/www/htdocs/_ajax_vhost.php deleted file mode 100644 index 8d413432..00000000 --- a/.devilbox/www/htdocs/_ajax_vhost.php +++ /dev/null @@ -1,10 +0,0 @@ -PHP_checkVirtualHost($_GET['valid']); - exit(); -} else { - echo ''; - exit(); -} diff --git a/.devilbox/www/htdocs/assets/css/custom.css b/.devilbox/www/htdocs/assets/css/custom.css index 63fa7cde..9c5a575a 100644 --- a/.devilbox/www/htdocs/assets/css/custom.css +++ b/.devilbox/www/htdocs/assets/css/custom.css @@ -26,6 +26,13 @@ body { } +/* Generics +-------------------------------------------------- */ +.font-small { + font-size: 12px; +} + + /* Circle Box -------------------------------------------------- */ @@ -76,7 +83,7 @@ body { @media (min-width: 801px) { - .circles > div {padding: 40%;} + .circles > div {padding: 48%;} } @@ -103,7 +110,7 @@ nav.navbar { -/* mailphp; +/* mail.php; -------------------------------------------------- */ tr.subject { cursor: pointer; @@ -111,4 +118,5 @@ tr.subject { td.break-word { word-break: break-word; -} \ No newline at end of file +} + diff --git a/.devilbox/www/htdocs/credits.php b/.devilbox/www/htdocs/credits.php index 0aa4214e..5683c8a8 100644 --- a/.devilbox/www/htdocs/credits.php +++ b/.devilbox/www/htdocs/credits.php @@ -6,7 +6,7 @@
- +
Name | +Charset | +Collation | +Tables | +Size | + +
---|---|---|---|---|
+ + | ++ | + | + | |
+ | + |
|
+
|
+