Révision 61b34555
Ajouté par Frédéric Péters il y a environ 9 ans
ckanext/ozwillo_theme/fanstatic/ozwillo.css | ||
---|---|---|
1 |
@font-face { |
|
2 |
font-family: "DIN2"; |
|
3 |
src: url("DIN.woff") format("woff"), url("DIN.ttf") format("truetype"); |
|
4 |
} |
|
5 |
|
|
6 |
body { |
|
7 |
font-family: "DIN2" !important; |
|
8 |
} |
|
9 |
|
|
1 | 10 |
.authed ul li a[href^="/user/edit"], |
2 | 11 |
div a[href^="/user/edit"], |
3 | 12 |
.not-authed ul li a[href^="/user/login"], |
4 | 13 |
.not-authed ul li a[href^="/user/register"] { |
5 | 14 |
display: none ; |
6 | 15 |
} |
16 |
|
|
17 |
|
|
18 |
#t3-mainnav a.logo { |
|
19 |
box-shadow: none; |
|
20 |
} |
|
21 |
|
|
22 |
.navbar .nav .btn { |
|
23 |
background: transparent; |
|
24 |
} |
|
25 |
|
|
26 |
.navbar .nav > li > .navbar-btn { |
|
27 |
padding-top: 6px; |
|
28 |
padding-bottom: 6px; |
|
29 |
} |
|
30 |
|
|
31 |
.navbar .nav > li > a { |
|
32 |
padding-top: 14px; |
|
33 |
padding-bottom: 14px; |
|
34 |
} |
|
35 |
|
|
36 |
@media (min-width: 992px) { |
|
37 |
#t3-mainnav .container { |
|
38 |
width: 970px; |
|
39 |
} |
|
40 |
} |
|
41 |
@media (min-width: 1200px) { |
|
42 |
#t3-mainnav .container { |
|
43 |
width: 1170px; |
|
44 |
} |
|
45 |
} |
|
46 |
|
|
47 |
.homepage [role="main"] { |
|
48 |
padding-top: 80px; |
|
49 |
} |
|
50 |
|
|
51 |
#t3-mainnav .nav>li>.dropdown-menu:before, |
|
52 |
#t3-mainnav .nav>li>.dropdown-menu:after { |
|
53 |
display: none; |
|
54 |
} |
|
55 |
|
|
56 |
.nav a.nav-data:before { |
|
57 |
display: block; |
|
58 |
content: ""; |
|
59 |
margin-top: -3px; |
|
60 |
width: 40px; |
|
61 |
height: 30px; |
|
62 |
float: left; |
|
63 |
background: url('data-icon.png') no-repeat top left; |
|
64 |
} |
ckanext/ozwillo_theme/templates/base.html | ||
---|---|---|
3 | 3 |
{% block styles %} |
4 | 4 |
{{ super() }} |
5 | 5 |
{% resource 'theme/ozwillo.css' %} |
6 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.bootstrap.less.css" type="text/css"> |
|
7 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/plugins.system.t3.base-bs3.less.t3.less.css" type="text/css"> |
|
8 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.core.less.css" type="text/css"> |
|
9 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.typography.less.css" type="text/css"> |
|
10 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.forms.less.css" type="text/css"> |
|
11 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.navigation.less.css" type="text/css"> |
|
12 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.navbar.less.css" type="text/css"> |
|
13 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.modules.less.css" type="text/css"> |
|
14 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.joomla.less.css" type="text/css"> |
|
15 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.components.less.css" type="text/css"> |
|
16 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.style.less.css" type="text/css"> |
|
17 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.plugins.hover.less.css" type="text/css"> |
|
18 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.themes.dark.template.less.css" type="text/css"> |
|
19 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.template.less.css" type="text/css"> |
|
20 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/plugins.system.t3.base-bs3.less.off-canvas.less.css" type="text/css"> |
|
21 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/t3-assets/dev/dark/templates.t3_bs3_blank.less.off-canvas.less.css" type="text/css"> |
|
22 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/templates/t3_bs3_blank/fonts/font-awesome/css/font-awesome.min.css" type="text/css"> |
|
23 |
<link rel="stylesheet" href="https://www.ozwillo-preprod.eu/media/mod_languages/css/template.css" type="text/css"> |
|
24 |
|
|
6 | 25 |
{% endblock %} |
ckanext/ozwillo_theme/templates/footer.html | ||
---|---|---|
1 |
<footer id="t3-footer" class="wrap t3-footer"> |
|
2 |
|
|
3 |
<section class="t3-sitemap"> |
|
4 |
<!-- FOOT NAVIGATION --> |
|
5 |
<div class="container"> |
|
6 |
<!-- SPOTLIGHT --> |
|
7 |
<div class="t3-spotlight t3-footnav row"> |
|
8 |
<div class=" col-lg-6 col-md-6 col-sm-3 col-xs-12"> |
|
9 |
<div class="t3-module module " id="Mod92"><div class="module-inner"><div class="module-ct"> |
|
10 |
|
|
11 |
<div class="custom"> |
|
12 |
<div class="text-center"> |
|
13 |
<img src="https://www.ozwillo-preprod.eu/images/brand/logo.png"> |
|
14 |
<p>{% trans %}A platform of interactive services{% endtrans %}<br> |
|
15 |
{% trans %}for a common good of data{% endtrans %} |
|
16 |
</p> |
|
17 |
</div></div> |
|
18 |
</div></div></div> |
|
19 |
</div> |
|
20 |
<div class=" col-lg-2 col-md-2 col-sm-3 col-xs-4"> |
|
21 |
<div class="t3-module module " id="Mod141"><div class="module-inner"><div class="module-ct"><ul class="nav navbar-nav navbar-right navbar-footer"> |
|
22 |
<li><a href="/en/oz/discover">{% trans %}Discovering{% endtrans %}</a></li> |
|
23 |
<li><a href="/en/oz/news">{% trans %}News{% endtrans %}</a></li> |
|
24 |
<li><a href="/en/oz/co-construct">{% trans %}Co-construct{% endtrans %}</a></li> |
|
25 |
<li><a href="/en/oz/let-s-go">{% trans %}Let's go{% endtrans %}</a></li></ul> |
|
26 |
</div></div></div> |
|
27 |
</div> |
|
28 |
<div class=" col-lg-2 col-md-2 col-sm-3 col-xs-4"> |
|
29 |
<div class="t3-module module " id="Mod142"><div class="module-inner"><div class="module-ct"><ul class="nav navbar-nav navbar-right navbar-footer"> |
|
30 |
<li><a href="/en/contact">{% trans %}Contact{% endtrans %}</a></li> |
|
31 |
<li><a href="/en/l-equipe-projet-oasis">{% trans %}Project team{% endtrans %}</a></li> |
|
32 |
<li><a href="/en/oz/projects">{% trans %}Projects{% endtrans %}</a></li></ul> |
|
33 |
</div></div></div> |
|
34 |
</div> |
|
35 |
<div class=" col-lg-2 col-md-2 col-sm-3 col-xs-4"> |
|
36 |
<div class="t3-module module " id="Mod143"><div class="module-inner"><div class="module-ct"><ul class="nav navbar-nav navbar-right navbar-footer"> |
|
37 |
<li><a href="/en/guide-utilisateur">{% trans %}User guide{% endtrans %}</a></li> |
|
38 |
<li><a href="/en/terms">{% trans %}General terms of use{% endtrans %}</a></li> |
|
39 |
<li><a href="/en/legal-notices">{% trans %}Legal Notices{% endtrans %}</a></li> |
|
40 |
<li><a href="/en/oz/co-construct">{% trans %}Governance{% endtrans %}</a></li></ul> |
|
41 |
</div></div></div> |
|
42 |
</div> |
|
43 |
</div> |
|
44 |
<!-- SPOTLIGHT --> </div> |
|
45 |
<!-- //FOOT NAVIGATION --> |
|
46 |
</section> |
|
47 |
|
|
48 |
<section class="t3-copyright"> |
|
49 |
<div class="container"> |
|
50 |
<div class="row"> |
|
51 |
<div class="col-md-12 copyright "> |
|
52 |
|
|
53 |
|
|
54 |
<div class="custom"> |
|
55 |
<div class="row"> |
|
56 |
<div class="col-md-6 col-md-offset-3"> |
|
57 |
<img src="https://www.ozwillo-preprod.eu/images/brand/eu.png" class="pull-left bm rm"> |
|
58 |
<p class="tm-h">{% trans %}OASIS is a project cofunded by the EU under the Program for Competitiveness and Innovation CIP ICT PSP- N°297210{% endtrans %}</p> |
|
59 |
</div> |
|
60 |
</div></div> |
|
61 |
|
|
62 |
</div> |
|
63 |
</div> |
|
64 |
</div> |
|
65 |
</section> |
|
66 |
|
|
67 |
</footer> |
ckanext/ozwillo_theme/templates/header.html | ||
---|---|---|
1 |
{% set current_lang = request.environ.CKAN_LANG %} |
|
2 |
<nav id="t3-mainnav" class="wrap navbar navbar-default navbar-fixed-top t3-mainnav"> |
|
3 |
<div class="container"> |
|
4 |
|
|
5 |
<!-- Brand and toggle get grouped for better mobile display --> |
|
6 |
<div class="navbar-header"> |
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
<button class="btn btn-primary visible-xs-inline-block off-canvas-toggle " type="button" data-pos="left" data-nav="#t3-off-canvas" data-effect="off-canvas-effect-4"> |
|
11 |
<i class="fa fa-bars"></i> |
|
12 |
</button> |
|
13 |
|
|
14 |
<!-- OFF-CANVAS SIDEBAR --> |
|
15 |
|
|
16 |
<!-- //OFF-CANVAS SIDEBAR --> |
|
17 |
|
|
18 |
</div> |
|
19 |
|
|
20 |
|
|
21 |
<div class="t3-navbar navbar-collapse collapse"> |
|
22 |
<ul class="nav navbar-nav"> |
|
23 |
<li class="item-107 current active"> <a class="logo" href="/en/"><img src="https://www.ozwillo-preprod.eu/images/brand/logo-100.png" alt="{% trans %}Home{% endtrans %}"></a> |
|
24 |
</li><li class="item-108"> <a class="nav-apps" href="https://portal.ozwillo-preprod.eu/en/store?ui_locales={{current_lang}}">{% trans %}Catalog{% endtrans %}</a> |
|
25 |
</li> |
|
26 |
<li class="item-119 deeper dropdown parent"> |
|
27 |
<a class="dropdown-toggle nav-data" href="#" data-toggle="dropdown">{% trans %}Data{% endtrans %}<b class="caret"></b></a> |
|
28 |
<ul class="dropdown-menu"> |
|
29 |
<li><a href="/{{current_lang}}/dataset">{% trans %}Datasets{% endtrans %}</a></li> |
|
30 |
<li><a href="/{{current_lang}}/organization">{% trans %}Organizations{% endtrans %}</a></li> |
|
31 |
<li><a href="/{{current_lang}}/group">{% trans %}Groups{% endtrans %}</a></li> |
|
32 |
<li><a href="/{{current_lang}}/about">{% trans %}Terms of use{% endtrans %}</a></li> |
|
33 |
</ul> |
|
34 |
</li> |
|
35 |
</ul> |
|
36 |
|
|
37 |
<ul class="nav navbar-nav navbar-right navbar-lang"> |
|
38 |
<li class="dropdown">{% snippet "language_switcher.html" %}</li> |
|
39 |
</ul> |
|
40 |
</li> |
|
41 |
</ul> |
|
42 |
|
|
43 |
<!-- RIGHT NAV --> |
|
44 |
<ul class="nav navbar-nav navbar-right"> |
|
45 |
<li class="item-123"><a class="btn navbar-btn" href="https://portal.ozwillo-preprod.eu/my?ui_locales={{current_lang}}">{% trans %}Log in{% endtrans %}</a></li> |
|
46 |
<li class="item-112 deeper dropdown parent"><a class="dropdown-toggle" href="/en/oz/discover" data-toggle="dropdown">{% trans %}Discover{% endtrans %}<b class="caret"></b></a> |
|
47 |
<ul class="dropdown-menu"> |
|
48 |
<li><a href="/en/oz/discover">{% trans %}Discovering the Platform{% endtrans %}</a></li> |
|
49 |
<li><a href="/en/oz/news">{% trans %}News{% endtrans %}</a></li> |
|
50 |
<li><a href="/en/oz/co-construct">{% trans %}Co-construct{% endtrans %}</a></li> |
|
51 |
<li><a href="/en/oz/let-s-go">{% trans %}Let's go{% endtrans %}</a></li> |
|
52 |
<li><a href="/en/oz/projects">{% trans %}Projects{% endtrans %}</a></li> |
|
53 |
</ul></li></ul> |
|
54 |
|
|
55 |
<!-- //RIGHT NAV --> |
|
56 |
|
|
57 |
</div> |
|
58 |
|
|
59 |
</div> |
|
60 |
</nav> |
ckanext/ozwillo_theme/templates/language_switcher.html | ||
---|---|---|
1 |
{% set current_lang = request.environ.CKAN_LANG %} |
|
2 |
{% set current_url = request.environ.CKAN_CURRENT_URL %} |
|
3 |
<!-- LANGUAGE SWITCHER --> |
|
4 |
|
|
5 |
<a class="dropdown-toggle" href="/" data-toggle="dropdown"> |
|
6 |
{% for locale in h.get_available_locales() %} |
|
7 |
{% if locale == current_lang %}{{ locale.display_name or locale.english_name }}{% endif %} |
|
8 |
{% endfor %} |
|
9 |
<b class="caret"></b> |
|
10 |
</a> |
|
11 |
|
|
12 |
<ul class="dropdown-menu "> |
|
13 |
{% for locale in h.get_available_locales() %} |
|
14 |
<li><a href="{% url_for current_url, locale=locale %}">{{ locale.display_name or locale.english_name }}</a></li> |
|
15 |
{% endfor %} |
|
16 |
</li> |
|
17 |
</ul> |
|
18 |
<!-- //LANGUAGE SWITCHER --> |
Formats disponibles : Unified diff
style: use ozwillo header and footer