Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html lang="en">
- <head>
- <title> VC Panel</title>
- <hta:application applicatname="VC Panel" scroll="yes" singleinstance="yes">
- <SCRIPT LANGUAGE="VBScript">
- ' Show/Hide Buttons based on Room
- Sub VisList
- If OptionChooser.Value = 1 Then
- Dellforce_Span.style.visibility="visible"
- Ridge4_span.style.visibility="hidden"
- Ridge7_Span.style.visibility="hidden"
- ElseIf OptionChooser.Value = 2 Then
- Ridge4_Span.style.visibility="visible"
- Dellforce_Span.style.visibility="hidden"
- Ridge7_Span.style.visibility="hidden"
- ElseIf OptionChooser.Value = 3 Then
- Ridge7_Span.style.visibility="visible"
- Ridge4_span.style.visibility="hidden"
- Dellforce_Span.style.visibility="hidden"
- Else
- Dellforce_Span.style.visibility="hidden"
- Ridge4_Span.style.visibility="hidden"
- Ridge7_Span.style.visibility="hidden"
- End If
- End Sub
- ' Set Window Size
- Sub Window_onLoad
- window.resizeTo 266,442
- Dellforce_Span.style.visibility="hidden"
- Ridge4_Span.style.visibility="hidden"
- Ridge7_Span.style.visibility="hidden"
- End Sub
- </SCRIPT>
- <script type="text/javascript">
- // Dellforce Road Buttons
- function openURL_WebSnapshot_Dellforce()
- {
- var shell = new ActiveXObject("WScript.Shell");
- shell.run("https://10.2.62.20/webpart.ssi");
- }
- function openURL_Calendar_Dellforce()
- {
- var shell = new ActiveXObject("WScript.Shell");
- shell.run("http://Glkgwema1/exchange/RBSDellforceRd.BLD8DunlopVCRoom@ConTec.com.au/calendar/");
- }
- function openURL_WebUI_Dellforce()
- {
- var shell = new ActiveXObject("WScript.Shell");
- shell.run("https://10.2.62.20");
- }
- function RunPutty_Dellforce()
- {
- var shell = new ActiveXObject("Wscript.Shell");
- shell.Run("putty -ssh tandberg@10.2.62.20");
- }
- // Ridge Level 4 Buttons
- function openURL_WebSnapshot_Ridge4()
- {
- var shell = new ActiveXObject("WScript.Shell");
- shell.run("https://Glkgvc04/webpart.ssi");
- }
- function openURL_Calendar_Ridge4()
- {
- var shell = new ActiveXObject("WScript.Shell");
- shell.run("http://Glkgwema1/exchange/MeetingRoom@ConTec.com.au/calendar/");
- }
- function openURL_WebUI_Ridge4()
- {
- var shell = new ActiveXObject("Wscript.Shell");
- shell.run("https://Glkgvc04");
- }
- function RunPutty_Ridge4()
- {
- var shell = new ActiveXObject("Wscript.Shell");
- shell.run("putty -ssh tandberg@Glkgvc04");
- }
- // Ridge Level 7 Buttons
- function openURL_WebSnapshot_Ridge7()
- {
- var shell = new ActiveXObject("WScript.Shell");
- shell.run("https://Glkgvc02/webpart.ssi");
- }
- function openURL_Calendar_Ridge7()
- {
- var shell = new ActiveXObject("WScript.Shell");
- shell.run("http://Glkgwema1/exchange/RBSRidgeSt7thFloorWindRoomCA@ConTec.com.au/calendar/");
- }
- function openURL_WebUI_Ridge7()
- {
- var shell = new ActiveXObject("Wscript.Shell");
- shell.run("https://Glkgvc02");
- }
- function RunPutty_Ridge7()
- {
- var shell = new ActiveXObject("Wscript.Shell");
- shell.run("putty -ssh tandberg@Glkgvc02");
- }
- </script>
- </head>
- <body STYLE="font:14pt arial; color:white;
- filter:progid:DXImageTransform.Microsoft.Gradient
- (GradientType=1, StartColorStr='#808080', EndColorStr='#C0C0C0')">
- <select size="1" name="OptionChooser" onChange="VisList">
- <option value="0"></option>
- <option value="1">Dellforce</option>
- <option value="2">Level 4 Ridge</option>
- <option value="3">Level 7 Ridge</option>
- </select>
- <br></br>
- <div style="text-align:center">
- <span id="Dellforce_Span">
- <B><U>Dellforce ROAD</B></U><p>
- <input type="button" name="Dellforce_WebUI" onclick="openURL_WebUI_Dellforce()" value=" Web UI ">
- <input type="button" name="Dellforce_WebSnapShot" onclick="openURL_WebSnapshot_Dellforce()" value="Snapshot">
- <input type="button" name="Dellforce_Calendar" onclick="openURL_Calendar_Dellforce()" value="Calendar">
- <input type="button" name="Dellforce_Putty" onclick="RunPutty_Dellforce()" value=" SSH ">
- </span>
- <span id="Ridge4_Span">
- <B><U>Ridge Street Level 4</B></U><p>
- <input type="button" name="Ridge4_WebUI" onclick="openURL_WebUI_Ridge4()" value=" Web UI ">
- <input type="button" name="Ridge4_WebSnapShot" onclick="openURL_WebSnapshot_Ridge4()" value="Snapshot">
- <input type="button" name="Ridge4_Calendar" onclick="openURL_Calendar_Ridge4()" value="Calendar">
- <input type="button" name="Ridge4_Putty" onclick="RunPutty_Ridge4()" value=" SSH ">
- </span>
- <span id="Ridge7_Span">
- <B><U>Ridge Street Level 7</B></U><p>
- <input type="button" name="Ridge7_WebUI" onclick="openURL_WebUI_Ridge7()" value=" Web UI ">
- <input type="button" name="Ridge7_WebSnapShot" onclick="openURL_WebSnapshot_Ridge7()" value="Snapshot">
- <input type="button" name="Ridge7_Calendar" onclick="openURL_Calendar_Ridge7()" value="Calendar">
- <input type="button" name="Ridge7_Putty" onclick="RunPutty_Ridge7()" value=" SSH ">
- </span>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement