Skip to content

Commit cd703ef

Browse files
add news pages
1 parent afabf3d commit cd703ef

File tree

4 files changed

+106
-0
lines changed

4 files changed

+106
-0
lines changed

wikilegis/static/img/back.png

2.23 KB
Loading

wikilegis/static/img/forward.png

2.22 KB
Loading
+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{% extends "base.html" %}
2+
3+
{% load static %}
4+
{% load i18n %}
5+
6+
{% block content %}
7+
<div class="dark-bg valign-wrapper">
8+
<div class="container about">
9+
<div class="row">
10+
<div class="col m3 s12">
11+
{% load static %}
12+
{% include "_sidebar_logo.html" %}
13+
</div>
14+
</div>
15+
<div class="row">
16+
<div class="col m6">
17+
<h5>{% trans "About Plano Diretor" %}</h5>
18+
<p>{% trans "Wikilegis is a project developed by the Brazilian Chamber of Deputies’ Hacker Lab, designed to enable citizens to suggest modifications to the wording of Bills. It is an open source project, developed under license CC BY 4.0. Besides participating in discussions of the bill, you can help us to improve our tool." %}</p>
19+
</div>
20+
<div class="col m6">
21+
<h5>&nbsp</h5>
22+
<p>{% trans "Visit us on Trello, Github and in our page to propose new features or to report bugs. If you have programming skills, you can also collaborate to the development of Wikilegis. " %}</p>
23+
<div class="buttonsShareProjetc">
24+
<iframe src="https://ghbtns.com/github-btn.html?user=labhackercd&repo=wikilegis&type=star&count=true" frameborder="0" scrolling="0" width="80px" height="20px"></iframe>
25+
<a href="https://trello.com/b/b4hyvcH2" target="_blank"><img src="{% static "img/trello-icon.png" %}" height="22" width="77" /></a>
26+
<a href="http://labhackercd.net/" target="_blank"><img width="110" src="{% static "img/labhacker.png" %}" /></a>
27+
<a rel="license" href="http://creativecommons.org/licenses/by/4.0/">&nbsp;<img alt="Licença Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/88x31.png" /></a>
28+
</div>
29+
</div>
30+
</div>
31+
<div class="row">
32+
<div class="col m12">
33+
<a class="waves-effect wbtn waves-light btn right-align" href="{% url "index" %}">{% trans "Back to main page" %}</a></p>
34+
</div>
35+
</div>
36+
</div>
37+
</div>
38+
{% endblock %}
+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{% load static compress %}
2+
3+
<!DOCTYPE html>
4+
<html>
5+
<head>
6+
<meta charset="utf-8">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
9+
<title>{% block title %}Plataforma Plano Diretor{% endblock %}</title>
10+
11+
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,600,700' rel='stylesheet' type='text/css'>
12+
<link href='https://fonts.googleapis.com/icon?family=Material+Icons' rel='stylesheet'>
13+
{% compress css %}
14+
<link type="text/x-scss" rel="stylesheet" href="{% static "sass/style.scss" %}" media="screen,projection"/>
15+
{% endcompress %}
16+
</head>
17+
18+
<body>
19+
{% block content %}
20+
21+
{% endblock %}
22+
23+
{% block bottom_scripts %}
24+
{% compress js %}
25+
<script type="text/javascript" src="{% static "js/jquery-2.1.4.js" %}"></script>
26+
<script type="text/javascript" src="{% static "js/materialize.js" %}"></script>
27+
<script type="text/javascript" src="{% static "js/diff.min.js" %}"></script>
28+
<script type="text/javascript" src="{% static "js/lodash.min.js" %}"></script>
29+
<script type="text/javascript" src="{% static "js/css3-animate-it.js" %}"></script>
30+
<script type="text/javascript" src="{% static "js/scripts.js" %}"></script>
31+
{% endcompress %}
32+
33+
{% if messages %}
34+
<script type="text/javascript">
35+
{% comment %}
36+
FIXME This is a utterly idiotic way to handle messages.
37+
38+
Here's why:
39+
40+
* What if there is no JS available?
41+
42+
* What if the user is browsing another tab and the toasts go away? (3000ms of duration)
43+
44+
* No color.
45+
46+
* Toasts in web browsers suck. We are not Google. This isn't Inbox.
47+
48+
* It isn't even working.
49+
{% endcomment %}
50+
$.ready(function() {
51+
{% for message in messages %}
52+
Materialize.toast("{% if message.tags %}{{ message.tags }}: {% endif %}{{ message }}", 3000);
53+
{% endfor %}
54+
});
55+
</script>
56+
{% endif %}
57+
{% endblock %}
58+
59+
{% block partialscript %}
60+
61+
{% endblock %}
62+
63+
64+
<!-- Go to www.addthis.com/dashboard to customize your tools -->
65+
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-56d59e5f7525348b"></script>
66+
67+
</body>
68+
</html>

0 commit comments

Comments
 (0)