about box
This commit is contained in:
parent
4c87f18d54
commit
1c896d08f7
3 changed files with 46 additions and 3 deletions
36
lib/about.js
Normal file
36
lib/about.js
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
define(function () {
|
||||
return function() {
|
||||
this.render = function (d) {
|
||||
var el = document.createElement("div")
|
||||
d.appendChild(el)
|
||||
var s = "<h2>Über meshviewer</h2>"
|
||||
|
||||
s += "<p>Mit Doppelklick und Shift+Doppelklick kann man in der Karte "
|
||||
s += "auch zoomen.</p>"
|
||||
|
||||
s += "<h3>GPL 2</h3>"
|
||||
|
||||
s += "<p>Copyright (C) Nils Schneider</p>"
|
||||
s += "<p>This program is free software: you can redistribute it and/or "
|
||||
s += "modify it under the terms of the GNU General Public License as "
|
||||
s += "published by the Free Software Foundation, either version 3 of "
|
||||
s += "the License, or (at your option) any later version.</p>"
|
||||
|
||||
s += "<p>This program is distributed in the hope that it will be useful, "
|
||||
s += "but WITHOUT ANY WARRANTY; without even the implied warranty of "
|
||||
s += "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
|
||||
s += "GNU General Public License for more details.</p>"
|
||||
|
||||
s += "<p>You should have received a copy of the GNU Gneral Public License "
|
||||
s += "along with this program. If not, see "
|
||||
s += "<a href=\"https://www.gnu.org/licenses/\">"
|
||||
s += "https://www.gnu.org/licenses/</a>.</p>"
|
||||
|
||||
s += "<p>You may find the source code at "
|
||||
s += "<a href=\"https://github.com/tcatm/meshviewer\">"
|
||||
s += "https://github.com/tcatm/meshviewer</a>."
|
||||
|
||||
el.innerHTML = s
|
||||
}
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue