forked from thedjpetersen/subway
/
templates.jade
104 lines (88 loc) · 2.45 KB
/
templates.jade
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
script(id="chat_application", type="text/html")
.sidebar
#logo
img(src='/assets/images/subway.png')
h2 Subway
br
small IRC client
#channels
.content
script(id="load_image", type="text/html")
img(id="loading_image", src="/assets/images/loading.gif")
script(id="overview_connection", type="text/html")
#home_parent
a.overview_button#home Home
form
.clearfix
label Server
.input
input#connect-server
.clearfix
label Nick
.input
input#connect-nick
a(id="connect-button", class="btn primary") Connect
script(id="overview_home", type="text/html")
ul
li.overview_button#connection
img(src="/assets/images/connection.svg")
span New Connection
li.overview_button#settings
img(src="/assets/images/settings.svg")
span Settings
script(id="overview", type="text/html")
#overview
script(id="overview_settings", type="text/html")
#home_parent
a.overview_button#home Home
p Settings
script(id="titlebar", type="text/html")
span(class="window_title") {{title}}
span(id="topic") {{topic}}
script(id="chat", type="text/html")
#chat-window
#chat-bar
#chat-contents
#input-container
.input
input(id="chat_input")
a(id="chat_button", class="btn disabled") Send
#user-window
#user-bar
.titlebar
span(class='window_title') User List
#user-list
script(id="channel", type="text/html")
.channel
span(class="channel-name") {{name}}
script(id="unread", type="text/html")
span(class="unread", title="Unread Messages") {{unread}}
script(id="unread_mentions", type="text/html")
span(class="unread_mentions", title="Mentions in channel") {{unread_mentions}}
script(id="userlist_user", type="text/html")
li {{username}}
script(id="link", type="text/html")
a(target="_blank", href="{{link}}") {{link}}
script(id="image_embed", type="text/html")
.embed
img(src="{{link")
script(id="youtube_embed", type="text/html")
.embed
iframe(width="420, height="315", src="http://www.youtube.com/embed/{{video_id}}?rel=0", frameborder="0", allowfullscreen)
script(id="action", type="text/html")
.chat_time
span(class="timeline")
span {{rendered_time}}
.chat_message
span
b * {{user}}
span {{content}}
script(id="message", type="text/html")
.chat_time
span(class="timeline")
span {{rendered_time}}
.chat_message
span
b {{user}}:
span
| {{content}}