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
init/head.php
... ... @@ -96,5 +96,17 @@ hr {
96 96 background-color: #3f51b5;
97 97 }
98 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 111 </style>
100 112 </head>
... ...
init/index.php
... ... @@ -35,19 +35,7 @@ if (file_exists ( $dir_tmp )) {
35 35 error_reporting ( 0 );
36 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 39 <body style="background-color: #eeeeee; padding-top: 90px;" id="topo">
52 40 <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
53 41 <div class="container-fluid">
... ... @@ -88,7 +76,8 @@ include &quot;head.php&quot;;
88 76 </nav>
89 77 <nav class="navbar-fixed-bottom">
90 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 81 <!-- Template para mensagem do i3Geo -->
93 82 <ul class="list-inline">
94 83 <li><img class="pull-left" src='../imagens/i3Geo_bigTransp.png'
... ... @@ -109,11 +98,11 @@ include &quot;head.php&quot;;
109 98 <div class="cartao {{{fa}}} col-xs-12 center-block"
110 99 style="width: 260px; min-width: 260px; max-width: 260px;">
111 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 106 </div>
118 107 <h4>{{{titulo}}}</h4>
119 108 <div class="hidden-xs" style="overflow: auto; height: 200px;">
... ... @@ -122,8 +111,18 @@ include &quot;head.php&quot;;
122 111 </div>
123 112 <div class="panel-footer text-right"
124 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 126 </div>
128 127 </div>
129 128 </div>
... ... @@ -132,7 +131,7 @@ include &quot;head.php&quot;;
132 131 style="width: 260px; min-width: 260px; max-width: 260px;">
133 132 <div class="panel panel-default">
134 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 135 @i3Geo</a>
137 136 </div>
138 137 </div>
... ... @@ -141,7 +140,7 @@ include &quot;head.php&quot;;
141 140 style="width: 260px; min-width: 260px; max-width: 260px;">
142 141 <div class="panel panel-default">
143 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 144 Tweets</a>
146 145 </div>
147 146 </div>
... ... @@ -227,7 +226,7 @@ include &quot;head.php&quot;;
227 226 $('[data-toggle="quadroQrcode"]').popover({
228 227 html: true,
229 228 placement: "auto",
230   - trigger: "click focus",
  229 + trigger: "focus",
231 230 content: function(){
232 231 var urlqr = "../pacotes/qrcode/php/qr_img.php?host=" + window.location.host + "&u=" + $(this).attr("data-url");
233 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 51 </h4>
52 52 </div>
53 53 <div class="list-group-separator"></div>
54   -
55   -
56 54 </script>
57 55 <body style="background-color: #eeeeee; padding-top: 55px;" id="topo" data-spy="scroll" data-target="#indiceSpy" data-offset="80">
58 56 <nav class="navbar navbar-fixed-top navbar-inverse" role="navigation">
... ...