-
Notifications
You must be signed in to change notification settings - Fork 0
/
duck.html
64 lines (62 loc) · 4.19 KB
/
duck.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Rubber Duck</title>
<link rel="stylesheet" href="duck.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<div id="codes"></div>
<div class="container-fluid">
<div class="row" >
<div class="col-md-3"></div>
<div class="col-md-6"><h1 id="duckTitle">Rubber Duck Debugging</h1></div>
<div class="col-md-3"></div>
</div>
<div class="row" >
<div class="col-md-3"></div>
<div id="sideMenu"><svg xmlns="http://www.w3.org/2000/svg" onclick="openSettings();" width="20" height="20" fill="currentColor" class="bi bi-tools icons" viewBox="0 0 16 16">
<path d="M1 0L0 1l2.2 3.081a1 1 0 0 0 .815.419h.07a1 1 0 0 1 .708.293l2.675 2.675-2.617 2.654A3.003 3.003 0 0 0 0 13a3 3 0 1 0 5.878-.851l2.654-2.617.968.968-.305.914a1 1 0 0 0 .242 1.023l3.356 3.356a1 1 0 0 0 1.414 0l1.586-1.586a1 1 0 0 0 0-1.414l-3.356-3.356a1 1 0 0 0-1.023-.242L10.5 9.5l-.96-.96 2.68-2.643A3.005 3.005 0 0 0 16 3c0-.269-.035-.53-.102-.777l-2.14 2.141L12 4l-.364-1.757L13.777.102a3 3 0 0 0-3.675 3.68L7.462 6.46 4.793 3.793a1 1 0 0 1-.293-.707v-.071a1 1 0 0 0-.419-.814L1 0zm9.646 10.646a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708zM3 11l.471.242.529.026.287.445.445.287.026.529L5 13l-.242.471-.026.529-.445.287-.287.445-.529.026L3 15l-.471-.242L2 14.732l-.287-.445L1.268 14l-.026-.529L1 13l.242-.471.026-.529.445-.287.287-.445.529-.026L3 11z"/>
</svg></div>
<div class="col-md-6">
<img id="duck" src="duck.png" alt="Rubber Duck" >
</div>
<div class="col-md-3"></div>
</div>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6"></div>
<div class="col-md-3" id="chatWindow">
<div id="chatHead">
<div id="thumbnail"><img id="ico" src="ico.jpg" alt="" ></div>
<div id="spn"><span>Rubber Duck</span></div>
<div id="settings">
<select id="settingsMenu" name="settings" title="Settings Menu">
<optgroup><option id="bgColor" onclick="bgColorChange();">Change Background Color</option>
<option id="darkMode" onclick="darkModeChange();">Dark Mode</option>
<option id="chatBg" onclick="ChatBgChange();">Change Chat Background</option>
</optgroup>
</select>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" onclick="collapseChat();" fill="currentColor" class="bi bi-arrow-bar-down icons" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M1 3.5a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13a.5.5 0 0 1-.5-.5zM8 6a.5.5 0 0 1 .5.5v5.793l2.146-2.147a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 .708-.708L7.5 12.293V6.5A.5.5 0 0 1 8 6z"/>
</svg>
</div>
</div>
<div id="msgs"><div id="msgarea"></div></div>
<div id="chat">
<input type="text" id="txt" class="txtArea" multiline="true" placeholder="Enter your message here ....."></input>
<div id="sendIcon">
<svg xmlns="http://www.w3.org/2000/svg" onclick="msgBuilder();" width="24" height="24" viewBox="0 0 24 24"><path d="M24 0l-6 22-8.129-7.239 7.802-8.234-10.458 7.227-7.215-1.754 24-12zm-15 16.668v7.332l3.258-4.431-3.258-2.901z"/></svg>
</div>
</div>
</div>
</div>
</div>
<script type="text\javascript"></script>
<script src="duck.js" ></script>
</body>
</html>