@byu-oit/vue-decision-processing-components 8.35.8 → 8.35.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/CODEOWNERS +1 -0
- package/.github/workflows/deploy.yml +40 -50
- package/.repo-meta.yml +55 -55
- package/AdmitPeriodConfig.vue +115 -115
- package/ApiCallButton.vue +91 -91
- package/ApplicantInfo.vue +100 -100
- package/AssignmentBulkDialog.vue +153 -153
- package/AssignmentDialog.vue +117 -117
- package/AssignmentSummary.vue +75 -75
- package/BackgroundBadge.vue +83 -83
- package/BackgroundDetailCrime.vue +78 -78
- package/BackgroundDetailPluralMarriage.vue +43 -43
- package/BackgroundDetailSexRegistry.vue +43 -43
- package/BackgroundDetailUniversity.vue +37 -37
- package/CHANGELOG.md +676 -676
- package/Dashboard.vue +201 -201
- package/DashboardApplicationList.vue +50 -50
- package/DecisionDialog.vue +178 -178
- package/Details.vue +124 -124
- package/DetailsActivity.vue +59 -59
- package/DetailsBackground.vue +143 -143
- package/DetailsBackgroundDetail.vue +47 -47
- package/DetailsBackgroundSummary.vue +66 -66
- package/DetailsCesHold.vue +107 -107
- package/DetailsCollege.vue +93 -93
- package/DetailsContact.vue +65 -65
- package/DetailsDecision.vue +183 -183
- package/DetailsDecisionHistory.vue +56 -56
- package/DetailsEndorsement.vue +74 -74
- package/DetailsEssay.vue +59 -59
- package/DetailsFilenote.vue +62 -62
- package/DetailsFilenoteList.vue +109 -109
- package/DetailsFlagSection.vue +176 -176
- package/DetailsHeader.vue +263 -263
- package/DetailsHighSchool.vue +99 -99
- package/DetailsHsTranscript.vue +100 -100
- package/DetailsInstitute.vue +90 -90
- package/DetailsMission.vue +88 -88
- package/DetailsNewAppHistory.vue +50 -50
- package/DetailsNotes.vue +83 -83
- package/DetailsPathway.vue +45 -45
- package/DetailsScoringSection.vue +128 -128
- package/DetailsSection.vue +116 -116
- package/DetailsSeminary.vue +184 -184
- package/DetailsSrs.vue +52 -52
- package/DetailsSubnav.vue +54 -54
- package/DetailsTestScores.vue +131 -131
- package/ExpandIndicator.vue +75 -75
- package/ExternalLink.vue +34 -34
- package/FilterBreadcrumb.vue +85 -85
- package/FilterButton.vue +86 -86
- package/FilterButtonAdmitPeriod.vue +104 -104
- package/FilterButtonAppType.vue +103 -103
- package/FilterButtonAssignedTo.vue +96 -96
- package/FilterButtonClearFilters.vue +65 -65
- package/FilterButtonSex.vue +105 -105
- package/FlagButton.vue +59 -59
- package/FlagDialog.vue +129 -129
- package/Footer.vue +432 -432
- package/Header.vue +132 -132
- package/HighSchoolSummary.vue +60 -60
- package/InternationalIndicator.vue +44 -44
- package/InternationalStatus.vue +48 -48
- package/LICENSE +201 -201
- package/LoadingBadge.vue +58 -58
- package/ManageAssignments.vue +123 -123
- package/NoAuth.vue +14 -14
- package/NoteDialog.vue +106 -106
- package/ObjectViewer.vue +49 -49
- package/Queues.vue +278 -268
- package/QuickLinks.vue +25 -25
- package/README.md +2 -2
- package/RecentApplications.vue +53 -53
- package/Report.vue +340 -340
- package/ReportDetail.vue +279 -279
- package/ReportList.vue +87 -87
- package/ReportPhotos.vue +65 -65
- package/ReportSvg.vue +78 -78
- package/ReportViewer.vue +165 -165
- package/RequestAccess.vue +14 -14
- package/RequestAccessList.vue +45 -45
- package/RoleSelector.vue +29 -29
- package/Search.vue +22 -22
- package/ShowApplicantIds.vue +100 -100
- package/SortableHeader.vue +53 -53
- package/Spinner.vue +34 -34
- package/StarredIndicator.vue +36 -36
- package/StatBox.vue +73 -73
- package/StatCharts.vue +196 -196
- package/SupportDialog.vue +172 -172
- package/UserInfo.vue +52 -52
- package/YesNoIndicator.vue +48 -48
- package/dateTimeFormat.js +67 -67
- package/gpaCalculation.js +162 -162
- package/gpaFilter.js +5 -5
- package/hsSummary.json +2019 -2019
- package/package.json +37 -36
- package/parsers/application.js +396 -396
- package/parsers/decisionHistory.js +27 -27
- package/parsers/filenotes.js +27 -27
- package/parsers/notes.js +49 -49
- package/parsers/packet.js +88 -88
- package/parsers/packetList.js +57 -57
- package/parsers/reports.js +13 -13
- package/sat2Act.js +46 -46
- package/test.js +48 -48
- package/themes/ByuiFooter.vue +38 -38
- package/themes/ByuiHeader.vue +96 -96
- package/themes/LdsbcFooter.vue +38 -38
- package/themes/LdsbcHeader.vue +100 -100
- package/vuexModules/application/activity.js +32 -32
- package/vuexModules/application/applicationList.js +71 -71
- package/vuexModules/application/background.js +47 -47
- package/vuexModules/application/bio.js +38 -38
- package/vuexModules/application/citizenship.js +30 -30
- package/vuexModules/application/collegeSummaries.js +32 -32
- package/vuexModules/application/essay.js +26 -26
- package/vuexModules/application/highSchoolSummaries.js +40 -40
- package/vuexModules/application/index.js +157 -157
- package/vuexModules/application/institute.js +30 -30
- package/vuexModules/application/mission.js +48 -48
- package/vuexModules/application/personalRecords.js +24 -24
- package/vuexModules/application/questions.js +23 -23
- package/vuexModules/application/seminary.js +39 -39
- package/vuexModules/application/testScores.js +26 -26
- package/vuexModules/notes/index.js +22 -22
- package/vuexModules/packet/decision.js +43 -43
- package/vuexModules/packet/decisionHistory.js +28 -28
- package/vuexModules/packet/flags.js +174 -174
- package/vuexModules/packet/index.js +52 -52
- package/vuexModules/packet/packetList.js +127 -127
- package/vuexModules/packet/processes.js +28 -28
- package/vuexModules/reports/index.js +32 -32
- package/vuexModules/ui/index.js +56 -56
- package/vuexModules/users/index.js +46 -46
- package/yyyyMmFilter.js +7 -7
package/test.js
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
const hsSummary = require('./hsSummary.json')
|
|
2
|
-
const get = require('lodash.get')
|
|
3
|
-
const { calculateGpa } = require('./gpaCalculation')
|
|
4
|
-
|
|
5
|
-
const parseHighSchoolSummary = h => {
|
|
6
|
-
const parseHsClass = c => {
|
|
7
|
-
return {
|
|
8
|
-
ap: get(c, 'ap_ib_flag.value') === 'Y',
|
|
9
|
-
courseName: get(c, 'course_name.value'),
|
|
10
|
-
credits: get(c, 'credits.value'),
|
|
11
|
-
gradeLevel: get(c, 'grade_level.value'),
|
|
12
|
-
grades: get(c, 'grades').map(g => g.value),
|
|
13
|
-
gradingTerms: get(c, 'grading_terms.value'),
|
|
14
|
-
repeated: get(c, 'repeated.value') === 'Y',
|
|
15
|
-
subject: get(c, 'subject.value')
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
const sortHsClasses = (a, b) => {
|
|
19
|
-
return a.gradeLevel - b.gradeLevel
|
|
20
|
-
}
|
|
21
|
-
return {
|
|
22
|
-
highSchool: get(h, 'high_school.description'),
|
|
23
|
-
highSchoolType: get(h, 'high_school_type.value'),
|
|
24
|
-
startMonth: get(h, 'start_month.value'),
|
|
25
|
-
endMonth: get(h, 'end_month.value'),
|
|
26
|
-
graduationStatus: get(h, 'graduation_status.value'),
|
|
27
|
-
graduationDate: get(h, 'graduation_date.value'),
|
|
28
|
-
highSchoolGpa: get(h, 'high_school_gpa.value'),
|
|
29
|
-
gpaCalculated: get(h, 'gpa_calculated.value'),
|
|
30
|
-
concurrentEnrollment: get(h, 'concurrent_enrollment.value'),
|
|
31
|
-
updatedDateTime: get(h, 'updated_date_time.value'),
|
|
32
|
-
updatedById: get(h, 'updated_by_id.value'),
|
|
33
|
-
dateTimeVerified: get(h, 'date_time_verified.value'),
|
|
34
|
-
highSchoolCountry: get(h, 'high_school_country.value'),
|
|
35
|
-
highSchoolState: get(h, 'high_school_state.value'),
|
|
36
|
-
highSchoolCity: get(h, 'high_school_city.value'),
|
|
37
|
-
linkToDocumentImage: get(h, 'link_to_document_image.value'),
|
|
38
|
-
linkToSecondaryDocumentImage: get(h, 'link_to_secondary_document_image.value'),
|
|
39
|
-
transcriptSource: get(h, 'transcript_source.value'),
|
|
40
|
-
apIbFullClasses: get(h, 'ap_ib_full_classes.value'),
|
|
41
|
-
apIbHalfClasses: get(h, 'ap_ib_half_classes.value'),
|
|
42
|
-
listOfClasses: get(h, 'list_of_classes').map(parseHsClass).sort(sortHsClasses)
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
const parsed = parseHighSchoolSummary(hsSummary)
|
|
47
|
-
const calculated = calculateGpa(parsed.listOfClasses, parsed.highSchoolState)
|
|
48
|
-
console.log(calculated)
|
|
1
|
+
const hsSummary = require('./hsSummary.json')
|
|
2
|
+
const get = require('lodash.get')
|
|
3
|
+
const { calculateGpa } = require('./gpaCalculation')
|
|
4
|
+
|
|
5
|
+
const parseHighSchoolSummary = h => {
|
|
6
|
+
const parseHsClass = c => {
|
|
7
|
+
return {
|
|
8
|
+
ap: get(c, 'ap_ib_flag.value') === 'Y',
|
|
9
|
+
courseName: get(c, 'course_name.value'),
|
|
10
|
+
credits: get(c, 'credits.value'),
|
|
11
|
+
gradeLevel: get(c, 'grade_level.value'),
|
|
12
|
+
grades: get(c, 'grades').map(g => g.value),
|
|
13
|
+
gradingTerms: get(c, 'grading_terms.value'),
|
|
14
|
+
repeated: get(c, 'repeated.value') === 'Y',
|
|
15
|
+
subject: get(c, 'subject.value')
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
const sortHsClasses = (a, b) => {
|
|
19
|
+
return a.gradeLevel - b.gradeLevel
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
highSchool: get(h, 'high_school.description'),
|
|
23
|
+
highSchoolType: get(h, 'high_school_type.value'),
|
|
24
|
+
startMonth: get(h, 'start_month.value'),
|
|
25
|
+
endMonth: get(h, 'end_month.value'),
|
|
26
|
+
graduationStatus: get(h, 'graduation_status.value'),
|
|
27
|
+
graduationDate: get(h, 'graduation_date.value'),
|
|
28
|
+
highSchoolGpa: get(h, 'high_school_gpa.value'),
|
|
29
|
+
gpaCalculated: get(h, 'gpa_calculated.value'),
|
|
30
|
+
concurrentEnrollment: get(h, 'concurrent_enrollment.value'),
|
|
31
|
+
updatedDateTime: get(h, 'updated_date_time.value'),
|
|
32
|
+
updatedById: get(h, 'updated_by_id.value'),
|
|
33
|
+
dateTimeVerified: get(h, 'date_time_verified.value'),
|
|
34
|
+
highSchoolCountry: get(h, 'high_school_country.value'),
|
|
35
|
+
highSchoolState: get(h, 'high_school_state.value'),
|
|
36
|
+
highSchoolCity: get(h, 'high_school_city.value'),
|
|
37
|
+
linkToDocumentImage: get(h, 'link_to_document_image.value'),
|
|
38
|
+
linkToSecondaryDocumentImage: get(h, 'link_to_secondary_document_image.value'),
|
|
39
|
+
transcriptSource: get(h, 'transcript_source.value'),
|
|
40
|
+
apIbFullClasses: get(h, 'ap_ib_full_classes.value'),
|
|
41
|
+
apIbHalfClasses: get(h, 'ap_ib_half_classes.value'),
|
|
42
|
+
listOfClasses: get(h, 'list_of_classes').map(parseHsClass).sort(sortHsClasses)
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const parsed = parseHighSchoolSummary(hsSummary)
|
|
47
|
+
const calculated = calculateGpa(parsed.listOfClasses, parsed.highSchoolState)
|
|
48
|
+
console.log(calculated)
|
package/themes/ByuiFooter.vue
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright 2018 Brigham Young University
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
-->
|
|
16
|
-
<template>
|
|
17
|
-
<div>
|
|
18
|
-
© 2018 Brigham Young University
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
<script>
|
|
22
|
-
export default {
|
|
23
|
-
name: 'ByuiFooter',
|
|
24
|
-
data() {
|
|
25
|
-
return {
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
</script>
|
|
30
|
-
<style scoped>
|
|
31
|
-
div {
|
|
32
|
-
background-color: #0076c6;
|
|
33
|
-
color: #ffffff;
|
|
34
|
-
padding: 1rem;
|
|
35
|
-
text-align: center;
|
|
36
|
-
font-size: 1.1rem;
|
|
37
|
-
}
|
|
38
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
Copyright 2018 Brigham Young University
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
-->
|
|
16
|
+
<template>
|
|
17
|
+
<div>
|
|
18
|
+
© 2018 Brigham Young University
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
<script>
|
|
22
|
+
export default {
|
|
23
|
+
name: 'ByuiFooter',
|
|
24
|
+
data() {
|
|
25
|
+
return {
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
</script>
|
|
30
|
+
<style scoped>
|
|
31
|
+
div {
|
|
32
|
+
background-color: #0076c6;
|
|
33
|
+
color: #ffffff;
|
|
34
|
+
padding: 1rem;
|
|
35
|
+
text-align: center;
|
|
36
|
+
font-size: 1.1rem;
|
|
37
|
+
}
|
|
38
|
+
</style>
|
package/themes/ByuiHeader.vue
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright 2018 Brigham Young University
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
-->
|
|
16
|
-
<template>
|
|
17
|
-
<nav>
|
|
18
|
-
|
|
19
|
-
<a class="logo" href="/"><img src="/theme/logo.png" alt="Logo"></a>
|
|
20
|
-
|
|
21
|
-
<span class="page-title">
|
|
22
|
-
BYUI Decision Processing
|
|
23
|
-
</span>
|
|
24
|
-
<user-info />
|
|
25
|
-
|
|
26
|
-
<span class="spacer"></span>
|
|
27
|
-
<router-link to="/dashboard" tag="span" class="nav-link"><a>Dashboard</a></router-link>
|
|
28
|
-
<router-link to="/list/BI" tag="span" class="nav-link">
|
|
29
|
-
<a>Background Issues</a>
|
|
30
|
-
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.backgroundIssuesQueueSize }}</span>
|
|
31
|
-
</router-link>
|
|
32
|
-
<router-link to="/list/ED" tag="span" class="nav-link">
|
|
33
|
-
<a>Endorsement Denied</a>
|
|
34
|
-
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.endorsementDeniedQueueSize }}</span>
|
|
35
|
-
</router-link>
|
|
36
|
-
<router-link to="/list/EI" tag="span" class="nav-link">
|
|
37
|
-
<a>Eligibility Issues</a>
|
|
38
|
-
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.noResidencyQueueSize }}</span>
|
|
39
|
-
</router-link>
|
|
40
|
-
|
|
41
|
-
</nav>
|
|
42
|
-
</template>
|
|
43
|
-
<script>
|
|
44
|
-
import { mapState, mapActions } from 'vuex'
|
|
45
|
-
|
|
46
|
-
export default {
|
|
47
|
-
name: 'ByuiHeader',
|
|
48
|
-
computed: {
|
|
49
|
-
...mapState([ 'stats' ])
|
|
50
|
-
},
|
|
51
|
-
methods: {
|
|
52
|
-
...mapActions([ 'fetchStats' ]),
|
|
53
|
-
},
|
|
54
|
-
created() {
|
|
55
|
-
// Fetch stats periodically
|
|
56
|
-
const TTL = 1000 * 60 * 10 // 10 minutes
|
|
57
|
-
window.setInterval(this.fetchStats, TTL)
|
|
58
|
-
this.fetchStats()
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
</script>
|
|
62
|
-
<style scoped>
|
|
63
|
-
nav {
|
|
64
|
-
flex: 0 0 auto;
|
|
65
|
-
display: grid;
|
|
66
|
-
grid-template-columns: auto repeat(4, 1fr) auto;
|
|
67
|
-
grid-template-rows: auto;
|
|
68
|
-
background-color: #0076c6;
|
|
69
|
-
color: #ffffff;
|
|
70
|
-
padding: 0.2rem 0.2rem 0 0.2rem;
|
|
71
|
-
}
|
|
72
|
-
.page-title {
|
|
73
|
-
font-size: 1.5rem;
|
|
74
|
-
grid-column: 2/6;
|
|
75
|
-
padding: 0.25rem;
|
|
76
|
-
align-self: center;
|
|
77
|
-
}
|
|
78
|
-
a.logo {
|
|
79
|
-
align-self: center;
|
|
80
|
-
}
|
|
81
|
-
a {
|
|
82
|
-
color: #ffffff;
|
|
83
|
-
text-decoration: none;
|
|
84
|
-
}
|
|
85
|
-
span.nav-link {
|
|
86
|
-
text-align: center;
|
|
87
|
-
text-transform: uppercase;
|
|
88
|
-
white-space: nowrap;
|
|
89
|
-
}
|
|
90
|
-
span.nav-link:hover {
|
|
91
|
-
background-color: #169CFB;
|
|
92
|
-
}
|
|
93
|
-
.router-link-active {
|
|
94
|
-
background-color: #169CFB;
|
|
95
|
-
}
|
|
96
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
Copyright 2018 Brigham Young University
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
-->
|
|
16
|
+
<template>
|
|
17
|
+
<nav>
|
|
18
|
+
|
|
19
|
+
<a class="logo" href="/"><img src="/theme/logo.png" alt="Logo"></a>
|
|
20
|
+
|
|
21
|
+
<span class="page-title">
|
|
22
|
+
BYUI Decision Processing
|
|
23
|
+
</span>
|
|
24
|
+
<user-info />
|
|
25
|
+
|
|
26
|
+
<span class="spacer"></span>
|
|
27
|
+
<router-link to="/dashboard" tag="span" class="nav-link"><a>Dashboard</a></router-link>
|
|
28
|
+
<router-link to="/list/BI" tag="span" class="nav-link">
|
|
29
|
+
<a>Background Issues</a>
|
|
30
|
+
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.backgroundIssuesQueueSize }}</span>
|
|
31
|
+
</router-link>
|
|
32
|
+
<router-link to="/list/ED" tag="span" class="nav-link">
|
|
33
|
+
<a>Endorsement Denied</a>
|
|
34
|
+
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.endorsementDeniedQueueSize }}</span>
|
|
35
|
+
</router-link>
|
|
36
|
+
<router-link to="/list/EI" tag="span" class="nav-link">
|
|
37
|
+
<a>Eligibility Issues</a>
|
|
38
|
+
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.noResidencyQueueSize }}</span>
|
|
39
|
+
</router-link>
|
|
40
|
+
|
|
41
|
+
</nav>
|
|
42
|
+
</template>
|
|
43
|
+
<script>
|
|
44
|
+
import { mapState, mapActions } from 'vuex'
|
|
45
|
+
|
|
46
|
+
export default {
|
|
47
|
+
name: 'ByuiHeader',
|
|
48
|
+
computed: {
|
|
49
|
+
...mapState([ 'stats' ])
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
...mapActions([ 'fetchStats' ]),
|
|
53
|
+
},
|
|
54
|
+
created() {
|
|
55
|
+
// Fetch stats periodically
|
|
56
|
+
const TTL = 1000 * 60 * 10 // 10 minutes
|
|
57
|
+
window.setInterval(this.fetchStats, TTL)
|
|
58
|
+
this.fetchStats()
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
</script>
|
|
62
|
+
<style scoped>
|
|
63
|
+
nav {
|
|
64
|
+
flex: 0 0 auto;
|
|
65
|
+
display: grid;
|
|
66
|
+
grid-template-columns: auto repeat(4, 1fr) auto;
|
|
67
|
+
grid-template-rows: auto;
|
|
68
|
+
background-color: #0076c6;
|
|
69
|
+
color: #ffffff;
|
|
70
|
+
padding: 0.2rem 0.2rem 0 0.2rem;
|
|
71
|
+
}
|
|
72
|
+
.page-title {
|
|
73
|
+
font-size: 1.5rem;
|
|
74
|
+
grid-column: 2/6;
|
|
75
|
+
padding: 0.25rem;
|
|
76
|
+
align-self: center;
|
|
77
|
+
}
|
|
78
|
+
a.logo {
|
|
79
|
+
align-self: center;
|
|
80
|
+
}
|
|
81
|
+
a {
|
|
82
|
+
color: #ffffff;
|
|
83
|
+
text-decoration: none;
|
|
84
|
+
}
|
|
85
|
+
span.nav-link {
|
|
86
|
+
text-align: center;
|
|
87
|
+
text-transform: uppercase;
|
|
88
|
+
white-space: nowrap;
|
|
89
|
+
}
|
|
90
|
+
span.nav-link:hover {
|
|
91
|
+
background-color: #169CFB;
|
|
92
|
+
}
|
|
93
|
+
.router-link-active {
|
|
94
|
+
background-color: #169CFB;
|
|
95
|
+
}
|
|
96
|
+
</style>
|
package/themes/LdsbcFooter.vue
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright 2018 Brigham Young University
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
-->
|
|
16
|
-
<template>
|
|
17
|
-
<div>
|
|
18
|
-
© 2018 Brigham Young University
|
|
19
|
-
</div>
|
|
20
|
-
</template>
|
|
21
|
-
<script>
|
|
22
|
-
export default {
|
|
23
|
-
name: 'LdsbcFooter',
|
|
24
|
-
data() {
|
|
25
|
-
return {
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
</script>
|
|
30
|
-
<style scoped>
|
|
31
|
-
div {
|
|
32
|
-
background-color: #333333;
|
|
33
|
-
color: #efefef;
|
|
34
|
-
padding: 1rem;
|
|
35
|
-
text-align: center;
|
|
36
|
-
font-size: 1.1rem;
|
|
37
|
-
}
|
|
38
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
Copyright 2018 Brigham Young University
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
-->
|
|
16
|
+
<template>
|
|
17
|
+
<div>
|
|
18
|
+
© 2018 Brigham Young University
|
|
19
|
+
</div>
|
|
20
|
+
</template>
|
|
21
|
+
<script>
|
|
22
|
+
export default {
|
|
23
|
+
name: 'LdsbcFooter',
|
|
24
|
+
data() {
|
|
25
|
+
return {
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
</script>
|
|
30
|
+
<style scoped>
|
|
31
|
+
div {
|
|
32
|
+
background-color: #333333;
|
|
33
|
+
color: #efefef;
|
|
34
|
+
padding: 1rem;
|
|
35
|
+
text-align: center;
|
|
36
|
+
font-size: 1.1rem;
|
|
37
|
+
}
|
|
38
|
+
</style>
|
package/themes/LdsbcHeader.vue
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
Copyright 2018 Brigham Young University
|
|
3
|
-
|
|
4
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
you may not use this file except in compliance with the License.
|
|
6
|
-
You may obtain a copy of the License at
|
|
7
|
-
|
|
8
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
|
|
10
|
-
Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
See the License for the specific language governing permissions and
|
|
14
|
-
limitations under the License.
|
|
15
|
-
-->
|
|
16
|
-
<template>
|
|
17
|
-
<nav>
|
|
18
|
-
|
|
19
|
-
<a class="logo" href="/"><img src="/theme/logo.png" alt="Logo"></a>
|
|
20
|
-
|
|
21
|
-
<span class="page-title">
|
|
22
|
-
LDSBC Decision Processing
|
|
23
|
-
</span>
|
|
24
|
-
<user-info />
|
|
25
|
-
|
|
26
|
-
<span class="spacer"></span>
|
|
27
|
-
<router-link to="/dashboard" tag="span" class="nav-link"><a>Dashboard</a></router-link>
|
|
28
|
-
<router-link to="/list/BI" tag="span" class="nav-link">
|
|
29
|
-
<a>Background Issues</a>
|
|
30
|
-
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.backgroundIssuesQueueSize }}</span>
|
|
31
|
-
</router-link>
|
|
32
|
-
<router-link to="/list/ED" tag="span" class="nav-link">
|
|
33
|
-
<a>Endorsement Denied</a>
|
|
34
|
-
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.endorsementDeniedQueueSize }}</span>
|
|
35
|
-
</router-link>
|
|
36
|
-
<router-link to="/list/EI" tag="span" class="nav-link">
|
|
37
|
-
<a>Eligibility Issues</a>
|
|
38
|
-
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.noResidencyQueueSize }}</span>
|
|
39
|
-
</router-link>
|
|
40
|
-
|
|
41
|
-
</nav>
|
|
42
|
-
</template>
|
|
43
|
-
<script>
|
|
44
|
-
import { mapState, mapActions } from 'vuex'
|
|
45
|
-
|
|
46
|
-
export default {
|
|
47
|
-
name: 'LdsbcHeader',
|
|
48
|
-
computed: {
|
|
49
|
-
...mapState([ 'stats' ])
|
|
50
|
-
},
|
|
51
|
-
methods: {
|
|
52
|
-
...mapActions([ 'fetchStats' ]),
|
|
53
|
-
},
|
|
54
|
-
created() {
|
|
55
|
-
// Fetch stats periodically
|
|
56
|
-
const TTL = 1000 * 60 * 10 // 10 minutes
|
|
57
|
-
window.setInterval(this.fetchStats, TTL)
|
|
58
|
-
this.fetchStats()
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
</script>
|
|
62
|
-
<style scoped>
|
|
63
|
-
nav {
|
|
64
|
-
flex: 0 0 auto;
|
|
65
|
-
display: grid;
|
|
66
|
-
grid-template-columns: auto repeat(4, 1fr) auto;
|
|
67
|
-
grid-template-rows: auto;
|
|
68
|
-
background-color: #333333;
|
|
69
|
-
color: #efefef;
|
|
70
|
-
padding: 0.2rem 0.2rem 0 0.2rem;
|
|
71
|
-
}
|
|
72
|
-
.page-title {
|
|
73
|
-
font-size: 1.5rem;
|
|
74
|
-
grid-column: 2/6;
|
|
75
|
-
padding: 0.25rem;
|
|
76
|
-
align-self: center;
|
|
77
|
-
}
|
|
78
|
-
a.logo {
|
|
79
|
-
align-self: center;
|
|
80
|
-
}
|
|
81
|
-
.logo > img {
|
|
82
|
-
width: 4rem;
|
|
83
|
-
height: 4rem;
|
|
84
|
-
}
|
|
85
|
-
a {
|
|
86
|
-
color: #efefef;
|
|
87
|
-
text-decoration: none;
|
|
88
|
-
}
|
|
89
|
-
span.nav-link {
|
|
90
|
-
text-align: center;
|
|
91
|
-
text-transform: uppercase;
|
|
92
|
-
white-space: nowrap;
|
|
93
|
-
}
|
|
94
|
-
span.nav-link:hover {
|
|
95
|
-
background-color: #666666;
|
|
96
|
-
}
|
|
97
|
-
.router-link-active {
|
|
98
|
-
background-color: #666666;
|
|
99
|
-
}
|
|
100
|
-
</style>
|
|
1
|
+
<!--
|
|
2
|
+
Copyright 2018 Brigham Young University
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
-->
|
|
16
|
+
<template>
|
|
17
|
+
<nav>
|
|
18
|
+
|
|
19
|
+
<a class="logo" href="/"><img src="/theme/logo.png" alt="Logo"></a>
|
|
20
|
+
|
|
21
|
+
<span class="page-title">
|
|
22
|
+
LDSBC Decision Processing
|
|
23
|
+
</span>
|
|
24
|
+
<user-info />
|
|
25
|
+
|
|
26
|
+
<span class="spacer"></span>
|
|
27
|
+
<router-link to="/dashboard" tag="span" class="nav-link"><a>Dashboard</a></router-link>
|
|
28
|
+
<router-link to="/list/BI" tag="span" class="nav-link">
|
|
29
|
+
<a>Background Issues</a>
|
|
30
|
+
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.backgroundIssuesQueueSize }}</span>
|
|
31
|
+
</router-link>
|
|
32
|
+
<router-link to="/list/ED" tag="span" class="nav-link">
|
|
33
|
+
<a>Endorsement Denied</a>
|
|
34
|
+
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.endorsementDeniedQueueSize }}</span>
|
|
35
|
+
</router-link>
|
|
36
|
+
<router-link to="/list/EI" tag="span" class="nav-link">
|
|
37
|
+
<a>Eligibility Issues</a>
|
|
38
|
+
<span v-show="stats" class="badge badge-light badge-secondary">{{ stats.noResidencyQueueSize }}</span>
|
|
39
|
+
</router-link>
|
|
40
|
+
|
|
41
|
+
</nav>
|
|
42
|
+
</template>
|
|
43
|
+
<script>
|
|
44
|
+
import { mapState, mapActions } from 'vuex'
|
|
45
|
+
|
|
46
|
+
export default {
|
|
47
|
+
name: 'LdsbcHeader',
|
|
48
|
+
computed: {
|
|
49
|
+
...mapState([ 'stats' ])
|
|
50
|
+
},
|
|
51
|
+
methods: {
|
|
52
|
+
...mapActions([ 'fetchStats' ]),
|
|
53
|
+
},
|
|
54
|
+
created() {
|
|
55
|
+
// Fetch stats periodically
|
|
56
|
+
const TTL = 1000 * 60 * 10 // 10 minutes
|
|
57
|
+
window.setInterval(this.fetchStats, TTL)
|
|
58
|
+
this.fetchStats()
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
</script>
|
|
62
|
+
<style scoped>
|
|
63
|
+
nav {
|
|
64
|
+
flex: 0 0 auto;
|
|
65
|
+
display: grid;
|
|
66
|
+
grid-template-columns: auto repeat(4, 1fr) auto;
|
|
67
|
+
grid-template-rows: auto;
|
|
68
|
+
background-color: #333333;
|
|
69
|
+
color: #efefef;
|
|
70
|
+
padding: 0.2rem 0.2rem 0 0.2rem;
|
|
71
|
+
}
|
|
72
|
+
.page-title {
|
|
73
|
+
font-size: 1.5rem;
|
|
74
|
+
grid-column: 2/6;
|
|
75
|
+
padding: 0.25rem;
|
|
76
|
+
align-self: center;
|
|
77
|
+
}
|
|
78
|
+
a.logo {
|
|
79
|
+
align-self: center;
|
|
80
|
+
}
|
|
81
|
+
.logo > img {
|
|
82
|
+
width: 4rem;
|
|
83
|
+
height: 4rem;
|
|
84
|
+
}
|
|
85
|
+
a {
|
|
86
|
+
color: #efefef;
|
|
87
|
+
text-decoration: none;
|
|
88
|
+
}
|
|
89
|
+
span.nav-link {
|
|
90
|
+
text-align: center;
|
|
91
|
+
text-transform: uppercase;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
}
|
|
94
|
+
span.nav-link:hover {
|
|
95
|
+
background-color: #666666;
|
|
96
|
+
}
|
|
97
|
+
.router-link-active {
|
|
98
|
+
background-color: #666666;
|
|
99
|
+
}
|
|
100
|
+
</style>
|