Browse Source

ajustes de layout no painel

pull/2511/head
Leandro Roberto 6 years ago
parent
commit
844af1f5b2
  1. 2
      .gitignore
  2. 1
      sapl/static/sapl/css/painel.61177241.css
  3. 240
      sapl/static/sapl/js/compilacao.9db618b1.js
  4. 30
      sapl/templates/painel/index.html
  5. 2
      sapl/webpack-stats.json

2
.gitignore

@ -54,7 +54,7 @@ coverage.xml
# Django stuff: # Django stuff:
*.log *.log
sapl.log.*
*.swp *.swp
# Sphinx documentation # Sphinx documentation

1
sapl/static/sapl/css/painel.61177241.css

@ -1 +0,0 @@
.painel-principal{background:#1c1b1b;font-family:Verdana}.painel-principal .text-title{color:#4fa64d}.painel-principal .text-subtitle{color:#459170}.painel-principal .text-value{color:#fff}.painel-principal .logo-painel{max-width:100%}.painel-principal .painels{-ms-flex-wrap:wrap;flex-wrap:wrap}

240
sapl/static/sapl/js/compilacao.9db618b1.js

File diff suppressed because one or more lines are too long

30
sapl/templates/painel/index.html

@ -41,7 +41,7 @@
<div class="d-flex justify-content-center"> <div class="d-flex justify-content-center">
<h1 id="sessao_plenaria" class="title text-title"></h1> <h1 id="sessao_plenaria" class="title text-title"></h1>
</div> </div>
<div class="row"> <div class="row ">
<div class="col text-center"> <div class="col text-center">
<span id="sessao_plenaria_data" class="text-value"></span> <span id="sessao_plenaria_data" class="text-value"></span>
</div> </div>
@ -61,22 +61,26 @@
</div> </div>
<div class="row"> <div class="row">
<div class="col text-center"><span class="text-value" id="date"></span></div> <div class="col text-center"><span class="text-value data-hora" id="date"></span></div>
<div class="col text-center"><span class="text-value" id="relogio"></span></div> <div class="col text-center"><span class="text-value data-hora" id="relogio"></span></div>
</div> </div>
<div class="d-flex justify-content-end painels">
<div class="col-md-4 text-center painel"> <div class="">
<div class="d-flex justify-content-start">
<div class="col-md-4">
<div class="text-center painel">
<h2 class="text-subtitle">Parlamentares</h2> <h2 class="text-subtitle">Parlamentares</h2>
<span id="parlamentares" class="text-value text-left"></span> <span id="parlamentares" class="text-value text-left"></span>
</div> </div>
</div>
<div class="col-md-4 text-center painel" id="aparecer_oradores"> <div class="d-flex col-md-8 painels">
<div class="col-md-6 text-center painel" id="aparecer_oradores">
<h2 class="text-subtitle">Oradores</h2> <h2 class="text-subtitle">Oradores</h2>
<span id="orador"></span> <span id="orador"></span>
</div> </div>
<div class="col-md-4 text-center painel"> <div class="col-md-6 text-center painel">
<h2 class="text-subtitle">Cronômetros</h2> <h2 class="text-subtitle">Cronômetros</h2>
<div class="text-value"> <div class="text-value">
Discurso: <span id="cronometro_discurso"></span><br> Discurso: <span id="cronometro_discurso"></span><br>
@ -86,18 +90,22 @@
</div> </div>
</div> </div>
<div class="col-md-4 text-center painel"> <div class="col-md-6 text-center painel">
<h2 class="text-subtitle">Resultado</h2> <h2 class="text-subtitle">Resultado</h2>
<span id="votacao" class="text-value"></span> <span id="votacao" class="text-value"></span>
<h2><span id="resultado_votacao" lass="text-title"></span> <h2><span id="resultado_votacao" lass="text-title"></span>
</div> </div>
<div class="col-md-4 text-center painel"> <div class="col-md-6 text-center painel">
<h2 class="text-subtitle">Matéria em Votação</h2> <h2 class="text-subtitle">Matéria em Votação</h2>
<span id="materia_legislativa_texto" class="text-value"></span> <span id="materia_legislativa_texto" class="text-value"></span>
<span id="observacao_materia" class="text-value"></span> <span id="observacao_materia" class="text-value"></span>
</div> </div>
</div> </div>
</div>
</div>
</div>
</body> </body>
{% block webpack_loader_js %} {% block webpack_loader_js %}
@ -262,8 +270,6 @@
votacao.append('<span id="votacao">'); votacao.append('<span id="votacao">');
$("#votacao").append('<center>A votação só aparecerá quando o painel estiver aberto</center>'); $("#votacao").append('<center>A votação só aparecerá quando o painel estiver aberto</center>');
votacao.append('</span>'); votacao.append('</span>');
} }
if (data['materia_legislativa_texto'] && data["status_painel"] == true){ if (data['materia_legislativa_texto'] && data["status_painel"] == true){

2
sapl/webpack-stats.json

@ -1 +1 @@
{"status":"done","publicPath":"/static/sapl/","chunks":{"chunk-vendors":[{"name":"css/chunk-vendors.f109b7f2.css","publicPath":"/static/sapl/css/chunk-vendors.f109b7f2.css","path":"../sapl/sapl/static/sapl/css/chunk-vendors.f109b7f2.css"},{"name":"js/chunk-vendors.406f40ec.js","publicPath":"/static/sapl/js/chunk-vendors.406f40ec.js","path":"../sapl/sapl/static/sapl/js/chunk-vendors.406f40ec.js"}],"compilacao":[{"name":"css/compilacao.1e862898.css","publicPath":"/static/sapl/css/compilacao.1e862898.css","path":"../sapl/sapl/static/sapl/css/compilacao.1e862898.css"},{"name":"js/compilacao.9db618b1.js","publicPath":"/static/sapl/js/compilacao.9db618b1.js","path":"../sapl/sapl/static/sapl/js/compilacao.9db618b1.js"}],"global":[{"name":"css/global.d2e0a784.css","publicPath":"/static/sapl/css/global.d2e0a784.css","path":"../sapl/sapl/static/sapl/css/global.d2e0a784.css"},{"name":"js/global.2675c725.js","publicPath":"/static/sapl/js/global.2675c725.js","path":"../sapl/sapl/static/sapl/js/global.2675c725.js"}],"painel":[{"name":"css/painel.61177241.css","publicPath":"/static/sapl/css/painel.61177241.css","path":"../sapl/sapl/static/sapl/css/painel.61177241.css"},{"name":"js/painel.ddd6e27e.js","publicPath":"/static/sapl/js/painel.ddd6e27e.js","path":"../sapl/sapl/static/sapl/js/painel.ddd6e27e.js"}]}} {"status":"done","publicPath":"/static/sapl/","chunks":{"chunk-vendors":[{"name":"css/chunk-vendors.f109b7f2.css","publicPath":"/static/sapl/css/chunk-vendors.f109b7f2.css","path":"../sapl/sapl/static/sapl/css/chunk-vendors.f109b7f2.css"},{"name":"js/chunk-vendors.406f40ec.js","publicPath":"/static/sapl/js/chunk-vendors.406f40ec.js","path":"../sapl/sapl/static/sapl/js/chunk-vendors.406f40ec.js"}],"compilacao":[{"name":"css/compilacao.1e862898.css","publicPath":"/static/sapl/css/compilacao.1e862898.css","path":"../sapl/sapl/static/sapl/css/compilacao.1e862898.css"},{"name":"js/compilacao.fff51687.js","publicPath":"/static/sapl/js/compilacao.fff51687.js","path":"../sapl/sapl/static/sapl/js/compilacao.fff51687.js"}],"global":[{"name":"css/global.d2e0a784.css","publicPath":"/static/sapl/css/global.d2e0a784.css","path":"../sapl/sapl/static/sapl/css/global.d2e0a784.css"},{"name":"js/global.2675c725.js","publicPath":"/static/sapl/js/global.2675c725.js","path":"../sapl/sapl/static/sapl/js/global.2675c725.js"}],"painel":[{"name":"css/painel.fcdc2950.css","publicPath":"/static/sapl/css/painel.fcdc2950.css","path":"../sapl/sapl/static/sapl/css/painel.fcdc2950.css"},{"name":"js/painel.ddd6e27e.js","publicPath":"/static/sapl/js/painel.ddd6e27e.js","path":"../sapl/sapl/static/sapl/js/painel.ddd6e27e.js"}]}}
Loading…
Cancel
Save