summaryrefslogtreecommitdiff
path: root/views/controls/reader/about-room.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/reader/about-room.ejs')
-rw-r--r--views/controls/reader/about-room.ejs33
1 files changed, 20 insertions, 13 deletions
diff --git a/views/controls/reader/about-room.ejs b/views/controls/reader/about-room.ejs
index e13f363..a9ef738 100644
--- a/views/controls/reader/about-room.ejs
+++ b/views/controls/reader/about-room.ejs
@@ -1,21 +1,28 @@
<div class="aboutRoom vvbox">
<h1>
- [[- name ]],
- <a href="[[- authorlink ]]">[[- author ]]</a>
+ <span class="roomName">[[- name ]]</span>
+ <br>
+ [[ if (authorpic) { ]]
+ <a href="[[- authorlink ]]" class="authorName"><div class="profilePic" style="background-image:url([[- authorpic ]])"></div></a>
+ [[ } else { ]]
+ <a href="[[- authorlink ]]" class="authorName"><span class="ion-ios-person-outline"></span></a>
+ [[ } ]]
+ <a href="[[- authorlink ]]" class="authorName">[[- author ]]</a>
</h1>
[[ if (description) { ]]
- <span class="txt">[[- description ]]</span>
+ <span class="txt description">[[- description ]]</span>
[[ } ]]
- <h2>
- Last modified [[- date ]]
+
+ <span class="txt">Last modified [[- date ]]</span>
+
+ <div class="share">
+ <h2>Share on–</h2>
+ <a id="share_facebook">Facebook</a>
+ <a id="share_twitter">Twitter</a>
+ <a id="share_embed">Embed</a>
+ </div>
+
[[ if (canEdit) { ]]
- <a href="[[- editlink ]]" class="btn warn marg">Edit Room</a>
+ <a href="[[- editlink ]]" class="btn warn marg" id="edit-room-link">Edit Room</a>
[[ } ]]
- </h2>
-</div>
-
-<div class="share">
- <h2>Share this on–</h2>
- <a href="#">Facebook</a>
- <a href="#">Twitter</a>
</div>