Commit 773e8693f9bf3de4e831e84d895c0f2ef907e01a

Authored by Edmar Moretti
1 parent c5dad11d

alteração na posição do botão qrcode

Showing 3 changed files with 35 additions and 26 deletions   Show diff stats
@@ -96,5 +96,17 @@ hr { @@ -96,5 +96,17 @@ hr {
96 background-color: #3f51b5; 96 background-color: #3f51b5;
97 } 97 }
98 .navbar-collapse { max-height: 100% !important; } 98 .navbar-collapse { max-height: 100% !important; }
  99 +
  100 +.btn.btn-fab.btn-fab-mini {
  101 + font-size: 12px;
  102 + height: 24px;
  103 + min-width: 24px;
  104 + padding-bottom: 5px;
  105 + padding-left: 5px;
  106 + padding-right: 5px;
  107 + padding-top: 5px;
  108 + width: 24px;
  109 +}
  110 +
99 </style> 111 </style>
100 </head> 112 </head>
init/index.php
@@ -35,19 +35,7 @@ if (file_exists ( $dir_tmp )) { @@ -35,19 +35,7 @@ if (file_exists ( $dir_tmp )) {
35 error_reporting ( 0 ); 35 error_reporting ( 0 );
36 include "head.php"; 36 include "head.php";
37 ?> 37 ?>
38 -<style>  
39 -.btn-qrcode {  
40 - background-color: #fff;  
41 - color: #ddd;  
42 - margin: 5px;  
43 - width: 13px;  
44 - position: absolute;  
45 - top: 12px;  
46 - left: 28px;  
47 - text-align: center;  
48 - border-radius: 20%;  
49 -}  
50 -</style> 38 +
51 <body style="background-color: #eeeeee; padding-top: 90px;" id="topo"> 39 <body style="background-color: #eeeeee; padding-top: 90px;" id="topo">
52 <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation"> 40 <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
53 <div class="container-fluid"> 41 <div class="container-fluid">
@@ -88,7 +76,8 @@ include &quot;head.php&quot;; @@ -88,7 +76,8 @@ include &quot;head.php&quot;;
88 </nav> 76 </nav>
89 <nav class="navbar-fixed-bottom"> 77 <nav class="navbar-fixed-bottom">
90 <div class="container-fluid hidden"> 78 <div class="container-fluid hidden">
91 - <div class="jumbotron" id="jumbotron" style="background: rgb(255, 255, 255); background: rgba(255, 255, 255, 0.8); "> 79 + <div class="jumbotron" id="jumbotron"
  80 + style="background: rgb(255, 255, 255); background: rgba(255, 255, 255, 0.8);">
92 <!-- Template para mensagem do i3Geo --> 81 <!-- Template para mensagem do i3Geo -->
93 <ul class="list-inline"> 82 <ul class="list-inline">
94 <li><img class="pull-left" src='../imagens/i3Geo_bigTransp.png' 83 <li><img class="pull-left" src='../imagens/i3Geo_bigTransp.png'
@@ -109,11 +98,11 @@ include &quot;head.php&quot;; @@ -109,11 +98,11 @@ include &quot;head.php&quot;;
109 <div class="cartao {{{fa}}} col-xs-12 center-block" 98 <div class="cartao {{{fa}}} col-xs-12 center-block"
110 style="width: 260px; min-width: 260px; max-width: 260px;"> 99 style="width: 260px; min-width: 260px; max-width: 260px;">
111 <div class="panel panel-default"> 100 <div class="panel panel-default">
112 - <div class="panel-body" style="max-height: 250px;">  
113 - <div class="thumbnail" role="button" style="height: 90px;" data-toggle="quadroQrcode"  
114 - data-url="{{{href}}}">  
115 - <img class="img-rounded" style="height: 100%; width: 100%" src="imagens/{{{img}}}" /> <i  
116 - class="fa fa-qrcode btn-qrcode pull-right"></i> 101 + <div class="panel-body" style="max-height: 270px;">
  102 + <div class="thumbnail" role="button" style="height: 90px;" >
  103 + <a target="{{{target}}}" href="{{{href}}}">
  104 + <img class="img-rounded" style="height: 100%; width: 100%" src="imagens/{{{img}}}" />
  105 + </a>
117 </div> 106 </div>
118 <h4>{{{titulo}}}</h4> 107 <h4>{{{titulo}}}</h4>
119 <div class="hidden-xs" style="overflow: auto; height: 200px;"> 108 <div class="hidden-xs" style="overflow: auto; height: 200px;">
@@ -122,8 +111,18 @@ include &quot;head.php&quot;; @@ -122,8 +111,18 @@ include &quot;head.php&quot;;
122 </div> 111 </div>
123 <div class="panel-footer text-right" 112 <div class="panel-footer text-right"
124 style="padding: 0px; padding-right: 15px; border: 0px; background-color: white;"> 113 style="padding: 0px; padding-right: 15px; border: 0px; background-color: white;">
125 - <a class="btn btn-primary" href="{{{href}}}" role="button" target="{{{target}}}"> {{{abrir}}}  
126 - </a> 114 + <div class="row center-block">
  115 + <div class="col-xs-6" style="line-height: 3.5;text-align: left;">
  116 + <a role="button" data-toggle="quadroQrcode" data-url="{{{href}}}" class="btn btn-primary btn-fab btn-fab-mini" href="#"> <span
  117 + class="glyphicon glyphicon-qrcode" aria-hidden="true"></span>
  118 + </a>
  119 + </div>
  120 + <div class="col-xs-6" >
  121 + <a class="btn btn-primary" href="{{{href}}}" role="button" target="{{{target}}}">
  122 + {{{abrir}}} </a>
  123 + </div>
  124 +
  125 + </div>
127 </div> 126 </div>
128 </div> 127 </div>
129 </div> 128 </div>
@@ -132,7 +131,7 @@ include &quot;head.php&quot;; @@ -132,7 +131,7 @@ include &quot;head.php&quot;;
132 style="width: 260px; min-width: 260px; max-width: 260px;"> 131 style="width: 260px; min-width: 260px; max-width: 260px;">
133 <div class="panel panel-default"> 132 <div class="panel panel-default">
134 <div class="panel-body"> 133 <div class="panel-body">
135 - <a class="twitter-timeline tline" href="" data-widget-id="288061915689787392" height="267">Tweets 134 + <a class="twitter-timeline tline" href="" data-widget-id="288061915689787392" height="289">Tweets
136 @i3Geo</a> 135 @i3Geo</a>
137 </div> 136 </div>
138 </div> 137 </div>
@@ -141,7 +140,7 @@ include &quot;head.php&quot;; @@ -141,7 +140,7 @@ include &quot;head.php&quot;;
141 style="width: 260px; min-width: 260px; max-width: 260px;"> 140 style="width: 260px; min-width: 260px; max-width: 260px;">
142 <div class="panel panel-default"> 141 <div class="panel panel-default">
143 <div class="panel-body"> 142 <div class="panel-body">
144 - <a class="twitter-timeline htag" href="" data-widget-id="643417277208133633" height="267">i3geo 143 + <a class="twitter-timeline htag" href="" data-widget-id="643417277208133633" height="289">i3geo
145 Tweets</a> 144 Tweets</a>
146 </div> 145 </div>
147 </div> 146 </div>
@@ -227,7 +226,7 @@ include &quot;head.php&quot;; @@ -227,7 +226,7 @@ include &quot;head.php&quot;;
227 $('[data-toggle="quadroQrcode"]').popover({ 226 $('[data-toggle="quadroQrcode"]').popover({
228 html: true, 227 html: true,
229 placement: "auto", 228 placement: "auto",
230 - trigger: "click focus", 229 + trigger: "focus",
231 content: function(){ 230 content: function(){
232 var urlqr = "../pacotes/qrcode/php/qr_img.php?host=" + window.location.host + "&u=" + $(this).attr("data-url"); 231 var urlqr = "../pacotes/qrcode/php/qr_img.php?host=" + window.location.host + "&u=" + $(this).attr("data-url");
233 return "<a title='click' href='"+ $(this).attr("data-url") +"'><img style='width:200px; height: 200px;' src='" + urlqr + "' '></a>"; 232 return "<a title='click' href='"+ $(this).attr("data-url") +"'><img style='width:200px; height: 200px;' src='" + urlqr + "' '></a>";
mapas/index.php
@@ -51,8 +51,6 @@ include &quot;../init/head.php&quot;; @@ -51,8 +51,6 @@ include &quot;../init/head.php&quot;;
51 </h4> 51 </h4>
52 </div> 52 </div>
53 <div class="list-group-separator"></div> 53 <div class="list-group-separator"></div>
54 -  
55 -  
56 </script> 54 </script>
57 <body style="background-color: #eeeeee; padding-top: 55px;" id="topo" data-spy="scroll" data-target="#indiceSpy" data-offset="80"> 55 <body style="background-color: #eeeeee; padding-top: 55px;" id="topo" data-spy="scroll" data-target="#indiceSpy" data-offset="80">
58 <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation"> 56 <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">