13 lines
255 B
JavaScript
13 lines
255 B
JavaScript
'use strict';
|
|
|
|
const views = require('../util/views.js');
|
|
|
|
const template = views.getTemplate('pools-page');
|
|
|
|
class PoolsPageView {
|
|
constructor(ctx) {
|
|
views.replaceContent(ctx.hostNode, template(ctx));
|
|
}
|
|
}
|
|
|
|
module.exports = PoolsPageView;
|