viewshare.html 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="title" content="百度脑图(KityMinder)">
  6. <meta name="keyword" content="kityminder,脑图,思维导图,kity,svg,minder,百度,fex,前端,在线">
  7. <meta name="description" content="百度脑图,便捷的脑图编辑工具。让您在线上直接创建、保存并分享你的思路。">
  8. <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
  9. <title>百度脑图 - 便捷的思维导图工具</title>
  10. <!--Judge whether it is mobile visited -->
  11. <script>
  12. function browserRedirect() {
  13. var sUserAgent= navigator.userAgent.toLowerCase();
  14. var bIsIpad= sUserAgent.match(/ipad/i) == "ipad";
  15. var bIsIphoneOs= sUserAgent.match(/iphone os/i) == "iphone os";
  16. var bIsMidp= sUserAgent.match(/midp/i) == "midp";
  17. var bIsUc7= sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
  18. var bIsUc= sUserAgent.match(/ucweb/i) == "ucweb";
  19. var bIsAndroid= sUserAgent.match(/android/i) == "android";
  20. var bIsCE= sUserAgent.match(/windows ce/i) == "windows ce";
  21. var bIsWM= sUserAgent.match(/windows mobile/i) == "windows mobile";
  22. if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) {
  23. window.location.href= window.location.href.replace('viewshare.html', 'm-share.html');
  24. }
  25. }
  26. browserRedirect();
  27. </script>
  28. <script src="kityminder.share.min.js?_=1431681867821" charset="utf-8"></script>
  29. <script src="kityminder.config.js?_=1431681867821" charset="utf-8"></script>
  30. <script src="lang/zh-cn/zh-cn.js?_=1431681867821" charset="utf-8"></script>
  31. <link href="ui/theme/default/css/default.all.css?_=1431681867821" type="text/css" rel="stylesheet" />
  32. <link href="favicon.ico" type="image/x-icon" rel="shortcut icon">
  33. <link href="favicon.ico" type="image/x-icon" rel="apple-touch-icon-precomposed">
  34. </head>
  35. <body>
  36. <div id="content-wrapper" class="shared-content">
  37. <div id="panel"></div>
  38. <div id="kityminder" onselectstart="return false">
  39. </div>
  40. <div id="about">
  41. <svg id="km-cat" viewBox="0 0 1200 1200" width="32px" height="32px">
  42. <g id="cat-face">
  43. <path d="M1066.769,368.482L1119.5,80L830,131.611C760.552,97.29,682.35,77.999,599.641,77.999
  44. c-82.424,0-160.371,19.161-229.641,53.26L81,81l50.769,289l0,0c-33.792,69.019-52.77,146.612-52.77,228.641
  45. c0,287.542,233.099,520.642,520.642,520.642s520.642-233.099,520.642-520.642C1120.282,516.011,1101.028,437.88,1066.769,368.482z"
  46. />
  47. </g>
  48. <g id="cat-eye">
  49. <path style="fill:#FFFFFF;" d="M920.255,371C794.746,371,693,472.746,693,598.255s101.746,227.255,227.255,227.255
  50. s227.255-101.746,227.255-227.255S1045.765,371,920.255,371z M920,746c-80.081,0-145-64.919-145-145s64.919-145,145-145
  51. s145,64.919,145,145S1000.081,746,920,746z"/>
  52. <path style="fill:#FFFFFF;" d="M276.255,371C150.746,371,49,472.746,49,598.255s101.746,227.255,227.255,227.255
  53. s227.255-101.746,227.255-227.255S401.765,371,276.255,371z M276,745c-80.081,0-145-64.919-145-145s64.919-145,145-145
  54. s145,64.919,145,145S356.081,745,276,745z"/>
  55. </g>
  56. </svg>
  57. KityMinder
  58. <a id="km-version"
  59. href="https://github.com/fex-team/kityminder/blob/dev/CHANGELOG.md"
  60. target="blank"
  61. tabindex="-1">
  62. </a>
  63. under
  64. <a href="https://raw.githubusercontent.com/fex-team/kityminder/dev/LICENSE"
  65. target="_blank"
  66. tabindex="-1">BSD License
  67. </a>.
  68. Powered by f-cube,
  69. <a href="http://fex.baidu.com"
  70. target="_blank"
  71. tabindex="-1">FEX
  72. </a> |
  73. <a href="https://github.com/fex-team/kityminder.git"
  74. target="_blank"
  75. tabindex="-1">Source
  76. </a>
  77. <a href="https://github.com/fex-team/kityminder/issues/new"
  78. target="_blank"
  79. tabindex="-1">Bug
  80. </a> |
  81. <a href="mailto:kity@baidu.com"
  82. target="_blank"
  83. tabindex="-1">Contact Us
  84. </a>
  85. </div>
  86. </div>
  87. </body>
  88. <!--脑图启动代码-->
  89. <script>
  90. /* global km:true, ZeroClipboard:true, zip:true */
  91. /* jshint browser:true */
  92. $(function() {
  93. // create km instance
  94. km = KM.getMinder('kityminder', window.KITYMINDER_CONFIG);
  95. // init ui for instance
  96. km.initUI();
  97. // New Version Notify
  98. $(function() {
  99. var lastVersion = localStorage.lastKMVersion;
  100. $('#km-version').text( 'v' + KM.version );
  101. if (lastVersion != KM.version) {
  102. $( '#km-version' ).addClass( 'new-version' );
  103. localStorage.lastKMVersion = KM.version;
  104. }
  105. });
  106. });
  107. </script>
  108. <!--Baidu Tongji Code-->
  109. <script type="text/javascript">
  110. if (document.domain == 'naotu.baidu.com') {
  111. var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
  112. document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F0703917f224067c887f3664479a03887' type='text/javascript'%3E%3C/script%3E"));
  113. }
  114. </script>
  115. </html>