Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added a back button to ticket type group generation ticket

  • Loading branch information...
commit 984876c55ab1e3b928fc7c7b8a9ed27286b2d2ae 1 parent 8717063
Fabiano Almeida authored
6  app/views/ticket_type_groups/generate_ticket.html.erb
@@ -10,6 +10,12 @@
10 10
 <% end %>
11 11
 </div>
12 12
 
  13
+<div class="totem">
  14
+  <%= link_to place_totem_ticket_type_groups_path(params[:place_id], params[:totem_id]) do %>
  15
+    <div class="back"><span><%= t "model.back" %></span></div>
  16
+  <% end %>
  17
+</div>
  18
+
13 19
 <%= javascript_include_tag  'facebox', 'facebox-plugin', 'jquery.jclock' %>
14 20
 <script type="text/javascript" charset="utf-8">
15 21
    jQuery.clock();
29  public/stylesheets/application-external.css
@@ -148,6 +148,35 @@ img.logo {
148 148
   width: 600px;
149 149
 }
150 150
 
  151
+.totem .back {
  152
+  background: none repeat scroll 0 0 #00873B;
  153
+  border: 2px solid #FFFFFF;
  154
+  -moz-border-radius: 20px 20px 20px 20px;
  155
+  border-radius: 20px 20px 20px 20px;
  156
+  -moz-box-shadow: 3px 1px 15.9px #000000;
  157
+  box-shadow: 3px 1px 15.9px #000000;
  158
+  color: #FFFFFF;
  159
+  float: left;
  160
+  font-size: 50px;
  161
+  margin: 150px 10px 10px;
  162
+  padding: 20px 30px 10px;
  163
+  text-align: left;
  164
+  text-shadow: 2px 2px #1C8E49;
  165
+  width: 130px;
  166
+}
  167
+
  168
+.totem .back a:link    { color: #FFFFFF; text-decoration:none; }
  169
+.totem .back a:visited { color: #FFFFFF; text-decoration:none; }
  170
+.totem .back a:hover   { color: #FFFFFF; text-decoration:none; }
  171
+.totem .back a:active  { color: #FFFFFF; text-decoration:none; }
  172
+
  173
+div.back:hover {
  174
+  cursor: pointer;
  175
+  cursor: hand;
  176
+  box-shadow: 5px 5px 5px 5px #CCCCCC;
  177
+  -moz-box-shadow: 5px 5px 5px 5px #CCCCCC;
  178
+}
  179
+
151 180
 .totem .ticket_type_group {
152 181
     color: #D10000;
153 182
     float: right;

0 notes on commit 984876c

Please sign in to comment.
Something went wrong with that request. Please try again.