Do some more twitter bootstrapping.
This commit is contained in:
parent
497f8e391b
commit
c64f91a545
5 changed files with 35 additions and 30 deletions
|
|
@ -2,16 +2,3 @@
|
||||||
@import "layout";
|
@import "layout";
|
||||||
//@import "big_form";
|
//@import "big_form";
|
||||||
@import "bootstrap_and_overrides";
|
@import "bootstrap_and_overrides";
|
||||||
|
|
||||||
// Gray background for page content
|
|
||||||
.content {
|
|
||||||
background-color: #eee;
|
|
||||||
padding: 20px;
|
|
||||||
margin: 0 -20px; /* negative indent the amount of the padding to maintain the grid system */
|
|
||||||
-webkit-border-radius: 0 0 6px 6px;
|
|
||||||
-moz-border-radius: 0 0 6px 6px;
|
|
||||||
border-radius: 0 0 6px 6px;
|
|
||||||
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.15);
|
|
||||||
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.15);
|
|
||||||
box-shadow: 0 1px 2px rgba(0,0,0,.15);
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="twelvevol">
|
<div class="span12">
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<%= link_to 'edit', edit_contact_path %>
|
<%= link_to 'edit', edit_contact_path %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="threecol show_picture">
|
<div class="span3 show_picture">
|
||||||
<img src="/images/dummy_buddy_l.png" />
|
<img src="/images/dummy_buddy_l.png" />
|
||||||
</div>
|
</div>
|
||||||
<div class="sixcol">
|
<div class="span6">
|
||||||
<span id="show_name"><%= @contact.firstname %> <%= @contact.lastname %></span>
|
<span id="show_name"><%= @contact.firstname %> <%= @contact.lastname %></span>
|
||||||
<br />
|
<br />
|
||||||
<span id="show_birthdate"><%= @contact.birth_date_string %></span>
|
<span id="show_birthdate"><%= @contact.birth_date_string %></span>
|
||||||
|
|
@ -34,5 +34,5 @@
|
||||||
<br />
|
<br />
|
||||||
...
|
...
|
||||||
</div>
|
</div>
|
||||||
<div class="threecol"> </div>
|
<div class="span3"> </div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,33 @@
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="span4 offset4 login">
|
<div class="span4 offset4">
|
||||||
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
|
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
|
||||||
<p><%= f.label :email %><br />
|
<fieldset>
|
||||||
<%= f.email_field :email %></p>
|
<div class="control-group">
|
||||||
|
<%= label_tag(:email, "Email", :class => "control-label") %>
|
||||||
|
<div class="controls"><%= f.email_field :email, :class => "input-xlarge" %></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<p><%= f.label :password %><br />
|
<div class="control-group">
|
||||||
<%= f.password_field :password %></p>
|
<%= label_tag(:password, "Password", :class => "control-label") %>
|
||||||
|
<div class="controls"><%= f.password_field :password, :class => "input-small" %></div>
|
||||||
<% if devise_mapping.rememberable? -%>
|
</div>
|
||||||
<p><%= f.check_box :remember_me %> <%= f.label :remember_me %></p>
|
|
||||||
<% end -%>
|
<% if devise_mapping.rememberable? -%>
|
||||||
|
<div class="control-group">
|
||||||
<p><%= f.submit "Sign in" %></p>
|
<div class="controls">
|
||||||
|
<label class="checkbox">
|
||||||
|
<%= check_box_tag(:remember_me) %>
|
||||||
|
Remember me
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<% end -%>
|
||||||
|
|
||||||
|
<div class="form-actions">
|
||||||
|
<%= f.submit("Sign in", :class => "btn btn-primary") %>
|
||||||
|
<%= render :partial => "devise/shared/links" %>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
<% end %>
|
<% end %>
|
||||||
<p id="login_links"><%= render :partial => "devise/shared/links" %></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
<span class="copyright">© 2012 <a href="http://tailorama.com/">Tailorama</a></span>
|
<span class="copyright">© 2012 <a href="http://tailorama.com/">Tailorama</a></span>
|
||||||
·
|
·
|
||||||
<span class="imprint"><a href="http://tailorama.de/impressum/">imprint</a></span>
|
<span class="imprint"><a href="http://tailorama.de/impressum/">Impressum</a></span>
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,9 @@
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
|
||||||
|
<![endif]-->
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title><%= content_for?(:title) ? yield(:title) : "Contact-o-Rama" %></title>
|
<title><%= content_for?(:title) ? yield(:title) : "Contact-o-Rama" %></title>
|
||||||
<meta name="description" content="The app for managing contacts. With Birthdays!">
|
<meta name="description" content="The app for managing contacts. With Birthdays!">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue