Commit 25ebfe6cab0307470be9e4ce5e538932bf009816
1 parent
a5ab4a66
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,13 +307,14 @@ class clsListagem extends clsCampos | ||
307 | //$barra = '<b>Localizacao: http://'.$server.$endereco.'</b><br>'; | 307 | //$barra = '<b>Localizacao: http://'.$server.$endereco.'</b><br>'; |
308 | //$barra = '<tr><td><b>Localizacao:'. $enderecoPagina .'</b><br></tr></td>'; | 308 | //$barra = '<tr><td><b>Localizacao:'. $enderecoPagina .'</b><br></tr></td>'; |
309 | $barra = '<b>Filtros de busca</b>'; | 309 | $barra = '<b>Filtros de busca</b>'; |
310 | - //$localizacao = '<b>LOCALIZACAO</b>'; | 310 | + $teste = '<b>LOCALIZACAO</b>'; |
311 | + | ||
311 | $localizacao = new LocalizacaoSistema(); | 312 | $localizacao = new LocalizacaoSistema(); |
312 | $localizacao->entradaCaminhos( array( | 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 | "" => "Cadastro de Aluno" | 316 | "" => "Cadastro de Aluno" |
316 | - )); | 317 | + )); |
317 | 318 | ||
318 | if (class_exists('clsPmiajudaPagina')) { | 319 | if (class_exists('clsPmiajudaPagina')) { |
319 | $ajudaPagina = new clsPmiajudaPagina(); | 320 | $ajudaPagina = new clsPmiajudaPagina(); |
@@ -406,7 +407,7 @@ class clsListagem extends clsCampos | @@ -406,7 +407,7 @@ class clsListagem extends clsCampos | ||
406 | 407 | ||
407 | $retorno .= " | 408 | $retorno .= " |
408 | <tr> | 409 | <tr> |
409 | - <td class='' colspan='2' height='24'>{$localizacao->montar()}</td> | 410 | + <td class='fundoLocalizacao' colspan='2' height='24'>{$localizacao->montar()}</td> |
410 | </tr>"; | 411 | </tr>"; |
411 | 412 | ||
412 | $retorno .= " | 413 | $retorno .= " |
ieducar/intranet/include/localizacaoSistema.php
@@ -58,7 +58,7 @@ class LocalizacaoSistema { | @@ -58,7 +58,7 @@ class LocalizacaoSistema { | ||
58 | foreach( $this->localizacao as $link => $inner ) { | 58 | foreach( $this->localizacao as $link => $inner ) { |
59 | $href .= ( $i === 1 ) ? $this->protocolo . $link : "/$link"; | 59 | $href .= ( $i === 1 ) ? $this->protocolo . $link : "/$link"; |
60 | if( $i === $localizacao_count ) { | 60 | if( $i === $localizacao_count ) { |
61 | - $this->html .= "<li><a>$inner</a><li>"; | 61 | + $this->html .= "<li><a>$inner</a></li>"; |
62 | } else { | 62 | } else { |
63 | $this->html .= "<li><a href=\"$href\" title=\"$inner\">$inner</a></li> {$this->separador} "; | 63 | $this->html .= "<li><a href=\"$href\" title=\"$inner\">$inner</a></li> {$this->separador} "; |
64 | } | 64 | } |
@@ -68,7 +68,8 @@ class LocalizacaoSistema { | @@ -68,7 +68,8 @@ class LocalizacaoSistema { | ||
68 | } | 68 | } |
69 | 69 | ||
70 | public function montar() { | 70 | public function montar() { |
71 | - echo $this->html; | 71 | + return $this->html; |
72 | } | 72 | } |
73 | + | ||
73 | } | 74 | } |
74 | ?> | 75 | ?> |
75 | \ No newline at end of file | 76 | \ No newline at end of file |
ieducar/intranet/styles/novo.css
@@ -650,17 +650,18 @@ width:19px; | @@ -650,17 +650,18 @@ width:19px; | ||
650 | } | 650 | } |
651 | 651 | ||
652 | #localizacao a{ | 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 | font-style: normal; | 655 | font-style: normal; |
656 | font-variant: normal; | 656 | font-variant: normal; |
657 | + font-weight: bold; | ||
657 | letter-spacing: 0pt; | 658 | letter-spacing: 0pt; |
658 | line-height: normal; | 659 | line-height: normal; |
659 | - background: #BECCD6; | 660 | + background: #A1B3BD; |
660 | padding: .7em 1em; | 661 | padding: .7em 1em; |
661 | float: left; | 662 | float: left; |
662 | text-decoration: none; | 663 | text-decoration: none; |
663 | - color: #ffffff; | 664 | + color: #fff; |
664 | text-shadow: 0 1px 0 rgba(255,255,255,.5); | 665 | text-shadow: 0 1px 0 rgba(255,255,255,.5); |
665 | position: relative; | 666 | position: relative; |
666 | } | 667 | } |
@@ -676,7 +677,7 @@ width:19px; | @@ -676,7 +677,7 @@ width:19px; | ||
676 | margin-top: -1.5em; | 677 | margin-top: -1.5em; |
677 | border-width: 1.5em 0 1.5em 1em; | 678 | border-width: 1.5em 0 1.5em 1em; |
678 | border-style: solid; | 679 | border-style: solid; |
679 | - border-color: #BECCD6 #BECCD6 #BECCD6 transparent; | 680 | + border-color: #A1B3BD #A1B3BD #A1B3BD transparent; |
680 | left: -1em; | 681 | left: -1em; |
681 | } | 682 | } |
682 | 683 | ||
@@ -691,12 +692,13 @@ width:19px; | @@ -691,12 +692,13 @@ width:19px; | ||
691 | margin-top: -1.5em; | 692 | margin-top: -1.5em; |
692 | border-top: 1.5em solid transparent; | 693 | border-top: 1.5em solid transparent; |
693 | border-bottom: 1.5em solid transparent; | 694 | border-bottom: 1.5em solid transparent; |
694 | - border-left: 1em solid #BECCD6; | 695 | + border-left: 1em solid #A1B3BD; |
695 | right: -1em; | 696 | right: -1em; |
696 | } | 697 | } |
697 | 698 | ||
698 | #localizacao a:hover::after{ | 699 | #localizacao a:hover::after{ |
699 | border-left-color: #184e7f; | 700 | border-left-color: #184e7f; |
701 | + content: ""; | ||
700 | } | 702 | } |
701 | 703 | ||
702 | #localizacao .current, | 704 | #localizacao .current, |
@@ -709,4 +711,6 @@ width:19px; | @@ -709,4 +711,6 @@ width:19px; | ||
709 | #localizacao .current::before{ | 711 | #localizacao .current::before{ |
710 | content: normal; | 712 | content: normal; |
711 | } | 713 | } |
712 | - | 714 | +.fundoLocalizacao { |
715 | + background-color: #E4E9ED; | ||
716 | +} | ||
713 | \ No newline at end of file | 717 | \ No newline at end of file |