meshviewer/lib/about.js

45 lines
2.0 KiB
JavaScript
Raw Normal View History

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