1616 integrity ="sha512-CCnciBUnVXwa6IQT9q8EmGcarNit9GdKI5nJnj56B1iu0LuD13Qn/GZ+IUkrZROZaBdutN718NK6mIXdUjZGqg== "
1717 crossorigin ="anonymous " referrerpolicy ="no-referrer " />
1818 < link rel ="stylesheet " href ="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css ">
19- < link rel ="stylesheet " href ="/xterm/xterm.css " />
19+ < link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/xterm/2.9.2/xterm.min.css "
20+ integrity ="sha512-yqkIsVYKEsENpXQX0zLrKj6n50rmX5X1j0cclmCnETFoWG2PKMZjvDEp6do28gGLxIvMnihpERBGRa8Ck0Ls8g== "
21+ crossorigin ="anonymous " referrerpolicy ="no-referrer " />
2022
2123 < script src ="https://code.jquery.com/jquery-3.6.0.min.js "
2224 integrity ="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4= " crossorigin ="anonymous "> </ script >
3436 integrity ="sha512-GAled7oA9WlRkBaUQlUEgxm37hf43V2KEMaEiWlvBO/ueP2BLvBLKN5tIJu4VZOTwo6Z4XvrojYngoN9dJw2ug== "
3537 crossorigin ="anonymous " referrerpolicy ="no-referrer "> </ script >
3638 < script type ='text/javascript ' src ="https://code.jquery.com/ui/1.12.1/jquery-ui.js "> </ script >
37- < script src ="/xterm/xterm.js " charset ="utf-8 "> </ script >
39+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/xterm/2.9.2/xterm.min.js "
40+ integrity ="sha512-S1ITNcRgtLq/tVnMcX7Qcss09kJ5Lu7dZbtXw/dBDjxYJSdyucbYKOYI1nSbb9EtrjEK3h7Kxekkbg4gVLr8gg== "
41+ crossorigin ="anonymous " referrerpolicy ="no-referrer "> </ script >
42+ < script src ="https://cdnjs.cloudflare.com/ajax/libs/xterm/2.9.2/addons/fit/fit.min.js "
43+ integrity ="sha512-PyTGariw9ceX9zejvpqCikObn0A3cwR3LoDQY1/L+NET1LZBMYi/IPIn6pvfRt02etYhRw4zJ2iU3yGyEH5+8A== "
44+ crossorigin ="anonymous " referrerpolicy ="no-referrer "> </ script >
3845
3946 < link rel ="stylesheet " href ="/css/darkly.css " />
4047
160167< div class ="row ">
161168 < div class ="col ">
162169 < nav >
163- < div class ="nav nav-tabs " id ="nav -tab " role ="tablist ">
170+ < div class ="nav nav-tabs " id ="terminal -tab " role ="tablist ">
164171 < a class ="nav-link active " id ="nav-console-tab " data-toggle ="tab " href ="#nav-console " role ="tab "
165172 aria-controls ="nav-console " aria-selected ="true "> Console</ a >
166173 < a class ="nav-link " id ="nav-terminal-tab " data-toggle ="tab " href ="#nav-terminal " role ="tab "
@@ -215,9 +222,9 @@ <h5 class="modal-title" id="cloneFromGithubLabel">Clone Project From GitHub</h5>
215222 < div class ="modal-body ">
216223 < div class ="input-group mb-3 ">
217224 < div class ="input-group-prepend ">
218- < span class ="input-group-text " id ="basic-addon3 "> URL:</ span >
225+ < span class ="input-group-text " id ="basic-addon "> URL:</ span >
219226 </ div >
220- < input type ="text " class ="form-control " aria-describedby ="basic-addon3 ">
227+ < input type ="text " class ="form-control " aria-describedby ="basic-addon ">
221228 </ div >
222229 </ div >
223230 < div class ="modal-footer ">
@@ -227,9 +234,52 @@ <h5 class="modal-title" id="cloneFromGithubLabel">Clone Project From GitHub</h5>
227234 </ div >
228235 </ div >
229236</ div >
230- < script src ="/js/core.js "> </ script >
237+
238+ <!-- Modal -->
239+ < div class ="modal fade " id ="sshInfo " tabindex ="-1 " aria-labelledby ="sshInfoLabel "
240+ aria-hidden ="true ">
241+ < div class ="modal-dialog modal-dialog-centered ">
242+ < div class ="modal-content ">
243+ < div class ="modal-header ">
244+ < h5 class ="modal-title " id ="sshInfoLabel "> 配置ssh连接信息</ h5 >
245+ < button type ="button " class ="close " data-dismiss ="modal " aria-label ="Close ">
246+ < span aria-hidden ="true "> ×</ span >
247+ </ button >
248+ </ div >
249+ < div class ="modal-body ">
250+ < div class ="input-group mb-3 ">
251+ < div class ="input-group-prepend ">
252+ < span class ="input-group-text " id ="basic-addon1 "> Host:</ span >
253+ </ div >
254+ < input type ="text " class ="form-control " aria-describedby ="basic-addon1 " placeholder ="47.92.137.2 " value ="47.92.137.2 ">
255+ < div class ="input-group-prepend ">
256+ < span class ="input-group-text " id ="basic-addon2 "> Port:</ span >
257+ </ div >
258+ < input type ="text " class ="form-control " aria-describedby ="basic-addon2 " placeholder ="22 " value ="22 ">
259+ </ div >
260+ < div class ="input-group mb-3 ">
261+ < div class ="input-group-prepend ">
262+ < span class ="input-group-text " id ="basic-addon3 "> UserName:</ span >
263+ </ div >
264+ < input type ="text " class ="form-control " aria-describedby ="basic-addon3 ">
265+ </ div >
266+ < div class ="input-group mb-3 ">
267+ < div class ="input-group-prepend ">
268+ < span class ="input-group-text " id ="basic-addon4 "> Password:</ span >
269+ </ div >
270+ < input type ="password " class ="form-control " aria-describedby ="basic-addon4 ">
271+ </ div >
272+ </ div >
273+ < div class ="modal-footer ">
274+ < button type ="button " class ="btn btn-primary " data-dismiss ="modal " onclick ="connectSSH() "> Connect</ button >
275+ < button type ="button " class ="btn btn-secondary " data-dismiss ="modal "> Cannel</ button >
276+ </ div >
277+ </ div >
278+ </ div >
279+ </ div >
231280< script src ="/js/web-console.js "> </ script >
232281< script src ="/js/web-terminal.js " charset ="utf-8 "> </ script >
282+ < script src ="/js/core.js "> </ script >
233283</ body >
234284
235285</ html >
0 commit comments