2020-06-06 00:03:37 +02:00
|
|
|
"use strict";
|
2020-05-04 04:53:28 +02:00
|
|
|
|
2020-06-06 00:03:37 +02:00
|
|
|
const views = require("../util/views.js");
|
2020-05-04 04:53:28 +02:00
|
|
|
|
2020-06-06 00:03:37 +02:00
|
|
|
const template = views.getTemplate("pools-page");
|
2020-05-04 04:53:28 +02:00
|
|
|
|
|
|
|
class PoolsPageView {
|
|
|
|
constructor(ctx) {
|
|
|
|
views.replaceContent(ctx.hostNode, template(ctx));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = PoolsPageView;
|