Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commiting changes done during the Fragment UI rewrite, not finished yet
- Loading branch information
Samo Korosec
committed
Jan 23, 2008
1 parent
e39754d
commit 8a3b521
Showing
95 changed files
with
5,426 additions
and
51 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
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 |
---|---|---|
|
@@ -81,7 +81,6 @@ def create | |
|
||
def edit | ||
@block_link = BlockLink.find(params[:id]) | ||
|
||
end | ||
|
||
def update | ||
|
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
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,16 +1,3 @@ | ||
<%= error_messages_for 'fragment' %> | ||
|
||
<!--[form:fragment]--> | ||
<p><label for="fragment_position">Position</label><br/> | ||
<%= text_field 'fragment', 'position' %></p> | ||
|
||
<p><label for="fragment_created_at">Created at</label><br/> | ||
<%= datetime_select 'fragment', 'created_at' %></p> | ||
|
||
<p><label for="fragment_updated_at">Updated at</label><br/> | ||
<%= datetime_select 'fragment', 'updated_at' %></p> | ||
|
||
<p><label for="fragment_info">Info</label><br/> | ||
<%= text_field 'fragment', 'info' %></p> | ||
<!--[eoform:fragment]--> | ||
|
||
<div class="fragmentui"> | ||
Here comes a fragment. | ||
</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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<% @article.fragments.each do |frg| %> | ||
Fragment: <%= frg.id %><br/> | ||
|
||
<div class="fragmentui"> | ||
<%= link_to image_tag("/images/textblock-add.png", :alt => "add textblock", :title => "add textblock"), | ||
{ :controller => "textblocks", | ||
:action => "new", | ||
:rendersimple => "true", | ||
:article_id => @article.id, | ||
#:fragment_id => newinfragment | ||
}, | ||
:class => "linkicon", | ||
:popup => ['new_text', 'height=600,width=600,scrollbars=1'] -%> | ||
<%= link_to image_tag("/images/mediablock-add.png", :alt => "add mediablock", :title => "add mediablock"), | ||
{ :controller => "mediablocks", | ||
:action => "new", | ||
:rendersimple => "true", | ||
:article_id => @article.id, | ||
#:fragment_id => newinfragment | ||
}, | ||
:class => "linkicon", | ||
:popup => ['new_media', 'height=500,width=700,scrollbars=0'] -%> | ||
|
||
<br>Here Comes A Fragment <br> | ||
|
||
<% frg.block_links.each do |bl| %> | ||
Block Link ID: <%= bl.id %><br/ > | ||
<% end %> | ||
|
||
</div> | ||
<% end %> |
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
development: | ||
bucket_name: appname_development | ||
access_key_id: | ||
secret_access_key: | ||
|
||
test: | ||
bucket_name: appname_test | ||
access_key_id: | ||
secret_access_key: | ||
|
||
production: | ||
bucket_name: appname | ||
access_key_id: | ||
secret_access_key: |
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
Oops, something went wrong.