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 |
||||
django-admin-bootstrapped |
django-admin-bootstrapped |
||||
django-bootstrap3 |
django-bootstrap3 |
||||
django-braces |
django-braces |
||||
django-crispy-forms |
django-crispy-forms |
||||
|
django-zurb-foundation |
||||
psycopg2 |
psycopg2 |
||||
pytz |
pytz |
||||
PyYAML |
PyYAML |
||||
|
@ -1,67 +1,48 @@ |
|||||
{% load bootstrap3 %} |
|
||||
{% load i18n %} |
{% load i18n %} |
||||
{% load static from staticfiles %} |
{% load staticfiles %} |
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
<!DOCTYPE html> |
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}> |
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> |
||||
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> |
||||
<head> |
<head> |
||||
<title>{% block title %}{% trans 'SAPL - Sistema de Apoio ao Processo Legislativo' %}{% endblock %}</title> |
<meta charset="utf-8"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
<title>{% block head_title %}{% trans 'SAPL - Sistema de Apoio ao Processo Legislativo' %}{% endblock %}</title> |
||||
<meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
|
{% block header_content %} |
||||
<link href="{% static "bootstrap/css/bootstrap.min.css" %}" rel="stylesheet"/> |
<link rel="stylesheet" href="{% static 'foundation/css/foundation.min.css' %}"> |
||||
<style type="text/css"> |
<script type="text/javascript" src="{% static 'foundation/js/vendor/modernizr.js' %}"></script> |
||||
body { |
<script type="text/javascript" src="{% static 'foundation/js/vendor/jquery.js' %}"></script> |
||||
padding: 10px 20px 40px; |
<script type="text/javascript" src="{% static 'foundation/js/vendor/fastclick.js' %}"></script> |
||||
} |
<script type="text/javascript" src="{% static 'foundation/js/foundation.min.js' %}"></script> |
||||
</style> |
{% endblock %} |
||||
<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 %} |
|
||||
</head> |
</head> |
||||
|
|
||||
<body> |
<body> |
||||
|
|
||||
<!-- Container --> |
|
||||
<div class="container-fluid"> |
|
||||
|
|
||||
<header> |
<header> |
||||
... header ... |
... header ... |
||||
<hr/> |
<hr/> |
||||
</header> |
</header> |
||||
|
|
||||
<!-- Content --> |
<!-- Content --> |
||||
<div id="content" class="{% block coltype %}colM{% endblock %}"> |
{% block content_container %} |
||||
|
{# FIXME: row class is not for that: replace it keeping the layout (notice width) #} |
||||
{% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %} |
<div id="body_content" class="row"> |
||||
|
|
||||
{% bootstrap_messages %} |
|
||||
|
|
||||
{% block content %}{% endblock %} |
{% block content %}{% endblock %} |
||||
</div> |
</div> |
||||
|
{% endblock %} |
||||
<!-- END Content --> |
<!-- END Content --> |
||||
|
|
||||
<footer id="footer"> |
<footer id="footer"> |
||||
<hr/> |
<hr/> |
||||
... footer... |
... footer... |
||||
</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> |
</body> |
||||
</html> |
</html> |
||||
|
Loading…
Reference in new issue