mirror of
https://github.com/Zandercraft/TechnicFlux.git
synced 2026-10-29 04:39:20 +00:00
Add Bootstrap and fix error handling, and add code of conduct.
This commit is contained in:
@@ -1,3 +1,22 @@
|
||||
<h1>{{message}}</h1>
|
||||
<h2>{{error.status}}</h2>
|
||||
<pre>{{error.stack}}</pre>
|
||||
<div id="layoutError">
|
||||
<div id="layoutError_content">
|
||||
<main>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-lg-6">
|
||||
<div class="text-center mt-4">
|
||||
<img class="mb-4 img-error" src="./images/technicflux-logo-white.png" />
|
||||
<h2>Error {{error.status}}: {{message}}</h2>
|
||||
<p class="lead">{{error_message}}</p>
|
||||
<pre>{{error.stack}}</pre>
|
||||
<a href="/">
|
||||
<i class="fas fa-arrow-left me-1"></i>
|
||||
Return to Dashboard
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,4 +1,4 @@
|
||||
<img src="/images/technicflux-logo.png" />
|
||||
<img src="/images/technicflux-logo-white.png" width="108px" height="108px" />
|
||||
<h1>{{title}}</h1>
|
||||
<p>Welcome to {{title}}!</p>
|
||||
<p>The dashboard isn't ready yet. We are currently working on the API and backend stuff.</p>
|
||||
|
||||
@@ -1,13 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{title}}</title>
|
||||
<link rel='stylesheet' href='/stylesheets/style.css' />
|
||||
</head>
|
||||
<body>
|
||||
{{{body}}}
|
||||
</body>
|
||||
<footer>
|
||||
<em>We are not affiliated with Mojang, AB or Syndicate LLC.</em>
|
||||
</footer>
|
||||
<link rel="stylesheet" href="./stylesheets/bootstrap.min.css" >
|
||||
<!-- <link rel="stylesheet" href="./stylesheets/bootstrap-light.min.css" >-->
|
||||
<link rel='stylesheet' href='./stylesheets/style.css'/>
|
||||
<link rel='stylesheet' href='./stylesheets/styles.css'/>
|
||||
<script src="https://use.fontawesome.com/releases/v6.3.0/js/all.js" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
{{{body}}}
|
||||
<div id="layoutError_footer">
|
||||
<footer class="py-4 bg-light mt-auto">
|
||||
<div class="container-fluid px-4">
|
||||
<div class="d-flex align-items-center justify-content-between small">
|
||||
<div class="text-muted">
|
||||
Copyright © Zandercraft 2023. Distributed under the
|
||||
<a href="https://github.com/Zandercraft/TechnicFlux/blob/release/LICENSE.txt">MIT License</a>.
|
||||
<em>We are not affiliated with Mojang, AB or Syndicate LLC.</em>
|
||||
</div>
|
||||
<div>
|
||||
<a href="https://github.com/Zandercraft/TechnicFlux">TechnicFlux on Github</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
|
||||
<script src="js/common-script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user