diff options
Diffstat (limited to 'shardweb/lib/templates/chat')
-rw-r--r-- | shardweb/lib/templates/chat/chat.html.eex | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/shardweb/lib/templates/chat/chat.html.eex b/shardweb/lib/templates/chat/chat.html.eex new file mode 100644 index 0000000..86c2fb6 --- /dev/null +++ b/shardweb/lib/templates/chat/chat.html.eex @@ -0,0 +1,37 @@ +<!-- Page Heading --> +<div class="row"> + <div class="col-lg-12"> + <h1 class="page-header"> + #<%= @room %> + <small>public chat room</small> + + </h1> + <ol class="breadcrumb"> + <li> + <i class="fa fa-comments"></i> Chat rooms + </li> + <li class="active"> + <i class="fa fa-comments"></i> #<%= @room %> + </li> + </ol> + </div> +</div> +<!-- /.row --> + +<%= render ShardWeb.LayoutView, "flashes.html", assigns %> + + + +<!-- 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="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> |