Browse Source

Add jquery-runner in bower

pull/6/head
Eduardo Edson Batista Cordeiro Alves 10 years ago
parent
commit
b100965a65
  1. 3
      sapl/settings.py
  2. 20
      templates/base.html

3
sapl/settings.py

@ -147,9 +147,10 @@ BOWER_INSTALLED_APPS = (
'components-font-awesome', 'components-font-awesome',
'foundation-icon-fonts', 'foundation-icon-fonts',
'tinymce', 'tinymce',
'jquery-runner',
) )
# Additional search paths for SASS files when using the @import statement # Additional search paths for SASS files when using the @import statement
SASS_PROCESSOR_INCLUDE_DIRS = ( SASS_PROCESSOR_INCLUDE_DIRS = (
BOWER_COMPONENTS_ROOT.child('bower_components', 'foundation', 'scss'), BOWER_COMPONENTS_ROOT.child('bower_components', 'foundation', 'scss'),
) )

20
templates/base.html

@ -3,8 +3,8 @@
{% load sass_tags %} {% load sass_tags %}
<!DOCTYPE html> <!DOCTYPE html>
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <!--[if gt IE 8]><!-->
<html class="no-js" lang="en"> <html class="no-js" lang="en">
<!--<![endif]--> <!--<![endif]-->
<head> <head>
@ -12,27 +12,29 @@
<title>{% block head_title %}{% trans 'SAPL - Sistema de Apoio ao Processo Legislativo' %}{% endblock %}</title> <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"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
{% block head_content %} {% block head_content %}
{# Styles #} {# Styles #}
<link rel="stylesheet" href="{% static 'foundation-datepicker/css/foundation-datepicker.min.css' %}"> <link rel="stylesheet" href="{% static 'foundation-datepicker/css/foundation-datepicker.min.css' %}">
<link rel="stylesheet" href="{% static 'components-font-awesome/css/font-awesome.css' %}"> <link rel="stylesheet" href="{% static 'components-font-awesome/css/font-awesome.css' %}">
<link rel="stylesheet" href="{% static 'foundation-icon-fonts/foundation-icons.css' %}"> <link rel="stylesheet" href="{% static 'foundation-icon-fonts/foundation-icons.css' %}">
<link rel="stylesheet" href="{% sass_src 'styles/app.scss' %}" type="text/css"> <link rel="stylesheet" href="{% sass_src 'styles/app.scss' %}" type="text/css">
{# Scripts #} {# Scripts #}
{# modernizr must be in head (see http://modernizr.com/docs/#installing) #} {# modernizr must be in head (see http://modernizr.com/docs/#installing) #}
<script type="text/javascript" src="{% static 'foundation/js/vendor/modernizr.js' %}"></script> <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/jquery.js' %}"></script>
<script type="text/javascript" src="{% static 'foundation-datepicker/js/foundation-datepicker.js' %}"></script> <script type="text/javascript" src="{% static 'foundation-datepicker/js/foundation-datepicker.js' %}"></script>
<script type="text/javascript" src="{% static 'jQuery-runner/build/jquery.runner.js' %}"></script>
{% endblock %} {% endblock %}
</head> </head>
<body> <body>
<div class="page fadein"> <div class="page fadein">
{# Navigation #} {# Navigation #}
{% block navigation %} {% block navigation %}
<div id="navigation" class="navigation fixed contain-to-grid"> <div id="navigation" class="navigation fixed contain-to-grid">
<nav class="top-bar" data-topbar role="navigation"> <nav class="top-bar" data-topbar role="navigation">
<ul class="title-area left"> <ul class="title-area left">
<li class="name"></li> <li class="name"></li>
@ -40,7 +42,7 @@
</ul> </ul>
<div class="nav right"> <div class="nav right">
<div class="icon-bar three-up"> <div class="icon-bar three-up">
<a class="item" tabindex="0" role="button" aria-label="{% trans 'Pesquisa' %}"> <a class="item" tabindex="0" role="button" aria-label="{% trans 'Pesquisa' %}">
<img src="{% static 'img/search.png' %}"> <img src="{% static 'img/search.png' %}">
</a> </a>
@ -113,7 +115,7 @@
</nav> </nav>
</div> </div>
{% endblock navigation %} {% endblock navigation %}
{# Header #} {# Header #}
{% block main_header %} {% block main_header %}
<header id="masthead" class="masthead page__row"> <header id="masthead" class="masthead page__row">
@ -146,7 +148,7 @@
{# Content header #} {# Content header #}
{% block base_header %} {% block base_header %}
<div class="clearfix"> <div class="clearfix">
{% block help %} {% block help %}
{% if view.help_path %} {% if view.help_path %}
<a class="contextual-help right" href="{% url 'help_base' %}{{ view.help_path }}">{% trans 'Ajuda' %}</a> <a class="contextual-help right" href="{% url 'help_base' %}{{ view.help_path }}">{% trans 'Ajuda' %}</a>

Loading…
Cancel
Save