-
{{{ displayIconHtml }}} {{ dnsProvider }}
+
{{ dnsProvider }}
{{ name }}
@@ -200,9 +193,9 @@
{{domain}}
diff --git a/nodejs/views/hosts.ejs b/nodejs/views/hosts.ejs
index 5582a52..f71a0ea 100755
--- a/nodejs/views/hosts.ejs
+++ b/nodejs/views/hosts.ejs
@@ -62,10 +62,10 @@
}
function hostPopulate(){
- app.host.list(function(error, res){
+ app.api.get('host?detail=1&provider=1', function(error, res){
if(error) return app.util.actionMessage(error, $.scope.hosts.$this, 'danger');
- for(let host of res){
+ for(let host of res.results){
$.scope.hosts.push(hostParseRow(host));
}
@@ -150,9 +150,9 @@
$el.slideUp();
};
- // app.subscribe(/^model:Host/, function(data, topic){
- // console.log(topic, data);
- // });
+ app.subscribe(/^model:Host/, function(data, topic){
+ console.log(topic, data);
+ });
app.subscribe(/^model:Host:create/, function(data, topic){
let [a,b, action, host] = topic.split(':');
@@ -391,6 +391,10 @@
{{{ forcessl_text }}}{{ host }}
+ {{#domain.provider}}
+
+

{{displayName}}
+ {{/domain.provider}}
{{{ targetssl_text }}}{{ ip }}:{{ targetPort }}
diff --git a/nodejs/views/top.ejs b/nodejs/views/top.ejs
index d14cfbb..b744441 100755
--- a/nodejs/views/top.ejs
+++ b/nodejs/views/top.ejs
@@ -31,55 +31,11 @@
-
-
-
-
-
-
|