site name variable. cleanup settings variables
This commit is contained in:
parent
edc6f55a28
commit
78af462325
3 changed files with 12 additions and 25 deletions
|
@ -1,4 +1,3 @@
|
|||
<h2>Collections</h2>
|
||||
<div id="multipleimages">
|
||||
<% for collection in @collections %>
|
||||
<div class="thumb">
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>ImageGallery</title>
|
||||
<title><%= APP_CONFIG[:site_name] %></title>
|
||||
<%= yield :head %>
|
||||
<%= stylesheet_link_tag 'application' %>
|
||||
</head>
|
||||
|
@ -21,7 +21,7 @@
|
|||
<%= link_to 'Login', login_path %>
|
||||
<% end %>
|
||||
</div>
|
||||
<h1>ImageGallery</h1>
|
||||
<h1><%= APP_CONFIG[:site_name] %></h1>
|
||||
<form action="/albums" method="get" id="search">
|
||||
<input type="text" name="q" class="textfie.d"/>
|
||||
<input type="submit" value="Search" class="button" />
|
||||
|
|
|
@ -1,30 +1,18 @@
|
|||
development:
|
||||
site_name: Gallery
|
||||
admin_email: espen@inspired.no
|
||||
site_url: gallery.dev:3000
|
||||
photos_path: '/users/Espen/gallery/dev/originals/'
|
||||
thumbs_path: '/users/Espen/gallery/dev/thumbs/'
|
||||
site_name: Photos
|
||||
photos_path: '/photos/originals/'
|
||||
thumbs_path: '/photos/thumbs/'
|
||||
photos_path_public: '/files/'
|
||||
thumbs_path_public: '/thumbs/'
|
||||
thumb_width: 200
|
||||
thumb_height: 200
|
||||
production:
|
||||
site_name: 'Espen Antonsen photos'
|
||||
admin_email: espen@inspired.no
|
||||
site_url: photos.inspired.no
|
||||
photos_path: '/home/espen/photos/originals/'
|
||||
thumbs_path: '/home/espen/photos/thumbs/'
|
||||
site_name: Photos
|
||||
photos_path: '/photos/originals/'
|
||||
thumbs_path: '/photos/thumbs/'
|
||||
photos_path_public: '/files/'
|
||||
thumbs_path_public: '/thumbs/'
|
||||
thumb_width: 200
|
||||
thumb_height: 200
|
||||
test:
|
||||
site_name: Gallery
|
||||
admin_email: espen@inspired.no
|
||||
site_url: gallery.dev:3000
|
||||
photos_path: '/users/Espen/gallery/test/originals/'
|
||||
thumbs_path: '/users/Espen/gallery/test/thumbs/'
|
||||
site_name: Photos
|
||||
photos_path: '/photos/originals/'
|
||||
thumbs_path: '/photos/thumbs/'
|
||||
photos_path_public: '/files/'
|
||||
thumbs_path_public: '/thumbs/'
|
||||
thumb_width: 200
|
||||
thumb_height: 200
|
||||
thumbs_path_public: '/thumbs/'
|
Loading…
Reference in a new issue