forked from bousquet/tableau
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: svn://code.creativi.st/gallery/trunk@9 22c876fd-090a-0410-8685-aeedfd4d70f8
- Loading branch information
creativistinc
committed
Feb 27, 2006
1 parent
4591507
commit 66bc672
Showing
12 changed files
with
118 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Copyright (c) 2006 Robert Bousquet | ||
|
||
Permission is hereby granted, free of charge, to any person | ||
obtaining a copy of this software and associated documentation | ||
files (the "Software"), to deal in the Software without | ||
restriction, including without limitation the rights to use, copy, | ||
modify, merge, publish, distribute, sublicense, and/or sell copies | ||
of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
<%= start_form_tag %> | ||
<div id="login"> | ||
<% if flash[:notice] %> | ||
<div id="errorExplanation"><h2><%= flash[:notice] %></h2></div> | ||
<% end %> | ||
<label for="user_login">Login</label> | ||
<%= text_field :user, :login %> | ||
<label for="user_password">Password</label> | ||
<%= password_field :user, :password %> | ||
<label> </label> | ||
<!--p id="signup_link"><%= link_to "Create an account", :controller=>"account", :action=>"signup" %></p--> | ||
<%= submit_tag 'Log in' %> | ||
<%= submit_tag 'Login' %> <%= link_to "Cancel", :controller=>"gallery", :action=>"list" %> | ||
</div> | ||
<%= end_form_tag %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
<%= start_form_tag %> | ||
<fieldset> | ||
<label for="album_title">Title</label> | ||
<%= text_field "album", "title" %> | ||
<label> </label> | ||
<%= submit_tag "Save" %> | ||
</fieldset> | ||
<h1>New Album</h1> | ||
<div id="photos"> | ||
<%= error_messages_for "album" %> | ||
<%= start_form_tag %> | ||
<label for="album_title">Title</label> | ||
<%= text_field "album", "title" %> | ||
<label> </label> | ||
<%= submit_tag "Save" %> <%= link_to "Cancel", :controller=>"gallery", :action=>"list" %> | ||
<%= end_form_tag %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
<h2>New Photo</h2> | ||
<h1>New Photo</h1> | ||
|
||
<div id="photos"> | ||
<%= error_messages_for "photo" %> | ||
<%= start_form_tag nil, :multipart=>true %> | ||
<fieldset> | ||
<label>Title</label> | ||
<%= text_field "photo", "title" %> | ||
<label>Photo</label> | ||
<%= file_field_tag "file" %> | ||
<label> </label> | ||
<%= submit_tag "Upload" %> | ||
</fieldset> | ||
<%= submit_tag "Upload" %> <%= link_to "Cancel", :controller=>"gallery", :action=>"list" %> | ||
<%= end_form_tag %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters