3972b902d8
Permissions, regex filters, app title, email info, and safety now fetched using server's Info API
17 lines
408 B
JavaScript
17 lines
408 B
JavaScript
'use strict';
|
|
|
|
const views = require('../util/views.js');
|
|
|
|
const template = views.getTemplate('not-found');
|
|
|
|
class NotFoundView {
|
|
constructor(path) {
|
|
this._hostNode = document.getElementById('content-holder');
|
|
|
|
const sourceNode = template({path: path});
|
|
views.replaceContent(this._hostNode, sourceNode);
|
|
views.syncScrollPosition();
|
|
}
|
|
}
|
|
|
|
module.exports = NotFoundView;
|