Displaying 20 results from an estimated 110 matches similar to: "[PATCH server] Cloud UI V1 (readonly)."
2009 May 27
1
[PATCH server] UI tweaks for cloud
Initial styling for the cloud, added a few images
Signed-off-by: Jeremy Perry <jeremy.perry at redhat.com>
---
src/app/views/cloud/instance/index.rhtml | 2 +-
src/app/views/layouts/cloud/cloud.rhtml | 9 +-
src/public/images/mystery_cloud2.png | Bin 0 -> 1984 bytes
src/public/images/tab_bg.png | Bin 0 -> 174 bytes
src/public/stylesheets/cloud/layout.css |
2009 Jun 29
2
One more fix
This resend includes the rebase, but fixes a problem I just noticed with nil/empty checks.
2009 Jun 29
2
Resend of Cloud UI/service patches
This is a resend of the 2-patch series from a week or so ago, needed to be rebased due to some commits on next
2009 Jun 22
2
Patch series for Cloud Vm Actions
The following two patches should be applied in the order:
* [PATCH server] Add svc_vm_actions method to VmService.
* [PATCH server] Cloud UI layer to initiate actions on vms.
The service layer patch should work fine on its own (and not break
anything), but cloud patch relies on service being there.
2009 Jun 29
3
[PATCH server] UI for accumulated uptime for VMs.
There's still a problem with this working on the cloud side, but that can be resolved in a subsequent commit.
---
src/app/controllers/pool_controller.rb | 2 +-
src/app/controllers/resources_controller.rb | 7 ++++++-
src/app/controllers/smart_pools_controller.rb | 5 ++---
src/app/helpers/application_helper.rb | 14 ++++++++++++++
src/app/models/vm.rb
2006 Aug 11
0
SQL sort
in my list action, I setup the sort parameters as folows :
..
sort = case @params[''sort'']
when "login" then "login DESC"
when "first_name" then "first_name DESC"
when "last_name" then "last_name DESC"
end
...
to be used in a ''sort_link_helper''
2006 Aug 01
3
paginate, search, sort with ajax problem
hello I hope somebody can help me figure this out.
found this great tutorial at http://dev.nozav.org/rails_ajax_table.html.
got it working except for one thing.
I can''t seem to make the pagination work. The link_to_remote defined in
the helper is pointing to the wrong url.
I have set up things like so:
defined a search method in de project_controller located in
apps/admin/project.
2006 Aug 16
0
sort_link_helper , sorting on date
I am using this helper to sort my table colums, no problem sorting on
string but how can I sort a date colum ( in my DB, )
user_helper.rb ----------------------
def sort_link_helper(text, param)
key = param
key += "_reverse" if @params[:sort] == param
options = {
:url => {:action => ''list'', :params => @params.merge({:sort =>
key, :page =>
2009 Jul 06
0
[PATCH server] UI for accumulated uptime for VMs. (revised2)
This revised version of the patch incorporates jguiditta's sorting fix as well as some other changes required to make this work fully on the cloud UI side.
---
src/app/controllers/pool_controller.rb | 2 +-
src/app/controllers/resources_controller.rb | 4 +++-
src/app/controllers/smart_pools_controller.rb | 7 +++----
src/app/helpers/application_helper.rb | 14
2009 Jul 02
1
[PATCH server] UI for accumulated uptime for VMs. (revised)
This revised version of the patch incorporates jguidditta's sorting fix as well as some other changes required to make this work fully on the cloud UI side.
---
src/app/controllers/pool_controller.rb | 2 +-
src/app/controllers/resources_controller.rb | 4 +++-
src/app/controllers/smart_pools_controller.rb | 5 ++---
src/app/helpers/application_helper.rb | 14
2009 Jul 06
2
[PATCH server] UI for accumulated uptime for VMs. (revised3)
This revised version of the patch incorporates jguiditta's sorting fix as well as some other changes required to make this work fully on the cloud UI side.
---
src/app/controllers/pool_controller.rb | 2 +-
src/app/controllers/resources_controller.rb | 4 +++-
src/app/controllers/smart_pools_controller.rb | 7 +++----
src/app/helpers/application_helper.rb | 14
2007 May 05
3
[PATCH] [Xen-API] Patch for fixing the rtc/timeoffset entry
This patch rewrites the rtc/timeoffset entry so the VM''s record can be
retrieved with the Java xmlrpc library. If the entry is ''None'' it upsets
the xmlrpc parser. This fixes it, though maybe there''s a better place in
xend to place similar code.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
_______________________________________________
Xen-devel
2007 Mar 22
2
Inconsistent Invalid Argument Error
I have a view with a table that contains sortable links as headings.
Here is the code used to create these sortable links in the
application_helper:
module ApplicationHelper
def sort_link_helper(text, param)
key = param
key += "_reverse" if @params[:sort] == param
link_to(text, :controller => ''sales_orders'', :action => ''list'',
2007 Mar 16
1
sort_link_helper and cross-controller partials
Hello Rubyists,
I ran into a problem with sorting a table (rendered in a partial) using
the sort_link_helper methods after I have submitted data and re-rendered
the table through an AJAX request.
The setup is a follows:
The table is a shared partial of Controller1 and Controller2 accessible
via "shared/table". The AJAX''ed sorting using the sort helper works all
fine on
2006 Sep 06
3
url_for , controller routing error
I have an ''account_controller.rb'' in an ''admin'' module
I list the accounts with : http://0.0.0.0:3000/admin/accounts/list,
and get my table
trying to sort it, I use the follwoing sort_link_helper :
def sort_link_helper(text, param)
key = param
key += "_reverse" if @params[:sort] == param
options = {
:url =>
2009 May 26
1
[PATCH server] BUG #478726
Decreased default time notifications display to be 3 seconds.
Signed-off-by: Jason Guiditta <jguiditt at redhat.com>
---
src/public/javascripts/jquery.jgrowl.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/public/javascripts/jquery.jgrowl.js b/src/public/javascripts/jquery.jgrowl.js
index b803de8..1617be2 100644
--- a/src/public/javascripts/jquery.jgrowl.js
2009 Jun 29
0
[PATCH server] Add svc_vm_actions method to VmService.
Also includes a couple minor model changes to support better
error reporting.
This method was added so that a client could submit multiple
vms to the service layer in one call and get back appropriate
messages showing any failures without those failures also causing
the entire call to fail, or forcing the client to implement handling
(begin/rescue blocks) of these errors to continue through the
2009 Jun 16
1
[PATCH server] Fix errors in controller tests.
A bunch of controllers were not extending ActionController::TestCase,
and instead were just using the basic test/unit testcase, so we were
not getting some of the rails baked-in stuff.
Signed-off-by: Jason Guiditta <jguiditt at redhat.com>
---
src/test/functional/host_controller_test.rb | 2 +-
src/test/functional/nic_controller_test.rb | 2 +-
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
I've pulled out the no-longer-necessary remnants of the old way of handling auth and before_filters as well as fixing a couple bugs that had crept in along the way.
Unit test fixes for the refactoring will follow in a subsequent patch.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
src/app/controllers/application.rb | 46 ----------------
2010 Nov 30
2
ActionController::RoutingError Assistance
Hello everyone,
I can''t seem to figure out what I''m doing wrong on this test. I''m trying
to delete one of my models, criterion. All code can be found here,
please let me know if you need anything else! The rspec message is also
in there.
http://pastie.org/private/uaoexi6tmmsplsr3oj1a8w
Thank you!
Andrew Davis
--
Posted via http://www.ruby-forum.com/.