This repository has been archived by the owner on Nov 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
153 lines (146 loc) · 5.53 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Chatter</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href='dist/css/app.css' rel='stylesheet' id='#theme' />
</head>
<body>
<div class="main">
<div id="header" style="-webkit-app-region: drag">
<div id='buttons'>
<div title='Close' class='close'></div>
<div title='Maximize' class='maximize'></div>
<div title='Minimize' class='minimize'></div>
</div>
</div>
<div id="wrap">
<div id="channels">
<ul></ul>
<div class='manage'>
<span class='add-server'>+</span>
</div>
</div>
<div id="content"></div>
</div>
</div>
<script type="text/template" id='server-edit-template'>
<h1>Editing Server (<%= title %>)</h1>
<div class='inputs'>
<div class='sub-input'>
<input name="title" placeholder="Server Name" value="<%= title %>">
</div>
<div class='sub-input'>
<input name="host" placeholder="IP Address/Domain" value="<%= host %>">
<input name="port" placeholder="Server Port" value="<%= port %>">
</div>
<div class='sub-input'>
<input name="nick" placeholder="Nickname" value="<%= nick %>">
<input name="realName" placeholder="Real Name" value="<%= realName %>">
</div>
<div class='sub-input'>
<input name="serverUser" placeholder="Username" value="<%= serverUser %>">
<input name="serverPass" placeholder="Server Password" type="password" value="<%= serverPass %>">
</div>
<div class='sub-input'>
<input name="onConnect" placeholder="Connect Commands (Comma separated list)" value="<%= onConnect %>">
</div>
<div class='sub-input'>
<input name="channels" placeholder="Channels (Comma separated list)" value="<%= channels %>">
</div>
<div class='sub-input'>
<input name="autoConnect" type="checkbox" <% if (autoConnect) { %> checked <% } %>><label>Connect on Start</label>
</div>
<div class='sub-input'>
<input name="secure" type="checkbox" <% if (secure) { %> checked <% } %>><label>Secure (SSL)</label>
<input name="selfSigned" type="checkbox" <% if (selfSigned) { %> checked <% } %>><label>Allow Self Signed Certs</label>
<input name="certExpired" type="checkbox" <% if (certExpired) { %> checked <% } %>><label>Allow Expired Certs</label>
</div>
</div>
<div class='buttons'>
<button class="server_delete delete">Delete</button>
<button class="server_save save">Save</button>
<button class="server_popup_close close">Close</button>
</div>
</script>
<script type="text/template" id='settings-template'>
<h1>Chatter Settings</h1>
<div class='inputs'>
<div class="tabs">
<div class="tab active">Notifications</div>
<div class="tab">Channels</div>
<div class="tab">Client</div>
</div>
<div class='sub-input active' id="settings-notifications">
<input name="notifications.onMessage" type="checkbox" <% if (notifications.onMessage) { %> checked <% } %>><label>Notification on Message</label>
<br>
<input name="notifications.onPM" type="checkbox" <% if (notifications.onPM) { %> checked <% } %>><label>Notification on PM</label>
<br>
<input name="notifications.onNotice" type="checkbox" <% if (notifications.onNotice) { %> checked <% } %>><label>Notification on Notice</label>
<br>
<input name="notifications.sound" type="checkbox" <% if (notifications.sound) { %> checked <% } %>><label>Sound on Notification</label>
<br>
</div>
<div class='sub-input' id="settings-channels">
<input name="channels.hideJoinPart" type="checkbox" <% if (channels.hideJoinPart) { %> checked <% } %>><label>Hide Join and Part Messages</label>
<br>
<label>Quit Message</label><br>
<input class="full-input" name="channels.quitMessage" placeholder="Quit Message" value="<%= channels.quitMessage %>">
<br>
<label>Part Message</label><br>
<input class='full-input' name="channels.partMessage" placeholder="Part Message" value="<%= channels.partMessage %>">
<br>
</div>
<div class='sub-input' id="settings-client">
<input name="window.minimizeToTray" type="checkbox" <% if (window.minimizeToTray) { %> checked <% } %>><label>Minimize to Tray</label>
<br>
</div>
</div>
<div class='buttons'>
<button class="server_save save">Save</button>
<button class="server_popup_close close">Close</button>
</div>
</script>
<script type='text/template' id='list-template'>
<li class='server' data-id=<%= id %>>
<span class='server-title'>
<span class='status round-button'><%= title %></span>
<ul></ul>
</li>
</script>
<script type='text/template' id='channel-template'>
<div class='left-content'>
<div class='top-wrap'>
<span class='channel-name'><%= name %>: </span>
<span class='topic' title='<%= topic %>'><%= topic %></span>
</div>
<div class='messages scroll'></div>
<div class='input-wrap'>
<input class='message-input'></input>
</div>
</div>
<% if (!pm) { %>
<div class='right-content'>
<div class='users scroll'><ul></ul></div>
</div>
<% } %>
</script>
<script type='text/template' id='server-template'>
<div class="left-content">
<div class='top-wrap'>
<span class='channel-name'><%= title %></span>
<span class='topic'>(<%= host %>:<%= port %>)</span>
</div>
<div class='messages scroll'></div>
<div class='input-wrap'>
<input class='message-input'></input>
</div>
</div>
</script>
<!-- build:[src] /source.min.js -->
<script src="vendor/components/requirejs/require.js" data-main="app/config"></script>
<!-- /build -->
</body>
</html>