Skip to content

Commit

Permalink
Loads templates from external files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdev committed Apr 11, 2012
1 parent d07a562 commit 51efae5
Show file tree
Hide file tree
Showing 15 changed files with 508 additions and 340 deletions.
4 changes: 4 additions & 0 deletions app.rb
Expand Up @@ -62,6 +62,10 @@
File.read(File.join('js', 'backbone/routers', params[:file]))
end

get '/OGPLocator/js/backbone/templates/:file' do
File.read(File.join('js', 'backbone/templates', params[:file]))
end

get '/OGPLocator/img/:file' do
File.read(File.join('img', params[:file]))
end
12 changes: 6 additions & 6 deletions css/base.css
Expand Up @@ -11,11 +11,11 @@ html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 10
html, button, input, select, textarea { font-family: sans-serif; color: #222; }
body { margin: 0; font-size: 1em; line-height: 1.4; }

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }
::-moz-selection { background: transparent; color: #fff; text-shadow: none; }
::selection { background: transparent; color: #fff; text-shadow: none; }

a { color: #00e; }
a:visited { color: #551a8b; }
a:visited { color: transparent; }
a:hover { color: #06e; }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
Expand Down Expand Up @@ -91,13 +91,13 @@ body{ font:16px/26px Helvetica, Helvetica Neue, Arial; }
#header-container,
#footer-container,
#main aside{
background:#f16529;
background:transparent;
}

#title{ color:white; }

::-moz-selection { background: #f16529; color: #fff; text-shadow: none; }
::selection { background: #f16529; color: #fff; text-shadow: none; }
::-moz-selection { background: transparent; color: #fff; text-shadow: none; }
::selection { background: transparent; color: #fff; text-shadow: none; }

/* ==============
MOBILE: Menu
Expand Down
2 changes: 1 addition & 1 deletion css/style.css
Expand Up @@ -291,7 +291,7 @@ a:hover {text-decoration:underline; color:#C93B00;}
padding: 30px 0 0 32px;
}

#openbudget .two_columns .right div {
#openbudget .two_columns .right > div {
padding-bottom: 12px;
margin-bottom: 22px;
border-bottom: 1px solid rgba(0, 102, 153, 0.10);
Expand Down

0 comments on commit 51efae5

Please sign in to comment.