aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Carpenter <git@dvn.me>2019-08-23 22:46:50 -0700
committerDevan Carpenter <git@dvn.me>2019-08-23 22:46:50 -0700
commit8d9210385f8e94dcef4e349cbcb0d2e4933b4b2a (patch)
tree0b9288f3f910d9134a74fa4402730a4becf66327
parent35ac4c4ac459174e831a51bd6f276b0bea1b414d (diff)
downloadwww-8d9210385f8e94dcef4e349cbcb0d2e4933b4b2a.tar.gz
www-8d9210385f8e94dcef4e349cbcb0d2e4933b4b2a.zip
Add banner to top of homepage stating GNUnet is a WIP
-rw-r--r--static/styles.sass19
-rw-r--r--template/index.html.j26
2 files changed, 25 insertions, 0 deletions
diff --git a/static/styles.sass b/static/styles.sass
index 8309ebf7..31d7ecc8 100644
--- a/static/styles.sass
+++ b/static/styles.sass
@@ -284,6 +284,25 @@ header
284 margin-top: 30px 284 margin-top: 30px
285 margin-bottom: 50px 285 margin-bottom: 50px
286 286
287// Notification bar at top of index page
288.alert
289 display: flex;
290 overflow: hidden;
291 background-color: #c4453c;
292 height: 40px;
293 //position: absolute;
294 width: 100%;
295 align-items: center;
296 justify-content: center;
297
298.alert-content
299 //position: absolute;
300 color: #f6f6f6;
301 font: bold 16px/40px sans-serif;
302 text-align: center;
303 text-decoration: none;
304
305
287// Some docs are too long, thus there is a need for a subnav. 306// Some docs are too long, thus there is a need for a subnav.
288// Use "subnav" class for the submenu. 307// Use "subnav" class for the submenu.
289// Use "subnav-anchor" class for the a-tags right before a section title. 308// Use "subnav-anchor" class for the a-tags right before a section title.
diff --git a/template/index.html.j2 b/template/index.html.j2
index 204bb7f9..35b1ce6a 100644
--- a/template/index.html.j2
+++ b/template/index.html.j2
@@ -1,5 +1,11 @@
1{% extends "common/base.j2" %} 1{% extends "common/base.j2" %}
2{% block body_content %} 2{% block body_content %}
3<!-- Notice Banner -->
4<div class="alert">
5 <div class="alert-content">
6 Notice: GNUnet is still undergoing major development. It is largely <i>not yet ready</i> for usage beyond developers
7 </div>
8</div>
3<!-- Jumbotron --> 9<!-- Jumbotron -->
4<div class="jumbotron"> 10<div class="jumbotron">
5 <div class="container"> 11 <div class="container">