This file contains hidden or 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
def edit | |
@fluxo = Fluxo.all | |
@passo_fluxos = PassoFluxo.find_all_by_fluxo_id(params[:fluxo_id]) | |
@passo_fluxos = @passo_fluxos.collect { |p| [p.descricao, p.fluxo_id] } | |
@proximo_passo_fluxo = ProximoPassoFluxo.new | |
fluxos = Fluxo.find(:all, :order => "descricao ASC").map{|fluxo| [fluxo.descricao, fluxo.id]} | |
@fluxo_origem = fluxos | |
@fluxo_destino = fluxos | |
end |
This file contains hidden or 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
<html> | |
<head> | |
<%= javascript_include_tag "rotator","jquery-rails","jquery", "jquery.galleriffic", "jquery.opacityrollover" %> | |
<%= stylesheet_link_tag "s1", "s2", "some", "galleriffic-2" %> | |
<script type="text/javascript"> | |
jQuery(document).ready(function($) { | |
// We only want these styles applied when javascript is enabled | |
$('div.navigation').css({'width' : '300px', 'float' : 'left'}); | |
$('div.content').css('display', 'block'); |
This file contains hidden or 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
var aTimer; | |
var bTimer; | |
var current_page; | |
// JavaScript Document | |
/* | |
Monta o layout |
This file contains hidden or 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
011-04-04T18:01:58-07:00 app[web.1]: | |
2011-04-04T18:01:58-07:00 app[web.1]: Started GET "/images/admin/navigation_background.gif" for 187.18.132.135 at Mon Apr 04 18:01:58 -0700 2011 | |
2011-04-05T01:01:58+00:00 heroku[router]: GET high-robot-954.heroku.com/images/admin/navigation_background.gif dyno=web.1 queue=0 wait=0ms service=3ms bytes=922 | |
2011-04-04T18:01:58-07:00 app[web.1]: | |
2011-04-04T18:01:58-07:00 app[web.1]: ActionController::RoutingError (No route matches "/images/admin/navigation_background.gif"): | |
2011-04-04T18:01:58-07:00 app[web.1]: | |
2011-04-04T18:01:58-07:00 app[web.1]: | |
2011-04-04T18:01:58-07:00 app[web.1]: | |
2011-04-05T01:01:58+00:00 heroku[router]: GET high-robot-954.heroku.com/images/admin/navigation_tabs.png dyno=web.1 queue=0 wait=0ms service=5ms bytes=922 | |
2011-04-05T01:01:58+00:00 heroku[router]: GET high-robot-954.heroku.com/images/admin/navigation_shadow.png dyno=web.1 queue=0 wait=0ms service=5ms bytes=922 |
This file contains hidden or 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
2011-04-04T10:39:54-07:00 app[web.1]: from /app/.bundle/gems/ruby/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:216:in `require_dependency' | |
2011-04-04T10:39:54-07:00 app[web.1]: from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.3/lib/rails/engine.rb:138:in `eager_load!' | |
2011-04-04T10:39:54-07:00 app[web.1]: from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.3/lib/rails/engine.rb:137:in `each' | |
2011-04-04T10:39:54-07:00 app[web.1]: from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.3/lib/rails/engine.rb:137:in `eager_load!' | |
2011-04-04T10:39:54-07:00 app[web.1]: from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.3/lib/rails/engine.rb:135:in `each' | |
2011-04-04T10:39:54-07:00 app[web.1]: from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.3/lib/rails/engine.rb:135:in `eager_load!' | |
2011-04-04T10:39:54-07:00 app[web.1]: from /app/.bundle/gems/ruby/1.8/gems/railties-3.0.3/lib/rails/application.rb:108:in `eager_load!' | |
2011-04-04T10:39:54-07:00 app[web.1]: from /app/.bundle/gems/ruby/1.8/gems/railti |
This file contains hidden or 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
<html> | |
<head> | |
<%= javascript_include_tag "rotator", "jquery-rails", "jquery" %> | |
<%= stylesheet_link_tag "rotator", "s1", "s2" %> | |
</head> | |
<body> | |
<div class="main_iamge"> |
This file contains hidden or 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
<html> | |
<head> | |
<%= javascript_include_tag "rotator", "jquery-rails", "jquery" %> | |
<%= stylesheet_link_tag "rotator", "s1", "s2" %> | |
</head> | |
<body> | |
<div class="main_page"> |
This file contains hidden or 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
<html> | |
<head> | |
<%= javascript_include_tag "rotator", "jquery-rails", "jquery" %> | |
<%= stylesheet_link_tag "rotator", "s1", "s2" %> | |
</head> | |
<body> | |
<div class="main_page"> |
This file contains hidden or 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
class GalleryPhoto < ActiveRecord::Base | |
belongs_to :gallery | |
has_attached_file :photo, | |
:styles => { :small => ["150", :png], :large => ["500", :png], :very_large => ['750x500>', :png] }, |
This file contains hidden or 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
<html> | |
<head> | |
<%= javascript_include_tag "rotator", "jquery-rails", "jquery" %> | |
<%= stylesheet_link_tag "rotator", "s1", "s2" %> | |
</head> | |
<body> | |
<div class="main_page"> |
NewerOlder