Commit Graph
100 Commits
Author SHA1 Message Date
Jared Tabor a35368f558 Adding initial notifications files 2016-03-04 15:39:23 -08:00
Jared Tabor 656f77c0de clean up stale code 2016-03-04 07:42:56 -08:00
Jared Tabor fdaee0242a Adding Standard Out and other Job Detail things
This includes the work from the Job Detail standard out panel along with fixes from feedback from UX and other UI devs.
This includes:
- result panel CSS fixes
- selected row styling
- stop job button functionality
- websockets for job detail
- everthing for adding stdout to the job detail: panel, styling, toggle, and websockets
2016-03-03 22:31:40 -08:00
Jared Tabor 295c6b7db5 Fixes from PR review: panel title alignment, cleanup stale code, add color alias for toggle button 2016-03-02 11:54:06 -08:00
Jared Tabor 78baabf676 Job Details--details panel and events summary
This PR consists of the restyling for the Job Details page, specifically for the details panel and for the events summary panel. It includes, but is not limited to changes to the tables, icons, status representations, expendables panels, positioning on screen, the search bars, the toggles, and the pie chart. I also added a CodeMirror instance for the Results panel as a follow up to my last PR.

Remaining items: Responsiveness is the main one, a lot of JS side styling was done on the job detail page to make it fit on one screen. I'll need to have a deeper dive with UX to figure out what we want to do when this page is displayed on smaller browsers. I also have not gotten to the stdout out for htis page.
2016-02-29 22:11:29 -08:00
Jared Tabor 93719094ea Using aliases for colors instead of hard coded pigments 2016-02-19 10:39:17 -08:00
Jared Tabor 68f619e358 Job Detail Results panel tweaks after UX review 2016-02-19 10:23:18 -08:00
Jared Tabor 95467a6b97 Restyling of job detail results panel 2016-02-18 19:38:49 -08:00
Jared Tabor 8f1c88e35d adding less file 2016-02-18 12:27:30 -08:00
Jared Tabor 8ec19f9226 Initial restructuring of Job Detail code
To use our new modular approach to organizing code by feature
2016-02-17 13:53:18 -08:00
Jared Tabor 7509fdf751 Password element styling 2016-02-11 23:35:44 -08:00
Jared Tabor 3503ec9deb Styling of genMD5 input field on JT form page
uses same styling as the lookup button
2016-02-11 22:47:48 -08:00
Jared Tabor b0d5403d41 changing color of dropdown arrow for select2
for whenever the dropdown menu is open
2016-02-11 22:41:23 -08: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 9fa6d74efc Formatting job template-job tag element
Accomplished by adding the regular text input styling. This field is a 1 line textarea so adding the Form-textInput class gives it all the styling it needs.
2016-02-11 22:10:55 -08:00
Jared Tabor 44bf4e1ac4 Changing CodeMirror font back to monospace
previously I had set it to Open Sans to match the rest of Tower.
2016-02-11 22:07:19 -08:00
Jared Tabor 8e45862439 Number input styling 2016-02-11 17:20:03 -08:00
Jared Tabor 1bf1fa6e9e Lookup field styling
This does not include the modal restyling, but simply the input style itself
2016-02-11 09:26:29 -08:00
Jared Tabor 2b3783adf4 Dropdown styling
This uses select2 for styling of the <select> form elements. I'm forcing some styling overrides for select2, therefore we no longer need the select2-bootstrap-theme library.

For all add-forms, select2 is attached after the form compiles in form-generator. For edit-forms however, the select2 module
couldn't be attached to the select element until after the options selection had taken place (which takes place after the REST request). Therefore I had to add some calls to CreateSelect2 in the edit controllers.
2016-02-11 09:15:19 -08:00
Jared Tabor 47e80405e2 Styling of text input fields 2016-01-29 15:06:13 -08:00
Jared Tabor b68b1231a2 removing stale textarea code 2016-01-28 08:04:14 -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
Jared Tabor 652a41c84f Jobs Page tabs re-styling
Removing the Bootstrap tabs in place of our custom ones
2016-01-25 13:43:15 -08:00
Jared Tabor c981a4d53e Minor adjustments for demo 2016-01-22 07:38:42 -08:00
Jared Tabor 058aaee44e more padding beneath form title 2016-01-21 13:38:21 -08:00
Jared Tabor 6ba646aa72 adjusting left margin for settings page
for screen widths less than 710px
2016-01-20 20:58:01 -08:00
Jared Tabor b750625a31 Setup Menu cards styling 2016-01-20 15:37:44 -08:00
Jared Tabor 9351e29936 Fixing Users form for tabs
instead of accordions
2016-01-20 11:41:48 -08:00
Jared Tabor 8978c5bf54 Re-Enabling Pendo User Guides 2016-01-20 10:45:42 -08:00
Jared Tabor f6ab2fdff7 Adjusting 2 small things to forms
1) Changing the color of the SAVE button when disabled in order to make the text pop
2) Adding the ADMIN label to the title of hte user's form when the user is an admin
in order to make the white text pop
2016-01-20 10:23:48 -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
Jared Tabor 516955fe12 Changing HTML for tabs instead of accordions
This gets the tabs on the screen and adds styling for the tabs. Does not include isSelected styling
2016-01-12 16:16:36 -08:00
Jared Tabor 72d0436e25 Changing Submit-button color to grey when disabled 2016-01-12 10:06:32 -08:00
Jared Tabor db2adb3188 Cleaning up old code from form-gen/gen-helpers 2016-01-12 09:08:52 -08: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
Jared Tabor 414a5e2be0 Putting list views and form views on same page
for remaining CRUD pages
2016-01-06 12:56:57 -05:00
Jared Tabor d35fd089be fixing management_jobs routes 2016-01-05 22:49:53 -05:00
Jared Tabor e6040371b7 Code cleanup
removing commented out code, and fixing management jobs and inventory scripts for passing objects to states
2016-01-05 22:29:12 -05:00
Jared Tabor 33955e3d77 removing old route 2016-01-05 15:00:17 -05:00
Jared Tabor 87b0a9abab fixing system tracking route 2016-01-05 14:00:45 -05:00
Jared Tabor 95240e03ab Removed old breadcrumb references 2016-01-05 14:00:35 -05:00
Jared Tabor 63c16af26a removing ngRouter and old routeExensions 2016-01-05 13:59:41 -05:00
Jared Tabor f9f8083a5c Testing with nested views/states
tested with inventories and projects pages
2016-01-05 13:59:41 -05:00
Jared Tabor 7a75f6d12a few remaining routes to fixup 2016-01-05 13:59:40 -05:00
Jared Tabor 4bf357659f adding states for modular-ly defined routes 2016-01-05 13:59:40 -05:00
Jared Tabor 3f92e4b193 small symantic changes to $stateExtender and it's directory 2016-01-05 13:59:39 -05:00
Jared Tabor de7b6ba7bd potential solution for extending $stateProvider
and modularizing states
2016-01-05 13:59:39 -05:00
Jared Tabor ca4687cb99 changing all $routeParams with $stateParams 2016-01-05 13:59:38 -05:00
Jared Tabor f61bfa21da changing $routeChangeStart to $stateChangeStart 2016-01-05 13:59:38 -05:00
Jared Tabor 690d485616 changing all .when to .state for state provider 2016-01-05 13:59:37 -05:00
Jared Tabor c06250fc57 UI-Router: inventories manage, with nested groups
containing their own routes
2016-01-05 13:59:37 -05:00
Jared Tabor 5e777bd992 installing ui-router 2016-01-05 13:59:37 -05:00
Jared Tabor 497a404e95 Commenting out ngAnimate, as it is preventing the view to show up for most routes
This is only temporary
2015-12-18 14:52:33 -08:00
Jared Tabor 8523b2dbe9 adding padding to sides of main view of dashboard 2015-12-17 11:38:20 -08:00
Jared Tabor 48b52a6681 Updating the dashboard graphs to 3.0
This includes styling the graphs, moving the filters around, and changing the tabs to take up less space. Also made the graphs responsive.
The footer background color also changes to match the main body background.
2015-12-17 11:24:00 -08:00
Jared Tabor f1640c76a4 Temporarily removing ngAnimate injection
so that routes work in tower. This is only until we have time to diagnose the deeper cause of this issue.
2015-12-11 16:56:04 -05:00
Jared Tabor 405f0aef5e Making extra-var save consistent for groups/hosts
comments weren't being saved for group properties or host properties. I've realigned them to work consistently as inventory source vars, and job template vars work, in order to accept comments.
2015-12-09 17:02:13 -05:00
Jared Tabor 7a308db3e5 vendoring ng-pendo as an Tower module 2015-11-19 10:54:22 -08:00
Jared Tabor 9c435080ac CheckAccess for related fields for teams
for permissionsaddallowed
2015-11-18 11:10:10 -08:00
Jared Tabor 36df115774 20px padding for dashboard list widgets 2015-11-17 13:23:51 -08:00
Jared Tabor ab2da5058e fixing issue with nav bar routing
projects, inventories, and job templates would not route to correct location
2015-11-17 12:00:26 -08:00
Jared Tabor 4d45e0f778 removing the action column for the jobs list
on the dashboard
2015-11-17 10:01:30 -08:00
Jared Tabor 8be8b41539 Jobs list polish
adjusting small things from the PR review: focus text-color, SmartStatus SUIT, and direct edit button to job template page
2015-11-17 09:28:01 -08:00
Jared Tabor 8b3faa24e2 Revamp of the Dashboard Lists
This commit includes the face lift for the lists on the dashboard.

Remaining items/Known errors are:
sort doesn't work on table columns
I need to remove sparklines from the project

fixing column resize issues and adding ellipses for

long text that overflows the table cell.

adding 20px spacing between columns

per request of Taufique

SmartStatus "running" icon and links for jobs list

removing JQuery's Sparklines lib

adding more padding to main layout

for nav and footer
2015-11-16 17:44:27 -08:00
Jared Tabor 01b77168b5 Update response object nesting for pendo service 2015-11-16 12:46:11 -08:00
Jared Tabor 4ac56a474b Set footer opacity to 0 when on login modal
and hide the copyright if the screen is not wide enough for it
2015-11-12 00:35:20 -08:00
Jared Tabor edc364be8b Directivize footer and make it sticky
Sticky to bottom of screen if viewport is taller than brawser window
2015-11-05 16:57:05 -08:00
Jared Tabor d8aff34f63 null pointer exception 2015-11-05 11:17:17 -08:00
Jared Tabor 0c6bb50dd4 Tower 3.0 footer
footer with copyright and logo
2015-11-04 15:21:41 -08:00
Jared Tabor 095f8d349d adding default value for idle modal 2015-11-03 07:45:31 -08:00
Jared Tabor 555a8314d6 Checking for valid object in ProcessErrors 2015-11-02 15:57:17 -08:00
Jared Tabor 045014f3bc posting license after user posts license
then reissue pendo identity
2015-10-29 16:35:09 -07:00
Jared Tabor 861766e513 Adding ansible & tower versions to pendo object
Adding these keys to the account_id object
2015-10-29 14:34:53 -07:00
Jared Tabor f5bf789cb1 disabling pendo guides
we're not using the pendo guides in this release. This change turns off the outbound requests to pendo to check for guides.
2015-10-29 13:56:31 -07:00
Jared Tabor 3892b3db1c Forgot to update object reference for upgraded $http service from angular 1.4 2015-10-28 10:08:46 -07:00
Jared Tabor d2cefe6018 adding null pointer check
for timer factory when a user logs out from another tab
2015-10-28 08:47:09 -07:00
Jared Tabor 65d44287df fix console error with rest interceptor
null pointer exception fixed
2015-10-27 21:09:12 -07:00
Jared Tabor 12d31c5099 promise function was outdated for $http request of config.js
using .catch instead of .error
2015-10-27 20:49:37 -07:00
Jared Tabor 6c8597cf95 Wrapping timer init in promise
to ensure that timer is started before initializing websockets. This was leading to instances where the websocket thought that the session
hadn't been started yet. Also fixed an issue where the session wasn't tearing down the $interval when AUTH_TOKEN_PER_USER had been exceeded.
2015-10-27 13:51:54 -07:00
Jared Tabor 80eeda1c8c removing stale code
to make atom happy :)
2015-10-25 18:32:54 -07:00
Jared Tabor b83dfda92c fixing a null pointer exception if services are down and user attempts to login 2015-10-25 17:29:29 -07:00
Jared Tabor e18791a657 Integer Directive was returning false for a blank string
this was causing the integer directive to throw an error if the user entered something in the field, then erased it.
2015-10-25 14:48:23 -07:00
Jared Tabor f73e56439a On logout, log the user out of the UI on all open tabs
I've also reworked the logic around storing the user session idle time in localStorage
2015-10-23 17:12:04 -07:00
Jared Tabor d7c78d0b28 adding check for missing session time from local storage
for gracefully failing if session time isn't set
2015-10-16 20:26:25 -07:00
Jared Tabor fa2a11d8e7 Properly handle idle/expired session across tabs
this utilizes local storage instead of cookies/rootscope
2015-10-16 16:48:09 -07:00
Jared Tabor b45534859f fixing custom inventory script error
the source_script ID wasn't getting translated to inventory script ID on sources_scope when editing a preexisting source
2015-10-14 13:40:37 -07:00
Jared Tabor ff121a56c1 check for object existence before searching for key on that object
to resolve some console errors in regards to http  error handling
2015-10-14 09:14:44 -07:00
Jared Tabor 7e95b3cde7 fixing timer that would log user out on each page refresh
the check to see if the session time existed in memory was not specific enough
2015-10-13 11:37:55 -07:00
Jared Tabor 17fe670393 making pendo bootstrapping more explicit
bootstrap if state is anonymous/detailed (was previously set to !off)
2015-10-13 10:28:54 -07:00
Jared Tabor 414b8292ab removing ng-pendo from UI packaging
because Pendo pushed the updated ng-pendo to their server for delaying the bootstraping of pa.min.js
2015-10-12 09:54:08 -07:00
Jared Tabor d937f996ae adding ng-pendo.js
until the pendo guys load it on their servers
2015-10-08 14:12:47 -04:00
Jared Tabor fa4dd9a335 load pa.min.js for pendo on demand
courtesy of our friends at Pendo
2015-10-08 11:58:49 -04:00
Jared Tabor b6e51a0cd4 updated $http call to angular 1.4 implementation 2015-10-08 11:46:15 -04:00
Jared Tabor 4ea2e10f1c rejecting promise on requestError REST interceptor 2015-10-08 11:45:39 -04:00
Jared Tabor 116b0849a7 updated $http call to angular 1.4 implementation 2015-10-06 17:42:17 -04:00
Jared Tabor 55e6206d74 rejecting promise on requestError REST interceptor 2015-10-06 12:11:14 -04:00
Jared Tabor 2056ac16d5 use isEmpty check for valid object on session limit 2015-10-02 00:46:43 -04:00
Jared Tabor c96f0234f9 UI side of the session limit
includes the 'control' socket, kicking the user out, and adjusting the
expireSession function based on the reason
2015-10-01 18:02:06 -04:00
Jared Tabor fd34854f7a Session timeout after idle session
This commit is the UI portion of the session timeout feature for 2.4 (not incorporating the session_limit yet). This includes actively ending a session when the user's session time has expired, as well as giving the user a notification one minute prior that their session is about to end. It also includes removing 'session_timeout' from config.js. This is now retrieved from the response headers of each REST call. Each time the user make a rest call the session is extended another 1800 seconds (or whatever amount the user might configure with AUTH_TOKEN_EXPIRATION in local_settings.py)
2015-10-01 18:01:22 -04:00
Jared Tabor 879941e029 rejecting promises if erroring out 2015-09-30 13:51:01 -04:00