aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/shard_web/templates/room
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2018-09-26 18:14:32 +0200
committerAlex Auvolat <alex@adnab.me>2018-09-26 18:14:32 +0200
commit26629dc30a116204263ac4b515600649ba742ba0 (patch)
treea066688ce44e028abd188867bc92b72496d4893a /shardweb/lib/shard_web/templates/room
parent1a13285971ef728109011a93e676e26248b30242 (diff)
downloadshard-26629dc30a116204263ac4b515600649ba742ba0.tar.gz
shard-26629dc30a116204263ac4b515600649ba742ba0.zip
Web UI for multiple identities
Diffstat (limited to 'shardweb/lib/shard_web/templates/room')
-rw-r--r--shardweb/lib/shard_web/templates/room/show.html.eex14
1 files changed, 8 insertions, 6 deletions
diff --git a/shardweb/lib/shard_web/templates/room/show.html.eex b/shardweb/lib/shard_web/templates/room/show.html.eex
index bc1641a..e7b1166 100644
--- a/shardweb/lib/shard_web/templates/room/show.html.eex
+++ b/shardweb/lib/shard_web/templates/room/show.html.eex
@@ -12,11 +12,13 @@
<!-- The list of messages will appear here: -->
<ul id='msg-list' class='row' style='list-style: none; min-height:400px; padding: 10px; max-height: 400px; overflow: scroll'></ul>
-<div class="row">
- <div class="col-xs-3">
- <strong><%= @name %></strong>
- </div>
- <div class="col-xs-9">
- <input type="text" id="msg" class="form-control" placeholder="Your Message" autofocus>
+<div class="form-horizontal">
+ <div class="form-group">
+ <div class="col-sm-2 control-label">
+ <strong>&lt;<%= @nick %>&gt;</strong>
+ </div>
+ <div class="col-sm-10">
+ <input type="text" id="msg" class="form-control" placeholder="Your Message" autofocus>
+ </div>
</div>
</div>