szurubooru/client/js/views/users_page_view.js
rr- 69fe8ec31a client/general: refactor all the things
- Move controls to the "controls/" directory
- Make controls interface look similar to each other
- Prefix "private" methods and attributes with underscore
2016-05-21 00:08:43 +02:00

17 lines
344 B
JavaScript

'use strict';
const views = require('../util/views.js');
class UsersPageView {
constructor() {
this._template = views.getTemplate('users-page');
}
render(ctx) {
const target = ctx.target;
const source = this._template(ctx);
views.showView(target, source);
}
}
module.exports = UsersPageView;