bottlerocket 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,48 +1,10 @@
1
- body {}
2
- label { font-weight: bold; }
3
- fieldset { padding:0 1.4em 1.4em 1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
4
- legend { font-weight: bold; font-size:1.2em; margin-top:-0.2em; margin-bottom:1em; }
5
-
6
- fieldset, #IE8#HACK { padding-top:1.4em; }
7
- legend, #IE8#HACK { margin-top:0; margin-bottom:0; }
8
- input[type=text], input[type=password], input[type=url], input[type=email],
9
- input.text, input.title,
10
- textarea {
11
- background-color:#fff;
12
- border:1px solid #bbb;
13
- color:#000;
1
+ body {
2
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
3
+ padding: 20px;
14
4
  }
15
- input[type=text]:focus, input[type=password]:focus, input[type=url]:focus, input[type=email]:focus,
16
- input.text:focus, input.title:focus,
17
- textarea:focus {
18
- border-color:#666;
19
- }
20
- select { background-color:#fff; border-width:1px; border-style:solid; }
21
-
22
- input[type=text], input[type=password], input[type=url], input[type=email],
23
- input.text, input.title,
24
- textarea, select {
25
- margin:0.5em 0;
26
- }
27
-
28
- input.text,
29
- input.title { width: 300px; padding:5px; }
30
- input.title { font-size:1.5em; }
31
- textarea { width: 390px; height: 250px; padding:5px; }
32
- form.inline { line-height:3; }
33
- form.inline p { margin-bottom:0; }
34
-
35
- .error,
36
- .alert,
37
- .notice,
38
- .success,
39
- .info { padding: 0.8em; margin-bottom: 1em; border: 2px solid #ddd; }
40
-
41
- .error, .alert { background: #fbe3e4; color: #8a1f11; border-color: #fbc2c4; }
42
- .notice { background: #fff6bf; color: #514721; border-color: #ffd324; }
43
- .success { background: #e6efc2; color: #264409; border-color: #c6d880; }
44
- .info { background: #d5edf8; color: #205791; border-color: #92cae4; }
45
- .error a, .alert a { color: #8a1f11; }
46
- .notice a { color: #514721; }
47
- .success a { color: #264409; }
48
- .info a { color: #205791; }
5
+ h1 { font-size: 24px; margin-bottom: 20px; }
6
+ label { display: block; font-size: 20px;}
7
+ ul li { list-style-type: none; margin-bottom: 20px; }
8
+ form label { display: block; margin-bottom: 3px; }
9
+ input[type="text"] { width: 200px; padding: 3px; }
10
+ section#content { width: 600px; margin: 0 auto; }
@@ -1,4 +1,3 @@
1
1
  %h2 Edit
2
- %h3 Blah
3
2
  - @entity.attributes.each do |key, value|
4
3
  = key
@@ -5,4 +5,7 @@
5
5
  - entity.attributes.each do |label, value|
6
6
  %label= label.humanize
7
7
  %span.value
8
- &= value
8
+ &= value
9
+ %a{:href => '/admin/' + @content_type.title.downcase + '/new'}
10
+ Create new
11
+ = @content_type.title.singularize.downcase
@@ -7,5 +7,4 @@
7
7
  = label_tag field
8
8
  = text_field_tag "entity[#{field}]", :value => @entity.attributes[field]
9
9
  %li
10
- = submit_tag "Save #{@content_type.title}"
11
-
10
+ = submit_tag "Save #{@content_type.title.singularize.downcase}"
@@ -2,7 +2,7 @@
2
2
  %html{:lang => "en"}
3
3
  %head
4
4
  %meta{:charset => "utf-8"}
5
- /[if IE]
5
+ /[if lt IE9]
6
6
  %script{:src => "http://html5shiv.googlecode.com/svn/trunk/html5.js"}
7
7
  %title Bottlerocket
8
8
  %link{:rel => "stylesheet", :href => "/admin/stylesheets/reset.css"}
@@ -11,4 +11,3 @@
11
11
  %body{:id => @page_id || ''}
12
12
  %section#content
13
13
  = yield
14
-
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bottlerocket
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.8
5
+ version: 0.0.9
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brett Goulder