|
| 1 | +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| 2 | +<head> |
| 3 | + <title>Interactive Mapping Revision</title> |
| 4 | + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 5 | + <link rel="stylesheet" type="text/css" href="css/default.css" /> |
| 6 | + <link rel="stylesheet" type="text/css" href="css/loading.css" /> |
| 7 | + <link rel="stylesheet" type="text/css" href="css/ajaxLoading.css" /> |
| 8 | + <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.5.4/themes/default/easyui.css" /> |
| 9 | + <link rel="stylesheet" type="text/css" href="js/jquery-easyui-1.3.1/themes/icon.css" /> |
| 10 | + <link rel="stylesheet" type="text/css" href="js/layui-2.2/css/layui.css" /> |
| 11 | + |
| 12 | + <script type="text/javascript" src="js/jquery-easyui-1.3.1/jquery.min.js"></script> |
| 13 | + <script type="text/javascript" src="js/jquery-easyui-1.5.4/jquery.easyui.min.js"></script> |
| 14 | + <script type="text/javascript" src="js/layui-2.2/layui.js"></script> |
| 15 | + <script type="text/javascript" src="js/tools.js"></script> |
| 16 | + <script type="text/javascript" src='js/frame.js'> </script> |
| 17 | + <script type="text/javascript" src='js/owlshow.js' charset="utf-8"> </script> |
| 18 | + |
| 19 | +</head> |
| 20 | +<body class="easyui-layout" style="overflow-y: hidden" scroll="no"> |
| 21 | + <div id="loading-mask" style=""></div> |
| 22 | + <div id="loading"> |
| 23 | + <div class="loading-indicator"> |
| 24 | + <img src="images/loading.gif" width="32" height="32" style="margin-right: 8px; float: left; |
| 25 | + vertical-align: top;" /> |
| 26 | + 系统正在打开,请等待...... |
| 27 | + <br /> |
| 28 | + <span id="loading-msg">Please Waiting...</span> |
| 29 | + </div> |
| 30 | + </div> |
| 31 | + <noscript> |
| 32 | + <div style="position: absolute; z-index: 100000; height: 2046px; top: 0px; left: 0px; |
| 33 | + width: 100%; background: white; text-align: center;"> |
| 34 | + <img src="images/noscript.gif" alt='抱歉,请开启脚本支持!' /> |
| 35 | + </div> |
| 36 | + </noscript> |
| 37 | + |
| 38 | + <!-- 顶部 --> |
| 39 | + <div region="north" split="true" border="false" style="overflow: hidden; height: 65px; |
| 40 | + background: #E0ECFF repeat-x center 50%; line-height: 20px; color: #fff; font-family: Verdana,Microsoft YaHei"> |
| 41 | + <div id="viewport"> |
| 42 | + <div id="hd1" style="float: left; |
| 43 | + width: 800px; |
| 44 | + padding-top:10px; > |
| 45 | + <a href='#' id="logo"><img src="images/logo.png" border="0" height="52" /></a> |
| 46 | + </div> |
| 47 | + <!-- Tool menu --> |
| 48 | + <div id="toolBar" style="padding: 5px; width: 200px; float: right; height: 52px; margin-top: 12px;"> |
| 49 | + <a href="javascript:void(0)" id="mm1" class="easyui-menubutton" menu="#subm1" iconCls="icon-tip">Operation</a> |
| 50 | + </div> |
| 51 | + <!-- Sub Menu --> |
| 52 | + <div id="subm1" style="width:122px;"> |
| 53 | + <div iconCls="icon-ontoopen">Upload</div> |
| 54 | + <div class="menu-sep"></div> |
| 55 | + <div iconCls="icon-convert">SemiAutoRepair</div> |
| 56 | + <div class="menu-sep"></div> |
| 57 | + <div iconCls="icon-file">Owl Manage</div> |
| 58 | + </div> |
| 59 | + </div> |
| 60 | + <!-- End viewport --> |
| 61 | + </div> |
| 62 | + <!-- End North --> |
| 63 | + |
| 64 | + |
| 65 | + <!-- Left Nav Menu --> |
| 66 | + <div region="west" split="true" title="Ontology-1" style="width: 250px;" id="west"> |
| 67 | + <div style="padding:5px;"> |
| 68 | + Onto 1: |
| 69 | + <input class="easyui-combobox" id="owl1" name="owl1" |
| 70 | + data-options=" |
| 71 | + url:'ListOwlsServlet?type=.owl', |
| 72 | + method:'get', |
| 73 | + valueField:'text', |
| 74 | + textField:'text', |
| 75 | + width:100, |
| 76 | + panelHeight:'auto'" /> |
| 77 | + |
| 78 | + <a href="javascript:;" class="easyui-linkbutton" |
| 79 | + data-options="iconCls:'icon-ok'" |
| 80 | + style="width:65px" |
| 81 | + id="show1">Select</a> |
| 82 | + </div> |
| 83 | + <!-- 本体视图 --> |
| 84 | + <!-- data-options="selected:'false'" 让手风琴全部折叠 --> |
| 85 | + <div class="easyui-accordion" style="width:100% ;height:auto;" border="false"> |
| 86 | + <div title="OwlTree" data-options="iconCls:'icon-owl'" style="overflow:auto;" > |
| 87 | + <ul id="owlTree1"></ul> |
| 88 | + </div> |
| 89 | + </div> |
| 90 | + </div> |
| 91 | + <!-- Left Nav Menu End--> |
| 92 | + |
| 93 | + <!-- Main --> |
| 94 | + <div id="mainPanle" region="center" style="background: #eee; overflow-y: hidden"> |
| 95 | + <div id="tabs" class="easyui-tabs" fit="true" border="false"> |
| 96 | + <div title="Welcome" |
| 97 | + style="padding: 20px; |
| 98 | + overflow: hidden; |
| 99 | + display: table-cell; |
| 100 | + vertical-align: middle; |
| 101 | + text-align: center;"> |
| 102 | + |
| 103 | + <img src="images/front.png"/> |
| 104 | + </div> |
| 105 | + </div> |
| 106 | + </div> |
| 107 | + |
| 108 | + <!-- begin right --> |
| 109 | + <div region="east" split="true" collapsed="false" title="Ontology-2" |
| 110 | + style="width:260px;padding:5px;"> |
| 111 | + |
| 112 | + <div style="padding:5px;"> |
| 113 | + Onto 2: |
| 114 | + <input class="easyui-combobox" name="owl2" id="owl2" |
| 115 | + data-options=" |
| 116 | + url:'ListOwlsServlet?type=.owl', |
| 117 | + method:'get', |
| 118 | + valueField:'text', |
| 119 | + textField:'text', |
| 120 | + width:100, |
| 121 | + panelHeight:'auto'" /> |
| 122 | + |
| 123 | + <a href="javascript:;" class="easyui-linkbutton" |
| 124 | + data-options="iconCls:'icon-ok'" |
| 125 | + style="width:65px" |
| 126 | + id="show2">Select</a> |
| 127 | + </div> |
| 128 | + |
| 129 | + <div class="easyui-accordion" style="width:100%; height:auto;" border="false"> |
| 130 | + <div title="OwlTree" data-options="iconCls:'icon-owl'" style="overflow:auto;" > |
| 131 | + <ul id="owlTree2"></ul> |
| 132 | + </div> |
| 133 | + </div> |
| 134 | + </div> |
| 135 | + <!-- end right --> |
| 136 | +
|
| 137 | + <div region="south" split="true" style="height: 0px; background: #D2E0F2;"> |
| 138 | + <div class="footer"> |
| 139 | + <span id="footer"></span> |
| 140 | + </div> |
| 141 | + </div> |
| 142 | +
|
| 143 | +
|
| 144 | + <!-- Tab right menu --> |
| 145 | + <div id="mm" class="easyui-menu" style="width: 150px;"> |
| 146 | + <div id="mm-tabclose">关闭</div> |
| 147 | + <div id="mm-tabcloseall"> 全部关闭</div> |
| 148 | + <div id="mm-tabcloseother">除此之外全部关闭 </div> |
| 149 | + <div class="menu-sep"></div> |
| 150 | + <div id="mm-tabcloseright"> 当前页右侧全部关闭 </div> |
| 151 | + <div id="mm-tabcloseleft">当前页左侧全部关闭 </div> |
| 152 | + <div class="menu-sep"></div> |
| 153 | + <div id="mm-exit">退出</div> |
| 154 | + </div> |
| 155 | + <!-- End tab right menu --> |
| 156 | + |
| 157 | + <script> |
| 158 | + |
| 159 | + seledOwls = []; |
| 160 | + $("#show1").click(function(){ |
| 161 | + show(1); |
| 162 | + }) |
| 163 | + $("#show2").click(function(){ |
| 164 | + show(2); |
| 165 | + }) |
| 166 | + |
| 167 | + function show(index){ |
| 168 | + if(index<1){ |
| 169 | + alert("Error!!!"); |
| 170 | + return false; |
| 171 | + } |
| 172 | + var seledOwl = $('#owl'+index).combobox('getValue'); |
| 173 | + if(seledOwl == ""){ |
| 174 | + layer.msg("Please select an OWL file!", {icon:2, anim:6}); |
| 175 | + } |
| 176 | + else{ |
| 177 | + seledOwls[index-1] = seledOwl; |
| 178 | + showTree(seledOwl, "owlTree"+index); |
| 179 | + } |
| 180 | + //alert(seledOwl); |
| 181 | + } |
| 182 | + </script> |
| 183 | +</body> |
| 184 | +</html> |
0 commit comments