Bladeren bron

Add credits and source footer

Shiv Tyagi 3 jaren geleden
bovenliggende
commit
43d9203304
1 gewijzigde bestanden met toevoegingen van 38 en 21 verwijderingen
  1. 38 21
      templates/index.html

+ 38 - 21
templates/index.html

@@ -28,30 +28,47 @@
 </head>
 
 <body class="bg-light" onload="javascript: init()">
-    <nav class="navbar bg-dark">
-        <div class="container-fluid">
-            <div>
-                <a class="navbar-brand" href="./">
-                    <img src="{{ url_for('static', filename='images/ardupilot_logo.png')}}" alt="ArduPilot" height="24"
-                        class="d-inline-block align-text-top">
-                    <span class="ms-2 text-white" style="font-size: 25px;">Custom Firmware Builder</span>
-                </a>
-            </div>
-            <div>
-                <a href="https://github.com/ArduPilot/CustomBuild/issues/new" class="btn btn-outline-light me-1"><i
-                        class="bi bi-github me-2"></i>Report an issue</a>
-                <a href="./builds" class="btn btn-outline-light me-1"><i class="bi bi-folder2-open me-2"></i>Go to
-                    builds directory</a>
-                <a href="./add_build" class="btn btn-success"><i class="bi bi-plus-square me-2"></i>Add a build</a>
+    <div class="d-flex flex-column justify-content-between" style="height: 100vh;">
+        <div>
+            <nav class="navbar bg-dark">
+                <div class="container-fluid">
+                    <div>
+                        <a class="navbar-brand" href="./">
+                            <img src="{{ url_for('static', filename='images/ardupilot_logo.png')}}" alt="ArduPilot" height="24"
+                                class="d-inline-block align-text-top">
+                            <span class="ms-2 text-white" style="font-size: 25px;">Custom Firmware Builder</span>
+                        </a>
+                    </div>
+                    <div>
+                        <a href="https://github.com/ArduPilot/CustomBuild/issues/new" class="btn btn-outline-light me-1"><i
+                                class="bi bi-github me-2"></i>Report an issue</a>
+                        <a href="./builds" class="btn btn-outline-light me-1"><i class="bi bi-folder2-open me-2"></i>Go to
+                            builds directory</a>
+                        <a href="./add_build" class="btn btn-success"><i class="bi bi-plus-square me-2"></i>Add a build</a>
+                    </div>
+                </div>
+            </nav>
+            <div class="container-fluid px-3 py-3" id="build_table_container">
+                <div class="container-fluid d-flex align-items-center justify-content-center" style="height: 100vh;">
+                    <div class="container-fluid w-25 d-flex align-content-between">
+                        <strong>Fetching builds...</strong>
+                        <div class="spinner-border ms-auto" role="status" aria-hidden="true"></div>
+                    </div>
+                </div>
             </div>
         </div>
-    </nav>
-    <div class="container-fluid px-3 py-3" id="build_table_container">
-        <div class="container-fluid d-flex align-items-center justify-content-center" style="height: 100vh;">
-            <div class="container-fluid w-25 d-flex align-content-between">
-                <strong>Fetching builds...</strong>
-                <div class="spinner-border ms-auto" role="status" aria-hidden="true"></div>
+        <div class="container-fluid d-flex text-bg-dark p-2 justify-content-between">
+            <div>
+                <span class="mx-2">Credits: 
+                    <a href="https://github.com/ArduPilot/CustomBuild/graphs/contributors" style="text-decoration: underline; color: white;">See Contributors</a>
+                </span>|
+                <span class="mx-2">Source:
+                    <a href="https://github.com/Ardupilot/CustomBuild" style="text-decoration: underline; color: white;">Ardupilot/CustomBuild</a>
+                </span>
             </div>
+            <span>To try out the newest features of the app, please visit our beta server 
+                <a href="https://custom-beta.ardupilot.org" style="text-decoration: underline; color: white;">custom-beta.ardupilot.org</a>
+            </span>
         </div>
     </div>