|
6 | 6 | <h3 class="my-2">Add New Application</h3>
|
7 | 7 | <v-row class="align-end">
|
8 | 8 | <v-col cols="12" md="6">
|
9 |
| - <v-card class="basic-card justify-center"> |
| 9 | + <v-card class="basic-card justify-center" :class="cardClass"> |
10 | 10 | <v-card-title class="text-center text-wrap">
|
11 | 11 | <v-icon class="mr-2">mdi-file-document-edit-outline</v-icon>
|
12 | 12 | $10 a Day Funding Application
|
13 | 13 | </v-card-title>
|
14 |
| - <v-card-text class="text-center d-flex flex-column align-center pt-4 pb-0"> |
| 14 | + <v-card-text class="text-center d-flex flex-column align-center pt-1 pb-0"> |
15 | 15 | {{ ofmApplicationCardText }}
|
16 | 16 | </v-card-text>
|
17 | 17 | <v-card-actions class="d-flex flex-column align-center">
|
18 |
| - <AppButton id="core-application-button" :loading="loading" :disabled="!isAddCoreApplicationAllowed" :to="{ name: APPLICATION_ROUTES.SELECT_FACILITY }" class="ma-2 mt-8"> |
| 18 | + <AppButton id="core-application-button" :loading="loading" :disabled="!isAddCoreApplicationAllowed" :to="{ name: APPLICATION_ROUTES.SELECT_FACILITY }" class="ma-2 mt-3"> |
19 | 19 | Add $10 a Day Application
|
20 | 20 | </AppButton>
|
21 | 21 | </v-card-actions>
|
|
29 | 29 | </AppAlertBanner>
|
30 | 30 | <AppAlertBanner v-else type="info">If there is no active OFM application, you will not be able to submit Allowances applications.</AppAlertBanner>
|
31 | 31 | </div>
|
32 |
| - <v-card class="basic-card justify-center"> |
| 32 | + <v-card class="basic-card justify-center" :class="cardClass"> |
33 | 33 | <v-card-title class="text-center text-wrap">
|
34 | 34 | <v-icon class="mr-2">mdi-file-document-edit-outline</v-icon>
|
35 | 35 | Allowances (Core and Discretionary Services) Application
|
36 | 36 | </v-card-title>
|
37 |
| - <v-card-text class="text-center d-flex flex-column align-center pt-4 pb-0">You must have an active OFM application for the facility to apply for Allowances.</v-card-text> |
| 37 | + <v-card-text class="text-center d-flex flex-column align-center pt-1 pb-0">You must have an active OFM application for the facility to apply for Allowances.</v-card-text> |
38 | 38 | <v-card-actions class="d-flex flex-column align-center">
|
39 |
| - <AppButton id="supp-allowances-button" :loading="loading" :disabled="!hasAValidApplicationAndGoodStanding" :to="{ name: 'supp-allowances' }" class="ma-2 mt-8"> |
| 39 | + <AppButton id="supp-allowances-button" :loading="loading" :disabled="!hasAValidApplicationAndGoodStanding" :to="{ name: 'supp-allowances' }" class="ma-2 mt-3"> |
40 | 40 | Add Allowances Application
|
41 | 41 | </AppButton>
|
42 | 42 | </v-card-actions>
|
43 | 43 | </v-card>
|
44 | 44 | </v-col>
|
45 | 45 |
|
46 | 46 | <v-col v-if="showIrregularExpenseCard" cols="12" md="6">
|
47 |
| - <v-card class="basic-card justify-center"> |
| 47 | + <v-card class="basic-card justify-center" :class="cardClass"> |
48 | 48 | <v-card-title class="text-center text-wrap">
|
49 | 49 | <v-icon class="mr-2">mdi-file-document-edit-outline</v-icon>
|
50 | 50 | Irregular Expenses Funding Application
|
51 | 51 | </v-card-title>
|
52 |
| - <v-card-text class="text-center d-flex flex-column align-center pt-4 pb-0"> |
| 52 | + <v-card-text class="text-center d-flex flex-column align-center pt-1 pb-0"> |
53 | 53 | To apply for Irregular Expenses, you must have an active Funding Agreement in place.
|
54 | 54 | <br />
|
55 | 55 | Funding requires approval before your facility incurs expenses, and you must demonstrate need for the funding.
|
56 | 56 | </v-card-text>
|
57 | 57 | <v-card-actions class="d-flex flex-column align-center">
|
58 |
| - <AppButton id="irregular-expense-button" :loading="loading" class="ma-2 mt-8 text-wrap" @click="toggleChangeRequestDialog">Add Irregular Expenses Funding Application</AppButton> |
| 58 | + <AppButton id="irregular-expense-button" :loading="loading" class="ma-2 mt-3 text-wrap" @click="toggleChangeRequestDialog">Add Irregular Expenses Funding Application</AppButton> |
59 | 59 | </v-card-actions>
|
60 | 60 | </v-card>
|
61 | 61 | </v-col>
|
@@ -295,6 +295,12 @@ export default {
|
295 | 295 | (application) => application?.isUnionized === UNION_TYPE_CODES.NO && application?.stateCode === CRM_STATE_CODES.ACTIVE && application?.statusCode !== APPLICATION_STATUS_CODES.DRAFT,
|
296 | 296 | )
|
297 | 297 | },
|
| 298 | + cardClass() { |
| 299 | + return { |
| 300 | + 'application-card-lg': this.$vuetify.display.lg || this.$vuetify.display.xl, |
| 301 | + 'application-card-md': this.$vuetify.display.md, |
| 302 | + } |
| 303 | + }, |
298 | 304 | },
|
299 | 305 |
|
300 | 306 | async created() {
|
@@ -596,4 +602,12 @@ export default {
|
596 | 602 | .soft-outline {
|
597 | 603 | border: 1px solid #dee2e6 !important;
|
598 | 604 | }
|
| 605 | +
|
| 606 | +.application-card-lg { |
| 607 | + min-height: 190px; |
| 608 | +} |
| 609 | +
|
| 610 | +.application-card-md { |
| 611 | + min-height: 210px; |
| 612 | +} |
599 | 613 | </style>
|
0 commit comments