diff --git a/lib/modem-dashboard/views/runtime.html b/lib/modem-dashboard/views/runtime.html new file mode 100644 index 0000000..b99ae0b --- /dev/null +++ b/lib/modem-dashboard/views/runtime.html @@ -0,0 +1,22 @@ +{% extends "template.html" %} + +{% block content %} + +<div class="panel panel-default"> + <div class="panel-body"> + Umur proses: {{ uptime }} detik. + </div> +</div> + +{% if matrix %} +<h2 id="matrix">The Matrix</h2> +<pre>{{ matrix }}</pre> +{% endif %} + +<h2 id="memory_usage">Pemakaian Memori</h2> +<pre>{{ memory_usage }}</pre> + +<h2 id="os_info">Sistem Operasi</h2> +<pre>{{ os_info }}</pre> + +{% endblock %} diff --git a/lib/modem-dashboard/views/runtime.js b/lib/modem-dashboard/views/runtime.js deleted file mode 100644 index b99ae0b..0000000 --- a/lib/modem-dashboard/views/runtime.js +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "template.html" %} - -{% block content %} - -<div class="panel panel-default"> - <div class="panel-body"> - Umur proses: {{ uptime }} detik. - </div> -</div> - -{% if matrix %} -<h2 id="matrix">The Matrix</h2> -<pre>{{ matrix }}</pre> -{% endif %} - -<h2 id="memory_usage">Pemakaian Memori</h2> -<pre>{{ memory_usage }}</pre> - -<h2 id="os_info">Sistem Operasi</h2> -<pre>{{ os_info }}</pre> - -{% endblock %}