aboutsummaryrefslogtreecommitdiff
path: root/admin/index.php
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-04-12 15:16:59 +0200
committerMinteck <contact@minteck.org>2022-04-12 15:16:59 +0200
commit62c7e1a74b35ef6d054fdf015d60ba52dc10eb14 (patch)
treedeb80c4e2e8036f8af1b21120fc8200c18e4c573 /admin/index.php
parent6973bf083d2c065972284bc93a1e37c35ecd2205 (diff)
downloadcloudsdale-62c7e1a74b35ef6d054fdf015d60ba52dc10eb14.tar.gz
cloudsdale-62c7e1a74b35ef6d054fdf015d60ba52dc10eb14.tar.bz2
cloudsdale-62c7e1a74b35ef6d054fdf015d60ba52dc10eb14.zip
Social page + additional admin options + patch Parsedown
Diffstat (limited to 'admin/index.php')
-rw-r--r--admin/index.php44
1 files changed, 38 insertions, 6 deletions
diff --git a/admin/index.php b/admin/index.php
index 0b03f35..f45cd62 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -4,10 +4,27 @@
<br>
<div class="container">
<h1>Welcome back <?= $_USER ?>!</h1>
- <br>
<div class="row">
- <div class="col">
+ <div class="col-lg-4">
+ <div class="card">
+ <div class="card-body">
+ <h4 class="card-title">General</h4>
+ <p class="card-text">General website configuration data.</p>
+ <a href="/admin/general" class="btn btn-primary disabled">Manage</a>
+ </div>
+ </div>
+ </div>
+ <div class="col-lg-4">
+ <div class="card">
+ <div class="card-body">
+ <h4 class="card-title">File Uploader</h4>
+ <p class="card-text">Encrypted, secure and fast file uploader.</p>
+ <a href="/admin/uploads" class="btn btn-primary disabled">Manage</a>
+ </div>
+ </div>
+ </div>
+ <div class="col-lg-4">
<div class="card">
<div class="card-body">
<h4 class="card-title">PluralKit</h4>
@@ -16,7 +33,7 @@
</div>
</div>
</div>
- <div class="col">
+ <div class="col-lg-4">
<div class="card">
<div class="card-body">
<h4 class="card-title">Projects</h4>
@@ -25,7 +42,7 @@
</div>
</div>
</div>
- <div class="col">
+ <div class="col-lg-4">
<div class="card">
<div class="card-body">
<h4 class="card-title">Contact Info</h4>
@@ -34,12 +51,27 @@
</div>
</div>
</div>
+ <div class="col-lg-4">
+ <div class="card">
+ <div class="card-body">
+ <h4 class="card-title">Software Updates</h4>
+ <p class="card-text">Ensure this version of the website is up-to-date.</p>
+ <a href="/admin/updates" class="btn btn-primary disabled">Manage</a>
+ </div>
+ </div>
+ </div>
</div>
- <br>
- <p>This website is managed by <?php $admins = json_decode(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/data/admins.json"), true); foreach ($admins as $index => $item): ?><b><?= $item ?></b><?php if ($item === $_USER): ?> (you)<?php endif; ?><?php if ($index !== count($admins) - 1): ?><?php if ($index + 1 === count($admins) - 1): ?> and <?php else: ?>, <?php endif; ?><?php endif; ?><?php endforeach; ?>, <a href="/admin/users">edit...</a></p>
+ <p>This website is managed by <?php $admins = json_decode(file_get_contents($_SERVER["DOCUMENT_ROOT"] . "/data/admins.json"), true); foreach ($admins as $index => $item): ?><b><?= $item ?></b><?php if ($item === $_USER): ?> (you)<?php endif; ?><?php if ($index !== count($admins) - 1): ?><?php if ($index + 1 === count($admins) - 1): ?> and <?php else: ?>, <?php endif; ?><?php endif; ?><?php endforeach; ?> (<a href="/admin/users">edit...</a>) and updated through <a href="https://ci.minteck.org/project/CloudburstSystemSWebsite?mode=builds" target="_blank">Minteck's TeamCity instance</a></p>
<p class="small text-muted">powered by Pawer Technologies</p>
</div>
+<style>
+ .col-lg-4 {
+ padding-top: calc(var(--bs-gutter-x) * .5);
+ padding-bottom: calc(var(--bs-gutter-x) * .5);
+ }
+</style>
+
<?php require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/admin/footer.php"; ?> \ No newline at end of file