e7fe7d3899
Reuses old 404 image from 1.x branch, may be subject to change.
18 lines
411 B
JavaScript
18 lines
411 B
JavaScript
'use strict';
|
|
|
|
const config = require('../config.js');
|
|
const views = require('../util/views.js');
|
|
|
|
class NotFoundView {
|
|
constructor() {
|
|
this._template = views.getTemplate('not-found');
|
|
}
|
|
|
|
render(ctx) {
|
|
const target = document.getElementById('content-holder');
|
|
const source = this._template({});
|
|
views.showView(target, source);
|
|
}
|
|
}
|
|
|
|
module.exports = NotFoundView;
|