diff options
| author | hukl <contact@smyck.org> | 2009-04-13 18:09:47 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-04-13 18:09:47 +0200 |
| commit | 5930601b80ee8603c7cec99408c3bde89ef2861e (patch) | |
| tree | e9e4af8430b36187b82d10f05693769bf48b3cd5 | |
| parent | 53343abf58efd264720391d44309142551a9e122 (diff) | |
slight modifications
| -rw-r--r-- | app/views/nodes/edit.html.erb | 2 | ||||
| -rw-r--r-- | public/stylesheets/admin.css | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index 225e6ff..6a243a7 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | <%= link_to 'metadata', '#', :id => 'button', :class => "unselected" %> | 2 | <%= link_to 'metadata', '#', :id => 'button', :class => "unselected" %> |
| 3 | <%= link_to 'Preview', @node %> | 3 | <%= link_to 'Preview', @node %> |
| 4 | <%= link_to 'Publish', publish_node_path, :method => :put, :confirm => "Publish this draft?" %> | 4 | <%= link_to 'Publish', publish_node_path, :method => :put, :confirm => "Publish this draft?" %> |
| 5 | <%= link_to 'Diff revisions', :controller => :revisions, :action => :diff, :id => params[:id] %> | 5 | <%= link_to 'Revisions', :controller => :revisions, :action => :diff, :id => params[:id] %> |
| 6 | <% end %> | 6 | <% end %> |
| 7 | 7 | ||
| 8 | <div id="page_editor"> | 8 | <div id="page_editor"> |
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index b2a1f29..bd5c354 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css | |||
| @@ -49,7 +49,6 @@ a { | |||
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | input[type=text], textarea { | 51 | input[type=text], textarea { |
| 52 | width: 700px; | ||
| 53 | font-size: 12px; | 52 | font-size: 12px; |
| 54 | font-family: Helvetica; | 53 | font-family: Helvetica; |
| 55 | border: 1px solid #989898; | 54 | border: 1px solid #989898; |
| @@ -61,11 +60,12 @@ select { | |||
| 61 | } | 60 | } |
| 62 | 61 | ||
| 63 | input[type=text]#page_title { | 62 | input[type=text]#page_title { |
| 63 | width: 690px; | ||
| 64 | font-size: 14px; | 64 | font-size: 14px; |
| 65 | padding-top: 6px; | 65 | padding-top: 6px; |
| 66 | padding-bottom: 4px; | 66 | padding-bottom: 4px; |
| 67 | padding-left: 3px; | 67 | padding-left: 5px; |
| 68 | padding-right: 3px; | 68 | padding-right: 5px; |
| 69 | font-weight: bold; | 69 | font-weight: bold; |
| 70 | } | 70 | } |
| 71 | 71 | ||
| @@ -77,11 +77,13 @@ input[type=submit] { | |||
| 77 | 77 | ||
| 78 | textarea#page_abstract { | 78 | textarea#page_abstract { |
| 79 | height: 150px; | 79 | height: 150px; |
| 80 | width: 690px; | ||
| 80 | padding: 5px; | 81 | padding: 5px; |
| 81 | } | 82 | } |
| 82 | 83 | ||
| 83 | #page_editor textarea#page_body { | 84 | #page_editor textarea#page_body { |
| 84 | height: 600px; | 85 | height: 600px; |
| 86 | width: 700px; | ||
| 85 | } | 87 | } |
| 86 | 88 | ||
| 87 | select { | 89 | select { |
| @@ -93,7 +95,7 @@ table {} | |||
| 93 | tr {} | 95 | tr {} |
| 94 | 96 | ||
| 95 | td { | 97 | td { |
| 96 | padding-top: 5px; | 98 | padding-top: 10px; |
| 97 | padding-bottom: 5px; | 99 | padding-bottom: 5px; |
| 98 | padding-right: 10px; | 100 | padding-right: 10px; |
| 99 | } | 101 | } |
