diff options
author | ng0 <ng0@n0.is> | 2019-02-20 21:03:55 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-02-20 21:03:55 +0000 |
commit | fc31f8ade896224a3806b04b6e7267757b39b487 (patch) | |
tree | 3339b470cd6adcdac1e6874845f982252df8d3c1 /common | |
parent | 8eacefe8ddcee23d3a1c4187fce62a2d60327aee (diff) | |
download | www-fc31f8ade896224a3806b04b6e7267757b39b487.tar.gz www-fc31f8ade896224a3806b04b6e7267757b39b487.zip |
introduce structure
Diffstat (limited to 'common')
-rw-r--r-- | common/header.j2.inc | 11 | ||||
-rw-r--r-- | common/navigation.j2.inc | 6 |
2 files changed, 11 insertions, 6 deletions
diff --git a/common/header.j2.inc b/common/header.j2.inc index 3e7a7274..c7cd0e5d 100644 --- a/common/header.j2.inc +++ b/common/header.j2.inc | |||
@@ -38,11 +38,11 @@ | |||
38 | <!-- Bootstrap core CSS --> | 38 | <!-- Bootstrap core CSS --> |
39 | <link href="{{ url('dist/css/bootstrap.min.css') }}" rel="stylesheet"> | 39 | <link href="{{ url('dist/css/bootstrap.min.css') }}" rel="stylesheet"> |
40 | <!-- Custom styles for this template --> | 40 | <!-- Custom styles for this template --> |
41 | <link href="{{ url('styles.css') }}" rel="stylesheet"> | 41 | <link href="{{ url('static/styles.css') }}" rel="stylesheet"> |
42 | 42 | ||
43 | <script src="{{ url('dist/js/jquery-1.11.1.min.js') }}"></script> | 43 | <script src="{{ url('dist/js/jquery-1.11.1.min.js') }}"></script> |
44 | <script src="{{ url('dist/js/bootstrap.min.js') }}"></script> | 44 | <script src="{{ url('dist/js/bootstrap.min.js') }}"></script> |
45 | <link href="{{ url('navbar.css') }}" rel="stylesheet"> | 45 | <link href="{{ url('static/navbar.css') }}" rel="stylesheet"> |
46 | 46 | ||
47 | <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | 47 | <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> |
48 | <!--[if lt IE 9]> | 48 | <!--[if lt IE 9]> |
@@ -50,4 +50,9 @@ | |||
50 | <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | 50 | <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> |
51 | <![endif]--> | 51 | <![endif]--> |
52 | <!-- font awesome, for team page --> | 52 | <!-- font awesome, for team page --> |
53 | <link href="{{ url('dist/font-awesome/css/all.css') }}" rel="stylesheet"> \ No newline at end of file | 53 | <link href="{{ url('dist/font-awesome/css/all.css') }}" rel="stylesheet"> |
54 | |||
55 | <!-- rss and atom, WIP | ||
56 | <link rel="alternate" type="application/rss+xml" href="{{ url('feed.rss') }} title="RSS feed for gnunet.org"> | ||
57 | <link rel="alternate" type="application/atom+xml" href="{{ url('feed.atom') }} title="Atom feed for gnunet.org"> | ||
58 | --> | ||
diff --git a/common/navigation.j2.inc b/common/navigation.j2.inc index fe496667..a109714a 100644 --- a/common/navigation.j2.inc +++ b/common/navigation.j2.inc | |||
@@ -13,8 +13,8 @@ | |||
13 | TODO: imo this is bad in the navbar. a readable "gnunet" font-logo would | 13 | TODO: imo this is bad in the navbar. a readable "gnunet" font-logo would |
14 | be better for orientation. | 14 | be better for orientation. |
15 | --> | 15 | --> |
16 | <img src="../images/gnunet-icon.png" alt="" /> | 16 | <img src="{{ url('static/images/gnunet-icon.png') }}" alt="" /> |
17 | <!-- <img width="70%" height="70%" src="../images/gnunet-logo-dark-only-text.svg" alt="" /> --> | 17 | <!-- <img width="70%" height="70%" src="../static/images/gnunet-logo-dark-only-text.svg" alt="" /> --> |
18 | </a> | 18 | </a> |
19 | <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarMain" aria-controls="navbarMain" aria-expanded="false" aria-label="Toggle navigation"> | 19 | <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarMain" aria-controls="navbarMain" aria-expanded="false" aria-label="Toggle navigation"> |
20 | <span class="navbar-toggler-icon"></span> | 20 | <span class="navbar-toggler-icon"></span> |
@@ -55,7 +55,7 @@ | |||
55 | <ul class="navbar-nav navbar-right"> | 55 | <ul class="navbar-nav navbar-right"> |
56 | <li class="nav-item dropdown"> | 56 | <li class="nav-item dropdown"> |
57 | <!--<button class="btn btn-dark dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> | 57 | <!--<button class="btn btn-dark dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> |
58 | <img src="{{ url('images/languageicon.svg') }}" height="15" alt="[{{lang}}]" /> {{ lang_full }} [{{ lang }}] | 58 | <img src="{{ url('static/images/languageicon.svg') }}" height="15" alt="[{{lang}}]" /> {{ lang_full }} [{{ lang }}] |
59 | </button> --> | 59 | </button> --> |
60 | <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ lang_full }} [{{ lang }}]</a> | 60 | <a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{ lang_full }} [{{ lang }}]</a> |
61 | <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarMain"> | 61 | <ul class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarMain"> |