aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/tpl/chatroomlist.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/theme/redbasic/tpl/chatroomlist.tpl')
-rw-r--r--view/theme/redbasic/tpl/chatroomlist.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/theme/redbasic/tpl/chatroomlist.tpl b/view/theme/redbasic/tpl/chatroomlist.tpl
new file mode 100644
index 000000000..a81b8ec1e
--- /dev/null
+++ b/view/theme/redbasic/tpl/chatroomlist.tpl
@@ -0,0 +1,10 @@
+<div id="chatroom_list" class="widget">
+ <h3>{{$header}}</h3>
+ <ul class="nav nav-pills flex-column">
+ <li class="nav-item"><a class="nav-link" href="{{$baseurl}}/chat/{{$nickname}}">{{$overview}}</a></li>
+ {{foreach $items as $item}}
+ <li class="nav-item"><a class="nav-link" href="{{$baseurl}}/chat/{{$nickname}}/{{$item.cr_id}}"><span class="badge pull-right">{{$item.cr_inroom}}</span>{{$item.cr_name}}</a></li>
+ {{/foreach}}
+ </ul>
+</div>
+