diff options
author | Kyle Gunger <corechg@gmail.com> | 2020-04-03 16:44:23 -0400 |
---|---|---|
committer | Kyle Gunger <corechg@gmail.com> | 2020-04-03 16:44:23 -0400 |
commit | 1697da112a9b9f529fad2f54c62aecd7bbb614e6 (patch) | |
tree | 68c7cd383107e824953b6aa213d05d9a6842b73f /webcards/index.html | |
parent | 3040a822085adeb9025ddc1a4573cf37cb37d377 (diff) |
[WEBCARDS] Update some webcards stuff
Diffstat (limited to 'webcards/index.html')
-rw-r--r-- | webcards/index.html | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/webcards/index.html b/webcards/index.html index c7d2f71..c322ec1 100644 --- a/webcards/index.html +++ b/webcards/index.html @@ -8,14 +8,24 @@ <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="styles/icofont.css"> + <link rel="icon" sizes="32x32" href="images/wc-icon-32.png"> + <link rel="icon" sizes="48x48" href="images/wc-icon-48.png"> + <link rel="icon" sizes="96x96" href="images/wc-icon-96.png"> + <link rel="icon" sizes="144x144" href="images/wc-icon-144.png"> + <link rel="icon" sizes="288x288" href="images/wc-icon-288.png"> + <link rel="stylesheet" type="text/css" href="styles/home/base.css"> <link rel="stylesheet" type="text/css" href="styles/home/desktop.css"> <link rel="stylesheet" type="text/css" href="styles/home/mobile.css"> + + <link rel="stylesheet" type="text/css" href="styles/input.css"> + + <title>WebCards</title> </head> <body> <div class="content"> - <p style="font-size: 30px; font-weight: bold;"><span style="color: dodgerblue; font-weight: normal;">Web</span>Cards</p> + <p style="font-size: 30px; font-weight: normal;">Web<span style="color: #0084ff; font-weight: bold;">Cards</span></p> <div> <select id="type"> <option value="ws://" selected>ws</option> @@ -27,7 +37,7 @@ <input id="port" type="number" value="4040"> </div> - <a id="conn" href="client.html?s=ws://127.0.0.1:4040&g=-1">Connect</a> + <button id="conn" onclick="connect()">Connect</a> </div> <script> @@ -40,9 +50,10 @@ a.onchange = updateLink; p.onchange = updateLink; - function updateLink() { - var url = "client.html?s=" + t.value + a.value + ":" + p.value + "&g=-1"; - c.setAttribute("href", url); + function connect() { + var url = "./client.html?s=" + t.value + a.value + ":" + p.value + "&g=-1"; + //c.setAttribute("href", url); + window.location = url; } </script> </body> |