mirror of
https://github.com/fspc/bike-database.git
synced 2025-02-23 01:23:24 -05:00
Louis | fixes some UI issues
This commit is contained in:
parent
9f5f4d540d
commit
7847eca423
@ -4,7 +4,7 @@ Bike-db is an open source project that aims to helpcommunity bicycle projects tr
|
||||
|
||||
Bike-db is a Ruby on Rails project. The database used is PostGres.
|
||||
|
||||
An instance can be seen running at http://secret-earth-4230.herokuapp.com/
|
||||
An instance can be seen running at http://recyclery-tracker.herokuapp.com
|
||||
|
||||
The storyboard / feature list is at https://trello.com/b/ZCZ9sThH/bike-db-app
|
||||
|
||||
|
28
README.rdoc
28
README.rdoc
@ -1,28 +0,0 @@
|
||||
== README
|
||||
|
||||
This README would normally document whatever steps are necessary to get the
|
||||
application up and running.
|
||||
|
||||
Things you may want to cover:
|
||||
|
||||
* Ruby version
|
||||
|
||||
* System dependencies
|
||||
|
||||
* Configuration
|
||||
|
||||
* Database creation
|
||||
|
||||
* Database initialization
|
||||
|
||||
* How to run the test suite
|
||||
|
||||
* Services (job queues, cache servers, search engines, etc.)
|
||||
|
||||
* Deployment instructions
|
||||
|
||||
* ...
|
||||
|
||||
|
||||
Please feel free to use a different markup language if you do not plan to run
|
||||
<tt>rake doc:app</tt>.
|
@ -1,17 +1,19 @@
|
||||
<h2>Sign in</h2>
|
||||
|
||||
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
||||
<div><%= f.label :email %><br />
|
||||
<%= f.email_field :email, autofocus: true %></div>
|
||||
|
||||
<div><%= f.label :password %><br />
|
||||
<%= f.password_field :password, autocomplete: "off" %></div>
|
||||
|
||||
<% if devise_mapping.rememberable? -%>
|
||||
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
|
||||
<% end -%>
|
||||
|
||||
<div><%= f.submit "Sign in" %></div>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
<div class="container">
|
||||
<h2>Sign in</h2>
|
||||
|
||||
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
||||
<div><%= f.label :email %><br />
|
||||
<%= f.email_field :email, autofocus: true %></div>
|
||||
|
||||
<div><%= f.label :password %><br />
|
||||
<%= f.password_field :password, autocomplete: "off" %></div>
|
||||
|
||||
<% if devise_mapping.rememberable? -%>
|
||||
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
|
||||
<% end -%>
|
||||
|
||||
<div><%= f.submit "Sign in" %></div>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
</div>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title><%= content_for?(:title) ? yield(:title) : "Bicycle Project Tracker" %></title>
|
||||
<title><%= content_for?(:title) ? yield(:title) : "Bikes & Clients" %></title>
|
||||
<%= csrf_meta_tags %>
|
||||
<%= stylesheet_link_tag "application", :media => "all", "data-turbolinks-track" => true %>
|
||||
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<%= link_to "Bicycle Projects", root_path, :class=>"navbar-brand" %>
|
||||
<%= link_to "Bikes & Clients", root_path, :class=>"navbar-brand" %>
|
||||
</div>
|
||||
|
||||
<div class="navbar-collapse collapse navbar-responsive-collapse" id='collapse-1'>
|
||||
|
@ -1,5 +1,10 @@
|
||||
.container
|
||||
%h1 Bicycle Data Tracker
|
||||
%h1 Bike & Client Tracker
|
||||
- if current_user
|
||||
= link_to "Sign out", destroy_user_session_path, method: :delete
|
||||
- else
|
||||
= link_to "Sign in", new_user_session_path
|
||||
%br
|
||||
= link_to "Bikes", bikes_path
|
||||
%br
|
||||
= link_to "Volunteers", volunteers_path
|
||||
= link_to "Clients", clients_path
|
||||
|
Loading…
x
Reference in New Issue
Block a user