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