mirror of https://github.com/interlegis/sapl.git
Marcio Mazza
10 years ago
4 changed files with 57 additions and 55 deletions
@ -1,8 +1,10 @@ |
|||
crispy-forms-foundation |
|||
Django |
|||
django-admin-bootstrapped |
|||
django-bootstrap3 |
|||
django-braces |
|||
django-crispy-forms |
|||
django-zurb-foundation |
|||
psycopg2 |
|||
pytz |
|||
PyYAML |
|||
|
@ -1,67 +1,48 @@ |
|||
{% load bootstrap3 %} |
|||
{% load i18n %} |
|||
{% load static from staticfiles %} |
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|||
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}> |
|||
{% load staticfiles %} |
|||
<!DOCTYPE html> |
|||
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> |
|||
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> |
|||
<head> |
|||
<title>{% block title %}{% trans 'SAPL - Sistema de Apoio ao Processo Legislativo' %}{% endblock %}</title> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
|||
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> |
|||
|
|||
<link href="{% static "bootstrap/css/bootstrap.min.css" %}" rel="stylesheet"/> |
|||
<style type="text/css"> |
|||
body { |
|||
padding: 10px 20px 40px; |
|||
} |
|||
</style> |
|||
<link href="{% static "bootstrap/css/bootstrap-theme.min.css" %}" rel="stylesheet"/> |
|||
|
|||
{# TODO review these js dependencies #} |
|||
<script src="{% static "admin/js/jquery-1.9.1.min.js" %}"></script> |
|||
<script src="{% static "admin/js/jquery-migrate-1.2.1.min.js" %}"></script> |
|||
<script src="{% static "bootstrap/js/bootstrap.min.js" %}"></script> |
|||
|
|||
<script type="text/javascript"> |
|||
//<![CDATA[ |
|||
(function($) { |
|||
$(document).ready(function() { |
|||
$('input[type="submit"]').addClass('btn'); |
|||
$('[title]').tooltip(); |
|||
}); |
|||
}(jQuery)); |
|||
//]]> |
|||
</script> |
|||
|
|||
{% block extrahead %}{% endblock %} |
|||
<meta charset="utf-8"> |
|||
<title>{% block head_title %}{% trans 'SAPL - Sistema de Apoio ao Processo Legislativo' %}{% endblock %}</title> |
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|||
{% block header_content %} |
|||
<link rel="stylesheet" href="{% static 'foundation/css/foundation.min.css' %}"> |
|||
<script type="text/javascript" src="{% static 'foundation/js/vendor/modernizr.js' %}"></script> |
|||
<script type="text/javascript" src="{% static 'foundation/js/vendor/jquery.js' %}"></script> |
|||
<script type="text/javascript" src="{% static 'foundation/js/vendor/fastclick.js' %}"></script> |
|||
<script type="text/javascript" src="{% static 'foundation/js/foundation.min.js' %}"></script> |
|||
{% endblock %} |
|||
</head> |
|||
|
|||
<body> |
|||
|
|||
<!-- Container --> |
|||
<div class="container-fluid"> |
|||
|
|||
<header> |
|||
... header ... |
|||
<hr/> |
|||
</header> |
|||
|
|||
<!-- Content --> |
|||
<div id="content" class="{% block coltype %}colM{% endblock %}"> |
|||
|
|||
{% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %} |
|||
|
|||
{% bootstrap_messages %} |
|||
|
|||
{% block content_container %} |
|||
{# FIXME: row class is not for that: replace it keeping the layout (notice width) #} |
|||
<div id="body_content" class="row"> |
|||
{% block content %}{% endblock %} |
|||
</div> |
|||
{% endblock %} |
|||
<!-- END Content --> |
|||
|
|||
<footer id="footer"> |
|||
<hr/> |
|||
... footer... |
|||
</footer> |
|||
</div> |
|||
<!-- END Container --> |
|||
|
|||
{% block foot_more_js %}{% endblock %} |
|||
|
|||
{# Init Foundation #} |
|||
{% block foundation_js_init %} |
|||
<script> |
|||
$(document).foundation(); |
|||
</script> |
|||
{% endblock foundation_js_init %} |
|||
</body> |
|||
</html> |
|||
|
Loading…
Reference in new issue