Commit Graph

179 Commits

Author SHA1 Message Date
Chris Houseknecht
7093e95011 Form-generator
Change handling of labelBind in form generator. It now adds ng-bind directive to a <span> element inside <label> rather than to <label> directly. This stops Angular from wiping out anything else we may want to add inside <label> like help icon.
2014-07-30 16:30:49 -04:00
Jared Tabor
1531af4f7e made GCE fields required" 2014-07-25 11:12:12 -05:00
Chris Houseknecht
08e6751f69 Accordion and form styling
Simplified styling by removing background colors and images. Border colors are now grey rather than blue.
2014-07-22 12:34:28 -04:00
Jared Tabor
ecd622ca11 changed save button to blue 2014-07-21 16:28:23 -04:00
Chris Houseknecht
bfc8f89205 Job detail page re-refactor
Fixed host link on event viewer and tooltip on dialog.
Tightened up job tab page row calculation. It now assumes rows will not hit 47px height until width drops to below 1350px.
2014-07-10 13:16:28 -04:00
Chris Houseknecht
bc08d8f82a 2.0 styling
Started applying new styles starting with removal of tabs. Brought in new breadcrumb format and blended with inventory edit group breadcrumbs. Rather than attempting to override bootstrap styles after the fact, copied boostrap less file and started modifying those to create ansible-boostrap.css, as described in the boostrap documentation.
2014-06-18 13:42:25 -04:00
Chris Houseknecht
ad5d0454c2 AC-1325 plus inventory refactor cleanup
Fixed obvious issues found after pulling in inventory refactor changes from 1.4.11 branch. Included fixing modal dialog issues.
2014-06-03 19:02:56 -04:00
Chris Houseknecht
527e7c6943 Inventory refactor from 1.4.11
Include commits from release_1.4.11 branch up to but not including 809c99d05c4bd14dac7ef2f19767e4d196cdd1bb
2014-06-02 15:31:30 -04:00
chouseknecht
eb4b17017c AC-1275 jlaska requires a larger target on checkbox input controls. 2014-05-13 16:00:17 -04:00
chouseknecht
5f41b8df76 AC-1262 support for basic variable prompting on job submission. 2014-05-12 23:29:04 -04:00
Chris Houseknecht
8217544376 Form generator can now call the list generator when creating related lists. Job Template page is now using this method. We can now inject CompletedJobs and Schedules list objects on any page with full jobs page or schedule page functionality. 2014-03-29 17:46:48 -04:00
Chris Houseknecht
3b95fbd30b AC-1054 came up with a fix that allows auto-form-fill browser pluggins to work. Applied to User and Credential pages. 2014-03-27 02:29:15 -04:00
Chris Houseknecht
b638a90d34 Bring action handling between form-generator and list-generator inline. 2014-03-25 11:13:00 -04:00
Chris Houseknecht
10e6baaca0 Jobs page changes. Modified JobsEdit controller to incorporate new fields. Shows/hides job template based on the type of job. Re-ordered fields. Made the stdout textarea resizable. Fixed a bug in the accordions. 2014-03-23 04:14:29 -04:00
Chris Houseknecht
1bc9ab68eb Moved jqueryui dialog creation to a shared module along with textarea auto-sizing. Inventory host edit dialog is now constructed using this new module. Fixed host enabled flag on the host edit dialog so that it is disabled for externally managed hosts. 2014-03-20 12:25:26 -04:00
Chris Houseknecht
199f091a1c Inventory group edit dialog is now draggable and resizable. Added tab for schedules fixed issue with Variables.js helper- when json variables object empty, return --- rather than {} 2014-03-12 12:14:19 -04:00
Chris Houseknecht
15a08232e0 Clean up. Removed grey background from forms appearing inside accordions. Fixed border on tables innside accordions. Made action labels disappear on small and xtra small viewports. Updated javascript packages. Created a bower.json file. Installed anuglar-scheduler. Added schedule icon to job templates page. Shrunk pagination font. 2014-03-07 18:31:15 -05:00
Chris Houseknecht
129fed0c64 Accordions are now collapsable. Fixed jshint warning. 2014-03-06 15:22:25 -05:00
Chris Houseknecht
55b574fa26 AC-564 added new method to codemirror wrapper to enable replacing textarea fields with an editor. Implemented in inventory, groups, hosts, and templates. Solved issues with groups related to two potential textareas at the same time. Found and fixed an error in the way ReturnToCaller() utility was being called. Finished implementing angular-md5. Adding or saving a job template now shows a pop-up on save when a callback is enabled. The pop-up shows the callback url and host key. Before user had to save and then re-open the template to get the URL. With the pop-up we're now showing it immmediately on save. 2014-02-18 03:50:36 -05:00
Chris Houseknecht
cc9869b198 AC-564 implemented angular-codemirror to provide JSON/YAML syntax highlighting and linting in a full-screen editor. 2014-02-15 19:24:07 -05:00
Chris Houseknecht
c77db691eb AC-725 Added tower version to app footer and license dialog. Refactored license dialog to use tabs rather than accordions. Fixed conflict between angular routes and TB tabs. 2014-02-13 19:01:17 +00:00
Chris Houseknecht
9aea64eb3f Fixed minor bugs lingering from package upgrades. Org lookup on User add page was throwing a js error. Flash message was not clearing on modal display. Store link was not working from modal button. 2014-02-13 16:19:21 +00:00
Chris Houseknecht
69b91afaf2 Fixed bugs from package upgrades. Updated all controllers to pass into form and list generators. Improved accordion styling. Refactored job status page. Tested using minified files and fixed build issues. 2014-02-13 03:04: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
vagrant
d25e712e21 Finixhed applying jsHint linting to js files. Created initial Gruntfile.js build script and package.json script for keeping track of required node modules. 2014-02-11 04:52:15 +00:00
Chris Houseknecht
c52818ecee AC-1023 AC-1025 fixed drag-n-drop issues. Linting exposed a datatype mismatch issue. 2014-02-06 15:20:07 -05:00
Chris Houseknecht
1445fb533e Applying jsHint standards to form-generator.js. Adding unminified jquery to facilitate debugging. 2014-02-06 13:28:02 -05:00
Chris Houseknecht
5cb6c22fc8 Fixed inventory sync status dialog to use jqueryui dialog- making it draggable and resizable. 2014-02-04 16:59:19 +00:00
Chris Houseknecht
6c2b8358a0 Fixed 'empty directory' warning on project detail page. The styling was off, and it was incorrectly displaying when scm_type was to empty. 2014-02-03 23:20:33 +00:00
Chris Houseknecht
7ecc382a71 AC-595 stop translating object name in breadcrumbs. 2014-02-03 14:59:30 -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
chris Houseknecht
c52f98e9ac AC-970 no longer highlighting currently focused form field with red. Field is hightlighted in red when an error immediately on error detection. This includes Angular errors and custom errors. 2014-01-23 23:49:25 -05:00
chris Houseknecht
44d9d12e4d AC-966,AC-967,AC-968,AC-973,AC-972: fixed links, titles, texts referencing AWX and ansibleworks. Fixed AC-941 issues also for Credentials and Projects tab. Upgraded projects status to use jquery dialog, allowing user to expand and move. 2014-01-23 16:38:47 -05:00
chris Houseknecht
7269c7bd06 Inventory refactor: add job status summary fly-out on host status. Click on a status and a second dialog appears for the specific job. Dialog can be resized and moved- built using jquery and styled to match TB dialog. Fixed home/groups and home/hosts pages to appear more inventory edit page. Home/groups page now allows you to start and inventory sync as well. Fixed tool-tip consistency. Click page forward/back now employs the spinner and should stop overclicking, which was resulting in page numbers < 0. 2014-01-22 04:53:32 -05:00
chris Houseknecht
a90de488e1 AC-756 Removed required on password field when in 'edit' mode. When editing an existing user all fields can now be changed without re-entering a password. However, if the password field is touched, then a strong password is required and a valid match must be supplied. Fixed the Reset button. Now if changing existing record, touch password, click reset, and all password, password match, and the strength progress bar are all reset. 2014-01-15 23:10:36 -05:00
Chris Houseknecht
3d5a09e39e Inventory refactor: Add host works. Click on a row level action on the groups list now shows the row as selected and refreshes the host list. Edit inventory properties now works. Add and Edit dialog boxes are now displayed at the last minute after all data is loaded- accomplished with new list-generator show_modal parameter. 2014-01-10 20:33:01 +00:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Chris Houseknecht
a4098a6df7 Modified search widget heper to no longer include 'row' element in the returned html. Callers will now controll the row definition. Moved breadcrumb generation from list-generator to generator-helpers so that it can be called from anywhere, including the inventory edit controller. Breadcrumbs now appear on inventory edit page. Changed search to check if searchPlaceholer field property is a scope variable. If it is, use the scope variable's value. Now clicking on a group name highlights it, searches for hosts and changes the search filed placeholder value to include the group name. 2013-12-31 06:56:01 +00:00
Chris Houseknecht
f26956d2cc Group add and edit now mostly work. The Add Group dialog now includes tabs and supports source. The tree is refrshed on load. Moved retrieval of update status info to InventoryTree. 2013-12-30 09:45:30 +00:00
Chris Houseknecht
5c42b88e27 Finished icon cleanup from FontAwesome upgrade. Changed default form style to basic rather than horizontal for a much cleaner, uncluttered look, especially in dialog boxes. Group Edit dialog is starting to function. Added support for Tabs in form generator. 2013-12-28 19:45:51 +00:00
Chris Houseknecht
7ef25fec57 All form Save and Reset buttons now built with same icon, color, size. Fixed bug on Organization add/edit form that prevented Reset button from working. Fixed Jobs drop-down navigation menu- icon was missing on some pages. 2013-12-20 23:48:04 +00:00
Chris Houseknecht
d02d2ebf15 Installed FontAwesome 4. Modified form and list generation to force icon selection through a single method so that icons, icon sizes and button colors are all consistent. Everything seems to be working now with the exception of the status bubbles on list pages. Will need to modify ansible-ui.less anc change the unicode strings to new FontAwesome values. 2013-12-20 23:17:02 +00:00
Chris Houseknecht
2dd2fb95ac AC-697 Dynamic help on Permissions page based on Permission Type. Uses a help collapse. Added ngBind support to help collapse, allowing the controller to set a scope variable to an html string. Added a Permissions.js helper to share setting help text and other defaults whenever permission type changes. 2013-12-02 21:34:53 +00:00
Chris Houseknecht
a21a740bad AC-741 scm and machine type credentials now sharing ssh_key_unlock field in Credential form definition. Originally split because only machine should allow Ask option. Added new askShow option to form generator so that Ask checkbox gets an ng-show directive. 2013-12-02 18:48:41 +00:00
Chris Houseknecht
54ec61f2b7 AC-689 no longer storing selected array in scope object. SelectionInit should be called before Search in controllers- Users had it in the wrong order. Added ability to override internal selected array in SelectionInit with reference to external array to support the groups page. Fixed cosmetic/styling differences between hosts and groups inventory pages. 2013-11-25 14:12:30 +00:00
Chris Houseknecht
9171382894 Fixes for AC-715 'adding cloud credentials to job_template' and AC-721 'this.scope not defined' 2013-11-22 21:28:16 +00:00
Chris Houseknecht
0af2980d10 Fixed js error. For some reason form generator was unable to get the scope for js-tree after changes related to source_regions. Added a way to pass in scope. 2013-11-21 17:36:03 +00:00
Chris Houseknecht
98b984cf86 AC-687 cloud regions are now selectable. AC-707 fixed broken hosts and groups links on home page. 2013-11-21 08:15:58 +00:00
Chris Houseknecht
5b6eba7f93 AC-665 Added governor to object type searches, limiting objects to 30. Now using 'working' spinner in place of small spinner. No more auto search. Replaced the auto search with Go button and Enter key. 2013-11-20 09:03:11 +00:00