4
0

about.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. define(function () {
  2. return function() {
  3. this.render = function (d) {
  4. var el = document.createElement("div")
  5. d.appendChild(el)
  6. var s = "<h2>Über meshviewer</h2>"
  7. s += "<p>Mit Doppelklick und Shift+Doppelklick kann man in der Karte "
  8. s += "auch zoomen.</p>"
  9. s += "<h3>AGPL 3</h3>"
  10. s += "<p>Copyright (C) Nils Schneider</p>"
  11. s += "<p>This program is free software: you can redistribute it and/or "
  12. s += "modify it under the terms of the GNU Affero General Public "
  13. s += "License as published by the Free Software Foundation, either "
  14. s += "version 3 of the License, or (at your option) any later version.</p>"
  15. s += "<p>This program is distributed in the hope that it will be useful, "
  16. s += "but WITHOUT ANY WARRANTY; without even the implied warranty of "
  17. s += "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "
  18. s += "GNU General Public License for more details.</p>"
  19. s += "<p>You should have received a copy of the GNU Affero General "
  20. s += "Public License long with this program. If not, see "
  21. s += "<a href=\"https://www.gnu.org/licenses/\">"
  22. s += "https://www.gnu.org/licenses/</a>.</p>"
  23. s += "<p>You may find the source code at "
  24. s += "<a href=\"https://github.com/tcatm/meshviewer\">"
  25. s += "https://github.com/tcatm/meshviewer</a>."
  26. el.innerHTML = s
  27. }
  28. }
  29. })