trinidad_sandbox_extension 0.4.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/Gemfile.lock +56 -0
- data/History.txt +6 -0
- data/README +27 -0
- data/git-hooks/post-commit +7 -0
- data/lib/trinidad_sandbox_extension.rb +24 -3
- data/lib/trinidad_sandbox_extension/app/helpers/{sandbox.rb → auth.rb} +20 -19
- data/lib/trinidad_sandbox_extension/app/helpers/context.rb +72 -0
- data/lib/trinidad_sandbox_extension/app/helpers/deploy.rb +106 -0
- data/lib/trinidad_sandbox_extension/app/helpers/view.rb +39 -0
- data/lib/trinidad_sandbox_extension/app/model/application_context.rb +48 -4
- data/lib/trinidad_sandbox_extension/app/public/css/sandbox.css +187 -0
- data/lib/trinidad_sandbox_extension/app/sandbox.rb +56 -39
- data/lib/trinidad_sandbox_extension/app/views/actions.html.haml +2 -2
- data/lib/trinidad_sandbox_extension/app/views/applications.html.haml +17 -0
- data/lib/trinidad_sandbox_extension/app/views/applications.xml.haml +13 -0
- data/lib/trinidad_sandbox_extension/app/views/deploy.html.haml +16 -0
- data/lib/trinidad_sandbox_extension/app/views/layout.html.haml +10 -6
- data/lib/trinidad_sandbox_extension/app/views/navigation.html.haml +10 -0
- data/spec/trinidad_sandbox_extension_spec.rb +12 -2
- data/trinidad-libs/trinidad-sandbox-extension.jar +0 -0
- data/trinidad_sandbox_extension.gemspec +16 -9
- metadata +52 -41
- data/lib/trinidad_sandbox_extension/app/public/css/main.css +0 -137
- data/lib/trinidad_sandbox_extension/app/views/app.html.haml +0 -8
- data/lib/trinidad_sandbox_extension/app/views/app.xml.haml +0 -11
- data/lib/trinidad_sandbox_extension/app/views/index.html.haml +0 -6
- data/lib/trinidad_sandbox_extension/app/views/index.xml.haml +0 -3
@@ -1,8 +0,0 @@
|
|
1
|
-
.application
|
2
|
-
%a(href = "#{app.self_path}" class="app_name")= app.name
|
3
|
-
= haml :actions, :locals => {:app => app}, :layout => false
|
4
|
-
- if app.parameters
|
5
|
-
#parameters
|
6
|
-
%ul
|
7
|
-
- app.parameters.each do |param_name|
|
8
|
-
%li= "#{param_name} => #{app.find_parameter(param_name)}"
|
@@ -1,11 +0,0 @@
|
|
1
|
-
%application
|
2
|
-
%name= app.name
|
3
|
-
%path= app.path
|
4
|
-
%available= app.available
|
5
|
-
%link(rel = "edit" href = "#{app.self_path}.xml")
|
6
|
-
- app.actions.each do |action|
|
7
|
-
%link(rel = "#{action[:rel]}" href = "#{action[:href]}.xml")
|
8
|
-
- if app.parameters
|
9
|
-
%context-parameters
|
10
|
-
- app.parameters.each do |param_name|
|
11
|
-
%parameter(name = "#{param_name}" value = "#{app.find_parameter(param_name)}")
|