test
This commit is contained in:
parent
ac6bd1295a
commit
ec1591f8a8
@ -62,14 +62,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<hr align="center" width="100%">
|
<hr align="center" width="100%">
|
||||||
|
|
||||||
{% set locations = fhdhr.device.cluster.get_cluster_dicts_web() %}
|
{% if fhdhr.config.dict["web_ui"]["cluster_bar"] %}
|
||||||
{% if locations %}
|
{% set locations = fhdhr.device.cluster.get_cluster_dicts_web() %}
|
||||||
<div>
|
{% if locations %}
|
||||||
{% for location in locations %}
|
<div>
|
||||||
<button class="pull-left" onclick="OpenLink('{{ location["base_url"] }}')">{{ location["name"] }}</a></button>
|
{% for location in locations %}
|
||||||
{% endfor %}
|
<button class="pull-left" onclick="OpenLink('{{ location["base_url"] }}')">{{ location["name"] }}</a></button>
|
||||||
</div>
|
{% endfor %}
|
||||||
<hr align="center" width="100%">
|
</div>
|
||||||
|
<hr align="center" width="100%">
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% set retmessage = request.args.get('retmessage', default=None) %}
|
{% set retmessage = request.args.get('retmessage', default=None) %}
|
||||||
|
|||||||
@ -10,5 +10,11 @@
|
|||||||
"config_file": true,
|
"config_file": true,
|
||||||
"config_web": true
|
"config_web": true
|
||||||
}
|
}
|
||||||
|
,
|
||||||
|
"cluster_bar":{
|
||||||
|
"value": true,
|
||||||
|
"config_file": true,
|
||||||
|
"config_web": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user