blob: b090a41ffffcc5e9a6f669a64d7fe0a9efc0c05a (
plain)
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
|
[[ include ../_header ]]
<h1>[[- project.name ]]</h1>
[[ include ../_nav ]]
<hr>
<table>
<tr>
<td>
<a href="/staff/projects/[[- project.slug ]]">[[- project.name ]]</a>
</td>
<td class="editLinks">
<a href="/project/[[- project.slug ]]">[view]</a>
<a href="/project/[[- project.slug ]]/edit">[edit]</a>
<a href="/api/rooms/[[- project.slug ]]">[api]</a>
</td>
<td>
[[- project.date ]]
</td>
<td>
[[- project.privacy ? "private" : "" ]]
</td>
</tr>
<tr>
<td>
[[ if (projectUser.photo) { ]]
<a href="/staff/users/[[- projectUser.username ]]"><div style="background-image:url([[- projectUser.photo ]])" class="avatar"></div></a>
[[ } ]]
<a href="/staff/users/[[- projectUser.username ]]">[[- projectUser.username ]]</a>
</td>
</tr>
<tr>
<td colspan="999" class="description">
"[[- project.description ]]"
</td>
</tr>
<tr>
<th>
featured?
</th>
<td id="isFeaturedProject">
[[- project.featured ? "yes" : "no" ]]
</td>
</tr>
</table>
<br><br>
<div id="actions">
<button id="toggle-featured" data-featured="[[- !! project.featured ]]">Feature this Project</button>
</div>
<br>
<br>
<table id="iframe-embed" class="projectList">
<tr>
<td class="border">
<iframe src="/project/[[- project.slug ]]/view?noui=1&mute=1" class="embed"></iframe>
</td>
</tr>
</table>
<br>
<br>
<div class="json">
[[- projectJSON ]]
</div>
<h2>Author</h2>
<div class="json">
[[- projectUserJSON ]]
</div>
<h2>Collaborators</h2>
<div class="json">
[[- collaborators.length ? collaboratorsJSON : '"no collaborators"' ]]
</div>
[[ include ../_footer ]]
|