gem 'piwik_analytics'
gem 'httpclient'
+gem 'themes_for_rails'
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.8)
+ themes_for_rails (0.5.1)
+ rails (>= 3.0.0)
therubyracer (0.12.0)
libv8 (~> 3.16.14.0)
ref
sass
sass-rails (~> 3.2.0)
sqlite3
+ themes_for_rails
therubyracer
twitter-bootstrap-rails
uglifier (>= 1.0.3)
around_filter :thread_with_api_token, :except => [:render_exception, :render_not_found]
before_filter :find_object_by_uuid, :except => [:index, :render_exception, :render_not_found]
before_filter :check_user_agreements, :except => [:render_exception, :render_not_found]
+ theme :select_theme
begin
rescue_from Exception,
end
true
end
+
+ def select_theme
+ return Rails.configuration.arvados_theme
+ end
end
<%= yield :js %>
<% end %>
<style>
- body {
- padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
+ .container {
+ padding-top: 60px; /* 60px to make the container go all the way to the
+ bottom of the topbar */
}
@media (max-width: 979px) { body { padding-top: 0; } }
<%= yield :css %>
-<% content_for :head do %>
- <style>
+<% content_for :css do %>
.dash-list {
padding: 9px 0;
}
.daxalert {
overflow: hidden;
}
- </style>
<% end %>
<div class="container-fluid">
config.activation_contact_link = 'mailto:info@arvados.org'
config.arvados_docsite = 'http://doc.arvados.org'
+
+ config.arvados_theme = 'default'
end
config.activation_contact_link = 'mailto:info@arvados.org'
config.arvados_docsite = 'http://doc.arvados.org'
+
+ config.arvados_theme = 'default'
end
config.activation_contact_link = 'mailto:info@arvados.org'
config.arvados_docsite = 'http://doc.arvados.org'
+
+ config.arvados_theme = 'default'
end
ArvadosWorkbench::Application.routes.draw do
+ themes_for_rails
+
resources :user_agreements
post '/user_agreements/sign' => 'user_agreements#sign'
get '/user_agreements/signatures' => 'user_agreements#signatures'