diff --git a/app/pages/login.php b/app/pages/login.php index 076465e..52cf59a 100644 --- a/app/pages/login.php +++ b/app/pages/login.php @@ -8,9 +8,6 @@ try { // connect to database $dbWeb = connectDB($config); -// require '../app/classes/user.php'; -// $userObject = new User($dbWeb); - if ( $_SERVER['REQUEST_METHOD'] == 'POST' ) { $username = $_POST['username']; $password = $_POST['password']; diff --git a/app/templates/page-header.php b/app/templates/page-header.php index ea12236..6a7cab8 100644 --- a/app/templates/page-header.php +++ b/app/templates/page-header.php @@ -2,8 +2,14 @@ - - + + + + + + + + diff --git a/public_html/static/bootstrap.min.css b/public_html/static/bootstrap/bootstrap.min.css similarity index 100% rename from public_html/static/bootstrap.min.css rename to public_html/static/bootstrap/bootstrap.min.css diff --git a/public_html/static/bootstrap.min.css.map b/public_html/static/bootstrap/bootstrap.min.css.map similarity index 100% rename from public_html/static/bootstrap.min.css.map rename to public_html/static/bootstrap/bootstrap.min.css.map diff --git a/public_html/static/bootstrap.min.js b/public_html/static/bootstrap/bootstrap.min.js similarity index 100% rename from public_html/static/bootstrap.min.js rename to public_html/static/bootstrap/bootstrap.min.js diff --git a/public_html/static/css/logs.css b/public_html/static/css/logs.css new file mode 100644 index 0000000..b8c03ef --- /dev/null +++ b/public_html/static/css/logs.css @@ -0,0 +1,3 @@ +.th-time { + width: 200px; +} diff --git a/public_html/static/all.css b/public_html/static/css/main.css similarity index 66% rename from public_html/static/all.css rename to public_html/static/css/main.css index c14e5b5..1931dc4 100644 --- a/public_html/static/all.css +++ b/public_html/static/css/main.css @@ -158,78 +158,6 @@ text-decoration: none; } -/* profile */ -.scroll-box { - width: 100%; - height: 250px; - padding: 10px; - border: 0; - background-color: #f8f9fa; - white-space: pre-wrap; - overflow-y: scroll; - resize: none; - font-family: inherit; - font-size: 14px; - user-select: text; - cursor: default; - outline: none; - box-shadow: none; -} - -/* avatars */ -.avatar-container { - position: relative; - text-align: center; -} - -.avatar-img { - width: 200px; - height: 200px; - border-radius: 50%; - object-fit: cover; /* Ensures proper cropping of image */ - border: 3px solid #ccc; -} - -.avatar-wrapper { - position: relative; - display: inline-block; -} - -.avatar-btn { - position: absolute; - bottom: 10px; /* Adjust this value as needed */ -/* background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ - color: white; - border: none; - border-radius: 4px; - padding: 10px; -} - -.avatar-btn-container { - position: absolute; - left: 50%; - transform: translateX(-50%); - display: flex; - gap: 10px; /* Space between buttons */ -} - -.avatar-btn-select, -.avatar-btn-remove { -/* background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ - color: white; - border: none; - border-radius: 4px; - padding: 10px; -} -.avatar-btn-select { - width: 50px; - left: -55px; -} -.avatar-btn-remove { - width: 50px; - left: 5px; -} - .pagination { font-size: 0.66em; text-align: center; diff --git a/public_html/static/css/profile.css b/public_html/static/css/profile.css new file mode 100644 index 0000000..a1a9045 --- /dev/null +++ b/public_html/static/css/profile.css @@ -0,0 +1,71 @@ +/* profile */ +.scroll-box { + width: 100%; + height: 250px; + padding: 10px; + border: 0; + background-color: #f8f9fa; + white-space: pre-wrap; + overflow-y: scroll; + resize: none; + font-family: inherit; + font-size: 14px; + user-select: text; + cursor: default; + outline: none; + box-shadow: none; +} + +/* avatars */ +.avatar-container { + position: relative; + text-align: center; +} + +.avatar-img { + width: 200px; + height: 200px; + border-radius: 50%; + object-fit: cover; /* Ensures proper cropping of image */ + border: 3px solid #ccc; +} + +.avatar-wrapper { + position: relative; + display: inline-block; +} + +.avatar-btn { + position: absolute; + bottom: 10px; /* Adjust this value as needed */ +/* background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ + color: white; + border: none; + border-radius: 4px; + padding: 10px; +} + +.avatar-btn-container { + position: absolute; + left: 50%; + transform: translateX(-50%); + display: flex; + gap: 10px; /* Space between buttons */ +} + +.avatar-btn-select, +.avatar-btn-remove { +/* background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */ + color: white; + border: none; + border-radius: 4px; + padding: 10px; +} +.avatar-btn-select { + width: 50px; + left: -55px; +} +.avatar-btn-remove { + width: 50px; + left: 5px; +}