diff options
author | Alex Auvolat <alex@adnab.me> | 2018-09-26 18:14:32 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2018-09-26 18:14:32 +0200 |
commit | 26629dc30a116204263ac4b515600649ba742ba0 (patch) | |
tree | a066688ce44e028abd188867bc92b72496d4893a /shardweb/lib/shard_web/templates/room | |
parent | 1a13285971ef728109011a93e676e26248b30242 (diff) | |
download | shard-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.eex | 14 |
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><<%= @nick %>></strong> + </div> + <div class="col-sm-10"> + <input type="text" id="msg" class="form-control" placeholder="Your Message" autofocus> + </div> </div> </div> |