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. 72
      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

72
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,42 +61,50 @@
</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">
<h2 class="text-subtitle">Parlamentares</h2>
<span id="parlamentares" class="text-value text-left"></span>
</div>
<div class="col-md-4 text-center painel" id="aparecer_oradores">
<h2 class="text-subtitle">Oradores</h2>
<span id="orador"></span>
</div>
<div class="col-md-4 text-center painel"> <div class="">
<h2 class="text-subtitle">Cronômetros</h2> <div class="d-flex justify-content-start">
<div class="text-value"> <div class="col-md-4">
Discurso: <span id="cronometro_discurso"></span><br> <div class="text-center painel">
Aparte: <span id="cronometro_aparte"></span><br> <h2 class="text-subtitle">Parlamentares</h2>
Questão de Ordem: <span id="cronometro_ordem"></span><br> <span id="parlamentares" class="text-value text-left"></span>
Considerações Finais: <span id="cronometro_consideracoes"></span> </div>
</div>
<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>
<span id="orador"></span>
</div>
<div class="col-md-6 text-center painel">
<h2 class="text-subtitle">Cronômetros</h2>
<div class="text-value">
Discurso: <span id="cronometro_discurso"></span><br>
Aparte: <span id="cronometro_aparte"></span><br>
Questão de Ordem: <span id="cronometro_ordem"></span><br>
Considerações Finais: <span id="cronometro_consideracoes"></span>
</div>
</div>
<div class="col-md-6 text-center painel">
<h2 class="text-subtitle">Resultado</h2>
<span id="votacao" class="text-value"></span>
<h2><span id="resultado_votacao" lass="text-title"></span>
</div>
<div class="col-md-6 text-center painel">
<h2 class="text-subtitle">Matéria em Votação</h2>
<span id="materia_legislativa_texto" class="text-value"></span>
<span id="observacao_materia" class="text-value"></span>
</div>
</div> </div>
</div> </div>
</div>
<div class="col-md-4 text-center painel">
<h2 class="text-subtitle">Resultado</h2>
<span id="votacao" class="text-value"></span>
<h2><span id="resultado_votacao" lass="text-title"></span>
</div>
<div class="col-md-4 text-center painel">
<h2 class="text-subtitle">Matéria em Votação</h2>
<span id="materia_legislativa_texto" class="text-value"></span>
<span id="observacao_materia" class="text-value"></span>
</div>
</div> </div>
</body> </body>
@ -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