1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
movim_ynh/sources/app/widgets/Chats/chats.tpl

34 lines
1.2 KiB
Smarty
Raw Normal View History

2016-03-15 16:28:38 +01:00
<header>
<ul class="list middle">
<li>
<span id="menu" class="primary on_mobile icon active gray" onclick="MovimTpl.toggleMenu()"><i class="zmdi zmdi-menu"></i></span>
<span class="primary icon on_desktop icon gray"><i class="zmdi zmdi-comments"></i></span>
<p class="center">{$c->__('page.chats')}</p>
</li>
</ul>
</header>
<ul id="chats_widget_list" class="list middle active divided spaced">
<div id="spinner">
<img src="{$base_uri}/app/widgets/Roster/img/movim_cloud.svg"/>
</div>
</ul>
<div class="placeholder icon">
<h1>{$c->__('chats.empty_title')}</h1>
<h4>{$c->___('chats.empty', '<i class="zmdi zmdi-plus"></i>', '<a href="'.$c->route('contact').'"><i class="zmdi zmdi-accounts"></i> ', '</a>')}</h4>
</div>
<a class="button action color" onclick="MovimTpl.toggleActionButton()" title="{$c->__('button.chat')}">
<i class="zmdi zmdi-plus"></i>
<ul class="actions">
<li onclick="Chats_ajaxAdd()" title="{$c->__('chats.add')}">
<i class="zmdi zmdi-account-add"></i>
</li>
<li onclick="Rooms_ajaxAdd()" title="{$c->__('rooms.add')}">
<i class="zmdi zmdi-accounts-add"></i>
</li>
</ul>
</a>