Permalink
Browse files

Merge branch 'master' of github.com:mde/geddy

  • Loading branch information...
2 parents 7607ab1 + 43ff61a commit 83427acc96a8c744359141e3012e30c9c2b7d813 @mde mde committed Feb 8, 2012
Showing with 15 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +3 −3 examples/todo_app/app/views/todos/index.html.ejs
  3. +11 −0 examples/todo_app/public/css/style.css
View
@@ -10,3 +10,4 @@ spec/browser/autogen_suite.js
node_modules
tmtags
*.DS_Store
+examples/todo_app/log/*
@@ -1,12 +1,12 @@
<div class="hero-unit">
- <h1>To Do List</h1>
+ <h2>To Do List</h2>
<a href="/todos/add" class="btn pull-right">Create a new To Do</a></p>
</div>
<% if (todos.length) { %>
-<div class="row todo-item">
<% for (var i in todos) { %>
+ <div class="row todo-item">
<div class="span8"><h3><a href="/todos/<%= todos[i].id; %>"><%= todos[i].title; %></a></h3></div>
<div class="span4"><h3><i class="icon-list-alt"></i><%= todos[i].status; %></h3></div>
+ </div>
<% } %>
-</div>
<% } %>
@@ -25,6 +25,10 @@ body {
margin-top: 20px;
}
+.todo-item {
+ margin-bottom: 20px;
+}
+
.todo-item div {
background: white;
border-bottom: 2px solid #ccc;
@@ -37,3 +41,10 @@ body {
.todo-item div h3 i {
margin: 5px;
}
+
+@media (max-width:480px) {
+ .hero-unit .pull-right {
+ float: none;
+ margin-top: 10px;
+ }
+}

0 comments on commit 83427ac

Please sign in to comment.