Commit Graph

50 Commits

Author SHA1 Message Date
Chris Meyers
9826012499 do not display tab tooltip in edit mode by default
related to #4387
2017-01-11 09:25:00 -05:00
Chris Meyers
fe896dbda5 permission tab disable for private credentials 2017-01-10 12:58:38 -05:00
Michael Abashian
54e08256ba Enabled ssh_key_unlock field for network credentials 2016-12-15 12:22:39 -05:00
Takao Fujiwara
dfee04050f Enhance some translatable strings for I18N
Now we replaced i18n.format with i18n.sprint and we can use
multiple %s but some html tags were left accidentally.

Signed-off-by: Takao Fujiwara <tfujiwar@redhat.com>
2016-11-18 21:39:59 +09:00
Takao Fujiwara
aebff5366e Update I18N patch under awx/ui to reflect pull request #3363
- Get rid of html tags and codes in translatable strings
- Replace i18n.format with i18n.sprintf to treat multiple %s
- Add translatable strings for login failures and "SIGN IN".
- Rename ansible-tower.pot to ansible-tower-ui.pot for backend pot

Signed-off-by: Takao Fujiwara <tfujiwar@redhat.com>
2016-11-17 17:49:39 +09:00
Leigh Johnson
3e94b83653 Fixes missing & poorly-resolved RBAC UI capabilities integrations, resolves #3806 & #3818 (#3836) 2016-11-02 10:56:21 -04:00
Leigh Johnson
d2ba01251f @NoIssue
Fixes incorrect i18n conflict resolutions.
2016-10-31 15:59:48 -04:00
Leigh Johnson
a49095bdbc Boolean / Smart Search (#3631)
* Part 1: building new search components

Directives: smart-search, column-sort, paginate
Service: QuerySet
Model: DjangoSearchModel

* Part 2: Implementing new search components, de-implementing old search
components

Remove old code:
	* tagSearch directive
	* old pagination strategy
	* old column sorting strategy
	* lookup

Add new directives to list/form generator:
	* smart-search,
	* paginate
	* column-sort

Connect $state + dataset resolution
	* upgrade ui-router lib to v1.0.0-beta3
	* Custom $urlMatcherFactory.type - queryset
	* Render lists, forms, related, lookups in named views
	* Provide html templates in list/form/lookup/related state definitions
	* Provide dataset through resolve block in state definitions

Update utilities
	* isEmpty filter
	* use async validation strategy in awlookup directive

* Part 3: State implementations (might split into per-module commits)

* Support optional state definition flag: squashSearchUrl. *_search params are only URI-encoded if squashSearchUrl is falsey.

* * Fix list badge counts
* Clear search input after search term(s) applied
* Chain of multiple search terms in one submission

* Hook up activity stream

* Hook up portal mode

* Fix pagination range calculations

* Hook up organization sub-list views

* Hook up listDefinition.search defaults

* Fix ng-disabled conditions reflecting RBAC access on form fields

* Fix actively-editing indicator in generated lists

* form generator - fix undefined span, remove dead event listeners

* wrap hosts/groups lists in a panel, fix groups list error

* Smart search directive: clear all search tags

* Search tags - ‘Clear All’ text - 12px
Search key - remove top padding/margin
Search key - reverse bolding of relationship fields / label, add commas
Search tags - remove padding-bottom
Lookup modal - “X” close button styled incorrectly
Lookup modal - List title not rendered
Lookup modal - 20px margin between buttons

* Portal Mode
Fix default column-sort on jobs list
Hide column-oort on job status column
Apply custom search bar sizes

* stateDefinition.factory

Return ES6 Promise instead of $q promise.
$q cannot be safely provided during module.config() phase
Some generated state trees (inventory / inventoryManage) need to be
reduced to one promise. Side-step issues caused by ui-router de-registering ALL registered states that match placeholder state name/url pattern.

e.g. inventories.lazyLoad() would de-register inventoryManage states if
a page refresh occured @ /#/inventories/**

* Combine generated state trees: inventories + inventoryManage
Hook up inventory sync schedule list/form add /form edit views

* Hook up system job schedule list/add/edit states

* Fix breadcrumb of generated states in /setup view
Fix typo in scheduler search prefix

* Remove old search system deritus from list definitions

* Fix breadcrumb definitions in states registered in app.js config block

* Transclude list action buttons in generated form lists

* Lookup Modal passes acceptance criterea:
Modal cancel/exit - don’t update form field’s ng-model
Modal save - do update form field's ng-model
Transclude generated list contents into <lookup-modal> directive
Lookup modal test spec

* Fix typo in merge conflict resolution

* Disable failing unit tests pending revision

* Integrate smart-search architechture into add-permissions modal

* use a semicolon delimiter instead of comma to avoid collision with django __in comparator

* Hook up Dashboard > Hosts states, update Dashboard Inventory/Project counts with new search filters

* Misc bug splat

Add 20px spacing around root ui-view
Fix missing closing div in related views
Remove dupe line in smart-search controller

* Remove defunct LookupHelper code

* Rebuild inventories list status tooltips on updates to dataset

Code cleanup - remove defunct modules
Remove LookupHelper / LookupInit code
Remove pre-RBAC permissions module

* Add mising stateTree / basePath properties to form definitions

* Resolve i18n conflicts in list and form generator
Freeze dependencies

* Integrate sockets

* Final bug splat:
fix jobs > job details and jobs > scheduled routing
fix mis-resolved merge conflicts
swap console.info for $log.debug
2016-10-28 14:28:06 -04:00
Takao Fujiwara
40b94a38a8 Enable message i18n with angular-gettext
Signed-off-by: Takao Fujiwara <tfujiwar@redhat.com>
2016-10-25 15:26:45 -07:00
John Mitchell
b0731181ff fix disabled add forms 2016-09-16 10:39:38 -04:00
John Mitchell
8cff8e4202 remove use of canEdit in favor of user capabilities 2016-09-13 13:46:44 -04:00
John Mitchell
6e653c29e0 ui implementation of crud-based ui hiding 2016-09-08 13:22:20 -04:00
Leigh Johnson
fc1ca378d1 Disable permissions tab in Credential > Edit form if Credential is private (#3288)
* disable permissions tab in credential > edit view if credential is private, resolves #3265

* add tooltip indicating why permissions tab is disabled if cred is private
2016-08-18 13:49:05 -04:00
Leigh Johnson
62e5defac3 remove aws ask at runtime prompt from cred form config, resolves #3055 (#3058) 2016-07-18 15:34:59 -04:00
Matthew Jones
9b49ff15bd Mass rename foreman -> satellite6
For end-user facing elements. We still maintain foreman for some
underlying logic needed by the modules
2016-06-15 11:16:15 -04:00
Bill Nottingham
9a1bcb3384 Update Credential popover help for network credentials, add some more verbiage to the 'Other' section.
re: #2252
2016-06-10 15:49:01 -04:00
Bill Nottingham
bcdc17dc06 Drop key hints, as they are redundant with the popovers.
re: #2249
2016-06-10 15:40:53 -04:00
Bill Nottingham
b24200245e Fix spelling 2016-06-08 17:08:35 -04:00
Bill Nottingham
1b21734ff3 Fix org tooltip on credential. 2016-06-08 15:31:27 -04:00
Michael Abashian
beb6be189c Made username/password/tenant_id/client_id/client_secret all optional when creating an Azure Resource Manager credential. 2016-06-01 17:07:33 -04:00
John Mitchell
763416725c update search widgets across ui 2016-06-01 15:01:09 -04:00
Ken Hoes
f5a0aba47b Updated audit items 2016-05-25 15:15:21 -04:00
Akita Noek
1d8f69c156 Split permissions list into two columns
One for user perms and one for team permissions

 #1986
2016-05-19 14:32:13 -04:00
Ken Hoes
6ca8b37614 Confirm/proceed action on right, cancel on left 2016-05-18 15:28:10 -04:00
Leigh
03bdf0b1aa Add aw-tool-tip directive to Form > Add disabled tabs, clean up forms 2016-05-12 09:26:54 -04:00
Jared Tabor
5218644f0b UX Audit fixes to Mgmt Jobs 2016-05-09 18:08:10 -04:00
Jared Tabor
8a1d06789b Fixing width of textarea fields
like extra vars/inv script
2016-05-09 18:08:10 -04:00
Michael Abashian
3dc59ae6db Added the ability to pass in ngChange with the subCheckbox form object. Separated the checkbox's ngDisabled from the parent form element. 2016-04-26 12:15:00 -04:00
Michael Abashian
ff78082b67 Added prompt-for checkboxes to certain fields on the job template forms 2016-04-25 15:26:58 -04:00
Jared Tabor
9a0363d913 Sat6, CloudForms, Network, and Azure_rm to the UI
Adding UI changes for RH Satellite6, RH CloudForms, Azure RM, and the new Network credentials and inventory sources.

Network Inventory on the UI

making host required for cloudforms and sat6

first commit of azure_rm

More Azure Credential form elements

Fixes to azure_rm after API merges

fixing network credential and new azure inv source
2016-04-22 16:06:07 -07:00
Michael Abashian
94c4591a3e Expanded awRequiredWhen to support an expression rather than looking at a truthy scope variable. 2016-04-18 11:09:12 -04:00
Jared Tabor
72ae8f46c9 Adding notifications into the UI 2016-04-12 12:55:00 -07:00
John Mitchell
d5fb4b306d fixes based on search tags permissions breakage 2016-04-11 15:02:35 -04:00
John Mitchell
b6d6fb556a configured rbac fro creds, jts, orgs, and invs 2016-04-08 11:52:31 -04:00
John Mitchell
f7f92f3725 working commit of cred ui fixes 2016-04-04 15:39:36 -04:00
AlanCoding
531c6afa58 further clarify OpenStack options, consolidate to one PopOver 2016-03-31 09:40:01 -04:00
AlanCoding
fa92b2e851 back out openstack_v3 options but retain v3 functionality 2016-03-30 16:20:20 -04:00
AlanCoding
f4b1de766d Adding OpenStack v3 cred type 2016-03-18 16:41:09 -04:00
Ken Hoes
c69534de14 Attached sub form work to source control form in projects.js, added title plus some styling
Added some breathing room at the bottom of the sub form
2016-02-25 08:02:47 -05:00
Jared Tabor
3fbbd4f234 Changing textarea input color
For textarea elements that don't get CodeMirror attached.
2016-02-11 22:31:20 -08:00
Jared Tabor
187c01e349 Restyling of textarea input fields
This mostly includes the Code Mirror instances as well as textarea fields on the credentials form. Also includes the styling of radio button for the variables textarea box.
2016-01-27 21:54:03 -08:00
jaredevantabor
f2bd700412 Merge pull request #640 from jaredevantabor/form-tabs
Changing accordions to tabs
2016-01-18 12:13:18 -08:00
Jared Tabor
6687b30177 Adding functionality for tabs on forms
this adds the functionality for the tabs, and removes the old code around accordions.
2016-01-17 17:48:47 -07:00
Michael Abashian
a33275684b List view CSS updates. This commit includes styling of list headers w/ badge. It also includes pagination styling along with some small bug fixes. This commit also removes the activity stream button from a lot of all of the list views per the spec. 2016-01-13 13:15:53 -05:00
Jared Tabor
dbb420ad69 Inital change of form CSS
adding forms.less, as well as changing background colors, input widths, borders, and first run at button style change
2016-01-11 14:10:16 -08:00
John Mitchell
6be3b30f52 updates to sts token ui 2015-10-01 15:49:33 -04:00
John Mitchell
70725cf7e1 add security token ui field 2015-10-01 13:54:33 -04:00
John Mitchell
efa306d1f3 hide priv esc fields and clear their values out when no priv escalation is chosen 2015-08-26 18:56:49 -04:00
John Mitchell
f080339b9a working commit of passphrase disabling 2015-07-27 15:18:52 -04:00
Joe Fiorini
98a37a354a Move code to awx/ui/client 2015-07-27 10:19:14 -04:00