Commit Graph

511 Commits

Author SHA1 Message Date
leigh-mil
a6382eacf8 Return to home page when canceling out of the portfolio builder 2019-12-26 15:50:58 -05:00
leigh-mil
217a29b0dc Adjust margins on home page, globally fix hr elements to default to having margins, and add class for hr elements to span full width of their container 2019-12-18 16:55:25 -05:00
leigh-mil
ff0abe7dce Merge branch 'staging' into remove-delete-functionality 2019-12-18 15:20:41 -05:00
leigh-mil
2b884f2c85 Remove route, tests, and template code for deleting a portfolio 2019-12-18 12:22:14 -05:00
graham-dds
b270d0e4b0 Update new portfolio layout
- Move CTA buttons to floating footer
- separated -> bordered
2019-12-17 17:01:41 -05:00
graham-dds
f4f3e3dee3 Add horizontal breaks to form 2019-12-13 13:17:30 -05:00
graham-dds
a097a0ce61 Refactor New Portfolio page according to designs.
New designs call for a streamlined New Portfolio page, with far
fewer input options. This commit refactors that page according to those
designs.

Some of the route functions in this commit refer to a "step 1" of creating
a new Portfolio. Though there is no "step 2" right now, the designs call
for a multistep flow for Portfolio creation process, so this commit sets
the stage for that.
2019-12-13 13:17:30 -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
leigh-mil
74ff581570 Remove route for /portfolios 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
leigh-mil
d4facd1e36 Update emitters for vue components on portfolio settings page 2019-11-18 14:14:31 -05:00
leigh-mil
83967e6ed9 Delete unused component and macro 2019-10-22 15:12:19 -04:00
leigh-mil
0f0d9464d8 Update styling for tables across the site 2019-10-22 14:08:31 -04:00
graham-dds
9de90d796d Rename audit log feature flag config variable 2019-10-21 11:36:53 -04:00
graham-dds
2720240903 Conditionally render logs on AUDIT_LOG_FEATURE_TOGGLE 2019-10-21 10:32:58 -04:00
leigh-mil
4d59ba68d9 Add optional arg to the OptionsInput macro call to remove the optional label from the form
Disable the button to update the PPoC when there is only one portfolio
member
2019-10-16 12:16:30 -04:00
leigh-mil
c3db3322df Style portfolio header menu icons 2019-10-14 14:03:44 -04:00
leigh-mil
e6254e6f64 Update text in portfolio header and application sticky CTA 2019-10-14 14:03:44 -04:00
leigh-mil
572c2e7604 Standardize styling for hr elements and remove custom hr styling and classes that were no longer needed.
Fix styling on a few hr elements that looked wrong after global style was applied
2019-10-09 13:07:52 -04:00
leigh-mil
4c865c8c66 Style cancel link in multi-step modals 2019-10-08 16:30:28 -04:00
leigh-mil
fe29b5d838 Low-fi update of multi-step modals to fix styling 2019-10-08 16:30:28 -04:00
leigh-mil
7a4c26419f Low-fi update of modals to fix styling 2019-10-08 16:30:28 -04:00
dandds
4f8cbc2b68 Delete unused Jinja macros and rearrange templates.
Templates and fragments that relate to specific resources (portfolios,
applications, task orders) should reside in directories named for the
relevant resource. This also matches the way the application routes are
distributed among modules named for each resource type.
2019-09-25 11:19:56 -04:00
graham-dds
4c8bb0a35d change ulr_for arguments to new multistep form 2019-09-24 10:16:48 -04:00
graham-dds
f0593cde70 Break new application template into form steps 2019-09-24 10:16:48 -04:00
dandds
82c34ee9b1 Display real environment processing status. 2019-09-18 16:34:56 -04:00
leigh-mil
b35e8cfe8e Update NewMemberForm so that it has the same data structure as the UpdateMemberForm 2019-09-18 11:16:55 -04:00
leigh-mil
6de02e874b Update edit app member form so the save button becomes active on change 2019-09-18 11:16:55 -04:00
leigh-mil
303d89088b Styling for edit member modal 2019-09-18 11:16:54 -04:00
leigh-mil
2deaea98aa Move common form fields from app member form into a macro 2019-09-18 11:16:54 -04:00
leigh-mil
80dcb9c580 Move perms so they are at the top level of the form so that the data is properly populated
Add form fields for all environments in update member form
2019-09-18 11:16:54 -04:00
leigh-mil
4dab326eef Clean up code and formatting 2019-09-18 11:16:54 -04:00
leigh-mil
d296d3c237 Move modal outside of table and add csrf token 2019-09-18 11:16:54 -04:00
leigh-mil
ab102470bf Make checkboxes work 2019-09-18 11:16:54 -04:00
leigh-mil
15a844fa80 Fix html 2019-09-17 09:53:26 -04:00
leigh-mil
b041a31fa3 Fake the processing tag for envs with the name 'QA' 2019-09-16 16:28:50 -04:00
leigh-mil
0b6fc072ea Add invite links and tag for pending invite 2019-09-16 15:58:37 -04:00
graham-dds
aa613690f5 Add sum of all CLIN total values to TO summary 2019-09-12 16:11:12 -04:00
leigh-mil
a78d3353aa Add portfolio header to app pages 2019-09-10 14:16:05 -04:00
leigh-mil
a4df658857 Move cancel button in add env form 2019-09-09 15:16:43 -04:00