mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
luci-app-bmx7: convert to JS
follow-up to f578786152
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
|
||||
<div class="cbi-map">
|
||||
|
||||
<h2>Mesh nodes</h2>
|
||||
<h2>{{ _('Mesh nodes') }}</h2>
|
||||
<div class="cbi-map-descr"></div>
|
||||
<div id="extra-info" class="info">
|
||||
<br />
|
||||
@@ -74,7 +74,7 @@
|
||||
<div class="th"></div>
|
||||
<div class="th">{{_('Name')}}</div>
|
||||
<div class="th">{{_('Short ID')}}</div>
|
||||
<div class="th">S/s/T/t</div>
|
||||
<div class="th">{{ _('S/s/T/t') }}</div>
|
||||
<div class="th">{{_('Primary IPv6')}}</div>
|
||||
<div class="th">{{_('Via Neighbour')}}</div>
|
||||
<div class="th">{{_('Metric')}}</div>
|
||||
@@ -120,28 +120,28 @@
|
||||
+ "<h4><u>" + name + '</u></h4>\n'
|
||||
+ 'Node ID: ' + shortId + "</div>"
|
||||
+ "<div class='inforow'>"
|
||||
+ "<h5>Primary IPv6 address</h5>\n"
|
||||
+ "<h5>{{ _('Primary IPv6 address') }}</h5>\n"
|
||||
+ primaryIp + "</div>\n"
|
||||
+ "<div class='inforow'>"
|
||||
+ "<h5>Support & Trust</h5>\n"
|
||||
+ "<h5>{{ _('Support & Trust') }}</h5>\n"
|
||||
+ SsTt + "</div>\n"
|
||||
+ "<div class='inforow'>"
|
||||
+ "<h5>Node key</h5>\n"
|
||||
+ "<h5>{{ _('Node key') }}</h5>\n"
|
||||
+ nodeKey + "</div>\n"
|
||||
+ "<div class='inforow newline'>"
|
||||
+ "<h5>Via neighbour</h5>\n"
|
||||
+ "<h5>{{ _('Via neighbour') }}</h5>\n"
|
||||
+ nbName + "</div>\n"
|
||||
+ "<div class='inforow'>"
|
||||
+ "<h5>Via device</h5>\n"
|
||||
+ "<h5>{{ _('Via device') }}</h5>\n"
|
||||
+ dev + "</div>\n"
|
||||
+ "<div class='inforow'>"
|
||||
+ "<h5>Via link-local IPv6</h5>\n"
|
||||
+ "<h5>{{ _('Via link-local IPv6') }}</h5>\n"
|
||||
+ nbLocalIp + "</div>\n"
|
||||
+ "<div class='inforow'>"
|
||||
+ "<h5>Route metric</h5>\n"
|
||||
+ "<h5>{{ _('Route metric') }}</h5>\n"
|
||||
+ metric + "</div>\n"
|
||||
+ "<div class='inforow'>"
|
||||
+ "<h5>Desc. size</h5>\n"
|
||||
+ "<h5>{{ _('Desc. size') }}</h5>\n"
|
||||
+ descSize + "</div>\n"
|
||||
+ "\n</div>";
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<img src="{{ resource }}/bmx7/bmx7logo.png" />
|
||||
<br />
|
||||
<br />
|
||||
A mesh routing protocol for Linux devices.<br />
|
||||
Visit <a href="http://bmx6.net">bmx6.net</a> for more information.<br />
|
||||
{{ _('A mesh routing protocol for Linux devices.') }}<br />
|
||||
{{ _('Visit %s for more information.').format('<a href="http://bmx6.net">bmx6.net</a>')}}<br />
|
||||
<br />
|
||||
</center>
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
<div class="cbi-map">
|
||||
<h2>Gateway announcements</h2>
|
||||
<div class="cbi-map-descr">Networks announced by mesh nodes</div>
|
||||
<div class="cbi-map-descr">{{ _('Networks announced by mesh nodes') }}</div>
|
||||
|
||||
<div class="cbi-section">
|
||||
<legend>{{ _('Announcements') }}</legend>
|
||||
|
||||
Reference in New Issue
Block a user