This repository has been archived by the owner on Dec 19, 2020. It is now read-only.
forked from SebOuellette/LiveBot
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
91 lines (82 loc) · 6.47 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script src="js/app.js" charset="utf-8"></script>
<link rel="stylesheet" href="css/master.css">
</head>
<body onload='create()'>
<div id='electron-titlebar'>
<p id='titleBar-name'><img src="images/livebotlogoadv.png" height=15></p>
<div class='drag'></div>
</div>
<div id='main'>
<div id='guild-list'>
<p><center style="margin-top: -18px;"><span style="margin-top: -10px; color: #C13281; font-family: Tahoma, Geneva, sans-serif; font-size: 0.6em;">LiveBot </span><br><span id="versionstr" style="margin-top: 0px; color: white; font-family: Tahoma, Geneva, sans-serif; font-size: 0.6em;"></span><hr style="border-color: #a0a0a0; font-family: Tahoma, Geneva, sans-serif; color: white; font-size: 0.6em;"></center></p>
<div id='guildIndicator'></div>
</div>
<div id='serverName'>
<h5 id='guildName'>discord-livebot</h5>
<img src='images/default.png' id='guildImg'/>
<p id='members-text' class='members'>Members: </p>
<p id='members-count' class='members'>42</p>
</div>
<div id='channel-list'>
<div id='channel-elements'>
</div>
</div>
<div id="userCard">
<p id='userCardBot'>BOT</p>
<img src="images/default.png" alt="UserIcon" id='userCardIcon' height='30px'>
<p id='userCardName'>User</p>
<p id='userCardDiscrim'>#7858</p>
<!--<button id='settingsbtn'>
<svg name="Gear" width="18" height="18" viewBox="0 0 18 18"><path fill="currentColor" d="M7.15546853,6.47630098e-17 L5.84453147,6.47630098e-17 C5.36185778,-6.47630098e-17 4.97057344,0.391750844 4.97057344,0.875 L4.97057344,1.9775 C4.20662236,2.21136254 3.50613953,2.61688993 2.92259845,3.163125 L1.96707099,2.61041667 C1.76621819,2.49425295 1.52747992,2.46279536 1.30344655,2.52297353 C1.07941319,2.58315171 0.88846383,2.73002878 0.77266168,2.93125 L0.117193154,4.06875 C0.00116776262,4.26984227 -0.0302523619,4.50886517 0.0298541504,4.73316564 C0.0899606628,4.9574661 0.236662834,5.14864312 0.437644433,5.26458333 L1.39171529,5.81583333 C1.21064614,6.59536289 1.21064614,7.40609544 1.39171529,8.185625 L0.437644433,8.736875 C0.236662834,8.85281521 0.0899606628,9.04399223 0.0298541504,9.2682927 C-0.0302523619,9.49259316 0.00116776262,9.73161606 0.117193154,9.93270833 L0.77266168,11.06875 C0.88846383,11.2699712 1.07941319,11.4168483 1.30344655,11.4770265 C1.52747992,11.5372046 1.76621819,11.5057471 1.96707099,11.3895833 L2.92259845,10.836875 C3.50613953,11.3831101 4.20662236,11.7886375 4.97057344,12.0225 L4.97057344,13.125 C4.97057344,13.6082492 5.36185778,14 5.84453147,14 L7.15546853,14 C7.63814222,14 8.02942656,13.6082492 8.02942656,13.125 L8.02942656,12.0225 C8.79337764,11.7886375 9.49386047,11.3831101 10.0774016,10.836875 L11.032929,11.3895833 C11.2337818,11.5057471 11.4725201,11.5372046 11.6965534,11.4770265 C11.9205868,11.4168483 12.1115362,11.2699712 12.2273383,11.06875 L12.8828068,9.93270833 C12.9988322,9.73161606 13.0302524,9.49259316 12.9701458,9.2682927 C12.9100393,9.04399223 12.7633372,8.85281521 12.5623556,8.736875 L11.6082847,8.185625 C11.7893539,7.40609544 11.7893539,6.59536289 11.6082847,5.81583333 L12.5623556,5.26458333 C12.7633372,5.14864312 12.9100393,4.9574661 12.9701458,4.73316564 C13.0302524,4.50886517 12.9988322,4.26984227 12.8828068,4.06875 L12.2273383,2.93270833 C12.1115362,2.73148712 11.9205868,2.58461004 11.6965534,2.52443187 C11.4725201,2.46425369 11.2337818,2.49571128 11.032929,2.611875 L10.0774016,3.16458333 C9.49400565,2.61782234 8.79351153,2.2117896 8.02942656,1.9775 L8.02942656,0.875 C8.02942656,0.391750844 7.63814222,6.47630098e-17 7.15546853,6.47630098e-17 Z M8.5,7 C8.5,8.1045695 7.6045695,9 6.5,9 C5.3954305,9 4.5,8.1045695 4.5,7 C4.5,5.8954305 5.3954305,5 6.5,5 C7.03043298,5 7.53914081,5.21071368 7.91421356,5.58578644 C8.28928632,5.96085919 8.5,6.46956702 8.5,7 Z" transform="translate(2.5 2)"></path></svg>
</button>-->
</div>
<div id='msgSpace'>
<div id='settoken'>
<div id='tokenspace'>
<input type="text" name="token" value="" placeholder='Token' id='tokenbox'/>
<button type="button" name="button" onclick='savetoken()' id='savebtn'>Connect</button>
</div>
</div>
<div id='message-list'></div>
<div id='sendmsg'>
<input type="text" name="message" value="" placeholder='Message' id='msgbox' ontype='typing()'/>
<button type="button" name="button" onclick='sendmsg()' id='sendbtn'>Send</button>
</div>
</div>
<div id='options'>
<input type='text' name='name' value='' placeholder='Username' id='usernameBox' class='optionBox'/>
<input type='button' name='invite' value='Set Username' id='usernameBtn' class='optionBox' onclick="changeUname()"/>
<br>
<hr style="border-color: #676767;">
<br><!--
<input type='number' name='name' value='0' placeholder='Max Uses' id='maxuses-inviteBox' class='optionBox'/>
<input type='number' name='name' value='0' placeholder='Max Age' id='maxage-inviteBox' class='optionBox'/>
<p id="temporaryText" style="margin-left: calc(50% - 40px); margin-bottom: 5px; margin-top: 5px; font-family: Tahoma, Geneva, sans-serif; color: white; font-size: 0.9em">Temporary?: </p>
<input type='checkbox' name='name' value=False placeholder='Username' id='temporary-inviteBox' style=" " class='optionBox'/>-->
<input type='button' name='invite' value='Generate Invite' id='inviteBtn' class='optionBox' onclick="options('invite','')"/>
<br>
<hr style="border-color: #676767;">
<br>
<input type='text' name='name' value='' placeholder='Game' id='gameBox' class='optionBox'/>
<input type='button' name='invite' value='Set Game' id='gameBtn' class='optionBox' onclick="setGame()"/>
<br>
<hr style="border-color: #676767;">
<br>
<select id='statusBox' class='optionBox'>
<option value="online">Online</option>
<option value="invisible">Offline</option>
<option value="dnd">Do Not Disturb</option>
<option value="idle">Idle</option>
</select>
<input type='button' name='invite' value='Set Status' id='statusBtn' class='optionBox' onclick="setStatus()"/>
<img id="spinningKiwi" style="visibility: hidden;" class="center" src="images/kiwimascot.png">
<img id="nochannel" src="images/kiwinotfound.png" class="center">
</div>
</div>
</body>
</html>