2020-06-06 00:03:37 +02:00
|
|
|
"use strict";
|
2016-04-29 11:48:34 +02:00
|
|
|
|
2020-06-06 00:03:37 +02:00
|
|
|
const views = require("../util/views.js");
|
2016-04-29 11:48:34 +02:00
|
|
|
|
2020-06-06 00:03:37 +02:00
|
|
|
const template = views.getTemplate("users-page");
|
2016-04-29 11:48:34 +02:00
|
|
|
|
2016-06-14 10:31:48 +02:00
|
|
|
class UsersPageView {
|
|
|
|
constructor(ctx) {
|
|
|
|
views.replaceContent(ctx.hostNode, template(ctx));
|
2016-04-29 11:48:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-11 12:17:40 +02:00
|
|
|
module.exports = UsersPageView;
|