1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00
Commit Graph

2247 Commits

Author SHA1 Message Date
Matthew Jones
d4ef57bab6 Add absolute end value for limited json stdout view 2014-06-26 11:21:03 -04:00
Chris Houseknecht
745eb00b3f Job stdout scrolling
Started adding bits to detect when user scrolls up. When that happens stop showing live events.
2014-06-26 11:02:40 -04:00
Matthew Jones
7ecbe727ca More fix up for job event aggregation filtering 2014-06-26 10:51:44 -04:00
Jared Tabor
e5a89ff976 initial dashboard changes added to home view
added newDash.js, dummy data files, and nv.d3.js
2014-06-26 10:32:36 -04:00
Chris Houseknecht
2d642c58d7 Job detail page
Added dialog for viewing host results and a bunch of formatting. Linked host summary to job_host_summaries page (yes, that still exists). Host results now shows 'skipped' hosts with a blue icon rather than green.
2014-06-26 04:40:09 -04:00
Chris Houseknecht
fa3896ccb8 Jobs page
Changed Job ID label to ID.
2014-06-25 22:52:35 -04:00
Chris Houseknecht
73255eace9 Job detail page refactor / 2.0 style changes
Removed well and index from primary list pages. Job detail page cleanup. Fixed status filter on host summary list. Incresed # rows kept in memory for each list to 100. Showing unreachable host count on the play, mostly to help debugging.
2014-06-25 22:45:16 -04:00
Matthew Jones
ed9bb6c572 More filtering fix ups 2014-06-25 17:14:31 -04:00
Matthew Jones
29e698eb41 Support lt filtering on job_tasks and job_plays also 2014-06-25 17:04:56 -04:00
Matthew Jones
d9e9a88d3c changed and failed are elements on the jobevent model and we should use those 2014-06-25 17:01:39 -04:00
Matthew Jones
7a9c1a5916 Fix an inconsistent variable usage in the job tasks view 2014-06-25 16:30:58 -04:00
Chris Houseknecht
3516ad4b98 Job detail page refactor
Re-enabling a count of the possible hosts that should report status on each task. As live events happen increment a count stored on the play. Only increment when hosts are reporting for the first task of the play, and only increment if the host status is in: successful, changed, skipped or failed. Added the total to the plays list as 'Reporting Hosts'.
2014-06-25 16:24:30 -04:00
Matthew Jones
8c502478a0 Allow taking the ordering parameter in the unit tests for the decorator 2014-06-25 14:54:32 -04:00
Matthew Jones
053bb4eeb0 Add ordering and various filtering for job events as requested by AC-1349 2014-06-25 14:27:06 -04:00
Chris Houseknecht
e4fd79f653 2.0 style changes
Fixed drop-down account menu so that it no longer behaves like a drop-down when the menu collapses on small viewports. On large screens added a right margin to the drop-down menu. Moved Logout to the bottom of the submenu. On large screens the drop-down now includes a divider above the logout option.
2014-06-25 12:59:58 -04:00
Chris Houseknecht
994c87eb0c 2.0 style changes
Fixed collapsed menu on small viewports. On a small viewport the web socket beacon now displays to the left of the menu button. On large screens it appears as part of the menu.
2014-06-25 12:41:26 -04:00
Chris Church
3b9fe8b954 Fix failing rax unit test, nly check that enabled flag is set on hosts that were previously enabled insead of all hosts. 2014-06-25 12:35:50 -04:00
Chris Houseknecht
04f0ea409b Job detail page refactor
Fixed auto-resize. The page now differentiates between plays, tasks and host results when allocating space. The play list gets the least amount of space. Tasks receives slightly less than it used to but more than plays. Host results gets the most space at nearly 2x what it received previously.
2014-06-25 11:58:49 -04:00
Chris Houseknecht
5ee176e451 2.0 style changes
More work on status area of job detail page. It now collapses perfectly as viewport size shrinks.
2014-06-25 11:54:11 -04:00
Luke Sneeringer
6930057d32 Removing Vagrant dev things. 2014-06-25 08:59:24 -05:00
James Laska
699eef1fbd Correct js typo 2014-06-25 08:32:16 -04:00
Chris Houseknecht
b6947d0260 2.0 style changes
Fixed job tab page resizing. If the viewport width > 1000, then calc box sizes and max # of rows.
2014-06-25 07:53:50 -04:00
Chris Houseknecht
0bef303c97 Job detail page refactor
Section headers are now bold
2014-06-24 17:36:57 -04:00
Chris Houseknecht
0a829dc610 Job detail page refactor
Restyled status information using horizontal form layout with overrides to make not look like a form. Added a more/less link to hide or show additional details (i.e. job template, project, inventory). Added proper labels for finsished and elapsed. Looking much better.
2014-06-24 17:32:04 -04:00
Chris Houseknecht
3c05334d33 2.0 style changes
Right justified Account menu. Modified bootstrap menu collapse setting to force collapse at 1075px so that we never show the menu on multiple lines. Started changing styles on job detail page so that we auto-resize behavior can be restored.
2014-06-24 15:41:28 -04:00
Chris Houseknecht
1e3f2c02e9 Job detail page refactor
Fixed host result sort order
2014-06-24 13:58:39 -04:00
Chris Houseknecht
f78197970e 2.0 Styling changes
Removed breadcrumbs from lists. Removed breadcrumbs from job tab. Added some space to top of jobs tab content. Fixed auto-sizing on jobs page.
2014-06-24 13:25:39 -04:00
Chris Houseknecht
09f42399e5 Job detail page refactor
Draw host results in reverse order
2014-06-24 12:51:17 -04:00
Chris Houseknecht
540f10bfbc Job stdout refactor
More infinite scrolling. Mostly seems to be working. However, we're not removing content, just continually adding as user scrolls back up.
2014-06-24 11:34:25 -04:00
Matthew Jones
41e1d809b5 Refactor job event collection to build and manage an internal cache of
potential parent values to reduce the number of queries to the database
2014-06-24 10:37:06 -04:00
Chris Houseknecht
c60fb7a58f Job stdout refactor
Infinit scroll in the upward (or back in time) direction works.
2014-06-24 04:04:46 -04:00
Chris Houseknecht
8752c71e38 Job stdout refactor
Fixed stdout container to use the the new stdout style sheet. Controller for stdout now correctly calcs height of the content container.
2014-06-23 16:57:11 -04:00
Matthew Jones
95ba711fc1 Fix up a bug in the unit test from fixing the job template assumption 2014-06-23 14:13:50 -04:00
Chris Houseknecht
9b1982a2e5 Remove tmp backup files 2014-06-23 13:47:07 -04:00
Chris Houseknecht
2c0e0324f6 Job stdout refactor
Switching to new stdout endpoint and restyling.
2014-06-23 13:42:15 -04:00
Matthew Jones
8d78755ef4 Fix some invalid assumptions about hosts and jobs where we assume a job
template will always be available
2014-06-23 13:39:09 -04:00
Matthew Jones
788cf2e24e Report range information with json format endpoint on job stdout 2014-06-23 12:24:43 -04:00
Chris Houseknecht
e9084d0c33 Styling changes
Adjust white space at top of menu and on top/bottom of breadcrumbs.
2014-06-23 11:47:16 -04:00
Chris Houseknecht
b0a03697b6 Job detail page refactor
Fixed failed filter reset.
2014-06-20 13:04:12 -04:00
Chris Houseknecht
e6cf440511 Job detail page refactor
Fixed page filtering. Made tasks and plays selectable again.
2014-06-20 12:59:11 -04:00
Chris Houseknecht
91eff95842 Add Tower bootstrap CSS to repo
Not having this in the repo forces folks to go through the build process in their dev environments, which is proving to be a headache.
2014-06-20 11:04:36 -04:00
Chris Houseknecht
7d91a8ba92 Job detail page refactor
Fixed js compile error
2014-06-20 10:31:05 -04:00
Chris Houseknecht
c074d81c95 Job detail page refactor
When live event processing is happening (job is not in a completed state) infinite scroll is now disabled. This keeps the programmatic scroll to bottom from tripping an API call.
2014-06-20 10:29:00 -04:00
Chris Houseknecht
22a51a18f1 Job detail page refactor
Things being added to the DOM were passed by reference and not value. Fixed that using json stringify/parse. Now the DOM does not update in real time. Added in updated of summary list and graph. Performing updates every 5 sec.
2014-06-20 03:07:47 -04:00
Chris Houseknecht
5cdba539c6 Job detail page refactor
Push DOM update interval out to 12 sec.
2014-06-20 02:16:37 -04:00
Chris Houseknecht
a024de5702 Job detail page refactor
Reconnected scroll bar bits mostly.
2014-06-20 02:00:15 -04:00
Chris Houseknecht
ff1cce8509 Job detail page refactor
Exploring was to make the DOM update less CPU intensive.
2014-06-19 23:22:48 -04:00
Chris Houseknecht
346595854c Job detail page
When UpdateDOM is enabled, the CPU melts. Experimenting with ways to updated the DOM without it being sucha drain.
2014-06-19 23:04:04 -04:00
Chris Houseknecht
0f435eb42c Job detail page refactor
Cleaning up end of job processing to make sure we only reload things 1x at the end. Now drawing graph each time DOM is updated.
2014-06-19 22:20:25 -04:00
Chris Houseknecht
44da2f5cf8 Job detail page refactor
Latest DOM update changes and fixes
2014-06-19 18:16:54 -04:00