4237 Commits

Author SHA1 Message Date
Brian Federle
e626291a34 Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that
interval instead of the default.

Conflicts:
	ui/scripts/ui/widgets/notifications.js
2012-07-24 15:30:57 -07:00
Brian Federle
d7d9b341c8 Notifications widget: support custom interval
If 'interval' attribute is passed in notification object, use that
interval instead of the default.

Conflicts:
	ui/scripts/ui/widgets/notifications.js
2012-07-24 15:30:47 -07:00
Brian Federle
8683fc4e05 Add tag UI support for VPC resource types:
-        Vpc,
-        NetworkACL,
-        StaticRoute
2012-07-24 15:26:59 -07:00
Brian Federle
5126ca95e6 Add tags to FW rule multi-edit 2012-07-24 15:26:27 -07:00
Brian Federle
bdc376d42f Fix tagger UI wrapping in some browsers 2012-07-24 15:26:17 -07:00
Brian Federle
f01f687601 Fix tag widget being appended to all dialogs 2012-07-24 15:26:09 -07:00
Brian Federle
c839cf68a6 Add tags to edit PF dialog 2012-07-24 15:25:57 -07:00
Brian Federle
87f0ec6796 Fix tag notification messages 2012-07-24 15:25:57 -07:00
Brian Federle
a59afac31f Add tag edit to LB rule 2012-07-24 15:25:57 -07:00
Brian Federle
c5dc569aaa multiEdit: Pass context to tagger widget 2012-07-24 15:25:56 -07:00
Brian Federle
e97c47b9ae Always make tags editable 2012-07-24 15:25:56 -07:00
Brian Federle
2fdf6837ec Pass projectId to listTags, when viewing a project resource 2012-07-24 15:25:13 -07:00
bfederle
ea35f48d7e Implement tags for project detail view 2012-07-24 15:23:58 -07:00
Brian Federle
003c62583c Add tags to FW rule multi-edit 2012-07-24 15:22:37 -07:00
Brian Federle
50322b4762 Fix tagger UI wrapping in some browsers 2012-07-24 15:22:37 -07:00
Pranav Saxena
ab6ef4bceb TAGS feature implementation throughout CloudStack UI 2012-07-24 15:07:43 -07:00
Brian Federle
2ec005c628 Fix tag widget being appended to all dialogs 2012-07-24 15:05:30 -07:00
Brian Federle
a924eb196f Fix tag notification messages 2012-07-24 12:24:25 -07:00
Brian Federle
06101ea27e Add tags to edit PF dialog 2012-07-24 12:24:25 -07:00
Brian Federle
17ac3a7e3e Add tag edit to LB rule 2012-07-24 12:24:24 -07:00
Brian Federle
53cc0a953d multiEdit: Pass context to tagger widget 2012-07-24 12:24:11 -07:00
Brian Federle
874536a768 Always make tags editable 2012-07-24 12:24:05 -07:00
Brian Federle
7a2be05c24 Pass projectId to listTags, when viewing a project resource 2012-07-24 12:23:57 -07:00
bfederle
8e1b8d1f56 Implement tags for project detail view 2012-07-24 12:23:45 -07:00
Brian Federle
e13a7a8387 Revert "CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI"
This was reverted, as another commit fixed the issue already:

commit 2b2e491f27a1485338557a775e5c21179a19b32b
Author: bfederle <bfederle@gmail.com>
Date:   Tue Jul 17 11:38:56 2012 -0700

    CS-15572: Fix page index for list view filters

This reverts commit 374be31b63f6ea0f835495933730358380745a56.
2012-07-24 11:56:11 -07:00
Pranav Saxena
5ba20b328d Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-25 00:06:39 +05:30
Alena Prokharchyk
766b7a2706 Merge branch 'master' into vpc
Conflicts:
	server/src/com/cloud/api/ApiResponseHelper.java
2012-07-23 16:38:58 -07:00
Brian Federle
642c667a75 Add tagger JS link 2012-07-23 15:18:36 -07:00
bfederle
64605e7703 UI: Add tag API call generator
Adds a helper to return an object to pass to the 'tagger' widget,
including all required data and action functions.

Syntax is as follows, just include anywhere were the tags widget is
supported:

tags: cloudStack.api.tags({
  resourceType: 'Project',
  contextId: 'projects'
})
2012-07-23 15:18:36 -07:00
bfederle
1c2780f233 Tag UI: Make sure data is passed to remove action 2012-07-23 15:18:36 -07:00
bfederle
39e1936c87 Fix tags widget overlap with long detail views 2012-07-23 15:18:36 -07:00
bfederle
5e94b0d12e Implement tag UI widget
Create UI for handling new tag API. This currently supports the detail view and multi-edit

To enable tags UI, add a 'tags' object to each detailView/multiEdit configuration:

tabs: {
...
details: {
...

tags: {
  actions: {
    add: function(args) {
      setTimeout(function() {
        args.response.success({
          notification: {
            desc: 'Add tags for instance',
            poll: testData.notifications.testPoll
          }
        });
      }, 500);
    },

    remove: function(args) {
      args.response.success({
        notification: {
          desc: 'Remove tags for instance',
          poll: testData.notifications.testPoll
        }
      });
    }
  },
  dataProvider: function(args) {
    args.response.success({
      data: [
        {
          id: '1',
          key: 'user',
          value: 'brian'
        },
        {
          id: '2',
          key: 'region',
          value: 'usa'
        }
      ]
    });
  }
}

...

Conflicts:
	ui/css/cloudstack3.css
	ui/scripts/ui/widgets/tagger.js
2012-07-23 15:18:36 -07:00
Pranav Saxena
018a243ca1 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack 2012-07-24 00:52:22 +05:30
Jessica Wang
2a822de5e0 cloudstack 3.0 UI - multiEdit widget - make headerFields hidden as default. 2012-07-20 16:13:03 -07:00
Jessica Wang
f3841b3b8f cloudstack 3.0 UI - VPC - add LB rule - fix a JS error "args.context.networks is undefined" when configure stickiness. 2012-07-20 16:10:35 -07:00
Jessica Wang
1381fa46e1 cloudstack 3.0 UI - listView widget - pass context from caller function. 2012-07-20 16:05:11 -07:00
Jessica Wang
9176d13246 cloudstack 3.0 UI - VPC - infrasture page - network service providers - add "VPC Virtual Router". 2012-07-20 15:59:05 -07:00
Jessica Wang
254c05813c cloudstack 3.0 UI - VPC - add zone wizard - enable VpcVirtualRouter element, enable VpcVirtualRouter provider for advanced zone. 2012-07-20 15:49:13 -07:00
Jessica Wang
dc847ed832 cloudstack 3.0 UI - VPC - tier - implement "Add VM to tier" action. 2012-07-20 15:44:45 -07:00
Jessica Wang
20db2e515b cloudstack 3.0 UI - VPC - add network offering dialog - when service(s) has VPC Virtual Router as provider: (1) conserve mode is set to unchecked and grayed out. (2) redundant router capability checkbox is set to unchecked and grayed out. (3) remove Firewall service, SecurityGroup service. 2012-07-20 14:28:20 -07:00
Jessica Wang
ee9074a175 cloudstack 3.0 UI - VPC - sync VPC UI from citrix-hosted repo to apache-hosted repo. 2012-07-20 14:12:53 -07:00
Brian Federle
152b17b7f3 Remove dummy VPC UI from networks section 2012-07-20 14:05:44 -07:00
bfederle
71bfeae487 Update VPC UI 2012-07-20 11:02:28 -07:00
bfederle
2b2e491f27 CS-15572: Fix page index for list view filters
This fixes an issue where the page index is not reset back 1 when
activating the search or filter functionality, causing truncation when
trying to scroll down to later pages.
2012-07-17 11:41:53 -07:00
Pranav Saxena
374be31b63 CS-15572 : StartIndex handled incorrectly when switching between the various Filter by options while listing ISOs in the UI 2012-07-13 12:32:38 +05:30
Brian Federle
50373b99d6 Detail view: Fix layout of text actions 2012-07-12 15:29:15 -07:00
Brian Federle
2a971d7c1b Detail view UI: Support for text action buttons
Currently, only icons are rendered on detail view actions. This change
adds support for showing a text label next to specified actions, which
has a button appearance. This is to allow certain actions to be more
visible, in the case where an icon isn't clear enough.

To make an action have a text label, add a 'textLabel' attribute to
the action properties:

editVpc: {
  label: 'Edit VPC',

  // textLabel property
  textLabel: 'label.configure',

  action: {
    ...
  }
}
2012-07-12 15:29:15 -07:00
Brian Federle
9b039d9a8d List view UI: Support for text action buttons
Currently, only icons are rendered on list view actions. This change
adds support for showing a text label next to specified actions, which
has a button appearance. This is to allow certain actions to be more
visible, in the case where an icon isn't clear enough.

To make an action have a text label, add a 'textLabel' attribute to
the action properties:

editVpc: {
  label: 'Edit VPC',

  // textLabel property
  textLabel: 'label.configure',

  action: {
   ...
  }
}
2012-07-12 13:46:19 -07:00
Hugo Trippaers
79c7da07ab Phase 1 of Nicira integration 2012-07-11 17:16:06 -07:00
Brian Federle
dd57e8bb38 VPC UI: CSS fixes
-Fix hover state for virtual router block -- should not have a
 highlight effect

-Add gray BG for multi-edit header area, for VPC PF/LB form

-Remove border around static NAT tier select
2012-07-11 14:04:56 -07:00