Commit Graph
100 Commits
Author SHA1 Message Date
chouseknecht 295e52df33 Limited textarea rows to 15 on Job Events page. 2013-07-17 00:19:52 -04:00
chouseknecht 4923fd84c1 AC-216 Added 'back' navigation button to each corner of page. 2013-07-16 23:25:25 -04:00
chouseknecht 79657fc80b AC-216 Added page logic to the back button. If user clicks the 'back' button (not browser back button), Jobs page will be presented and user will be returned to the previous page. Accomplished by appending 'page' parameter to API request. 2013-07-16 18:52:42 -04:00
chouseknecht 520ca8d70b Latet css changes 2013-07-16 17:46:49 -04:00
chouseknecht aac2d0955e AC-216 Job events detail, 2nd iteration. 2013-07-16 17:33:11 -04:00
chouseknecht 7d04e1ed00 Adding awx-min.js to .gitignore. 2013-07-16 12:52:19 -04:00
chouseknecht 55ccf2a888 Adding awx-min.js to .gitignore 2013-07-16 12:50:28 -04:00
chouseknecht f63e42ebff AC-216 First pass at turning job event JSON into a modal form. 2013-07-16 12:09:11 -04:00
chouseknecht d2c08d2848 Fixed issue with Allow Callback checkbox and host_config_key value when user unchecks Allow Callback checkbox. 2013-07-15 13:48:23 -04:00
chouseknecht 1d5cf7fd8c AC-213 Fixed confusing project path messages, labels and help text. 2013-07-15 02:25:13 -04:00
chouseknecht dc6536bf90 Fixed problem with lingering help pop-overs. Issue was user would open help pop-over on a modal dialog and then close the dialog without first closing the help pop-over. Next time a dialog was presented, the lingering help pop-over would re-appear. This is now fixed. 2013-07-13 06:23:40 -04:00
chouseknecht 44f7ce42cc Help icon is now the same everywhere. In some places it was an 'i' and in others a '?'. Same with the color. We had two different flavors of blue. Also streamlined the code. Now all help html is genereated from one place. 2013-07-13 05:56:49 -04:00
chouseknecht 7d6507ec0d AC-201 Added callback URL and lots of tool-tip help around the callback fields. 2013-07-12 17:08:30 -04:00
chouseknecht 43fb2d7ae4 AC-198 All username/password fields and all forms now have autocomplete='false' attribute to prevent browser autofill. Fixed Firefox password save prompt issue. Prompt was ~ 'Do you want to save password for <organization name>'. The prompt is now '...password for <username>'. The issue is the order of the fields. Prompt is build off of first field appearing before password field. Moved organization up and put username before password. Created an Angular approach to removing pre-selected class (the green success class) from a previously used list. Now lists won't appear to have pre-selected. This was kind of wokring with a jQuery approach now it's solid. New method applied to Users only. Will push to other modals shortly. 2013-07-12 13:46:38 -04:00
chouseknecht 3f2f0ebc59 AC-198 Failed login attempts now dispaly with the alert-error class (red) rather than whatever class producess a yellow color. 2013-07-12 11:01:49 -04:00
chouseknecht 613fafff05 AC-198 Fixed the login page so that passwords and usernames are not remembered. The issue is scope variable name overlap. If scope.username or scope.password gets defined along the way, the value gets pushed into the login form. 2013-07-12 10:30:38 -04:00
chouseknecht 01e1edfe1b AC-217 The well surrounding the Inventory tree was missing the bottom border when the 'Show only groups with failures' checkbox is not displayed. 2013-07-11 23:36:14 -04:00
chouseknecht a72a4e9032 Removed console.log statements. 2013-07-11 23:28:39 -04:00
chouseknecht a282144845 Merge branch 'master' of https://github.com/ansible/ansible-commander 2013-07-11 23:22:54 -04:00
chouseknecht 6ce364d061 AC-217 Fixed a bunch of issues with Host dialog on Inventories page. The underlying issue is the parent page contains a list constructed with lists/Host.js. The modal is constructed the using the same list, which means the modal and the parent pages share the same variable names. Since the parent page and the modal share the same scope, the two are colliding and things were getting confused. Fixed by overriding list.name and list.iterator in the modal dialog. 2013-07-11 23:22:30 -04:00
chouseknecht a65d7c09a3 AC-217 user paginate setting now stored in session cookie. Navigate away or change something on the page, the page size sticks. 2013-07-11 21:55:16 -04:00
chouseknecht ab6fca64a0 Fixes for AC-212 & AC-2088 2013-07-11 17:18:44 -04:00
chouseknecht 6e28fac463 AC-201 Added help to Job Hosts Summary page. Added logic to the Attr method used in form generator and list generator to support icon sizing. 2013-07-11 09:24:11 -04:00
chouseknecht 33512a9692 AC-203 no longer sorting jobs by Status when user clicks failed jobs link from Inventories page. Rows are now sorted by desc ID (which would be the same order as desc date btw). 2013-07-10 14:35:02 -04:00
chouseknecht f243bc7a80 AC-204 made the timestamp as skinny as possible so that we get a clean break on portrait tablet and smaller screens. 2013-07-10 14:20:11 -04:00
chouseknecht 3df92c20ea Merge branch 'master' of https://github.com/ansible/ansible-commander
Mergint latest UI changes
2013-07-10 13:46:43 -04:00
chouseknecht 7fcb4e0e0b AC-202 Missing detail buttons -job events page is now responsive to small screen sizes. On phone/tablet size screen Host column disappears and host name shows in the Event column as part of the detail. Also added media querries in CSS to adjust the table formatting and make things fit. Fixed issues with the JSON modal dialog so that everything fits on a portrait size mobile phone. 2013-07-10 13:45:44 -04:00
chouseknecht f4bba01271 Added help pop-overs and new help button to the Add Existing Host s and Add Groups dialogs on Inventories page. 2013-07-09 17:07:02 -04:00
chouseknecht 9372a68f89 Added tool-tips to Inventory tree buttons. 2013-07-09 15:40:33 -04:00
chouseknecht e3f99c9e13 Latest Job Events changes 2013-07-09 15:25:41 -04:00
chouseknecht 2438bdd698 Changed Host delete dialog to reflect when a host is being removed from a group vs. permanent removal from All hosts. 2013-07-09 14:48:58 -04:00
chouseknecht ad2e762292 403 error when licensed host count is exceeded now displays the 'detail' message received from the API. 2013-07-08 15:33:44 -04:00
chouseknecht 554f8225d8 Fixed bug in login license warning causing the warning to be displayed 2x. 2013-07-08 14:48:25 -04:00
chouseknecht 5380ebf416 Merge branch 'master' of https://github.com/ansible/ansible-commander 2013-07-08 10:45:08 -04:00
chouseknecht ec9c96cef4 JS minification 2013-07-08 10:44:31 -04:00
chouseknecht 345085a165 Made tool tips on host variables and group variables more better by providing actual examples in addition to links. 2013-07-03 18:44:17 -04:00
chouseknecht 69abbb147d AC-174 If user clicks cancel, closes the dialog or otherwise fails to provide passwords, then destroy the job record. This gets rid of jobs left in 'new' status when no passwords provided. 2013-07-03 17:07:19 -04:00
chouseknecht ea4d7abd4b AC-191 changed host name label from 'Name' to 'Host Name' and added a tool tip giving examples of host name values. 2013-07-03 15:49:57 -04:00
chouseknecht 39ff1551cf Put session_timeout back to 60 minutes. 2013-07-03 15:05:31 -04:00
chouseknecht f8df3a0f93 Fixed styling of session expired message on login dialog. 2013-07-03 15:03:50 -04:00
chouseknecht 3e4408e971 AC-189 fixed greyed-out username field on login dialog. 2013-07-03 14:43:49 -04:00
chouseknecht 7d23d29eaf AC-183 Fixed issues on permissions form. 2013-07-03 14:02:52 -04:00
chouseknecht 4256631362 AC-190 When a set has 0 results, the 'Page N of X' message is now hidden. 2013-07-03 13:47:20 -04:00
chouseknecht b488514d6e When manually expanding a node, do not automatically expand all children. 2013-07-03 12:11:20 -04:00
chouseknecht 1b3902a23b Job Events collapse/expand now handled using a filter on ng-repeat and setting 'show' attribute in job_events data set. No longer reading child rows from api on expand and throwing them away on collapse. New method is much faster. Added formatJSON() routine back in to transform relevant event_data bits into html form elments and display in list. 2013-07-03 12:02:20 -04:00
chouseknecht ea72058e9c Fixed modal prompt button styling issue. 2013-07-02 03:15:56 -04:00
chouseknecht c4e4b7755a AC-172 Fixed missing project path when viewing and existing project. Added a warning dialog for no available project paths condition. 2013-07-02 03:07:18 -04:00
chouseknecht 9a0f50f0fa License check added immediately after login. If key is invalid, user will bis not permitted to continue. If expiration date has past, server is in demo mode, or all allowed hosts have been used, a warning dialog is displayed. 2013-07-02 02:38:06 -04:00
chouseknecht dc670e86aa AC-177 Added status field to Host Summary page. Field shows red/green icon indicating if host failed or succeeded. 2013-07-01 13:24:25 -04:00
chouseknecht e17d984758 AC-175 Job event details -show date in local timezone and with a cleaner format 2013-07-01 12:11:44 -04:00
chouseknecht 5ead7b7ec4 AC-175 In certain cases override event_display with values found in event_data such as name and res.msg. Also, replacye 'Playbook On Stats' with 'Play Recap' and actual stats. 2013-07-01 11:52:00 -04:00
chouseknecht 14ed59bedf AC-175 dynamically set Event link color and cursor for each row. Used ng-class to dynamically set a css class. Now child rows that cannot be expanded appear to have no link -the text color is charcoal and the cursor is the default arrow. 2013-06-30 04:34:26 -04:00
chouseknecht ebed99047b Clicking the Refresh button on Job Events was not automatically expanding parent nodes. Fixed. Refresh now re-querries the API, updates the page and expands all nodes -the same as initial page load. 2013-06-30 04:04:03 -04:00
chouseknecht 184430d0a2 AC-175 on Job Events page, Event is the now the only linkd or clickable column. Clicking expands or collapses parent nodes. 2013-06-30 03:59:39 -04:00
chouseknecht 1eb82e2f01 Fixed a typographical mistakes in ProcessError calls. 2013-06-30 03:44:38 -04:00
chouseknecht 322b1ea20e Fixed a typographical mistakes in ProcessError calls. 2013-06-30 03:44:38 -04:00
chouseknecht d8e736c900 Fixed extra_vars issue on Job Templates. We are now able to successfully send and receive extra_vars back and forth with the API without any errors or conversion issues. 2013-06-29 07:12:26 -04:00
chouseknecht b6b61401f8 AC-175 Added date conversion utility. Date on Jobs and Job Events pages is now converted to local timezone and formatted in a more readable manner. Improved performance of auto expansion on Job Events page. 2013-06-29 06:56:28 -04:00
chouseknecht 7065086a1c Fixed permission page issues. 2013-06-28 08:16:20 -04:00
chouseknecht de4fac5548 Page header logo size change. 2013-06-28 07:49:02 -04:00
chouseknecht 202d295fc0 Variable data for hosts/groups/inventory now defaults to YAML. Data received from the API is converted to YAML. Changed job_template extra_vars to use the variable editor approach -user will now enter extra vars as either YAML or JSON with the default being YAML. 2013-06-28 07:40:36 -04:00
chouseknecht 18ac049860 Removed the Select button that was to the right of callback key on Job Template. 2013-06-27 16:00:27 -04:00
chouseknecht e22fbe2de2 Fixed padding/margin in navbar so that menu text is aligned correctly with new logo. 2013-06-27 15:28:20 -04:00
chouseknecht 041e55ecae Added new logo to site header. 2013-06-27 15:15:36 -04:00
chouseknecht 5500a5647d Changed 'failed jobs' to 'view failures' on Inventories tab -making it consistent with Hosts list. 2013-06-27 14:33:08 -04:00
chouseknecht a48f2cb236 Changed label on Inventories tab for has_active_failures to 'Failed Jobs?' 2013-06-27 14:30:19 -04:00
chouseknecht 760aa7bc2b Changed html page title to AnsibleWorks AWX and changed favicon to new style. 2013-06-27 14:23:11 -04:00
chouseknecht 453c13f116 On Permissions detail page, Permission radio button is now required and validation works correctly. 2013-06-26 12:14:21 -04:00
chouseknecht cfb638e8e1 Added awRequiredWhen directive. Make fields required only when an expression evaluates to true. Used on Permissions detail page to toggle Project required attribute based on permission type. 2013-06-26 12:03:25 -04:00
chouseknecht 939cbf31ef Fixed mislabeled help pop-overs 2013-06-21 18:11:30 -04:00
chouseknecht baad4bd7e6 Host Config Key field and checkbox are on the Job detail page as well. Jobs controller now pulls the values from the related job template -API does not expose the values on /jobs/N. 2013-06-21 18:03:27 -04:00
chouseknecht 8ef9c9ed0b Added Callback checkbox and Host Config Key field to Job Template. Also added button to generate a config key value using md5 hash. Added button to select-all on key so user can ctrl-c copy to clipboard. 2013-06-21 17:45:24 -04:00
chouseknecht 5495709a61 Project base path now displayed on Project detail page. Project path (the subdir under base path) is now selected from a drop-down. Using /api/v1/config to determine base path and drop-down values. Added help text pop-overs that should eliminate confussion around how to setup project directory structure. 2013-06-21 13:36:31 -04:00
chouseknecht 89fe5c39e4 Changes to inventory detail page -improved display of has_active_failures, added variable data field. Fixed Teams organization lookup issue. Set production min js setting to False (leave set to False until we actually have minified js). 2013-06-20 13:26:05 -04:00
chouseknecht d47ea40d60 Re-styled tree pieces on Inventory detail page. Blended boxes on left into one continuous box to match box on right. 2013-06-14 15:16:41 -04:00
chouseknecht 0cf6faaff4 Added use of new Column helper to BuildCollections. 2013-06-14 14:52:13 -04:00
chouseknecht 6ea2fa4462 Combined more pieces of List Generator and Form Generator into shared helpers to streamline and re-use code for creating lists. 2013-06-14 14:48:22 -04:00
chouseknecht ab9b9f84c5 Synced code between list view and related list view. Column displaying icon with text rather than actual value (i.e. true/false for has_active_failures) works consistently. Changed icon and text for our has_active_failures column -preparing it to link to hosts/N/job_events data. 2013-06-14 12:17:31 -04:00
chouseknecht c8c9e62b4c Added YAML support to Host and Group variable data. User can enter variables in either format, UI will parse it and send to API as JSON. Fixed post to /hosts/N/variable_data and /groups/N/variable_data so that JSON is sent as an object rather than a string. 2013-06-11 17:23:54 -04:00
chouseknecht 49ca140e30 Set DEBUG back to True 2013-06-10 18:37:58 -04:00
chouseknecht 9e9e41db35 Script for building minified javascript using closure compiler 2013-06-10 18:32:52 -04:00
chouseknecht e58e80bbad All tables (lists and related lists) hightight current row on hover. Hover over a row and the background turns white. 2013-06-06 19:14:04 -04:00
chouseknecht 9a98b4f573 Cleaned up verbosity drop down options to match AC-104. Applied all Job Template changes to Job detail page. 2013-06-06 18:50:45 -04:00
chouseknecht 9373fbca61 Inventory clean up. Found a couple bugs when adding existing hosts to a group. 2013-06-06 18:16:13 -04:00
chouseknecht 5ca6910612 Dismiss tool tip dialog when escape key is pressed. 2013-06-06 17:50:00 -04:00
chouseknecht ca4e85bb09 Added tool tips to job type, forks, limit and verbosity fields on Job Templates detail page. 2013-06-06 17:29:01 -04:00
chouseknecht 47595e67f0 On Job Template add page, move slider handle back to default value if Reset button clicked. 2013-06-06 15:06:28 -04:00
chouseknecht 93e9c7a24d Created an Angular slider directive to support JQueryUI slider widget. Job Template page now uses a slider for Forks value. User can set the value with the slider or type in a value btwn 0 and 100. Additionally turned verbosity into a drop-down. 2013-06-06 15:01:23 -04:00
chouseknecht a29e60b533 Tree refresh is working for the Group Add and Group Edit buttons. Tree is refreshed and opened back to the previously selected node and the host view is left in the correct state. 2013-06-03 18:05:34 -04:00
chouseknecht eca7b3888f Inventory add/edit/delete group buttons now working. Inventory detail form now maintains values independently so common fields such as Name and Description do not get overridden by Group Add/Edit modal dialog. 2013-06-03 12:59:35 -04:00
chouseknecht b19e1dd97a Moved inventory detail load procedure from inventory controller to the helper so that it can be called when the detail page first loads and anytime we need to refresh tree data. Working on a way to refresh tree data, re-open previously open nodes and re-select previously active node after add/edit/delete of a group. Any change to tree data should be instantly reflect in the tree in an ajax/async fashion. 2013-06-03 07:08:08 -04:00
chouseknecht 9ca489d5ab Inventory UI changes. Added action buttons to tree. Removed All Hosts group from tree (click on Inventory root node to see All Hosts). Added Create/Select buttons to hosts list. Preparing to move group/host views to modal dialog. 2013-05-31 23:02:18 -04:00
chouseknecht aa9b4741dc Completed requested changes to Host Summary page. 2013-05-24 13:21:55 -04:00
chouseknecht 007db3435d Latest UI changes. More tweaks to related set buttons and styling. 2013-05-24 12:28:34 -04:00
chouseknecht d59e2a416f Hello User link now uses /api/v1/me to link to /users/N 2013-05-23 01:25:02 -04:00
chouseknecht 45a4ba7743 Fixes to teams/project/organizations/users/credentials navigation and pathing. 2013-05-22 14:19:51 -04:00
chouseknecht 53212da149 Group and Host variables working. 2013-05-21 16:13:20 -04:00
chouseknecht f5c487aab8 Inventory hosts now appear in All Hosts folder. User not allowed to add hosts outside of a group (i.e. cannot add to All Hosts group). Fixed job template so that a credential can be removed. 2013-05-21 11:28:20 -04:00
chouseknecht c6e32cde35 Added refresh button to jobs list page 2013-05-21 03:12:25 -04:00
chouseknecht 8343d20c60 Job event detail page now working. Search expanded to work with boolean an integer types. Added new form generator layout. Fixed pagination bugs. Job cancel/delete working. 2013-05-21 02:57:46 -04:00