0
0

Ran the formatter on all PHP files, added userbar.css

This commit is contained in:
Bryan Pedini
2019-07-17 10:37:44 +02:00
parent 923184ab68
commit f2a56c2abc
8 changed files with 159 additions and 119 deletions

View File

@@ -10,16 +10,18 @@
?>
<!DOCTYPE html>
<html>
<head>
<title>Management Panel | <?=$GLOBALS['config']['website_name']?></title>
<link href="<?=$GLOBALS['config']['installation_path']?>/favicon.ico" rel="icon" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.css" integrity="sha256-39jKbsb/ty7s7+4WzbtELS4vq9udJ+MDjGTD5mtxHZ0=" crossorigin="anonymous" />
<link href="<?=$GLOBALS['config']['installation_path']?>/lib/css/manage.css" rel="stylesheet">
</head>
<body>
<button onclick="logout()">Logout</button>
<div class="urlList">
<?php
<?php
if ( $result->rowCount ( ) == 0 ) {
echo ( "You have not created any URL yet.<br>" );
}
@@ -41,8 +43,11 @@
<input type="text" id="form-url" placeholder="URL:">
<button onclick="insertNewURL()">Insert new URL</button><br>
<div id="responsetext"></div>
<script>var script_name = "<?=$GLOBALS['config']['installation_path']?>";</script>
<script>
var script_name = "<?=$GLOBALS['config']['installation_path']?>";
</script>
<script src="<?=$GLOBALS['config']['installation_path']?>/lib/js/manage.js"></script>
<script src="<?=$GLOBALS['config']['installation_path']?>/lib/js/logout.js"></script>
</body>
</html>