487 Commits

Author SHA1 Message Date
hmbrink
8c0e88c5c4 Topbar, Portfolio Header, & Content alignment 2020-01-20 17:03:18 -05:00
leigh-mil
9806571001 Refactoring:
- Set dict values directly instead of creating a variable
- Comment out unused route function entirely
- Use f-strings for string interpolation
- Move div inside if statement so empty divs are not printed
2020-01-17 10:49:05 -05:00
leigh-mil
0c733dd365 Update display of PPoC and remove option to edit PPoC perms 2020-01-17 10:49:05 -05:00
leigh-mil
81680c4ba4 Add remove manager modal 2020-01-17 10:49:05 -05:00
leigh-mil
78321825a1 Add revoke invite modal 2020-01-17 10:49:05 -05:00
leigh-mil
4f345b462f Add resend invite form/modal, update routes and tests as necessary. 2020-01-17 10:49:05 -05:00
leigh-mil
56c213285f Add route to update portfolio manager perms, add modal form to update in the UI 2020-01-17 10:49:05 -05:00
leigh-mil
df285eaa7f Add toggle menu to portfolio managers table.
Stub out menu items.
2020-01-17 10:49:05 -05:00
leigh-mil
a5194d6f70 Remove PPoC files 2020-01-17 10:49:05 -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
leigh-mil
70462eee0c Display portfolio managers alphabetically instead of always having PPoC in the first table row 2020-01-10 10:25:55 -05:00
leigh-mil
17642cda4e Rename file to better reflect contents 2020-01-10 10:25:55 -05:00
leigh-mil
ffa4a1370c Set width of Name column in portfolio managers table.
Delete unused table styles.
2020-01-10 10:25:55 -05:00
leigh-mil
da398bf1ff Add status labels to portfolio managers table.
Update PortfolioRole.display_status() to return same type of data as
ApplicationRole.display_status().
2020-01-10 10:25:55 -05:00
leigh-mil
a6fcd0c76f Fix styling on member forms.
Include flash message when portfolio manager is added.
Fix submit button text
2020-01-10 10:25:55 -05:00
leigh-mil
abfe8663a1 Update copy in perms form 2020-01-10 10:25:55 -05:00
leigh-mil
89035c815b Update styling for Manager name and add 'You' tag 2020-01-10 10:25:55 -05:00
leigh-mil
c9d0c64c1f Fix and generalize styling for member form macro
Only display permissions with 'Edit' value
Delete unused files and rename MemberForm macro file
2020-01-10 10:25:55 -05:00
leigh-mil
79b2773852 Portfolio manager invite updates:
- Update the form to use BooleanFields for the permissions and make the
form more similar to the Application Members form
- Use MemberFormTemplate macro in the portfolio settings template
- fix tests affected by the form changes
2020-01-10 10:25:55 -05:00
leigh-mil
ff3e585dfe Initial formatting and styling of portfolio managers table. Deleted unused css 2020-01-10 10:25:55 -05:00
leigh-mil
667554dba4 Update styling on portfolio admin page, update portfolio form to include description 2020-01-06 15:55:07 -05:00
leigh-mil
8710028256 Fix factories and seed sample script
Update display of defense component on portfolio settings page
2020-01-06 13:08:57 -05:00
leigh-mil
dad54ec139 Create new migration to convert column type of defense_component from
string to array
2020-01-06 13:08:56 -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
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