-
Notifications
You must be signed in to change notification settings - Fork 2
/
clansio.html
60 lines (56 loc) · 1.36 KB
/
clansio.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
<head>
<title>clansio</title>
</head>
<body>
{{> layout}}
</body>
<template name="layout">
<div class="ui page grid">
<div class="one column row">
<div class="column">
<nav class="ui inverted menu">
<a class="item">
<i class="home icon"></i>
Clans.io
</a>
<div class="menu right">
<div class="item">
{{ loginButtons align='right' }}
</div>
</div>
</nav>
</div>
</div>
<div class="row">
<div class="six wide column">
{{> addBulletin }}
</div>
<div class="ten wide column">
{{> bulletins }}
</div>
</div>
</div>
</template>
<template name="addBulletin">
<form class="ui form segment">
<div class="field">
<input type="text" name="bulletin" placeholder="Compose Bulletin"/>
</div>
<input class="ui fluid submit button" type="submit" value="Post Bulletin"/>
</form>
</template>
<template name="bulletins">
<div class="ui piled feed segment">
{{#each bulletins}}
<div class="event">
<div class="label">
<i class="circular pencil icon"></i>
</div>
<div class="content">
<div class="summary">{{ email }}</div>
<div class="extra text">{{ body }}</div>
</div>
</div>
{{/each}}
</div>
</template>