index copy.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta http-equiv="Pragma" content="no-cache" />
  6. <meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
  7. <meta http-equiv="Expires" content="0" />
  8. <link rel="stylesheet" href="css/style.css"></head>
  9. <body>
  10. <div class="container">
  11. <div class="tab">
  12. <span id="device_ipc_tab">IPC/SD</span>
  13. <label style="display: inline-block;width: 100px;text-align: right;" t="com.Language">Language</label>
  14. <select id="onChangeLanguage" style="width:80px">
  15. <option value="SimpChinese">中文</option>
  16. <option value="English">English</option>
  17. </select>
  18. </div>
  19. <div class="content" id="device_ipc_content">
  20. <div class="h5-left" style="width: 120px;">
  21. <div class="h5-form-item">
  22. <input type="button" btn-for="onStartAll" class="h5-button" t="com.OpenAll" title="com.OpenAllTip" style="cursor: pointer;"/>
  23. </div>
  24. <ul class="h5-menu-list">
  25. <li data-ip="10.10.43.5" data-port="80" data-user="admin" data-pswd="l1234567">
  26. <span class="deviceName" t="com.Device+ 1"></span>
  27. <button class="testButton" t="com.Test"></button>
  28. </li>
  29. <li data-ip="10.10.43.219" data-port="80" data-user="admin" data-pswd="l1234567">
  30. <span class="deviceName" t="com.Device+ 2"></span>
  31. <button class="testButton" t="com.Test"></button>
  32. </li>
  33. <li data-ip="10.10.43.220" data-port="80" data-user="admin" data-pswd="l1234567">
  34. <span class="deviceName" t="com.Device+ 3"></span>
  35. <button class="testButton" t="com.Test"></button>
  36. </li>
  37. <li data-ip="10.10.44.40" data-port="80" data-user="admin" data-pswd="l1234567">
  38. <span class="deviceName" t="com.Device+ 4"></span>
  39. <button class="testButton" t="com.Test"></button>
  40. </li>
  41. <!-- <li data-ip="172.28.6.11" data-port="80" data-user="admin" data-pswd="admin123">
  42. <span class="deviceName" t="com.Device+ 5"></span>
  43. <button class="testButton" t="com.Test"></button>
  44. </li>
  45. <li data-ip="172.28.6.11" data-port="80" data-user="admin" data-pswd="admin123">
  46. <span class="deviceName" t="com.Device+ 6"></span>
  47. <button class="testButton" t="com.Test"></button>
  48. </li> -->
  49. <!-- <span class="help-icon" title="com.PortTip" style="position: absolute; top: 11px; right: 15px;">?</span> -->
  50. </ul>
  51. </div>
  52. <div class="h5-left">
  53. <div class="h5-play-wrap">
  54. </div>
  55. <div class="h5-form-item" style="margin-top: 20px;">
  56. <label t="com.SplitWindow">Split Windows</label>
  57. <select class="h5-select" sel-for="onChangeWdnNum">
  58. <option value="1" selected>1x1</option>
  59. <option value="2">2x2</option>
  60. <option value="3">3x3</option>
  61. <option value="4">4x4</option>
  62. </select>
  63. <span class="help-icon" title="com.WindowsTip">?</span>
  64. </div>
  65. <div class="h5-form-item fn-clear">
  66. <label t="com.Stream Type"></label>
  67. <select id="h5_stream" sel-for="onChangeStream"></select>
  68. <span class="help-icon" title="com.StreamTip">?</span>
  69. </div>
  70. <div class="h5-form-item fn-clear">
  71. <label t="com.ChannelList"></label>
  72. <select id="h5_channel" sel-for="onChangeChannel"></select>
  73. <span class="help-icon" title="com.ChannelTip">?</span>
  74. </div>
  75. <div class="h5-form-item fn-clear">
  76. <label t="com.IVSEnable"></label>
  77. <select id="h5_ivs">
  78. <option value="0" t="com.No"></option>
  79. <option value="1" t="com.Yes"></option>
  80. </select>
  81. <span class="help-icon" title="com.IVSTip">?</span>
  82. </div>
  83. <div class="h5-form-item fn-clear">
  84. <label t="com.Volume"></label>
  85. <input type="range" id="h5_volume" min="0" max="1" step="0.1" value="0.5">
  86. <span id="h5_volume_value"></span>
  87. <span>(0~1)</span>
  88. <span class="help-icon" title="com.VolumeTip">?</span>
  89. </div>
  90. <div class="h5-form-item fn-clear">
  91. <input type="button" class="h5-button" t="com.OpenSound" title="com.OpenSoundTip" btn-for="onTurnOnSound">
  92. <input type="button" class="h5-button fn-marl10" t="com.TurnSoundOff" btn-for="onTurnSoundOff">
  93. <input type="button" class="h5-button fn-marl10" t="com.EnableIntercom" title="com.OpenTalkTip" btn-for="onStartTalk">
  94. <input type="button" class="h5-button fn-marl10" t="com.DisableIntercom" btn-for="onStopTalk">
  95. </div>
  96. <div class="h5-form-item fn-clear">
  97. <input type="button" class="h5-button" t="com.Slow" title="com.SlowTip" btn-for="onSlow">
  98. <input type="button" class="h5-button fn-marl10" t="com.Fast" title="com.FastTip" btn-for="onFast">
  99. <label t="com.CurrentTimes" class="fn-marl10" title="com.CurrentTimesTip">></label>
  100. <label id="currentTimes" class="fn-marl10">1X</label>
  101. </div>
  102. <div class="h5-form-item fn-clear">
  103. <input type="button" class="h5-button" t="com.Snap" title="com.SnapTip" btn-for="onSnap">
  104. <input type="button" class="h5-button fn-marl10" t="com.SnapData" title="com.SnapDataTip" btn-for="onGetCapture">
  105. <input type="button" class="h5-button fn-marl10" t="com.StartRecord" title="com.StartRecordTip" btn-for="onStartRecord">
  106. <input type="button" class="h5-button fn-marl10" t="com.StopRecord" btn-for="onStopRecord">
  107. </div>
  108. <div class="h5-form-item fn-clear">
  109. <input type="button" class="h5-button" style="width: 130px;" t="com.EnableDigital" title="com.EnableDigitalTip" btn-for="onStartEnlarge">
  110. <input type="button" class="h5-button fn-marl10" style="width: 130px;" t="com.DisableDigital" btn-for="onStopEnlarge">
  111. </div>
  112. <div class="h5-form-item fn-clear">
  113. <input type="button" class="h5-button" style="width: 130px;" t="com.EnableLocalMagnify" title="com.OpenMagnifyTip" btn-for="onStartGridEnlarge">
  114. <input type="button" class="h5-button fn-marl10" style="width: 130px;" t="com.DisableLocalMagnify" btn-for="onCloseGridEnlarge">
  115. <input type="button" class="h5-button" t="com.FullScreen" title="com.FullScreenTip" btn-for="onSetFull">
  116. </div>
  117. <div class="h5-form-item fn-clear">
  118. <input type="button" btn-for="onStopPreview" class="h5-button" style="width: 195px;" t="com.StopCurStream">
  119. <input type="button" btn-for="onStopAllPreview" style="width: 195px;" class="h5-button fn-marl10" t="com.StopAllStream"/>
  120. </div>
  121. <div class="h5-form-item fn-clear">
  122. <input type="button" btn-for="onLogout" class="h5-button" style="width: 180px;" t="com.LogoutCur">
  123. <input type="button" btn-for="onLogoutAll" style="width: 180px;" class="h5-button fn-marl10" t="com.LogoutAll"/>
  124. </div>
  125. </div>
  126. <div class="h5-right">
  127. <fieldset class="h5-fieldset-wrap">
  128. <legend t="com.PtzControl"></legend>
  129. <div class="h5-step-wrap">
  130. <span t="com.Step"></span>
  131. <select id="h5_ptz_step" style="width: 130px;">
  132. <option value="1">1</option>
  133. <option value="2">2</option>
  134. <option value="3">3</option>
  135. <option value="4">4</option>
  136. <option value="5" selected="">5</option>
  137. <option value="6">6</option>
  138. <option value="7">7</option>
  139. <option value="8">8</option>
  140. </select>
  141. <span class="help-icon" title="com.StepTip">?</span>
  142. </div>
  143. <div class="h5-ptz-wrap">
  144. <input type="button" class="h5-button" t="com.LeftUp" onmousedown="onHandlePTZ('LeftUp', false)" onmouseup="onHandlePTZ('LeftUp', true)">
  145. <input type="button" class="h5-button" t="com.Up" onmousedown="onHandlePTZ('Up', false)" onmouseup="onHandlePTZ('Up', true)">
  146. <input type="button" class="h5-button" t="com.RightUp" onmousedown="onHandlePTZ('RightUp', false)" onmouseup="onHandlePTZ('RightUp', true)">
  147. <input type="button" class="h5-button" t="com.Left" onmousedown="onHandlePTZ('Left', false)" onmouseup="onHandlePTZ('Left', true)">
  148. <input type="button" class="h5-button" t="com.Right" onmousedown="onHandlePTZ('Right', false)" onmouseup="onHandlePTZ('Right', true)">
  149. <input type="button" class="h5-button" t="com.LeftDown" onmousedown="onHandlePTZ('LeftDown', false)" onmouseup="onHandlePTZ('LeftDown', true)">
  150. <input type="button" class="h5-button" t="com.Down" onmousedown="onHandlePTZ('Down', false)" onmouseup="onHandlePTZ('Down', true)">
  151. <input type="button" class="h5-button" t="com.RightDown" onmousedown="onHandlePTZ('RightDown', false)" onmouseup="onHandlePTZ('RightDown', true)">
  152. <input type="button" class="h5-button fn-width100" t="com.StartFastPostion" btn-for="startFastPostion">
  153. <input type="button" class="h5-button fn-width100" t="com.StopFastPostion" btn-for="stopFastPostion">
  154. </div>
  155. <div class="h5-zoomfocus-wrap">
  156. <input type="button" class="h5-button" t="com.ZoomWide" onmousedown="onHandlePTZ('ZoomWide', false)" onmouseup="onHandlePTZ('ZoomWide', true)">
  157. <input type="button" class="h5-button" t="com.ZoomTele" onmousedown="onHandlePTZ('ZoomTele', false)" onmouseup="onHandlePTZ('ZoomTele', true)">
  158. <input type="button" class="h5-button" t="com.FocusFar" onmousedown="onHandlePTZ('FocusFar', false)" onmouseup="onHandlePTZ('FocusFar', true)">
  159. <input type="button" class="h5-button" t="com.FocusNear" onmousedown="onHandlePTZ('FocusNear', false)" onmouseup="onHandlePTZ('FocusNear', true)">
  160. <input type="button" class="h5-button" t="com.IrisSmall" onmousedown="onHandlePTZ('IrisSmall', false)" onmouseup="onHandlePTZ('IrisSmall', true)">
  161. <input type="button" class="h5-button" t="com.IrisLarge" onmousedown="onHandlePTZ('IrisLarge', false)" onmouseup="onHandlePTZ('IrisLarge', true)">
  162. </div>
  163. <div class="h5-preset-wrap">
  164. <div class="h5-item-form" style="margin-bottom: 10px;">
  165. <label t="com.Preset"></label>
  166. <input type="text" id="h5_preset">
  167. <span class="help-icon" title="com.PresetTip">?</span>
  168. </div>
  169. <input type="button" class="h5-button" t="com.Go" onclick="onHandlePTZ('GotoPreset', false)">
  170. <input type="button" class="h5-button" t="com.Add" onclick="onHandlePTZ('SetPreset', false)">
  171. <input type="button" class="h5-button" t="com.Delete" onclick="onHandlePTZ('ClearPreset', false)">
  172. </div>
  173. </fieldset>
  174. <fieldset class="h5-fieldset-wrap" style="width: 600px;">
  175. <legend t="com.Playback"></legend>
  176. <div class="h5-form-item">
  177. <label t="com.StartTime"></label>
  178. <input type="datetime-local" step="1" style="width: 170px;" id="h5_startTime">
  179. </div>
  180. <div class="h5-form-item" style="margin-left: 20px;">
  181. <label t="com.EndTime"></label>
  182. <input type="datetime-local" step="1" style="width: 170px;" id="h5_endTime">
  183. </div>
  184. <div class="h5-form-item">
  185. <label t="com.ChannelList"></label>
  186. <select class="h5-select" id="h5_playback_channel"></select>
  187. <input type="button" class="h5-button fn-marl10" t="com.Search" btn-for="onSearchRecord">
  188. </div>
  189. <table class="h5-table" id="h5_table">
  190. <thead>
  191. <tr>
  192. <td style="width: 50px;"><input type="checkbox" btn-for="onCheckAll" id="h5_checkAll"></td>
  193. <td style="width: 50px;" t="com.Index"></td>
  194. <td style="width: 260px;" t="com.Time"></td>
  195. <td style="width: 85px;" t="com.FileSize"></td>
  196. <td style="width: 135px;"><span t="com.TimeStamp"></span><span class="help-icon" title="com.TimeStampTip">?</span></td>
  197. </tr>
  198. </thead>
  199. <tbody>
  200. </tbody>
  201. </table>
  202. <div class="h5-form-item fn-mart10" >
  203. <input type="button" btn-for="onDownload" class="h5-button" style="width:80px" t="com.Download">
  204. <span t="com.DownloadProgress"></span><span id="h5_down_process"></span>
  205. <a id="h5_first" class="h5-link" style="margin-left: 35px;" href="javascript:;" t="com.FirstPage"></a>
  206. <a id="h5_pre" class="h5-link" href="javascript:;" t="com.Prepage"></a>
  207. <span>
  208. <span id="h5_curPage">1</span>/<span id="h5_totalPage">1</span>
  209. </span>
  210. <a id="h5_next" class="h5-link" href="javascript:;" t="com.NextPage"></a>
  211. <a id="h5_last" class="h5-link" href="javascript:;" t="com.LastPage"></a>
  212. <input type="text" style="width: 30px;" id="h5_goNumber">
  213. <input type="button" t="com.GO" id="h5_goPage" style="width: 40px">
  214. </div>
  215. <div class="h5-form-item fn-mart10">
  216. <input type="button" t="com.DoubleClickToPlayback" disabled class="h5-button" style="width: 210px;" btn-for="onPausePlayback">
  217. <input type="button" t="com.Pause" class="h5-button" btn-for="onPausePlayback">
  218. <input type="button" t="com.Continue" class="h5-button" btn-for="onContinuePlayback">
  219. <input type="button" t="com.EndPlayback" class="h5-button" btn-for="onClosePlayback">
  220. </div>
  221. <div class="h5-form-item fn-mart10" style="display: none;">
  222. <span t="com.CurPlaybackSecond"></span>
  223. <span id="h5_curTime">--</span>
  224. <span>/</span>
  225. <span id="h5_totalTime">--</span>
  226. <input type="text" id="h5_goTime" style="width: 50px;">
  227. <input type="button" class="h5-button" btn-for="onGoTime" t="com.Go">
  228. </div>
  229. <div class="h5-form-item fn-mart10">
  230. <label t="com.CropStartTime"></label>
  231. <input type="datetime-local" step="1" style="width: 170px;" id="h5_cutStartTime">
  232. <span> - </span>
  233. <input type="datetime-local" step="1" style="width: 170px;" id="h5_cutEndTime">
  234. </div>
  235. <div class="h5-form-item fn-mart10">
  236. <input type="button" class="h5-button" style="width:180px" btn-for="onStartCut" t="com.StartCrop"/>
  237. <span t="com.CropProgress"></span><span id="h5_cut_process"></span>
  238. </div>
  239. </fieldset>
  240. </div>
  241. </div>
  242. </div>
  243. <script src="module/PlayerControl.js"></script><script src="index.js"></script></body>
  244. </html>