1
|
|
|
define(function () { |
2
|
|
|
'use strict'; |
3
|
|
|
|
4
|
|
|
return function () { |
5
|
|
|
this.render = function render(d) { |
6
|
|
|
d.innerHTML = _.t('sidebar.aboutInfo') + |
7
|
|
|
'<h4>' + _.t('node.nodes') + '</h4>' + |
8
|
|
|
'<p class="legend">' + |
9
|
|
|
'<span class="legend-new"><span class="symbol"></span> ' + _.t('sidebar.nodeNew') + '</span>' + |
10
|
|
|
'<span class="legend-online"><span class="symbol"></span> ' + _.t('sidebar.nodeOnline') + '</span>' + |
11
|
|
|
'<span class="legend-offline"><span class="symbol"></span> ' + _.t('sidebar.nodeOffline') + '</span>' + |
12
|
|
|
'</p>' + |
13
|
|
|
'<h4>' + _.t('node.clients') + '</h4>' + |
14
|
|
|
'<p class="legend">' + |
15
|
|
|
'<span class="legend-24ghz"><span class="symbol"></span> 2.4 GHz</span>' + |
16
|
|
|
'<span class="legend-5ghz"><span class="symbol"></span> 5 GHz</span>' + |
17
|
|
|
'<span class="legend-others"><span class="symbol"></span> ' + _.t('others') + '</span>' + |
18
|
|
|
'</p>' + |
19
|
|
|
'<h3>AGPL 3</h3>' + |
20
|
|
|
|
21
|
|
|
'<p>Copyright (C) Milan Pässler</p>' + |
22
|
|
|
'<p>Copyright (C) Nils Schneider</p>' + |
23
|
|
|
|
24
|
|
|
'<p>This program is free software: you can redistribute it and/or ' + |
25
|
|
|
'modify it under the terms of the GNU Affero General Public ' + |
26
|
|
|
'License as published by the Free Software Foundation, either ' + |
27
|
|
|
'version 3 of the License, or (at your option) any later version.</p>' + |
28
|
|
|
|
29
|
|
|
'<p>This program is distributed in the hope that it will be useful, ' + |
30
|
|
|
'but WITHOUT ANY WARRANTY; without even the implied warranty of ' + |
31
|
|
|
'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ' + |
32
|
|
|
'GNU Affero General Public License for more details.</p>' + |
33
|
|
|
|
34
|
|
|
'<p>You should have received a copy of the GNU Affero General ' + |
35
|
|
|
'Public License along with this program. If not, see ' + |
36
|
|
|
'<a href="https://www.gnu.org/licenses/">' + |
37
|
|
|
'https://www.gnu.org/licenses/</a>.</p>' + |
38
|
|
|
|
39
|
|
|
'<p>The source code is available at ' + |
40
|
|
|
'<a href="https://github.com/ffrgb/meshviewer">' + |
41
|
|
|
'https://github.com/ffrgb/meshviewer</a>.</p>'; |
42
|
|
|
}; |
43
|
|
|
}; |
44
|
|
|
}); |
45
|
|
|
|