menu.html 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!--
  2. This file is part of centurio.work/out/frame.
  3. centurio.work/out/frame is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by the Free
  5. Software Foundation, either version 3 of the License, or (at your option) any
  6. later version.
  7. centurio.work/out/frame is distributed in the hope that it will be useful, but
  8. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  10. more details.
  11. You should have received a copy of the GNU General Public License along with
  12. centurio.work/out/frame (file LICENSE in the main directory). If not, see
  13. <http://www.gnu.org/licenses/>.
  14. -->
  15. <!DOCTYPE html>
  16. <html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">
  17. <head>
  18. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  19. <title>menu frame</title>
  20. <!-- libs, do not modify. When local than load local libs. -->
  21. <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
  22. <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
  23. <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
  24. <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
  25. <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
  26. <script type="text/javascript" src="/js_libs/util.js"></script>
  27. <script type="text/javascript" src="/js_libs/printf.js"></script>
  28. <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
  29. <script type="text/javascript" src="/js_libs/parsequery.js"></script>
  30. <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
  31. <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
  32. <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
  33. <!-- custom stuff, play arround -->
  34. <script type="text/javascript" src="../js/test.js"></script>
  35. <link rel="stylesheet" href="../css/design.css" type="text/css"/>
  36. <link class='custom' rel="stylesheet" href="" type="text/css"/>
  37. <script>
  38. if (location.href.match(/\/$/) == null) {
  39. location.href = location.href + '/';
  40. }
  41. function openlink(menuitem){
  42. var menu = { name: menuitem };
  43. $.ajax({
  44. type: "PUT",
  45. url: window.name,
  46. contentType: "application/json",
  47. data: JSON.stringify(menu),
  48. success: function (data) {
  49. }
  50. });
  51. //alert(xyz);
  52. }
  53. </script>
  54. </head>
  55. <body is="x-ui">
  56. <a href="javascript:openlink('Centurio');">Centurio</a>
  57. <a href="javascript:openlink('WAS');">WAS</a>
  58. </body>
  59. </html>