Commit Graph

46 Commits

Author SHA1 Message Date
leigh-mil
e6291ad850 Refactor EmptyState macro and update styling for view only empty state based on new designs 2020-01-24 11:02:03 -05:00
leigh-mil
4ed75caf2a Replace Lorem on Reports page 2020-01-21 11:57:09 -05:00
graham-dds
ffd3dd2d9d use v-text instead of v-html
v-html interprets the string passed to it as raw html, without escaping.
We should use v-text wherever possible.
2020-01-14 16:19:27 -05:00
graham-dds
490d778743 Better incorporate fixture data into reporting
Before this commit, if a portfolio wasn't present in the spending fixture
data, the reporting screen would be empty -- even if the portfolio had
applications and environments associated with it on the database. Now,
0s appear if an application and / or environment isn't present in the
fixture data.
2020-01-06 12:01:13 -05:00
leigh-mil
ee2aa4bda9 Generalize class name to better reflect its use. 2020-01-02 12:57:21 -05:00
leigh-mil
cbcac2b142 Rename review route and template to view because it better reflects the purpose of the route and template 2020-01-02 12:45:52 -05:00
graham-dds
6332315f71 Remove unecessary template vars 2019-12-10 11:23:53 -05:00
graham-dds
3b265b0eb6 Flash message for insufficient funding 2019-12-10 11:23:53 -05:00
graham-dds
dc9a21a501 Refactor mock reporting data and class methods
All mock reporting data was moved to a JSON file. The concept of
what JEDI CLIN a particular environment drew money from was added to the
data.

This change had a cascade effect to the reporting class methods,
templates, and Vue components that ingested that reporting data. Many of
these files were modified to adapt to these changes. This also included
modifying the obligated funding bar graphs to reflect new design
changes.
2019-12-10 11:23:53 -05:00
leigh-mil
6dabd0bf35 Move copy into translations file 2019-12-03 15:43:06 -05:00
leigh-mil
31d9f34615 Add in check for edit perms before showing add/create button in empty state macro 2019-12-03 15:43:06 -05:00
leigh-mil
8e25adb1c3 Update EmptyState macro to align with new designs 2019-12-03 15:43:06 -05:00
graham-dds
00b79e2c7b Modify styling for app / env spend table 2019-11-27 15:52:52 -05:00
graham-dds
4e0af139cc Style and refactor components for expired funding
- modify Accordion component to be able to customize classes and tags
that it uses to build markup
- modify the shape of the object that the mock CSP returns for data that
builds this section.
 - Also ensures that the CLINs TOs and CLINS are sorted
- add appropriate css for styling
2019-11-27 15:52:48 -05:00
graham-dds
33711c9605 Styling for portfolio summary section of reporting 2019-11-26 16:56:33 -05:00
graham-dds
51f1261db0 Order CLINs on reporting page and refactor labels
In order to more easily sort JEDI Clins for the obligated funds section,
the JEDI CLIN enum values were used in the output dict instead of their
verbose labels. And in order to bring the labels in line with designs,
the JEDI CLIN labels were DRYed up in the translations file, which
required making small changes in a few other places across the project.
2019-11-26 16:17:22 -05:00
graham-dds
fa9986f9bf Styling for Obligated Funding section of reports 2019-11-26 16:16:32 -05:00
graham-dds
0303434561 First pass at new reporting designs
This commit lays out the genral structure and provides necessary
data for the new reporting page designs.

Some of the data generated by the report domain classes (including
the mock CSP reporting class) was modified to fit new designs. This also
included removing data that was no longer necessary. Part of the newly
mocked data includes the idea of "expended" data per CLIN or task order.
This was was mocked simply by using a 75% of the obligated funds fo a
given object. Tests were also written for these new/ modifed reporting
functions.

As for the front end, this commit only focuses on the high-level markup
layout. This includes splitting the large reporting index page into
smaller component templates for each of the major sections of the report.
2019-11-25 13:12:35 -05:00
graham-dds
4c8bb0a35d change ulr_for arguments to new multistep form 2019-09-24 10:16:48 -04:00
leigh-mil
64b582d966 Use add_perms to only show button if user can create apps 2019-07-15 09:22:23 -04:00
dandds
30b93d1c50 Remove unused TO code. 2019-06-12 14:27:36 -04:00
richard-dds
783281fade Merge pull request #853 from dod-ccpo/nav-changes
Portfolio navigation changes
2019-06-04 15:29:29 -04:00
richard-dds
d4b65ec34c Always use Portfolio name in header 2019-06-04 13:44:51 -04:00
Montana
5fb44b39b0 Use default table styling for CLIN tables 2019-06-04 10:13:55 -04:00
dandds
78ba6afba0 rename and rearrange some portfolio route functions 2019-04-22 07:20:08 -04:00
dandds
782a532c32 reorganize task order routes 2019-04-22 07:20:07 -04:00
dandds
849c5d4b58 Rearrange and rename application routes.
- move application routes to their own Flask blueprint
- squash application routes to be resource-specific
- reorganize application routes
2019-04-22 07:19:30 -04:00
rachel-dtr
649f7260ab Updating capitalization for app settings 2019-04-16 10:51:31 -04:00
Montana
ff54ef0a8a Generalize table headers and titles 2019-04-11 16:57:21 -04:00
Montana
f6f093ef85 Generalize styling for accordion tables 2019-04-11 15:54:56 -04:00
dandds
44a4d98978 switch portfolio authorization to rely on new permission sets 2019-03-15 07:14:49 -04:00
George Drummond
cc73b0948e Fix meter when budget is 0 2019-02-18 14:44:06 -05:00
Patrick Smith
33b0fe27e3 Fix link url and padding issue on reporting page 2019-02-12 17:33:31 -05:00
Patrick Smith
10f84d57c3 Change alignment of remaining days relative to expiration date 2019-02-12 17:28:35 -05:00
Patrick Smith
4db08859c9 Make "remaining days" black instead of red 2019-02-12 17:23:03 -05:00
Patrick Smith
f80e8aca6c Small tweaks to better match wireframes 2019-02-10 09:38:01 -05:00
Patrick Smith
38bfc74edd Add a little triangle on expanded applications 2019-02-10 09:18:37 -05:00
Patrick Smith
7278650395 Update styles on spend table in reports 2019-02-10 09:18:37 -05:00
Patrick Smith
fede9f81ee Touch up styles on current task order panel 2019-02-10 09:18:37 -05:00
Patrick Smith
51687dabff Pass active task order to reports page instead of legacy task order 2019-02-10 07:58:36 -05:00
Patrick Smith
288d207386 Fix link to manage task orders 2019-02-09 09:58:51 -05:00
Patrick Smith
4d999d1423 Update styles on "total spend" panel 2019-02-09 09:57:55 -05:00
Patrick Smith
43cb6477f1 Remove alert on reports page 2019-02-09 09:06:42 -05:00
Patrick Smith
45ed8811f7 Explicitly set secondary breadcrumbs 2019-02-07 09:32:10 -05:00
dandds
0eec42c55b change constant names 2019-01-14 16:00:17 -05:00
dandds
d3d36822df workspace -> portfolio everywhere 2019-01-14 16:00:17 -05:00