update bulma to current
parent
856abc9fcf
commit
b30c02d9c4
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"reject": [
|
||||
"@cityssm/bulma-sticky-table",
|
||||
"bulma",
|
||||
"bulma-calendar"
|
||||
]
|
||||
}
|
||||
4
app.js
4
app.js
|
|
@ -70,7 +70,11 @@ if (urlPrefix !== '') {
|
|||
debug(`urlPrefix = ${urlPrefix}`);
|
||||
}
|
||||
app.use(urlPrefix, express.static(path.join('public')));
|
||||
app.use(`${urlPrefix}/lib/bulma`, express.static(path.join('node_modules', 'bulma', 'css')));
|
||||
app.use(`${urlPrefix}/lib/bulma-tooltip`, express.static(path.join('node_modules', 'bulma-tooltip', 'dist', 'css')));
|
||||
app.use(`${urlPrefix}/lib/cityssm-bulma-js/bulma-js.js`, express.static(path.join('node_modules', '@cityssm', 'bulma-js', 'dist', 'bulma-js.js')));
|
||||
app.use(`${urlPrefix}/lib/cityssm-fa-glow`, express.static(path.join('node_modules', '@cityssm', 'fa-glow')));
|
||||
app.use(`${urlPrefix}/lib/cityssm-bulma-sticky-table`, express.static(path.join('node_modules', '@cityssm', 'bulma-sticky-table')));
|
||||
app.use(`${urlPrefix}/lib/cityssm-bulma-webapp-js`, express.static(path.join('node_modules', '@cityssm', 'bulma-webapp-js', 'dist')));
|
||||
app.use(`${urlPrefix}/lib/fa`, express.static(path.join('node_modules', '@fortawesome', 'fontawesome-free')));
|
||||
app.use(`${urlPrefix}/lib/leaflet`, express.static(path.join('node_modules', 'leaflet', 'dist')));
|
||||
|
|
|
|||
28
app.ts
28
app.ts
|
|
@ -97,6 +97,20 @@ if (urlPrefix !== '') {
|
|||
|
||||
app.use(urlPrefix, express.static(path.join('public')))
|
||||
|
||||
app.use(
|
||||
`${urlPrefix}/lib/bulma`,
|
||||
express.static(
|
||||
path.join('node_modules', 'bulma', 'css')
|
||||
)
|
||||
)
|
||||
|
||||
app.use(
|
||||
`${urlPrefix}/lib/bulma-tooltip`,
|
||||
express.static(
|
||||
path.join('node_modules', 'bulma-tooltip', 'dist', 'css')
|
||||
)
|
||||
)
|
||||
|
||||
app.use(
|
||||
`${urlPrefix}/lib/cityssm-bulma-js/bulma-js.js`,
|
||||
express.static(
|
||||
|
|
@ -104,6 +118,20 @@ app.use(
|
|||
)
|
||||
)
|
||||
|
||||
app.use(
|
||||
`${urlPrefix}/lib/cityssm-fa-glow`,
|
||||
express.static(
|
||||
path.join('node_modules', '@cityssm', 'fa-glow')
|
||||
)
|
||||
)
|
||||
|
||||
app.use(
|
||||
`${urlPrefix}/lib/cityssm-bulma-sticky-table`,
|
||||
express.static(
|
||||
path.join('node_modules', '@cityssm', 'bulma-sticky-table')
|
||||
)
|
||||
)
|
||||
|
||||
app.use(
|
||||
`${urlPrefix}/lib/cityssm-bulma-webapp-js`,
|
||||
express.static(
|
||||
|
|
|
|||
31
gulpfile.js
31
gulpfile.js
|
|
@ -1,31 +0,0 @@
|
|||
import gulp from 'gulp';
|
||||
import gulpSass from 'gulp-sass';
|
||||
import * as dartSass from 'sass';
|
||||
const sass = gulpSass(dartSass);
|
||||
/*
|
||||
* Compile SASS
|
||||
*/
|
||||
const publicSCSSDestination = 'public/stylesheets';
|
||||
function publicSCSSFunction() {
|
||||
return gulp
|
||||
.src('public-scss/*.scss')
|
||||
.pipe(sass({ outputStyle: 'compressed', includePaths: ['node_modules'] }).on('error',
|
||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||
sass.logError))
|
||||
.pipe(gulp.dest(publicSCSSDestination));
|
||||
}
|
||||
gulp.task('public-scss', publicSCSSFunction);
|
||||
/*
|
||||
* Watch
|
||||
*/
|
||||
function watchFunction() {
|
||||
gulp.watch('public-scss/*.scss', publicSCSSFunction);
|
||||
}
|
||||
gulp.task('watch', watchFunction);
|
||||
/*
|
||||
* Initialize default
|
||||
*/
|
||||
gulp.task('default', () => {
|
||||
publicSCSSFunction();
|
||||
watchFunction();
|
||||
});
|
||||
46
gulpfile.ts
46
gulpfile.ts
|
|
@ -1,46 +0,0 @@
|
|||
import gulp from 'gulp'
|
||||
import gulpSass from 'gulp-sass'
|
||||
import * as dartSass from 'sass'
|
||||
|
||||
const sass = gulpSass(dartSass)
|
||||
|
||||
/*
|
||||
* Compile SASS
|
||||
*/
|
||||
|
||||
const publicSCSSDestination = 'public/stylesheets'
|
||||
|
||||
function publicSCSSFunction(): NodeJS.ReadWriteStream {
|
||||
return gulp
|
||||
.src('public-scss/*.scss')
|
||||
.pipe(
|
||||
sass({ outputStyle: 'compressed', includePaths: ['node_modules'] }).on(
|
||||
'error',
|
||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||
sass.logError
|
||||
)
|
||||
)
|
||||
.pipe(gulp.dest(publicSCSSDestination))
|
||||
}
|
||||
|
||||
gulp.task('public-scss', publicSCSSFunction)
|
||||
|
||||
/*
|
||||
* Watch
|
||||
*/
|
||||
|
||||
function watchFunction(): void {
|
||||
gulp.watch('public-scss/*.scss', publicSCSSFunction)
|
||||
}
|
||||
|
||||
gulp.task('watch', watchFunction)
|
||||
|
||||
/*
|
||||
* Initialize default
|
||||
*/
|
||||
|
||||
gulp.task('default', () => {
|
||||
publicSCSSFunction()
|
||||
|
||||
watchFunction()
|
||||
})
|
||||
File diff suppressed because it is too large
Load Diff
21
package.json
21
package.json
|
|
@ -37,6 +37,7 @@
|
|||
"@cityssm/configurator": "^0.1.0",
|
||||
"@cityssm/date-diff": "^2.2.3",
|
||||
"@cityssm/dynamics-gp": "^1.1.0",
|
||||
"@cityssm/fa-glow": "^0.1.0",
|
||||
"@cityssm/ntfy-publish": "^1.1.0",
|
||||
"@cityssm/pdf-puppeteer": "^4.4.0",
|
||||
"@cityssm/utils-datetime": "^1.3.0",
|
||||
|
|
@ -44,6 +45,7 @@
|
|||
"activedirectory2": "^2.2.0",
|
||||
"better-sqlite-pool": "^0.3.2",
|
||||
"better-sqlite3": "^11.9.1",
|
||||
"bulma-tooltip": "^3.0.2",
|
||||
"camelcase": "^8.0.0",
|
||||
"compression": "^1.8.0",
|
||||
"cookie-parser": "^1.4.7",
|
||||
|
|
@ -65,10 +67,7 @@
|
|||
"set-interval-async": "^3.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cityssm/bulma-a11y": "^0.4.0",
|
||||
"@cityssm/bulma-sticky-table": "^2.1.0",
|
||||
"@cityssm/bulma-webapp-css": "^0.12.0",
|
||||
"@cityssm/fa-glow": "^0.1.0",
|
||||
"@cityssm/bulma-sticky-table": "^3.0.1",
|
||||
"@cityssm/mssql-multi-pool": "^5.0.0",
|
||||
"@cityssm/simple-fa5-checkbox": "^0.2.1",
|
||||
"@cityssm/to-millis": "^1.0.0",
|
||||
|
|
@ -81,8 +80,6 @@
|
|||
"@types/ejs": "^3.1.5",
|
||||
"@types/express": "^5.0.0",
|
||||
"@types/express-session": "^1.18.1",
|
||||
"@types/gulp": "^4.0.17",
|
||||
"@types/gulp-sass": "^5.0.4",
|
||||
"@types/http-errors": "^2.0.4",
|
||||
"@types/leaflet": "^1.9.16",
|
||||
"@types/mocha": "^10.0.10",
|
||||
|
|
@ -92,19 +89,11 @@
|
|||
"@types/randomcolor": "^0.5.9",
|
||||
"@types/session-file-store": "^1.2.5",
|
||||
"axe-core": "^4.10.3",
|
||||
"bulma": "^0.9.4",
|
||||
"bulma-divider": "^0.2.0",
|
||||
"bulma-helpers": "^0.4.3",
|
||||
"bulma-steps": "^2.2.1",
|
||||
"bulma-switch": "^2.0.4",
|
||||
"bulma-tooltip": "^3.0.2",
|
||||
"bulma": "^1.0.3",
|
||||
"cypress": "^14.2.0",
|
||||
"cypress-axe": "^1.6.0",
|
||||
"eslint-config-cityssm": "^20.0.0",
|
||||
"gulp": "^5.0.0",
|
||||
"gulp-sass": "^6.0.1",
|
||||
"nodemon": "^3.1.9",
|
||||
"prettier-config-cityssm": "^1.0.0",
|
||||
"sass": "^1.86.0"
|
||||
"prettier-config-cityssm": "^1.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,227 +0,0 @@
|
|||
@import '@cityssm/bulma-webapp-css/cityssm';
|
||||
@import 'bulma/sass/utilities/derived-variables';
|
||||
@import 'bulma-calendar/src/sass';
|
||||
@import '@cityssm/fa-glow/fa-glow';
|
||||
|
||||
$white: #fff;
|
||||
$black: #000;
|
||||
|
||||
.is-linethrough {
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
.has-width-10 {
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
.has-width-900 {
|
||||
width: 900px;
|
||||
}
|
||||
|
||||
.has-min-page-height {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/*
|
||||
* Status containers
|
||||
*/
|
||||
|
||||
.has-status-loaded .is-hidden-status-loaded,
|
||||
.has-status-loading .is-hidden-status-loading,
|
||||
.has-status-view .is-hidden-status-view,
|
||||
fieldset:enabled .is-hidden-enabled {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.has-status-view .is-noninteractive-status-view {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* to fix page titles inside level components, set on .level-left */
|
||||
|
||||
.has-flex-shrink-1 {
|
||||
flex-shrink: 1;
|
||||
}
|
||||
|
||||
.has-border-radius-3 {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Tabs
|
||||
*/
|
||||
|
||||
.tab-content {
|
||||
display: none;
|
||||
|
||||
&.is-active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
#is-login-page {
|
||||
overflow: auto;
|
||||
background-position: top center;
|
||||
background-size: cover;
|
||||
|
||||
body > .columns {
|
||||
min-height: 100vh;
|
||||
}
|
||||
}
|
||||
|
||||
.button.is-xsmall {
|
||||
height: 2em;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
/*
|
||||
* Print
|
||||
*/
|
||||
|
||||
.container.is-page {
|
||||
width: 8.5in;
|
||||
padding: 10px 20px 20px;
|
||||
margin: 20px auto;
|
||||
background-color: $white;
|
||||
border: 1px solid $black;
|
||||
|
||||
@media print {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* SVG
|
||||
*/
|
||||
|
||||
.image svg {
|
||||
display: block;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
|
||||
.highlight,
|
||||
.highlight path {
|
||||
&.is-danger {
|
||||
stroke: $danger-dark !important;
|
||||
fill: rgba($danger-light, 0.6);
|
||||
}
|
||||
|
||||
&.is-success {
|
||||
stroke: $success-dark !important;
|
||||
fill: rgba($success, 0.6);
|
||||
}
|
||||
}
|
||||
|
||||
text {
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* "Readonly" selects
|
||||
*/
|
||||
|
||||
.select option:disabled {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* Modal Size Fix
|
||||
*/
|
||||
|
||||
.modal-card {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/*
|
||||
* Accessibility
|
||||
*/
|
||||
|
||||
$black-ter: hsl(0, 0%, 14%);
|
||||
|
||||
.control .button.is-static,
|
||||
.menu .menu-label {
|
||||
color: $black-ter;
|
||||
}
|
||||
|
||||
/*
|
||||
* z-index to compensate for leaflet
|
||||
*/
|
||||
|
||||
.navbar.is-fixed-top {
|
||||
z-index: 1100;
|
||||
}
|
||||
|
||||
.modal {
|
||||
z-index: 1200;
|
||||
}
|
||||
|
||||
/*
|
||||
* Static button pointer events
|
||||
*/
|
||||
|
||||
span.button.is-static {
|
||||
pointer-events: all;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/*
|
||||
* Calendar Picker
|
||||
*/
|
||||
|
||||
.datetimepicker-dummy {
|
||||
.datetimepicker-dummy-wrapper::before {
|
||||
mask: unset;
|
||||
-webkit-mask: unset;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* fix left icon */
|
||||
.datetimepicker-dummy-wrapper .datetimepicker-dummy-input:first-child {
|
||||
text-indent: 2rem;
|
||||
}
|
||||
|
||||
/* center the button */
|
||||
.datetimepicker-clear-button {
|
||||
transform: none;
|
||||
margin-right: 0.25rem;
|
||||
margin-top: 0.15rem;
|
||||
}
|
||||
}
|
||||
|
||||
.datetimepicker.is-active {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/*
|
||||
* Fixed Level
|
||||
*/
|
||||
|
||||
.level {
|
||||
&.is-fixed-bottom {
|
||||
z-index: 1100;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 15px;
|
||||
margin: 0;
|
||||
|
||||
&.has-shadow {
|
||||
box-shadow: 0 -2px 0 0 #f5f5f5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.is-hover-container:hover,
|
||||
.is-hover-container:focus,
|
||||
.is-hover-container:focus-within {
|
||||
.is-visible-hover,
|
||||
&.is-visible-hover {
|
||||
visibility: visible !important;
|
||||
}
|
||||
}
|
||||
|
|
@ -28,16 +28,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteTypeAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Burial Site Type</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteTypeAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Burial Site Type</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -36,16 +36,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteTypeFieldAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Field</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteTypeFieldAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Field</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -36,12 +36,14 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button class="button is-success" type="submit" form="form--burialSiteTypeEdit">
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Burial Site Type</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button class="button is-success" type="submit" form="form--burialSiteTypeEdit">
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Burial Site Type</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -149,36 +149,38 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteTypeFieldEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Field</span>
|
||||
</button>
|
||||
<div class="dropdown is-up is-right mr-2">
|
||||
<div class="dropdown-trigger">
|
||||
<button class="button" type="button">
|
||||
<span>More Options</span>
|
||||
<span class="icon is-small">
|
||||
<i class="fas fa-angle-up" aria-hidden="true"></i>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="dropdown-menu">
|
||||
<div class="dropdown-content">
|
||||
<a class="dropdown-item" id="button--deleteBurialSiteTypeField" href="#">
|
||||
<span class="icon is-small"
|
||||
><i class="fas fa-trash has-text-danger" aria-hidden="true"></i
|
||||
></span>
|
||||
<span>Delete Field</span>
|
||||
</a>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteTypeFieldEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Field</span>
|
||||
</button>
|
||||
<div class="dropdown is-up is-right">
|
||||
<div class="dropdown-trigger">
|
||||
<button class="button" type="button">
|
||||
<span>More Options</span>
|
||||
<span class="icon is-small">
|
||||
<i class="fas fa-angle-up" aria-hidden="true"></i>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="dropdown-menu">
|
||||
<div class="dropdown-content">
|
||||
<a class="dropdown-item" id="button--deleteBurialSiteTypeField" href="#">
|
||||
<span class="icon is-small"
|
||||
><i class="fas fa-trash has-text-danger" aria-hidden="true"></i
|
||||
></span>
|
||||
<span>Delete Field</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -48,16 +48,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTypeAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Contract Type</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTypeAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Contract Type</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -36,16 +36,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTypeFieldAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Field</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTypeFieldAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Field</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -38,16 +38,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTypePrintAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Print</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTypePrintAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Print</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -52,16 +52,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTypeEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Contract Type</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTypeEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Contract Type</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -160,40 +160,42 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTypeFieldEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Field</span>
|
||||
</button>
|
||||
<div class="dropdown is-up is-right mr-2">
|
||||
<div class="dropdown-trigger">
|
||||
<button class="button" type="button">
|
||||
<span>More Options</span>
|
||||
<span class="icon is-small">
|
||||
<i class="fas fa-angle-up" aria-hidden="true"></i>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="dropdown-menu">
|
||||
<div class="dropdown-content">
|
||||
<a
|
||||
class="dropdown-item"
|
||||
id="button--deleteContractTypeField"
|
||||
href="#"
|
||||
>
|
||||
<span class="icon is-small"
|
||||
><i class="fas fa-trash has-text-danger" aria-hidden="true"></i
|
||||
></span>
|
||||
<span>Delete Field</span>
|
||||
</a>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTypeFieldEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Field</span>
|
||||
</button>
|
||||
<div class="dropdown is-up is-right">
|
||||
<div class="dropdown-trigger">
|
||||
<button class="button" type="button">
|
||||
<span>More Options</span>
|
||||
<span class="icon is-small">
|
||||
<i class="fas fa-angle-up" aria-hidden="true"></i>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="dropdown-menu">
|
||||
<div class="dropdown-content">
|
||||
<a
|
||||
class="dropdown-item"
|
||||
id="button--deleteContractTypeField"
|
||||
href="#"
|
||||
>
|
||||
<span class="icon is-small"
|
||||
><i class="fas fa-trash has-text-danger" aria-hidden="true"></i
|
||||
></span>
|
||||
<span>Delete Field</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -247,12 +247,14 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<div class="modal-card-foot justify-right">
|
||||
<button class="button is-success" type="submit" form="form--feeAdd">
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Fee</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<div class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button class="button is-success" type="submit" form="form--feeAdd">
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Fee</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -32,16 +32,18 @@
|
|||
</label>
|
||||
</form>
|
||||
</section>
|
||||
<div class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--feeCategoryAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Fee Category</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<div class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--feeCategoryAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Fee Category</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -247,32 +247,34 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button class="button is-success" type="submit" form="form--feeEdit">
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Fee</span>
|
||||
</button>
|
||||
<div class="dropdown is-up is-right mr-2">
|
||||
<div class="dropdown-trigger">
|
||||
<button class="button" type="button">
|
||||
<span>More Options</span>
|
||||
<span class="icon is-small">
|
||||
<i class="fas fa-angle-up" aria-hidden="true"></i>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="dropdown-menu">
|
||||
<div class="dropdown-content">
|
||||
<a class="dropdown-item button--deleteFee" href="#">
|
||||
<span class="icon is-small"
|
||||
><i class="fas fa-trash has-text-danger" aria-hidden="true"></i
|
||||
></span>
|
||||
<span>Delete Fee</span>
|
||||
</a>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button class="button is-success" type="submit" form="form--feeEdit">
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Fee</span>
|
||||
</button>
|
||||
<div class="dropdown is-up is-right">
|
||||
<div class="dropdown-trigger">
|
||||
<button class="button" type="button">
|
||||
<span>More Options</span>
|
||||
<span class="icon is-small">
|
||||
<i class="fas fa-angle-up" aria-hidden="true"></i>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="dropdown-menu">
|
||||
<div class="dropdown-content">
|
||||
<a class="dropdown-item button--deleteFee" href="#">
|
||||
<span class="icon is-small"
|
||||
><i class="fas fa-trash has-text-danger" aria-hidden="true"></i
|
||||
></span>
|
||||
<span>Delete Fee</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -47,13 +47,15 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button class="button is-success" type="submit" form="form--feeAmountEdit">
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Fee Amount</span>
|
||||
</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button class="button is-success" type="submit" form="form--feeAmountEdit">
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Fee Amount</span>
|
||||
</button>
|
||||
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -37,16 +37,18 @@
|
|||
</label>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--feeCategoryEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Fee Category</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--feeCategoryEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Fee Category</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -27,16 +27,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteCommentAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteCommentAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -39,16 +39,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteStatusEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Status</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteStatusEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Status</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -71,16 +71,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteCommentEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--burialSiteCommentEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -32,16 +32,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractCommentAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractCommentAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
</p>
|
||||
</div>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<button class="button is-close-modal-button" type="button">Close</button>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -200,16 +200,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractIntermentAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Interment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractIntermentAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Interment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -69,16 +69,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTransactionAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Transaction</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTransactionAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Transaction</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
type="button"
|
||||
aria-label="Unlock Field"
|
||||
>
|
||||
<i class="fas fa-unlock" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-unlock" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -78,16 +78,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--workOrderCreate"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Create Work Order</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--workOrderCreate"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Create Work Order</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -84,16 +84,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractCommentEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractCommentEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -40,16 +40,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractFeeQuantity"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Quantity</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractFeeQuantity"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Quantity</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -207,16 +207,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractIntermentEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Interment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractIntermentEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Interment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -119,16 +119,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTransactionEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Transaction</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractTransactionEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Transaction</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
</div>
|
||||
<div id="resultsContainer--burialSiteSelect"></div>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -38,16 +38,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractFeeQuantity"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Set Quantity and Add Fee</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--contractFeeQuantity"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Set Quantity and Add Fee</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
</div>
|
||||
<div id="resultsContainer--burialSiteAdd"></div>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<button class="button is-close-modal-button" type="button">Close</button>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -32,16 +32,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--workOrderCommentAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--workOrderCommentAdd"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
</div>
|
||||
<div id="resultsContainer--contractAdd"></div>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<button class="button is-close-modal-button" type="button">Close</button>
|
||||
</footer>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -100,12 +100,14 @@
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button class="button is-success" type="submit" form="form--milestoneAdd">
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Milestone</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button class="button is-success" type="submit" form="form--milestoneAdd">
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
<span>Add Milestone</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -82,16 +82,18 @@
|
|||
</div>
|
||||
</form>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--workOrderCommentEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--workOrderCommentEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Comment</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -108,16 +108,18 @@
|
|||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<footer class="modal-card-foot justify-right">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--milestoneEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Milestone</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
<footer class="modal-card-foot is-justify-content-right">
|
||||
<div class="buttons">
|
||||
<button
|
||||
class="button is-success"
|
||||
type="submit"
|
||||
form="form--milestoneEdit"
|
||||
>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
<span>Update Milestone</span>
|
||||
</button>
|
||||
<button class="button is-close-modal-button" type="button">Cancel</button>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
</button>
|
||||
</div>
|
||||
<div class="level-item">
|
||||
<h2 class="title is-4">${cityssm.escapeHTML(burialSiteType.burialSiteType)}</h2>
|
||||
<h2 class="title is-4 has-text-white">${cityssm.escapeHTML(burialSiteType.burialSiteType)}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-right">
|
||||
|
|
|
|||
|
|
@ -595,7 +595,7 @@ type ResponseJSON =
|
|||
</button>
|
||||
</div>
|
||||
<div class="level-item">
|
||||
<h2 class="title is-4">${cityssm.escapeHTML(burialSiteType.burialSiteType)}</h2>
|
||||
<h2 class="title is-4 has-text-white">${cityssm.escapeHTML(burialSiteType.burialSiteType)}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-right">
|
||||
|
|
|
|||
|
|
@ -438,7 +438,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
<div class="level is-mobile">
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<h2 class="title is-4">(All Contract Types)</h2>
|
||||
<h2 class="title is-4 has-text-white">(All Contract Types)</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-right">
|
||||
|
|
@ -486,7 +486,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
</button>
|
||||
</div>
|
||||
<div class="level-item">
|
||||
<h2 class="title is-4">${cityssm.escapeHTML(contractType.contractType)}</h2>
|
||||
<h2 class="title is-4 has-text-white">${cityssm.escapeHTML(contractType.contractType)}</h2>
|
||||
</div>
|
||||
${contractType.isPreneed
|
||||
? `<div class="level-item">
|
||||
|
|
@ -547,7 +547,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
<div class="level is-mobile">
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<h2 class="title is-4">${cityssm.escapeHTML(contractType.contractType)}</h2>
|
||||
<h2 class="title is-4 has-text-white">${cityssm.escapeHTML(contractType.contractType)}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-right">
|
||||
|
|
|
|||
|
|
@ -797,7 +797,7 @@ type ResponseJSON =
|
|||
<div class="level is-mobile">
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<h2 class="title is-4">(All Contract Types)</h2>
|
||||
<h2 class="title is-4 has-text-white">(All Contract Types)</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-right">
|
||||
|
|
@ -870,7 +870,7 @@ type ResponseJSON =
|
|||
</button>
|
||||
</div>
|
||||
<div class="level-item">
|
||||
<h2 class="title is-4">${cityssm.escapeHTML(contractType.contractType)}</h2>
|
||||
<h2 class="title is-4 has-text-white">${cityssm.escapeHTML(contractType.contractType)}</h2>
|
||||
</div>
|
||||
${
|
||||
contractType.isPreneed
|
||||
|
|
@ -959,7 +959,7 @@ type ResponseJSON =
|
|||
<div class="level is-mobile">
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<h2 class="title is-4">${cityssm.escapeHTML(contractType.contractType)}</h2>
|
||||
<h2 class="title is-4 has-text-white">${cityssm.escapeHTML(contractType.contractType)}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-right">
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
feeCategoryContainerElement.innerHTML = `<div class="panel-heading">
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<h2 class="title is-4 mb-2">${cityssm.escapeHTML(feeCategory.feeCategory ?? '')}</h2>
|
||||
<h2 class="title is-5 has-text-white mb-2">${cityssm.escapeHTML(feeCategory.feeCategory)}</h2>
|
||||
${feeCategory.isGroupedFee
|
||||
? '<span class="tag">Grouped Fee</span>'
|
||||
: ''}
|
||||
|
|
@ -73,7 +73,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
<div class="message is-info">
|
||||
<p class="message-body">
|
||||
There are no fees in the
|
||||
"${cityssm.escapeHTML(feeCategory.feeCategory ?? '')}"
|
||||
"${cityssm.escapeHTML(feeCategory.feeCategory)}"
|
||||
category.
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -95,9 +95,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
<p>
|
||||
<a class="has-text-weight-bold a--editFee" href="#">${cityssm.escapeHTML(fee.feeName ?? '')}</a><br />
|
||||
<small>
|
||||
${
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
||||
cityssm
|
||||
${cityssm
|
||||
.escapeHTML(fee.feeDescription ?? '')
|
||||
.replaceAll('\n', '<br />')}
|
||||
</small>
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ declare const exports: Record<string, unknown>
|
|||
feeCategoryContainerElement.innerHTML = `<div class="panel-heading">
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<h2 class="title is-4 mb-2">${cityssm.escapeHTML(feeCategory.feeCategory ?? '')}</h2>
|
||||
<h2 class="title is-5 has-text-white mb-2">${cityssm.escapeHTML(feeCategory.feeCategory)}</h2>
|
||||
${
|
||||
feeCategory.isGroupedFee
|
||||
? '<span class="tag">Grouped Fee</span>'
|
||||
|
|
@ -127,7 +127,7 @@ declare const exports: Record<string, unknown>
|
|||
<div class="message is-info">
|
||||
<p class="message-body">
|
||||
There are no fees in the
|
||||
"${cityssm.escapeHTML(feeCategory.feeCategory ?? '')}"
|
||||
"${cityssm.escapeHTML(feeCategory.feeCategory)}"
|
||||
category.
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -157,7 +157,6 @@ declare const exports: Record<string, unknown>
|
|||
<a class="has-text-weight-bold a--editFee" href="#">${cityssm.escapeHTML(fee.feeName ?? '')}</a><br />
|
||||
<small>
|
||||
${
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
|
||||
cityssm
|
||||
.escapeHTML(fee.feeDescription ?? '')
|
||||
.replaceAll('\n', '<br />')
|
||||
|
|
|
|||
|
|
@ -118,14 +118,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
<button
|
||||
class="button ${isSmall ? 'is-small' : ''} ${upButtonClassNames}"
|
||||
data-tooltip="Move Up" data-direction="up" type="button" aria-label="Move Up">
|
||||
<i class="fas fa-arrow-up" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-arrow-up" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="control">
|
||||
<button
|
||||
class="button ${isSmall ? 'is-small' : ''} ${downButtonClassNames}"
|
||||
data-tooltip="Move Down" data-direction="down" type="button" aria-label="Move Down">
|
||||
<i class="fas fa-arrow-down" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-arrow-down" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>`;
|
||||
|
|
|
|||
|
|
@ -203,14 +203,14 @@ declare const exports: Record<string, unknown> & {
|
|||
<button
|
||||
class="button ${isSmall ? 'is-small' : ''} ${upButtonClassNames}"
|
||||
data-tooltip="Move Up" data-direction="up" type="button" aria-label="Move Up">
|
||||
<i class="fas fa-arrow-up" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-arrow-up" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="control">
|
||||
<button
|
||||
class="button ${isSmall ? 'is-small' : ''} ${downButtonClassNames}"
|
||||
data-tooltip="Move Down" data-direction="down" type="button" aria-label="Move Down">
|
||||
<i class="fas fa-arrow-down" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-arrow-down" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>`
|
||||
|
|
|
|||
|
|
@ -119,7 +119,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-success" type="submit" aria-label="Save">
|
||||
<i class="fas fa-save" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -131,7 +131,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-danger is-light button--deleteWorkOrderType" data-tooltip="Delete Work Order Type" type="button" aria-label="Delete Work Order Type">
|
||||
<i class="fas fa-trash" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-trash" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -290,7 +290,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-success" type="submit" aria-label="Save">
|
||||
<i class="fas fa-save" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -302,7 +302,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-danger is-light button--deleteWorkOrderMilestoneType" data-tooltip="Delete Milestone Type" type="button" aria-label="Delete Milestone Type">
|
||||
<i class="fas fa-trash" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-trash" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -458,7 +458,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-success" type="submit" aria-label="Save">
|
||||
<i class="fas fa-save" aria-hidden="true"></i>\
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -470,7 +470,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-danger is-light button--deleteBurialSiteStatus" data-tooltip="Delete Status" type="button" aria-label="Delete Status">
|
||||
<i class="fas fa-trash" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-trash" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ declare const bulmaJS: BulmaJS
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-success" type="submit" aria-label="Save">
|
||||
<i class="fas fa-save" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -198,7 +198,7 @@ declare const bulmaJS: BulmaJS
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-danger is-light button--deleteWorkOrderType" data-tooltip="Delete Work Order Type" type="button" aria-label="Delete Work Order Type">
|
||||
<i class="fas fa-trash" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-trash" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -432,7 +432,7 @@ declare const bulmaJS: BulmaJS
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-success" type="submit" aria-label="Save">
|
||||
<i class="fas fa-save" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -448,7 +448,7 @@ declare const bulmaJS: BulmaJS
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-danger is-light button--deleteWorkOrderMilestoneType" data-tooltip="Delete Milestone Type" type="button" aria-label="Delete Milestone Type">
|
||||
<i class="fas fa-trash" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-trash" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -675,7 +675,7 @@ declare const bulmaJS: BulmaJS
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-success" type="submit" aria-label="Save">
|
||||
<i class="fas fa-save" aria-hidden="true"></i>\
|
||||
<span class="icon"><i class="fas fa-save" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -691,7 +691,7 @@ declare const bulmaJS: BulmaJS
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-danger is-light button--deleteBurialSiteStatus" data-tooltip="Delete Status" type="button" aria-label="Delete Status">
|
||||
<i class="fas fa-trash" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-trash" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,41 @@
|
|||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
(() => {
|
||||
function doLogout() {
|
||||
const urlPrefix = document.querySelector('main')?.getAttribute('data-url-prefix') ?? '';
|
||||
globalThis.localStorage.clear();
|
||||
globalThis.location.href = urlPrefix + '/logout';
|
||||
}
|
||||
document
|
||||
.querySelector('#cityssm-theme--logout-button')
|
||||
?.addEventListener('click', (clickEvent) => {
|
||||
clickEvent.preventDefault();
|
||||
bulmaJS.confirm({
|
||||
title: 'Log Out?',
|
||||
message: 'Are you sure you want to log out?',
|
||||
contextualColorName: 'warning',
|
||||
okButton: {
|
||||
text: 'Log Out',
|
||||
callbackFunction: doLogout
|
||||
}
|
||||
});
|
||||
});
|
||||
})();
|
||||
(() => {
|
||||
const urlPrefix = document.querySelector('main')?.getAttribute('data-url-prefix') ?? '';
|
||||
const keepAliveMillis = document
|
||||
.querySelector('main')
|
||||
?.getAttribute('data-session-keep-alive-millis');
|
||||
function doKeepAlive() {
|
||||
cityssm.postJSON(urlPrefix + '/keepAlive', {
|
||||
t: Date.now()
|
||||
}, () => {
|
||||
// Do nothing
|
||||
});
|
||||
}
|
||||
if (keepAliveMillis !== null &&
|
||||
keepAliveMillis !== undefined &&
|
||||
keepAliveMillis !== '0') {
|
||||
globalThis.setInterval(doKeepAlive, Number.parseInt(keepAliveMillis, 10));
|
||||
}
|
||||
})();
|
||||
|
|
@ -0,0 +1,66 @@
|
|||
import type { BulmaJS } from '@cityssm/bulma-js/types.js'
|
||||
import type { cityssmGlobal } from '@cityssm/bulma-webapp-js/src/types.js'
|
||||
|
||||
declare const cityssm: cityssmGlobal
|
||||
declare const bulmaJS: BulmaJS
|
||||
|
||||
/*
|
||||
* LOGOUT MODAL
|
||||
*/
|
||||
;(() => {
|
||||
function doLogout(): void {
|
||||
const urlPrefix =
|
||||
document.querySelector('main')?.getAttribute('data-url-prefix') ?? ''
|
||||
|
||||
globalThis.localStorage.clear()
|
||||
globalThis.location.href = urlPrefix + '/logout'
|
||||
}
|
||||
|
||||
document
|
||||
.querySelector('#cityssm-theme--logout-button')
|
||||
?.addEventListener('click', (clickEvent) => {
|
||||
clickEvent.preventDefault()
|
||||
|
||||
bulmaJS.confirm({
|
||||
title: 'Log Out?',
|
||||
message: 'Are you sure you want to log out?',
|
||||
contextualColorName: 'warning',
|
||||
okButton: {
|
||||
text: 'Log Out',
|
||||
callbackFunction: doLogout
|
||||
}
|
||||
})
|
||||
})
|
||||
})()
|
||||
|
||||
/*
|
||||
* KEEP ALIVE
|
||||
*/
|
||||
;(() => {
|
||||
const urlPrefix =
|
||||
document.querySelector('main')?.getAttribute('data-url-prefix') ?? ''
|
||||
|
||||
const keepAliveMillis = document
|
||||
.querySelector('main')
|
||||
?.getAttribute('data-session-keep-alive-millis')
|
||||
|
||||
function doKeepAlive(): void {
|
||||
cityssm.postJSON(
|
||||
urlPrefix + '/keepAlive',
|
||||
{
|
||||
t: Date.now()
|
||||
},
|
||||
() => {
|
||||
// Do nothing
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
if (
|
||||
keepAliveMillis !== null &&
|
||||
keepAliveMillis !== undefined &&
|
||||
keepAliveMillis !== '0'
|
||||
) {
|
||||
globalThis.setInterval(doKeepAlive, Number.parseInt(keepAliveMillis, 10))
|
||||
}
|
||||
})()
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,162 @@
|
|||
.has-min-page-height {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* to fix page titles inside level components, set on .level-left */
|
||||
|
||||
.has-flex-shrink-1 {
|
||||
flex-shrink: 1;
|
||||
}
|
||||
|
||||
.has-border-radius-3 {
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Tabs
|
||||
*/
|
||||
|
||||
.tab-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tab-content.is-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Login page
|
||||
*/
|
||||
|
||||
#is-login-page {
|
||||
overflow: auto;
|
||||
background-position: top center;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
#is-login-page body > .columns {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/*
|
||||
* Print
|
||||
*/
|
||||
|
||||
.container.is-page {
|
||||
width: 8.5in;
|
||||
padding: 10px 20px 20px;
|
||||
margin: 20px auto;
|
||||
background-color: var(--bulma-white);
|
||||
border: 1px solid var(--bulma-black);
|
||||
}
|
||||
|
||||
@media print {
|
||||
.container.is-page {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* z-index to compensate for leaflet
|
||||
*/
|
||||
|
||||
.navbar.is-fixed-top {
|
||||
z-index: 1100;
|
||||
}
|
||||
|
||||
.modal {
|
||||
z-index: 1200;
|
||||
}
|
||||
|
||||
/*
|
||||
* Static button pointer events
|
||||
*/
|
||||
|
||||
span.button.is-static {
|
||||
pointer-events: all;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/*
|
||||
* Fixed Level
|
||||
*/
|
||||
|
||||
.level.is-fixed-bottom {
|
||||
z-index: 1100;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 15px;
|
||||
margin: 0;
|
||||
|
||||
&.has-shadow {
|
||||
box-shadow: 0 -2px 0 0 #f5f5f5;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Fixed bottom
|
||||
*/
|
||||
|
||||
@media screen {
|
||||
.fixed-container {
|
||||
position: fixed;
|
||||
z-index: 30;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.fixed-container.is-fixed-bottom-right {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.fixed-container.is-fixed-bottom {
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Circle Button
|
||||
*/
|
||||
|
||||
.button.is-circle {
|
||||
width: 2.2em;
|
||||
height: 2.2em;
|
||||
font-size: 2em;
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
/*
|
||||
* Modal right-justified button spacing
|
||||
*/
|
||||
|
||||
.modal .buttons.is-block.has-text-right > .button {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
|
||||
/*
|
||||
* Form elements
|
||||
*/
|
||||
|
||||
.textarea {
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.input[type='number'] {
|
||||
-moz-appearance: textfield;
|
||||
|
||||
&::-webkit-inner-spin-button,
|
||||
&::-webkit-outer-spin-button {
|
||||
margin: 0;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
}
|
||||
|
||||
.select option:disabled {
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -28,6 +28,6 @@
|
|||
cityssm.htmlModalFolder ="<%= urlPrefix %>/html/";
|
||||
bulmaJS.init();
|
||||
</script>
|
||||
<script src="<%= urlPrefix %>/lib/cityssm-bulma-webapp-js/cityssm-theme.min.js" defer></script>
|
||||
<script src="<%= urlPrefix %>/javascripts/theme.js" defer></script>
|
||||
<script src="<%= urlPrefix %>/lib/fa/js/all.min.js" defer></script>
|
||||
<script src="<%= urlPrefix %>/javascripts/main.js"></script>
|
||||
|
|
@ -13,7 +13,10 @@
|
|||
|
||||
<link rel="icon" href="<%= urlPrefix + configFunctions.getConfigProperty("application.logoURL") %>" />
|
||||
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/stylesheets/style.css" />
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/lib/cityssm-bulma-sticky-table/bulma-with-sticky-table.css" />
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/lib/bulma-tooltip/bulma-tooltip.min.css" />
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/lib/cityssm-fa-glow/fa-glow.min.css" />
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/stylesheets/sunrise.css" />
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/lib/leaflet/leaflet.css" />
|
||||
</head>
|
||||
|
||||
|
|
@ -23,7 +26,7 @@
|
|||
<div class="container">
|
||||
<div class="navbar-brand">
|
||||
<a class="navbar-item" href="<%= urlPrefix %>/dashboard" accesskey="0">
|
||||
<img class="mr-3"
|
||||
<img
|
||||
src="<%= urlPrefix + configFunctions.getConfigProperty("application.logoURL") %>"
|
||||
alt=""
|
||||
height="28" />
|
||||
|
|
@ -39,14 +42,14 @@
|
|||
<div class="navbar-menu">
|
||||
<div class="navbar-start">
|
||||
<a class="navbar-item" href="<%= urlPrefix %>/workOrders" accesskey="1">
|
||||
<span class="icon mr-1">
|
||||
<span class="icon">
|
||||
<i class="fas fa-hard-hat" aria-hidden="true"></i>
|
||||
</span>
|
||||
<span>Work Orders</span>
|
||||
</a>
|
||||
|
||||
<a class="navbar-item" href="<%= urlPrefix %>/contracts" accesskey="2">
|
||||
<span class="icon mr-1">
|
||||
<span class="icon">
|
||||
<span class="fa-layers fa-fw" aria-hidden="true">
|
||||
<i class="fas fa-vector-square"></i>
|
||||
<i class="fas fa-user" data-fa-transform="shrink-10"></i>
|
||||
|
|
@ -58,32 +61,32 @@
|
|||
<div class="navbar-item has-dropdown">
|
||||
<a class="navbar-link is-arrowless" href="#">
|
||||
<span>More</span>
|
||||
<span class="icon ml-1">
|
||||
<span class="icon">
|
||||
<i class="fas fa-angle-down" aria-hidden="true"></i>
|
||||
</span>
|
||||
</a>
|
||||
<div class="navbar-dropdown">
|
||||
<a class="navbar-item" href="<%= urlPrefix %>/funeralHomes">
|
||||
<span class="icon mr-1">
|
||||
<span class="icon">
|
||||
<i class="fas fa-fw fa-place-of-worship" aria-hidden="true"></i>
|
||||
</span>
|
||||
<span>Funeral Homes</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="<%= urlPrefix %>/burialSites" accesskey="3">
|
||||
<span class="icon mr-1">
|
||||
<span class="icon">
|
||||
<i class="fas fa-fw fa-vector-square" aria-hidden="true"></i>
|
||||
</span>
|
||||
<span>Burial Sites</span>
|
||||
</a>
|
||||
<a class="navbar-item" href="<%= urlPrefix %>/cemeteries" accesskey="4">
|
||||
<span class="icon mr-1">
|
||||
<span class="icon">
|
||||
<i class="far fa-fw fa-map" aria-hidden="true"></i>
|
||||
</span>
|
||||
<span>Cemeteries</span>
|
||||
</a>
|
||||
<hr class="navbar-divider" />
|
||||
<a class="navbar-item" href="<%= urlPrefix %>/reports">
|
||||
<span class="icon mr-1">
|
||||
<span class="icon">
|
||||
<i class="fas fa-fw fa-file" aria-hidden="true"></i>
|
||||
</span>
|
||||
<span>Reports</span>
|
||||
|
|
@ -93,7 +96,7 @@
|
|||
target="_blank"
|
||||
accesskey="h"
|
||||
rel="noopener noreferrer">
|
||||
<span class="icon mr-1">
|
||||
<span class="icon">
|
||||
<i class="fas fa-fw fa-question-circle" aria-hidden="true"></i>
|
||||
</span>
|
||||
<span>Help</span>
|
||||
|
|
@ -104,7 +107,7 @@
|
|||
|
||||
<div class="navbar-end">
|
||||
<a class="navbar-item" id="cityssm-theme--logout-button" role="button" href="#" accesskey="x">
|
||||
<span class="icon mr-1">
|
||||
<span class="icon">
|
||||
<i class="fas fa-fw fa-sign-out-alt" aria-hidden="true"></i>
|
||||
</span>
|
||||
<span>Log Out <%=user.userName %></span>
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-success has-tooltip-bottom" data-tooltip="Add Work Order Type" type="submit" aria-label="Add Work Order Type">
|
||||
<i class="fas fa-plus" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -98,7 +98,7 @@
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-success has-tooltip-bottom" data-tooltip="Add Work Order Milestone Type" type="submit" aria-label="Add Work Order Milestone Type">
|
||||
<i class="fas fa-plus" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -128,7 +128,7 @@
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-success has-tooltip-bottom" data-tooltip="Add Status" type="submit" aria-label="Add Status">
|
||||
<i class="fas fa-plus" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-plus" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
<div class="level-right">
|
||||
<% if (isCreate) { %>
|
||||
<div class="level-item">
|
||||
<a class="button is-danger is-inverted" href="<%= urlPrefix %>/burialSites">
|
||||
<a class="button is-danger is-outlined" href="<%= urlPrefix %>/burialSites">
|
||||
Cancel
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -181,7 +181,7 @@
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-unlock-field-button" data-tooltip="Unlock Field" type="button" aria-label="Unlock Field">
|
||||
<i class="fas fa-unlock" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-unlock" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -224,7 +224,7 @@
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-unlock-field-button" data-tooltip="Unlock Field" type="button" aria-label="Unlock Field">
|
||||
<i class="fas fa-unlock" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-unlock" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
data-tooltip="Previous Burial Site"
|
||||
href="<%= urlPrefix %>/burialSites/<%= burialSite.burialSiteId %>/previous"
|
||||
accesskey=",">
|
||||
<i class="fas fa-arrow-left" aria-hidden="true"></i>
|
||||
<span class="icon m-0"><i class="fas fa-arrow-left" aria-hidden="true"></i></span>
|
||||
<span class="sr-only">Previous Burial Site</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -61,42 +61,42 @@
|
|||
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<div class="panel">
|
||||
<div class="panel-block is-block">
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<p class="mb-2">
|
||||
<strong>Cemetery</strong><br />
|
||||
<a href="<%= urlPrefix %>/cemeteries/<%= burialSite.cemeteryId %>">
|
||||
<%= burialSite.cemeteryName || "(No Name)" %>
|
||||
</a>
|
||||
</p>
|
||||
<p class="mb-2">
|
||||
<strong>Burial Site Type</strong><br />
|
||||
<%= burialSite.burialSiteType %>
|
||||
</p>
|
||||
<p>
|
||||
<strong>Status</strong><br />
|
||||
<%= burialSite.burialSiteStatus %>
|
||||
</p>
|
||||
</div>
|
||||
<% if (burialSite.burialSiteFields.length > 0) { %>
|
||||
<div class="column">
|
||||
<% for (const burialSiteField of burialSite.burialSiteFields) { %>
|
||||
<p class="mb-2">
|
||||
<strong><%= burialSiteField.burialSiteTypeField %></strong><br />
|
||||
<% if (burialSiteField.fieldValue) { %>
|
||||
<%= burialSiteField.fieldValue %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">(No Value)</span>
|
||||
<% } %>
|
||||
</p>
|
||||
<% } %>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
<div class="panel">
|
||||
<div class="panel-block is-block">
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<p class="mb-2">
|
||||
<strong>Cemetery</strong><br />
|
||||
<a href="<%= urlPrefix %>/cemeteries/<%= burialSite.cemeteryId %>">
|
||||
<%= burialSite.cemeteryName || "(No Name)" %>
|
||||
</a>
|
||||
</p>
|
||||
<p class="mb-2">
|
||||
<strong>Burial Site Type</strong><br />
|
||||
<%= burialSite.burialSiteType %>
|
||||
</p>
|
||||
<p>
|
||||
<strong>Status</strong><br />
|
||||
<%= burialSite.burialSiteStatus %>
|
||||
</p>
|
||||
</div>
|
||||
<% if (burialSite.burialSiteFields.length > 0) { %>
|
||||
<div class="column">
|
||||
<% for (const burialSiteField of burialSite.burialSiteFields) { %>
|
||||
<p class="mb-2">
|
||||
<strong><%= burialSiteField.burialSiteTypeField %></strong><br />
|
||||
<% if (burialSiteField.fieldValue) { %>
|
||||
<%= burialSiteField.fieldValue %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">(No Value)</span>
|
||||
<% } %>
|
||||
</p>
|
||||
<% } %>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% if (burialSite.cemeterySvg) { %>
|
||||
<div class="column">
|
||||
|
|
@ -107,7 +107,7 @@
|
|||
<div class="image" id="burialSite--cemeterySvg" data-map-key="<%= burialSite.cemeterySvgId %>">
|
||||
<%- include('../public/images/cemeteries/' + burialSite.cemeterySvg); -%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% } %>
|
||||
|
|
@ -149,64 +149,64 @@
|
|||
<span class="tag"><%= burialSite.contracts.length %></span>
|
||||
</h2>
|
||||
<div class="panel-block is-block">
|
||||
<% if (burialSite.contracts.length === 0) { %>
|
||||
<div class="message is-info">
|
||||
<p class="message-body">
|
||||
There are no contracts asscociated with this burial site.
|
||||
</p>
|
||||
</div>
|
||||
<% } else { %>
|
||||
<table class="table is-fullwidth is-striped is-hoverable">
|
||||
<thead>
|
||||
<% if (burialSite.contracts.length === 0) { %>
|
||||
<div class="message is-info">
|
||||
<p class="message-body">
|
||||
There are no contracts asscociated with this burial site.
|
||||
</p>
|
||||
</div>
|
||||
<% } else { %>
|
||||
<table class="table is-fullwidth is-striped is-hoverable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="has-width-10"> </th>
|
||||
<th>Contract Type</th>
|
||||
<th>Contract Date</th>
|
||||
<th>End Date</th>
|
||||
<th>Interments</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% const currentDate = dateTimeFunctions.dateToInteger(new Date()); %>
|
||||
<% for (const contract of burialSite.contracts) { %>
|
||||
<% const isActive = !(contract.contractEndDate && contract.contractEndDate < currentDate); %>
|
||||
<tr>
|
||||
<th class="has-width-10"> </th>
|
||||
<th>Contract Type</th>
|
||||
<th>Contract Date</th>
|
||||
<th>End Date</th>
|
||||
<th>Interments</th>
|
||||
<td class="has-text-centered">
|
||||
<% if (isActive) { %>
|
||||
<i class="fas fa-play" title="Current Contract"></i>
|
||||
<% } else { %>
|
||||
<i class="fas fa-stop" title="Previous Contract"></i>
|
||||
<% } %>
|
||||
</td>
|
||||
<td>
|
||||
<a class="has-text-weight-bold"
|
||||
href="<%= urlPrefix %>/contracts/<%= contract.contractId %>">
|
||||
<%= contract.contractType %>
|
||||
</a><br />
|
||||
<span class="is-size-7">#<%= contract.contractId %></span>
|
||||
</td>
|
||||
<td><%= contract.contractStartDateString %></td>
|
||||
<td>
|
||||
<% if (contract.contractEndDate) { %>
|
||||
<%= contract.contractEndDateString %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">(No End Date)</span>
|
||||
<% } %>
|
||||
</td>
|
||||
<td>
|
||||
<% if (contract.contractInterments.length === 0) { %>
|
||||
<span class="has-text-grey">(No Interments)</span>
|
||||
<% } else { %>
|
||||
<% for (const interment of contract.contractInterments) { %>
|
||||
<%= interment.deceasedName %>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% const currentDate = dateTimeFunctions.dateToInteger(new Date()); %>
|
||||
<% for (const contract of burialSite.contracts) { %>
|
||||
<% const isActive = !(contract.contractEndDate && contract.contractEndDate < currentDate); %>
|
||||
<tr>
|
||||
<td class="has-text-centered">
|
||||
<% if (isActive) { %>
|
||||
<i class="fas fa-play" title="Current Contract"></i>
|
||||
<% } else { %>
|
||||
<i class="fas fa-stop" title="Previous Contract"></i>
|
||||
<% } %>
|
||||
</td>
|
||||
<td>
|
||||
<a class="has-text-weight-bold"
|
||||
href="<%= urlPrefix %>/contracts/<%= contract.contractId %>">
|
||||
<%= contract.contractType %>
|
||||
</a><br />
|
||||
<span class="is-size-7">#<%= contract.contractId %></span>
|
||||
</td>
|
||||
<td><%= contract.contractStartDateString %></td>
|
||||
<td>
|
||||
<% if (contract.contractEndDate) { %>
|
||||
<%= contract.contractEndDateString %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">(No End Date)</span>
|
||||
<% } %>
|
||||
</td>
|
||||
<td>
|
||||
<% if (contract.contractInterments.length === 0) { %>
|
||||
<span class="has-text-grey">(No Interments)</span>
|
||||
<% } else { %>
|
||||
<% for (const interment of contract.contractInterments) { %>
|
||||
<%= interment.deceasedName %>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% } %>
|
||||
<% } %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
<div class="level-right">
|
||||
<% if (isCreate) { %>
|
||||
<div class="level-item">
|
||||
<a class="button is-danger is-inverted" href="<%= urlPrefix %>/cemeteries">
|
||||
<a class="button is-danger is-outlined" href="<%= urlPrefix %>/cemeteries">
|
||||
Cancel
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -226,7 +226,7 @@
|
|||
<div class="level is-mobile">
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<h2 class="title is-5 has-text-weight-bold">
|
||||
<h2 class="title is-5 has-text-white has-text-weight-bold">
|
||||
Burial Site Summaries
|
||||
<a class="tag is-link ml-2" href="<%= burialSiteSearchUrl %>">
|
||||
<%= cemetery.burialSiteCount %>
|
||||
|
|
|
|||
|
|
@ -34,20 +34,20 @@
|
|||
<div class="level-right">
|
||||
<div class="level-item">
|
||||
<a class="button is-link is-outlined has-tooltip-left"
|
||||
data-tooltip="Previous Cemetery"
|
||||
href="<%= urlPrefix %>/cemeteries/<%= cemetery.cemeteryId %>/previous"
|
||||
accesskey=",">
|
||||
<i class="fas fa-arrow-left" aria-hidden="true"></i>
|
||||
<span class="sr-only">Previous Cemetery</span>
|
||||
data-tooltip="Previous Cemetery"
|
||||
href="<%= urlPrefix %>/cemeteries/<%= cemetery.cemeteryId %>/previous"
|
||||
accesskey=",">
|
||||
<span class="icon m-0"><i class="fas fa-arrow-left" aria-hidden="true"></i></span>
|
||||
<span class="sr-only">Previous Cemetery</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="level-item">
|
||||
<a class="button is-link has-tooltip-left"
|
||||
data-tooltip="Next Cemetery"
|
||||
href="<%= urlPrefix %>/cemeteries/<%= cemetery.cemeteryId %>/next"
|
||||
accesskey=".">
|
||||
<span>Next</span>
|
||||
<span class="icon"><i class="fas fa-arrow-right" aria-hidden="true"></i></span>
|
||||
data-tooltip="Next Cemetery"
|
||||
href="<%= urlPrefix %>/cemeteries/<%= cemetery.cemeteryId %>/next"
|
||||
accesskey=".">
|
||||
<span>Next</span>
|
||||
<span class="icon"><i class="fas fa-arrow-right" aria-hidden="true"></i></span>
|
||||
</a>
|
||||
</div>
|
||||
<% if (user.userProperties.canUpdate) { %>
|
||||
|
|
@ -98,13 +98,13 @@
|
|||
<div class="panel">
|
||||
<h2 class="panel-heading">Geographic Location</h2>
|
||||
<div class="panel-block is-block">
|
||||
<% if (cemetery.cemeteryLatitude && cemetery.cemeteryLongitude) { %>
|
||||
<div id="cemetery--leaflet" data-cemetery-latitude="<%= cemetery.cemeteryLatitude %>" data-cemetery-longitude="<%= cemetery.cemeteryLongitude %>" style="height:300px"></div>
|
||||
<% } else { %>
|
||||
<div class="message is-info">
|
||||
<p class="message-body">There are no geographic coordinates associated with this cemetery.</p>
|
||||
</div>
|
||||
<% } %>
|
||||
<% if (cemetery.cemeteryLatitude && cemetery.cemeteryLongitude) { %>
|
||||
<div id="cemetery--leaflet" data-cemetery-latitude="<%= cemetery.cemeteryLatitude %>" data-cemetery-longitude="<%= cemetery.cemeteryLongitude %>" style="height:300px"></div>
|
||||
<% } else { %>
|
||||
<div class="message is-info">
|
||||
<p class="message-body">There are no geographic coordinates associated with this cemetery.</p>
|
||||
</div>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -133,7 +133,7 @@
|
|||
<div class="level is-mobile">
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<h2 class="title is-5 has-text-weight-bold">
|
||||
<h2 class="title is-5 has-text-weight-bold has-text-white">
|
||||
Burial Site Summaries
|
||||
<a class="tag is-link ml-2" href="<%= burialSiteSearchUrl %>">
|
||||
<%= cemetery.burialSiteCount %>
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@
|
|||
<% } %>
|
||||
<% if (isCreate) { %>
|
||||
<div class="level-item">
|
||||
<a class="button is-danger is-inverted" href="<%= urlPrefix %>/contracts">
|
||||
<a class="button is-danger is-outlined" href="<%= urlPrefix %>/contracts">
|
||||
Cancel
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -186,7 +186,7 @@
|
|||
</div>
|
||||
<div class="control is-hidden-print">
|
||||
<button class="button is-unlock-field-button" data-tooltip="Unlock Field" type="button" aria-label="Unlock Contract Type Field">
|
||||
<i class="fas fa-unlock" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-unlock" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -205,17 +205,17 @@
|
|||
</div>
|
||||
<div class="control is-hidden-print">
|
||||
<button class="button is-clear-burial-site-button" data-tooltip="Clear" type="button" aria-label="Clear Burial Site Field">
|
||||
<i class="fas fa-eraser" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-eraser" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="control is-hidden-print">
|
||||
<button class="button is-unlock-field-button" data-tooltip="Unlock Field" type="button" aria-label="Unlock Burial Site Field">
|
||||
<i class="fas fa-unlock" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-unlock" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="control is-hidden-print">
|
||||
<button class="button is-burial-site-view-button" data-tooltip="Open Burial Site" type="button" aria-label="Open Burial Site">
|
||||
<i class="fas fa-external-link-alt" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-external-link-alt" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<div class="level is-mobile">
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<h2 class="title is-5 has-text-weight-bold has-text-white">
|
||||
<h2 class="title is-5 has-text-weight-bold">
|
||||
Today's Milestones
|
||||
</h2>
|
||||
</div>
|
||||
|
|
@ -106,7 +106,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/workOrders">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Work Orders
|
||||
</h2>
|
||||
<p>
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/contracts">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Contracts
|
||||
</h2>
|
||||
<p>
|
||||
|
|
@ -189,7 +189,7 @@
|
|||
<i class="fas fa-4x fa-fw fa-vector-square" aria-hidden="true"></i>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/burialSites">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Burial Sites
|
||||
</h2>
|
||||
<p>
|
||||
|
|
@ -220,7 +220,7 @@
|
|||
<i class="far fa-4x fa-fw fa-map" aria-hidden="true"></i>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/cemeteries">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Cemeteries
|
||||
</h2>
|
||||
<p>
|
||||
|
|
@ -253,7 +253,7 @@
|
|||
<i class="fas fa-4x fa-fw fa-file" aria-hidden="true"></i>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/reports">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Report Library
|
||||
</h2>
|
||||
<p>Produce reports and export data.</p>
|
||||
|
|
@ -290,7 +290,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/admin/fees">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Fee Management
|
||||
</h2>
|
||||
<p>
|
||||
|
|
@ -309,7 +309,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/admin/contractTypes">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Contract Type Management
|
||||
</h2>
|
||||
<p>
|
||||
|
|
@ -329,7 +329,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/admin/burialSiteTypes">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Burial Site Type Management
|
||||
</h2>
|
||||
<p>
|
||||
|
|
@ -347,7 +347,7 @@
|
|||
</span>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/admin/tables">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Config Table Management
|
||||
</h2>
|
||||
<p>
|
||||
|
|
@ -364,7 +364,7 @@
|
|||
<i class="fas fa-4x fa-fw fa-database" aria-hidden="true"></i>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/admin/database">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Database Maintenance
|
||||
</h2>
|
||||
<p>
|
||||
|
|
@ -381,7 +381,7 @@
|
|||
<i class="far fa-4x fa-fw fa-comment-alt" aria-hidden="true"></i>
|
||||
</div>
|
||||
<a class="media-content" href="<%= urlPrefix %>/admin/ntfyStartup">
|
||||
<h2 class="title is-4 is-marginless has-text-link">
|
||||
<h2 class="title is-4 mb-0 has-text-link">
|
||||
Ntfy Startup Notification
|
||||
</h2>
|
||||
<p>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
<div class="level-right">
|
||||
<% if (isCreate) { %>
|
||||
<div class="level-item">
|
||||
<a class="button is-danger is-inverted" href="<%= urlPrefix %>/funeralHomes">
|
||||
<a class="button is-danger is-outlined" href="<%= urlPrefix %>/funeralHomes">
|
||||
Cancel
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@
|
|||
|
||||
<link rel="icon" href="<%= urlPrefix + configFunctions.getConfigProperty("application.logoURL") %>" />
|
||||
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/stylesheets/style.css" />
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/lib/cityssm-bulma-sticky-table/bulma-with-sticky-table.css" />
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/stylesheets/sunrise.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@
|
|||
|
||||
<link rel="icon" href="<%= urlPrefix %>/images/favicon.png" />
|
||||
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/stylesheets/style.css" />
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/lib/bulma/bulma.min.css" />
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/stylesheets/sunrise.css" />
|
||||
<link rel="stylesheet" href="<%= urlPrefix %>/lib/fa/css/all.min.css" />
|
||||
</head>
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
<% } %>
|
||||
<% if (isCreate) { %>
|
||||
<div class="level-item">
|
||||
<a class="button is-danger is-inverted" href="<%= urlPrefix %>/workOrders">
|
||||
<a class="button is-danger is-outlined" href="<%= urlPrefix %>/workOrders">
|
||||
Cancel
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -143,7 +143,7 @@
|
|||
</div>
|
||||
<div class="control">
|
||||
<button class="button is-unlock-field-button" data-tooltip="Unlock Field" type="button" aria-label="Unlock Field">
|
||||
<i class="fas fa-unlock" aria-hidden="true"></i>
|
||||
<span class="icon"><i class="fas fa-unlock" aria-hidden="true"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -295,7 +295,7 @@
|
|||
<div class="level is-mobile">
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<h2 class="title has-text-weight-bold is-5">Milestones</h2>
|
||||
<h2 class="title is-5 has-text-white has-text-weight-bold">Milestones</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-right">
|
||||
|
|
|
|||
|
|
@ -88,176 +88,176 @@
|
|||
<div class="column">
|
||||
<div class="panel">
|
||||
<div class="panel-block is-block">
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<p class="mb-2">
|
||||
<strong>Work Order Type</strong><br />
|
||||
<%= workOrder.workOrderType %>
|
||||
</p>
|
||||
<p>
|
||||
<strong>Description</strong><br />
|
||||
<% if (workOrder.workOrderDescription) { %>
|
||||
<%= workOrder.workOrderDescription %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">(No Description)</span>
|
||||
<% } %>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<p class="mb-2">
|
||||
<strong><%= configFunctions.getConfigProperty("aliases.workOrderOpenDate") %></strong><br />
|
||||
<%= workOrder.workOrderOpenDateString %>
|
||||
</p>
|
||||
<p>
|
||||
<strong><%= configFunctions.getConfigProperty("aliases.workOrderCloseDate") %></strong><br />
|
||||
<% if (workOrder.workOrderCloseDate) { %>
|
||||
<%= workOrder.workOrderCloseDateString %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">
|
||||
(No <%= configFunctions.getConfigProperty("aliases.workOrderCloseDate") %>)
|
||||
</span>
|
||||
<% } %>
|
||||
</p>
|
||||
</div>
|
||||
<div class="columns">
|
||||
<div class="column">
|
||||
<p class="mb-2">
|
||||
<strong>Work Order Type</strong><br />
|
||||
<%= workOrder.workOrderType %>
|
||||
</p>
|
||||
<p>
|
||||
<strong>Description</strong><br />
|
||||
<% if (workOrder.workOrderDescription) { %>
|
||||
<%= workOrder.workOrderDescription %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">(No Description)</span>
|
||||
<% } %>
|
||||
</p>
|
||||
</div>
|
||||
<div class="column">
|
||||
<p class="mb-2">
|
||||
<strong><%= configFunctions.getConfigProperty("aliases.workOrderOpenDate") %></strong><br />
|
||||
<%= workOrder.workOrderOpenDateString %>
|
||||
</p>
|
||||
<p>
|
||||
<strong><%= configFunctions.getConfigProperty("aliases.workOrderCloseDate") %></strong><br />
|
||||
<% if (workOrder.workOrderCloseDate) { %>
|
||||
<%= workOrder.workOrderCloseDateString %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">
|
||||
(No <%= configFunctions.getConfigProperty("aliases.workOrderCloseDate") %>)
|
||||
</span>
|
||||
<% } %>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="panel">
|
||||
<h2 class="panel-heading">Related Burial Sites</h2>
|
||||
<div class="panel-block is-block">
|
||||
<%
|
||||
const tabToSelect = (workOrder.workOrderContracts.length > 0 || workOrder.workOrderBurialSites.length === 0 ? "contracts" : "burialSites");
|
||||
%>
|
||||
<div class="tabs is-boxed">
|
||||
<ul>
|
||||
<li class="<%= (tabToSelect === "contracts" ? "is-active" : "") %>">
|
||||
<a href="#relatedTab--contracts">
|
||||
<span>Contracts</span>
|
||||
<span class="ml-2 tag"><%= workOrder.workOrderContracts.length %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<%= (tabToSelect === "burialSites" ? "is-active" : "") %>">
|
||||
<a href="#relatedTab--burialSites">
|
||||
<span>Burial Sites</span>
|
||||
<span class="ml-2 tag"><%= workOrder.workOrderBurialSites.length %></span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tab-container">
|
||||
<div class="<%= (tabToSelect === "contracts" ? "" : "is-hidden") %>" id="relatedTab--contracts">
|
||||
<% if (workOrder.workOrderContracts.length === 0) { %>
|
||||
<div class="message is-info">
|
||||
<p class="message-body">
|
||||
There are no contracts associated with this work order.
|
||||
</p>
|
||||
</div>
|
||||
<% } else { %>
|
||||
<% const currentDate = dateTimeFunctions.dateToInteger(new Date()); %>
|
||||
<table class="table is-fullwidth is-striped is-hoverable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="has-width-1"></th>
|
||||
<th>Contract Type</th>
|
||||
<th>Burial Site</th>
|
||||
<th>Contract Date</th>
|
||||
<th>End Date</th>
|
||||
<th>Interments</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% for (const contract of workOrder.workOrderContracts) { %>
|
||||
<% const isActive = !(contract.contractEndDate && contract.contractEndDate < currentDate); %>
|
||||
<tr>
|
||||
<td class="has-text-centered">
|
||||
<% if (isActive) { %>
|
||||
<i class="fas fa-play" title="Current Contract"></i>
|
||||
<% } else { %>
|
||||
<i class="fas fa-stop" title="Previous Contract"></i>
|
||||
<% } %>
|
||||
</td>
|
||||
<td>
|
||||
<a class="has-text-weight-bold"
|
||||
href="<%= urlPrefix %>/contracts/<%= contract.contractId %>">
|
||||
<%= contract.contractType %>
|
||||
</a><br />
|
||||
<span class="is-size-7">
|
||||
#<%= contract.contractId %>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<% if (contract.burialSiteId) { %>
|
||||
<%= contract.burialSiteName %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">(No Burial Site)</span>
|
||||
<% } %>
|
||||
</td>
|
||||
<td><%= contract.contractStartDateString %></td>
|
||||
<td>
|
||||
<% if (contract.contractEndDate) { %>
|
||||
<%= contract.contractEndDateString %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">(No End Date)</span>
|
||||
<% } %>
|
||||
</td>
|
||||
<td>
|
||||
<% if (contract.contractInterments.length === 0) { %>
|
||||
<span class="has-text-grey">
|
||||
(No Interments)
|
||||
</span>
|
||||
<% } else { %>
|
||||
<ul class="fa-ul ml-5">
|
||||
<% for (const interment of contract.contractInterments) { %>
|
||||
<li>
|
||||
<span class="fa-li"><i class="fas fa-user" aria-hidden="true"></i></span>
|
||||
<%= interment.deceasedName %>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% } %>
|
||||
</div>
|
||||
<div class="<%= (tabToSelect === "burialSites" ? "" : "is-hidden") %>" id="relatedTab--burialSites">
|
||||
<% if (workOrder.workOrderBurialSites.length === 0) { %>
|
||||
<%
|
||||
const tabToSelect = (workOrder.workOrderContracts.length > 0 || workOrder.workOrderBurialSites.length === 0 ? "contracts" : "burialSites");
|
||||
%>
|
||||
<div class="tabs is-boxed">
|
||||
<ul>
|
||||
<li class="<%= (tabToSelect === "contracts" ? "is-active" : "") %>">
|
||||
<a href="#relatedTab--contracts">
|
||||
<span>Contracts</span>
|
||||
<span class="ml-2 tag"><%= workOrder.workOrderContracts.length %></span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="<%= (tabToSelect === "burialSites" ? "is-active" : "") %>">
|
||||
<a href="#relatedTab--burialSites">
|
||||
<span>Burial Sites</span>
|
||||
<span class="ml-2 tag"><%= workOrder.workOrderBurialSites.length %></span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tab-container">
|
||||
<div class="<%= (tabToSelect === "contracts" ? "" : "is-hidden") %>" id="relatedTab--contracts">
|
||||
<% if (workOrder.workOrderContracts.length === 0) { %>
|
||||
<div class="message is-info">
|
||||
<p class="message-body">
|
||||
There are no burial sites associated with this work order.
|
||||
There are no contracts associated with this work order.
|
||||
</p>
|
||||
</div>
|
||||
<% } else { %>
|
||||
<% const currentDate = dateTimeFunctions.dateToInteger(new Date()); %>
|
||||
<table class="table is-fullwidth is-striped is-hoverable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Burial Site</th>
|
||||
<th>Cemetery</th>
|
||||
<th>Burial Site Type</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% for (const burialSite of workOrder.workOrderBurialSites) { %>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="has-text-weight-bold" href="<%= urlPrefix %>/burialSites/<%= burialSite.burialSiteId %>">
|
||||
<%= burialSite.burialSiteName %>
|
||||
</a>
|
||||
</td>
|
||||
<td><%= burialSite.cemeteryName %></td>
|
||||
<td><%= burialSite.burialSiteType %></td>
|
||||
<td><%= burialSite.burialSiteStatus %></td>
|
||||
<th class="has-width-1"></th>
|
||||
<th>Contract Type</th>
|
||||
<th>Burial Site</th>
|
||||
<th>Contract Date</th>
|
||||
<th>End Date</th>
|
||||
<th>Interments</th>
|
||||
</tr>
|
||||
<% } %>
|
||||
</tbody>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% for (const contract of workOrder.workOrderContracts) { %>
|
||||
<% const isActive = !(contract.contractEndDate && contract.contractEndDate < currentDate); %>
|
||||
<tr>
|
||||
<td class="has-text-centered">
|
||||
<% if (isActive) { %>
|
||||
<i class="fas fa-play" title="Current Contract"></i>
|
||||
<% } else { %>
|
||||
<i class="fas fa-stop" title="Previous Contract"></i>
|
||||
<% } %>
|
||||
</td>
|
||||
<td>
|
||||
<a class="has-text-weight-bold"
|
||||
href="<%= urlPrefix %>/contracts/<%= contract.contractId %>">
|
||||
<%= contract.contractType %>
|
||||
</a><br />
|
||||
<span class="is-size-7">
|
||||
#<%= contract.contractId %>
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
<% if (contract.burialSiteId) { %>
|
||||
<%= contract.burialSiteName %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">(No Burial Site)</span>
|
||||
<% } %>
|
||||
</td>
|
||||
<td><%= contract.contractStartDateString %></td>
|
||||
<td>
|
||||
<% if (contract.contractEndDate) { %>
|
||||
<%= contract.contractEndDateString %>
|
||||
<% } else { %>
|
||||
<span class="has-text-grey">(No End Date)</span>
|
||||
<% } %>
|
||||
</td>
|
||||
<td>
|
||||
<% if (contract.contractInterments.length === 0) { %>
|
||||
<span class="has-text-grey">
|
||||
(No Interments)
|
||||
</span>
|
||||
<% } else { %>
|
||||
<ul class="fa-ul ml-5">
|
||||
<% for (const interment of contract.contractInterments) { %>
|
||||
<li>
|
||||
<span class="fa-li"><i class="fas fa-user" aria-hidden="true"></i></span>
|
||||
<%= interment.deceasedName %>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
<% } %>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="<%= (tabToSelect === "burialSites" ? "" : "is-hidden") %>" id="relatedTab--burialSites">
|
||||
<% if (workOrder.workOrderBurialSites.length === 0) { %>
|
||||
<div class="message is-info">
|
||||
<p class="message-body">
|
||||
There are no burial sites associated with this work order.
|
||||
</p>
|
||||
</div>
|
||||
<% } else { %>
|
||||
<table class="table is-fullwidth is-striped is-hoverable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Burial Site</th>
|
||||
<th>Cemetery</th>
|
||||
<th>Burial Site Type</th>
|
||||
<th>Status</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% for (const burialSite of workOrder.workOrderBurialSites) { %>
|
||||
<tr>
|
||||
<td>
|
||||
<a class="has-text-weight-bold" href="<%= urlPrefix %>/burialSites/<%= burialSite.burialSiteId %>">
|
||||
<%= burialSite.burialSiteName %>
|
||||
</a>
|
||||
</td>
|
||||
<td><%= burialSite.cemeteryName %></td>
|
||||
<td><%= burialSite.burialSiteType %></td>
|
||||
<td><%= burialSite.burialSiteStatus %></td>
|
||||
</tr>
|
||||
<% } %>
|
||||
</tbody>
|
||||
</table>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -297,7 +297,7 @@
|
|||
<div class="level is-mobile">
|
||||
<div class="level-left">
|
||||
<div class="level-item">
|
||||
<h2 class="title is-5 has-text-weight-bold">Milestones</h2>
|
||||
<h2 class="title is-5 has-text-white has-text-weight-bold">Milestones</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="level-right">
|
||||
|
|
|
|||
Loading…
Reference in New Issue