Browse Source

ajusta painel ao sapl-frontend

pull/2485/head
Leandro Roberto 7 years ago
parent
commit
2443e8b3fa
  1. 3
      sapl-frontend/src/global/main.js
  2. 15
      sapl/templates/painel/index.html
  3. 8
      sapl/templates/painel/mensagem.html
  4. 9
      sapl/templates/painel/parlamentares.html
  5. 9
      sapl/templates/painel/votacao.html
  6. 10
      sapl/templates/painel/voto_nominal.html

3
sapl-frontend/src/global/main.js

@ -1,5 +1,4 @@
import jQuery from "jquery"; import jQuery from "jquery";
window.$ = window.jQuery = jQuery;
require('imports-loader?window.jQuery=jquery!./jquery.runner.js'); require('imports-loader?window.jQuery=jquery!./jquery.runner.js');
@ -9,7 +8,7 @@ import "webpack-jquery-ui/dialog";
import "webpack-jquery-ui/sortable"; import "webpack-jquery-ui/sortable";
import "./functions"; import "./functions";
window.$ = window.jQuery = jQuery;
window.autorModal(); window.autorModal();
window.refreshMask(); window.refreshMask();

15
sapl/templates/painel/index.html

@ -1,7 +1,9 @@
{% load i18n %} {% load i18n %}
{% load staticfiles sass_tags %}
{% load common_tags %} {% load common_tags %}
{% load render_bundle from webpack_loader %}
{% load webpack_static from webpack_loader %}
<!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]><!-->
@ -9,12 +11,13 @@
<!--<![endif]--> <!--<![endif]-->
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- TODO: does it need this head_title here? --> <!-- TODO: does it need this head_title here? -->
<link rel="stylesheet" href="{% sass_src 'bootstrap-sass/assets/stylesheets/_bootstrap.scss' %}" type="text/css">
<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">
<script type="text/javascript" src="{% static 'jquery/dist/jquery.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.runner.js' %}"></script> {% render_bundle 'global'%}
{% render_bundle THEME_CUSTOM %}
<style type="text/css"> <style type="text/css">
html, body { html, body {
@ -41,7 +44,7 @@
</head> </head>
<body> <body>
<audio type="hidden" id="audio" src="{% static 'audio/ring.mp3' %}"></audio> <audio type="hidden" id="audio" src="{% webpack_static 'audio/ring.mp3' %}"></audio>
<h1 id="title"></h1> <h1 id="title"></h1>
<input id="json_url" type="hidden" value="{% url 'sapl.painel:dados_painel' sessao_id %}"> <input id="json_url" type="hidden" value="{% url 'sapl.painel:dados_painel' sessao_id %}">

8
sapl/templates/painel/mensagem.html

@ -1,5 +1,7 @@
{% load i18n %} {% load i18n %}
{% load staticfiles %} {% load render_bundle from webpack_loader %}
{% load webpack_static from webpack_loader %}
<!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]><!-->
@ -11,7 +13,9 @@
<!-- TODO: does it need this head_title here? --> <!-- TODO: does it need this head_title here? -->
<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">
<script type="text/javascript" src="{% static 'foundation/js/vendor/jquery.js' %}"></script>
{% render_bundle 'global'%}
{% render_bundle THEME_CUSTOM %}
<STYLE type="text/css"> <STYLE type="text/css">
@media screen { @media screen {

9
sapl/templates/painel/parlamentares.html

@ -1,5 +1,7 @@
{% load i18n %} {% load i18n %}
{% load staticfiles %} {% load render_bundle from webpack_loader %}
{% load webpack_static from webpack_loader %}
<!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]><!-->
@ -11,7 +13,10 @@
<!-- TODO: does it need this head_title here? --> <!-- TODO: does it need this head_title here? -->
<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">
<script type="text/javascript" src="{% static 'foundation/js/vendor/jquery.js' %}"></script>
{% render_bundle 'global'%}
{% render_bundle THEME_CUSTOM %}
<STYLE type="text/css"> <STYLE type="text/css">
@media screen { @media screen {

9
sapl/templates/painel/votacao.html

@ -1,5 +1,7 @@
{% load i18n %} {% load i18n %}
{% load staticfiles %} {% load render_bundle from webpack_loader %}
{% load webpack_static from webpack_loader %}
<!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]><!-->
@ -11,7 +13,10 @@
<!-- TODO: does it need this head_title here? --> <!-- TODO: does it need this head_title here? -->
<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">
<script type="text/javascript" src="{% static 'foundation/js/vendor/jquery.js' %}"></script>
{% render_bundle 'global'%}
{% render_bundle THEME_CUSTOM %}
<STYLE type="text/css"> <STYLE type="text/css">
@media screen { @media screen {

10
sapl/templates/painel/voto_nominal.html

@ -1,14 +1,16 @@
{% load i18n %} {% load i18n %}
{% load staticfiles sass_tags %} {% load render_bundle from webpack_loader %}
{% load webpack_static from webpack_loader %}
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html lang="pt-br"> <html lang="pt-br">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="stylesheet" href="{% sass_src 'bootstrap-sass/assets/stylesheets/_bootstrap.scss' %}" type="text/css">
<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">
<script type="text/javascript" src="{% static 'jquery/dist/jquery.js' %}"></script>
<script type="text/javascript" src="{% static 'js/jquery.runner.js' %}"></script> {% render_bundle 'global'%}
{% render_bundle THEME_CUSTOM %}
<style type="text/css"> <style type="text/css">
html, body { html, body {

Loading…
Cancel
Save