diff options
Diffstat (limited to 'localwebsite/templates-web/inverter_page.twig')
-rw-r--r-- | localwebsite/templates-web/inverter_page.twig | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/localwebsite/templates-web/inverter_page.twig b/localwebsite/templates-web/inverter_page.twig deleted file mode 100644 index c51e1bf..0000000 --- a/localwebsite/templates-web/inverter_page.twig +++ /dev/null @@ -1,20 +0,0 @@ -{% include 'bc.twig' with { - history: [ - {text: "Инвертор" } - ] -} %} - -<h6 class="text-primary">Статус</h6> -<div id="inverter_status"> - {{ html|raw }} -</div> - -<div class="pt-3"> - <a href="/inverter/set-osp/?value={{ rated.output_source_priority == 'Solar-Battery-Utility' ? 'sub' : 'sbu' }}"> - <button type="button" class="btn btn-primary">Переключить на <b>{{ rated.output_source_priority == 'Solar-Battery-Utility' ? 'Solar-Utility-Battery' : 'Solar-Battery-Utility' }}</b></button> - </a> -</div> - -{% js %} -Inverter.poll(); -{% endjs %}
\ No newline at end of file |