Commit c602b6584094273787aa92c300e146a841893668
1 parent
50797b6a
Exists in
master
Localizacao do usuario no sistema - correcao de bugs, posicionamento na tela - p…
…ara opcoes de listagem
Showing
3 changed files
with
20 additions
and
14 deletions
Show diff stats
ieducar/intranet/include/clsListagem.inc.php
... | ... | @@ -307,13 +307,14 @@ class clsListagem extends clsCampos |
307 | 307 | //$barra = '<b>Localizacao: http://'.$server.$endereco.'</b><br>'; |
308 | 308 | //$barra = '<tr><td><b>Localizacao:'. $enderecoPagina .'</b><br></tr></td>'; |
309 | 309 | $barra = '<b>Filtros de busca</b>'; |
310 | - //$localizacao = '<b>LOCALIZACAO</b>'; | |
310 | + $teste = '<b>LOCALIZACAO</b>'; | |
311 | + | |
311 | 312 | $localizacao = new LocalizacaoSistema(); |
312 | 313 | $localizacao->entradaCaminhos( array( |
313 | - "www.google.com.br" => "i-Educar", | |
314 | - "imghp?hl=pt-BR&tab=wi" => "Escola", | |
314 | + "localhost" => "i-Educar", | |
315 | + "intranet/educar_index.php" => "Escola", | |
315 | 316 | "" => "Cadastro de Aluno" |
316 | - )); | |
317 | + )); | |
317 | 318 | |
318 | 319 | if (class_exists('clsPmiajudaPagina')) { |
319 | 320 | $ajudaPagina = new clsPmiajudaPagina(); |
... | ... | @@ -406,7 +407,7 @@ class clsListagem extends clsCampos |
406 | 407 | |
407 | 408 | $retorno .= " |
408 | 409 | <tr> |
409 | - <td class='' colspan='2' height='24'>{$localizacao->montar()}</td> | |
410 | + <td class='fundoLocalizacao' colspan='2' height='24'>{$localizacao->montar()}</td> | |
410 | 411 | </tr>"; |
411 | 412 | |
412 | 413 | $retorno .= " | ... | ... |
ieducar/intranet/include/localizacaoSistema.php
... | ... | @@ -58,7 +58,7 @@ class LocalizacaoSistema { |
58 | 58 | foreach( $this->localizacao as $link => $inner ) { |
59 | 59 | $href .= ( $i === 1 ) ? $this->protocolo . $link : "/$link"; |
60 | 60 | if( $i === $localizacao_count ) { |
61 | - $this->html .= "<li><a>$inner</a><li>"; | |
61 | + $this->html .= "<li><a>$inner</a></li>"; | |
62 | 62 | } else { |
63 | 63 | $this->html .= "<li><a href=\"$href\" title=\"$inner\">$inner</a></li> {$this->separador} "; |
64 | 64 | } |
... | ... | @@ -68,7 +68,8 @@ class LocalizacaoSistema { |
68 | 68 | } |
69 | 69 | |
70 | 70 | public function montar() { |
71 | - echo $this->html; | |
71 | + return $this->html; | |
72 | 72 | } |
73 | + | |
73 | 74 | } |
74 | 75 | ?> |
75 | 76 | \ No newline at end of file | ... | ... |
ieducar/intranet/styles/novo.css
... | ... | @@ -650,17 +650,18 @@ width:19px; |
650 | 650 | } |
651 | 651 | |
652 | 652 | #localizacao a{ |
653 | - font-family: tahoma,verdana,sans-serif; | |
654 | - font-size: 12px; | |
653 | + font-family: arial, verdana, sans-serif, "Times New Roman"; | |
654 | + font-size: 11px; | |
655 | 655 | font-style: normal; |
656 | 656 | font-variant: normal; |
657 | + font-weight: bold; | |
657 | 658 | letter-spacing: 0pt; |
658 | 659 | line-height: normal; |
659 | - background: #BECCD6; | |
660 | + background: #A1B3BD; | |
660 | 661 | padding: .7em 1em; |
661 | 662 | float: left; |
662 | 663 | text-decoration: none; |
663 | - color: #ffffff; | |
664 | + color: #fff; | |
664 | 665 | text-shadow: 0 1px 0 rgba(255,255,255,.5); |
665 | 666 | position: relative; |
666 | 667 | } |
... | ... | @@ -676,7 +677,7 @@ width:19px; |
676 | 677 | margin-top: -1.5em; |
677 | 678 | border-width: 1.5em 0 1.5em 1em; |
678 | 679 | border-style: solid; |
679 | - border-color: #BECCD6 #BECCD6 #BECCD6 transparent; | |
680 | + border-color: #A1B3BD #A1B3BD #A1B3BD transparent; | |
680 | 681 | left: -1em; |
681 | 682 | } |
682 | 683 | |
... | ... | @@ -691,12 +692,13 @@ width:19px; |
691 | 692 | margin-top: -1.5em; |
692 | 693 | border-top: 1.5em solid transparent; |
693 | 694 | border-bottom: 1.5em solid transparent; |
694 | - border-left: 1em solid #BECCD6; | |
695 | + border-left: 1em solid #A1B3BD; | |
695 | 696 | right: -1em; |
696 | 697 | } |
697 | 698 | |
698 | 699 | #localizacao a:hover::after{ |
699 | 700 | border-left-color: #184e7f; |
701 | + content: ""; | |
700 | 702 | } |
701 | 703 | |
702 | 704 | #localizacao .current, |
... | ... | @@ -709,4 +711,6 @@ width:19px; |
709 | 711 | #localizacao .current::before{ |
710 | 712 | content: normal; |
711 | 713 | } |
712 | - | |
714 | +.fundoLocalizacao { | |
715 | + background-color: #E4E9ED; | |
716 | +} | |
713 | 717 | \ No newline at end of file | ... | ... |