about.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  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>GPL 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 General Public License as "
  13. s += "published by the Free Software Foundation, either version 3 of "
  14. s += "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 Gneral Public License "
  20. s += "along 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. })