Fix styling to have dark theme

This commit is contained in:
Clortox 2021-01-04 16:58:05 -05:00
parent 377bc57762
commit 610e15a68c
3 changed files with 9 additions and 9 deletions

View File

@ -21,17 +21,17 @@
<title><?php echo $site_name ?></title> <title><?php echo $site_name ?></title>
</head> </head>
<body class="bg-dark"> <body style="background-color: black">
<?php <?php
include 'www/header.php'; include 'www/header.php';
?> ?>
<div class="card ml-4 mr-4"> <div class="card bg-dark text-white ml-4 mr-4">
<div class="card-header"> <div class="card-header">
<h2>Folders</h2> <h2>Folders</h2>
</div> </div>
<div class="card-body"> <div class="card-body">
<p>Select a catagory to start browsing</p> <p>Select a catagory to start browsing</p>
<table id="catTable" class="display table"> <table id="catTable" class="display table text-white">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
@ -54,4 +54,5 @@
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -20,7 +20,7 @@
<title><?php echo $site_name ?></title> <title><?php echo $site_name ?></title>
</head> </head>
<body class="bg-dark"> <body style="background-color: black" class="">
<?php <?php
include 'www/header.php'; include 'www/header.php';
?> ?>
@ -68,13 +68,13 @@
} }
?> ?>
<div class="card ml-4 mr-4"> <div class="card bg-dark text-white ml-4 mr-4">
<div class="card-header"> <div class="card-header">
<h2><?php echo $dir ?></h2> <h2><?php echo $dir ?></h2>
</div> </div>
<div class="card-body"> <div class="card-body">
<p>Select a file to download, or a folder to view its contents</p> <p>Select a file to download, or a folder to view its contents</p>
<table id="catTable" class="display table"> <table id="catTable" class="display table text-white">
<thead> <thead>
<tr> <tr>
<th>File Name</th> <th>File Name</th>
@ -113,7 +113,6 @@
</table> </table>
</div> </div>
</div> </div>
</body> </body>
</html> </html>

View File

@ -5,7 +5,7 @@
?> ?>
<header> <header>
<div class="jumbotron"> <div class="jumbotron bg-dark border-bottom border-secondary text-white">
<h1><?php echo $site_name ?></h1> <h1><?php echo $site_name ?></h1>
<?php <?php
if($isConvo){ if($isConvo){
@ -14,7 +14,7 @@
} }
?> ?>
<nav class="navbar navbar-expand-lg navbar-light bg-light"> <nav class="navbar navbar-expand-lg navbar-dark border border-secondary">
<?php <?php
foreach($nav_names as $index=>$name){ foreach($nav_names as $index=>$name){
echo '<a class="navbar-brand" href="' . $nav_links[$index] . '">' echo '<a class="navbar-brand" href="' . $nav_links[$index] . '">'