1 <html xmlns="http://www.w3.org/1999/xhtml">
\r
3 <meta http-equiv="Content-Type" content="text/html"; charset="utf-8" />
\r
4 <title>nemo-ui-en</title>
\r
5 <link href="src/app/nemo/css/jquery-ui.min.css" rel="stylesheet" />
\r
6 <link href="src/app/nemo/css/nemo_user_main.css" rel="stylesheet" />
\r
8 <!-- // <script src="src/app/nemo/module/migrate.js"></script> -->
\r
10 <script src="src/app/nemo/module/keyWords.js"></script>
\r
11 <!-- // <script src="src/app/nemo/module/bod_userJson.js"></script> -->
\r
12 <script src="src/app/nemo/js/Nemo_Main.js"></script>
\r
13 <script src="src/app/nemo/js/Nemo_Annouce_vis.js"></script>
\r
14 <script src="src/app/nemo/js/phyNetwork.js"></script>
\r
15 <script src="src/app/nemo/js/intentTopo.js"></script>
\r
18 var user_str = localStorage.getItem("nemo_userInfo");
\r
19 console.log(user_str);
\r
20 jQuery(document).ready(function ($) {
\r
22 user_str=JSON.parse(user_str);
\r
23 var userName=user_str.userName;
\r
25 $('.header p').html($('.header p').html().replace('xxx',userName));
\r
26 var user_data=getIntentInfoByName(userName,IntentInfos);
\r
27 analyjson_topo(user_data);
\r
28 parseNemoLan(user_data);
\r
30 //set keyWords style
\r
31 $("#nemo_str_show p").each(function(){
\r
33 keyWords.forEach(function(item,index,array){
\r
34 // console.log(item);
\r
35 $res.html($res.html().replace(item,"<span class='keyWords'>"+item+"</span>"));
\r
44 <div class="header"><p>Hello xxx!</p></div>
\r
50 <li><a href="#intent_topo">NEMO Intent</a></li>
\r
53 <div id="intent_topo">
\r
54 <svg id="service_svg" width="800" height="560" viewBox="100 40 900 780" style='display:none'>
\r
56 <marker id="idArrow" viewBox="0 0 20 20" refX="0" refY="10" markerUnits="strokeWidth" markerWidth="6" markerHeight="15" orient="auto"><path d="M 0 0 L 20 10 L0 20 z"fill="purple"stroke="black"/> </marker>
\r
57 <marker id="idtext" viewBox="0 0 120 50" refX="0" refY="0" markerUnits="strokeWidth" markerWidth="20" markerHeight="20" orient="auto"><text style="font-family:sans-serif; font-size:14pt;" x="20" y="20">text</text></marker>
\r
61 <svg id="service_svg2" width="800" height="560" viewBox="100 40 900 780">
\r
63 <marker id="idArrow2" viewBox="0 0 20 20" refX="0" refY="10" markerUnits="strokeWidth" markerWidth="6" markerHeight="15" orient="auto"><path d="M 0 0 L 20 10 L0 20 z"fill="purple"stroke="black"/> </marker>
\r
64 <marker id="idtext2" viewBox="0 0 120 50" refX="0" refY="0" markerUnits="strokeWidth" markerWidth="20" markerHeight="20" orient="auto"><text style="font-family:sans-serif; font-size:14pt;" x="20" y="20">text</text></marker>
\r
75 <li><a href="#nemo_str_show">NEMO Language</a></li>
\r
78 <div id="nemo_str_show"></div>
\r
84 <!-- dialog start -->
\r
85 <div id="dialog" title="warning">
\r