This repository has been archived on 2025-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
szurubooru/client/js/views/not_found_view.js

18 lines
412 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(ctx);
views.showView(target, source);
}
}
module.exports = NotFoundView;