Commit Graph
100 Commits
Author SHA1 Message Date
Chris Houseknecht a3e48849d8 Merge remote-tracking branch 'origin/javascript-cleanup'
Conflicts:
	awx/ui/static/js/helpers/Lookup.js
	awx/ui/static/js/helpers/PaginationHelpers.js
	awx/ui/static/js/helpers/related-search.js
2014-02-12 14:41:27 -05:00
Chris Houseknecht e81d02885f AC-1006 upgraded all js libraries to latest release. Fixed obvious broken things. Installed bower to make package installation/upgrade easier. Added less to Grunt build. 2014-02-12 18:42:57 +00:00
Chris Houseknecht f891c30ebb Ran all controller files through jsbeautifier.org and applied jsHint. 2014-02-07 15:33:07 -05:00
Chris Houseknecht 7ecc382a71 AC-595 stop translating object name in breadcrumbs. 2014-02-03 14:59:30 -05:00
Chris Houseknecht 57fdacb242 AC-997 enable activity stream for non-privileged users. 2014-02-03 12:25:21 -05:00
Chris Houseknecht 47ad240b99 AC-997 enable activity stream for non-privileged users. 2014-02-03 10:31:10 -05:00
Chris Houseknecht 926ec500e2 Inventory help- turned resizable off on modal dialog. Fixed compilation error. 2014-01-31 17:35:44 -05:00
Chris Houseknecht 763ed5241d Latest changes to Inventory help. Re-styled dialogs. Fixed presentation so that Next and Previous are possible. Added close button. 2014-01-31 17:32:22 -05:00
Chris Houseknecht cbc0d7a8ad Fixed bug in Capitalize directive. Fixed issues found with jsLint. 2014-01-31 05:19:42 -05:00
Chris Houseknecht 183cbde1bc Add missing 'use strict' directive. 2014-01-31 04:27:56 -05:00
Chris Houseknecht 6cbd2beb7a AC-602 last bit of help changes. 2014-01-30 16:43:42 -05:00
Chris Houseknecht c81fa0d285 AC-976, AC-1000, AC-602 2014-01-30 15:23:49 -05:00
Chris Houseknecht e2aef64a4d AC-995 fixed typo and added extra error handling in case we actually cannot parse inventory variables. If that does happen, we now alert the user and keep the application stable and running. 2014-01-29 19:58:46 -05:00
Chris Houseknecht 82aa0ac85d fix for the small viewport issue (https://www.dropbox.com/s/dmf4aixfv7k67cm/Screenshot%202014-01-29%2015.19.52.png) where group name div gets pushed to a new line. 2014-01-29 18:19:13 -05:00
Chris Houseknecht 9d8c124817 Fixed AS widget breadcrumb links 2014-01-29 17:06:53 -05:00
Chris Houseknecht 168c4235f5 AC-977 Fixed raw html showing up in Action field on detail dialog. Added a subtitle on the AS widget. On inventory groups/host page the subtitle explains what activities are being displayed, and only activities realted to the selected group (on the inventory page) are displayed. If All Hosts selected, then all activities for all groups related to the current inventory are displayed. Also, brought back activity stream button for inventory hosts. 2014-01-29 17:00:04 -05:00
Chris Houseknecht 48f81c5be7 Fixing store references to point to http://www.ansible.com/ansible-pricing 2014-01-29 14:23:56 -05:00
Chris Houseknecht d4febaf02f AC-967 Fixed job name in the host status fly-out. Text now wraps rather than extending beyond boundaries of pop-over. Removed status label- just show red/green dot. Clicking on ID or red/green dot shows the status dialog. When dialog closes the window.resize() watcher is restored. 2014-01-29 14:23:56 -05:00
Chris Houseknecht 93a0f39932 AC-976 now using custom javascript to apply ellipsis to long group and host names. Fixed indes.html title. 2014-01-29 14:23:56 -05:00
Chris Houseknecht c18cb5a622 AC-976 add job template name to activity stream 2014-01-29 14:23:56 -05:00
Chris Houseknecht dce52fc5ca AC-979 using activity stream object arrays correctly. AC-980 fixed Action label on detail dialog. 2014-01-29 14:23:56 -05:00
Chris Houseknecht 45418626e7 AC-987 job launch shows working 2x 2014-01-29 14:23:56 -05:00
Chris Houseknecht f6638485b7 AC-985 edit now edit's inventory properties via dialog- using the same edit code already written for the wrench button on inventory->groups/hosts page. 2014-01-29 14:23:56 -05:00
Chris Houseknecht 049a413f7a AC-941 don't display UI form fields until API data loads. Also fixed related set pagination issue. 2014-01-29 14:23:56 -05:00
Chris Houseknecht be66062123 Fixed inventory group source drop-down so that selecting 'Choose a source' behaves the same as choosing 'Manual'. Fixed AC-989. 2014-01-29 14:23:56 -05:00
Chris Houseknecht e27ed61fc8 AC-983 long group names, AC-970 don't hightlight required fields in red, AC-966 fixed ansibleworks links to point to ansible, AC-733 new pagination widget, page and total rows. 2014-01-29 14:23:56 -05:00
Chris Houseknecht 597a81ead6 Fixing store references to point to http://www.ansible.com/ansible-pricing 2014-01-29 14:01:44 -05:00
Chris Houseknecht 9abe060047 AC-967 Fixed job name in the host status fly-out. Text now wraps rather than extending beyond boundaries of pop-over. Removed status label- just show red/green dot. Clicking on ID or red/green dot shows the status dialog. When dialog closes the window.resize() watcher is restored. 2014-01-29 13:47:24 -05:00
Chris Houseknecht 22f40605cd AC-976 now using custom javascript to apply ellipsis to long group and host names. Fixed indes.html title. 2014-01-29 13:31:51 -05:00
Chris Houseknecht 7580b91186 AC-976 add job template name to activity stream 2014-01-28 18:47:46 -05:00
Chris Houseknecht d57b2f7926 AC-979 using activity stream object arrays correctly. AC-980 fixed Action label on detail dialog. 2014-01-28 17:46:47 -05:00
Chris Houseknecht 0e6305c9ec AC-987 job launch shows working 2x 2014-01-28 17:22:34 -05:00
Chris Houseknecht 7434bb8a9e AC-985 edit now edit's inventory properties via dialog- using the same edit code already written for the wrench button on inventory->groups/hosts page. 2014-01-28 15:57:00 -05:00
Chris Houseknecht 77b285f632 AC-941 don't display UI form fields until API data loads. Also fixed related set pagination issue. 2014-01-28 13:57:37 -05:00
Chris Houseknecht de970058f7 Fixed inventory group source drop-down so that selecting 'Choose a source' behaves the same as choosing 'Manual'. Fixed AC-989. 2014-01-28 10:58:57 -05:00
Chris Houseknecht cb8ec978de AC-983 long group names, AC-970 don't hightlight required fields in red, AC-966 fixed ansibleworks links to point to ansible, AC-733 new pagination widget, page and total rows. 2014-01-28 01:03:09 -05:00
chouseknecht 401317cf41 AC-232 License viewer completed. 2013-07-24 18:04:37 -04:00
chouseknecht 33aa4182ca Applied prior job_template.extra_vars changes to the jobs detail page. 2013-07-15 14:35:54 -04:00
chouseknecht 3f58947c05 Applied prior job_template.extra_vars changes to the jobs detail page. 2013-07-15 14:32:30 -04:00
chouseknecht e0b9e6bbb0 Latest javascript in minified form. 2013-07-15 11:08:06 -04:00
chouseknecht a82edf0e4a AC-171 first round of changes to make select dialogs more understandable. Also changed tooltip config to include a default time for hide and a default time for show. 2013-07-09 00:10:21 -04:00
chouseknecht 20266c3054 Fixing job events pagination 2013-07-02 17:03:47 -04:00
chouseknecht 507d1d06f5 Job events now expands all parent nodes correctly or consistently. 2013-07-02 12:00:20 -04:00
chouseknecht 6e0b9a2acb No longer replace event_display value with event_data.name value. 2013-07-02 11:35:28 -04:00
chouseknecht 6deca2294d AC-175 All parent nodes are fully expanded when a job is views on the Job Events page. The user no longer has to manually expand each node. Also move the Status column over to the left side. 2013-06-28 16:10:34 -04:00
chouseknecht 361c085ce5 AC-175 change the edit button to a view button. Edit button is now labeled 'Details' and the color is grey rather than green. Applied the color change to 'Hosts' and 'Events' button as well, so that we're consistent. Changes applied to Jobs, Job Events, and Job Detail pages. 2013-06-28 16:10:32 -04:00
chouseknecht 114bc05b8d Removed Status filter from Job Events page. Changed form attribute 'notSearchable' to 'searchable' -cause it just makes more sense. 2013-06-28 11:40:31 -04:00
chouseknecht 652f7ceb7b Check /api/v1/me to determine if user can perform create/update/delete on Permissions. 2013-06-27 04:51:23 -04:00
chouseknecht 0277a2177c Replaced TB accordions with JQueryUI accordions. We now keep track of which accordions are open on each page. When the user navigates away and then comes back to a page, the accordions are restored. Accordion state is stored in the session cookie. 2013-06-27 03:37:42 -04:00
chouseknecht 9342e01468 Permissions CRUD now functional within Users tab. 2013-06-25 15:37:01 -04:00
chouseknecht 7943134168 Add radio button support to form-generator. Created permission list and permission add form. Form is currently accessible from User tab. 2013-06-24 23:26:53 -04:00
chouseknecht 13b8b68449 Failed jobs link on Inventories tab list now works. Clicking takes user to Jobs tab, filters jobs by Inventory ID and sorts by Status (so that failed jobs appear first in list). 2013-06-24 13:12:32 -04:00
chouseknecht f5869134b2 UI clean-up 2013-06-24 11:49:10 -04:00
chouseknecht 85ab582155 UI clean-up 2013-06-24 11:43:10 -04:00
chouseknecht d5705ffdd0 Latest UI changes. 2013-06-21 10:41:51 -04:00
chouseknecht 5851d678bb Style/label tweaks to Hosts section of Inventory detail page. 2013-06-21 10:41:50 -04:00
chouseknecht b511b08014 Inventory variables now working 2013-06-20 15:20:52 -04:00
chouseknecht 4da0beb6e7 Tweaked modal dialog header. Made it not quite so overbearing. Still not happy with it though. 2013-06-20 13:45:37 -04:00
chouseknecht 65defb75fb Modal dialog button color tweaks 2013-06-19 17:20:35 -04:00
chouseknecht 7303107450 Modified styling of modal dialog. 2013-06-19 17:12:50 -04:00
chouseknecht 15b720b42b Link from Inventories tab, hosts, Failed events now redirects to /jobs/N/job_events?host=<host_name>, displaying most recent job events for the host. 2013-06-19 15:20:23 -04:00
chouseknecht 6b8deab753 Job Event detail is now displayed in a modal dialog. Inside all modal dialogs displaying a form, reduced amount of space given to field labels and expanded amount of space given to text area fields. 2013-06-19 13:03:17 -04:00
chouseknecht 11e16dfdfc Fixed additional pagingation issues. Should be good now. 2013-06-19 11:18:56 -04:00
chouseknecht 7392e59f3b Fixed pagination issue that generated broken URL request. 2013-06-19 10:46:23 -04:00
chouseknecht 964a523daf Limited filter on Job Events page to only those fields that make sense: Host and Status 2013-06-19 10:22:51 -04:00
chouseknecht 9c6a20d4c7 On Job Events page, Event and Host columns now have a min-width css setting to help prevent 'jump' when collapsing/expanding children. Fixes the jump, but sort of wrecks the TB's responsive layout on small screens. May have to circle back and add media query at some point. 2013-06-18 18:33:16 -04:00
chouseknecht 9d4a2f528e Fixed missing host and status values on Job Events page. 2013-06-18 18:12:28 -04:00
chouseknecht 2abd33cf22 Collapse/expand job_events list using the api parent/child relationship 2013-06-18 17:20:52 -04:00
chouseknecht c979817593 On lists searchField now has precedence over sourceModel/sourceField when generating search query string. 2013-06-17 11:40:51 -04:00
chouseknecht 703bc0fca1 Latest UI changes 2013-06-14 10:08:41 -04:00
chouseknecht e5737cae46 Inventories tab list shows Failures. Added Failures to detail form. 2013-06-13 16:15:39 -04:00
chouseknecht 6806619e98 On inventory tree widget, has_active_failures turns node text color to red. Checkbox at bottom filters nodes based on value of has_active_failures. 2013-06-13 16:08:17 -04:00
chouseknecht 614607fd0e Added has_active_failures to Hosts view under Inventory detail. There is now a Failures column. A red dot (icon-circle) displays for hosts where has_active_failures == true, otherwise the column is empty. 2013-06-12 16:12:32 -04:00
chouseknecht 3bb0323b02 Applied list search widget changes (dropdown, boolean, int, etc) to related sets search widget. Fixed desc sort order and desc sort icon display for related set page load. Added job status with icon and color styling to Job Templates related jobs. 2013-06-12 14:57:39 -04:00
chouseknecht 4ac2a98eda Fixed list generator to display the desc icon when list key has desc attribute. See jobs tab for example. When first loaded, the jobs list is sorted by job id in desc order, so the desc sort icon now displays in the job id column header. 2013-06-12 11:52:10 -04:00
chouseknecht e1d714a335 Fixed extra_vars on job_templates and jobs detail pages. No longer attempts to compile string into a JSON object. Assumes user will enter valid JSON or key=value pairs. Updated help text to reflect this and link to ansibleworks.com documentation on --extra-vars parameter. 2013-06-12 11:10:16 -04:00
chouseknecht 7b0bbff376 Added Datatables.net style sorting to all lists and related lists 2013-06-07 16:50:07 -04:00
chouseknecht c7748999d8 Supplied missing labels and button tool-tips on related sets. 2013-06-05 16:25:15 -04:00
chouseknecht 933ebbb8b6 Removed Hint from Users tab, since users can now be added directly rather than navigating through the Organizations tab. 2013-06-05 16:17:37 -04:00
chouseknecht 5a22f3b955 Applied change to all list controllers to remove success class after page refresh. If the list was previously used to make a selection, there won't be any remnants or reminders of the selection next time the list is visited. 2013-06-05 16:13:25 -04:00
chouseknecht 135d4db94b Users can now be added from the Users tab. 2013-06-05 15:02:27 -04:00
chouseknecht 69a6fc75fb Moved Credentials related set to the top. The is the one set user can modify, so lets make easier to access. 2013-06-05 10:29:45 -04:00
chouseknecht a33d90de83 Added support for button labels and tool tips on related sets. 2013-06-05 10:26:53 -04:00
chouseknecht 540ad1ad47 Clicking host name on Inventory detail page now works correctly. Host is displayed in a modal dialog, allowing user to make changes and save. 2013-06-05 09:57:05 -04:00
chouseknecht 6dba6bbdb9 Fixed organization lookup on Inventory Edit section of Inventory detail page. 2013-06-04 19:19:44 -04:00
chouseknecht 2accb94972 Hosts side of inventory detail page now working through modal dialogs. Fixed pagination on modal list. Test Add/Edit/Delete host buttons. Only piece left is to fix the host name link, which should bring up the Edit dialog. 2013-06-04 19:12:28 -04:00
chouseknecht 4575faf831 Tree drop-down menu now works. Right clicking node and selecting menu option now fires modal dialogs. Using same code as buttons near top-right corner of tree. Clean-up code for deleting a node. It now correctly inspects parenet of selected node and uses either /inventory/N/groups or /groups/N/children to POST the disassociate request. 2013-06-04 11:32:21 -04:00
chouseknecht e121235ba9 Latest inventory detail page modifications. 2013-05-30 18:12:36 -04:00
chouseknecht f16f41fc99 Inventory detail page changes. Added accordion. Added custom theme to tree. Fixed tooltips. Added button labels. 2013-05-30 14:58:16 -04:00
chouseknecht e61a966464 Added tooltips to host/group/extra variables using TB popover. Fixed bugs on Inventory detail page causing js errors. Added JSON validation to extra_vars on Job Templates add/edit page. Always grey-out/disable fields on Jobs detail page because upading a Pending job throws a 405 error -will investigate with CC later. 2013-05-27 13:18:15 -04:00
chouseknecht 2a0f528954 Added 'Loading...' message to all lists and sublists. 2013-05-26 23:36:54 -04:00
chouseknecht 2947c03adb Add a re-run button to Jobs page. 2013-05-25 00:13:34 -04:00
chouseknecht ef16ec55f1 On related sets, moved create button near filter widget and added labels to all buttons. 2013-05-24 12:10:03 -04:00
chouseknecht fd25d68ffe Fixed login dialog so that it now submits when Enter pressed in password field. Fixed more button more button labels. 2013-05-24 09:55:52 -04:00
chouseknecht b4709c5138 Latest UI changes. Add button labels on all pages. 2013-05-24 07:43:55 -04:00
chouseknecht 151f02e92c Projects can now be added to a Team and created from the Team tab. 2013-05-23 11:52:45 -04:00
chouseknecht bdbfcd4b85 Latest UI changes. Related-set key fields now link to the edit/detail page. Job detail page disables correctly. Fixed jobs related set on Job Templates detail page. 2013-05-23 01:07:44 -04:00
chouseknecht 77b823f43f Host name is now on the Job Events page and links to Host detail page. 2013-05-22 18:06:39 -04:00
chouseknecht 34994a6736 First pass at Job Hosts Summary page. Added link to host detail page. Need to add link to job->host->events. 2013-05-22 17:53:35 -04:00
chouseknecht 91b534c841 Fixed project add and edit pages. 2013-05-22 04:23:42 -04:00