@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | <div class="input-group-addon"><i class="fa fa-envelope-o"></i></div> |
| 13 | 13 | <input type="text" id="chat-message" name="chat_message" class="form-control" placeholder="Enter Message"> |
| 14 | 14 | <div class="input-group-btn"> |
| 15 | - <button type="button" id="send-msg" class="btn btn-primary"><?=Yii::t('app', 'Send');?></button> |
|
| 15 | + <button type="button" id="send-msg" class="btn btn-primary"><?=Yii::t('app', 'Send'); ?></button> |
|
| 16 | 16 | </div> |
| 17 | 17 | </div> |
| 18 | 18 | </div> |
@@ -22,10 +22,10 @@ discard block |
||
| 22 | 22 | <h4><i class="fa fa-weixin"></i><?=Yii::t('app', 'Chat Rooms')?></h4> |
| 23 | 23 | <div class="btn-group" role="group"> |
| 24 | 24 | <?php if ($add_room) :?> |
| 25 | - <button type="button" id="add-chat" class="btn btn-default"><?=Yii::t('app', 'Add');?></button> |
|
| 26 | - <?php endif;?> |
|
| 25 | + <button type="button" id="add-chat" class="btn btn-default"><?=Yii::t('app', 'Add'); ?></button> |
|
| 26 | + <?php endif; ?> |
|
| 27 | 27 | <button type="button" id="exit-chat" class="btn btn-default"> |
| 28 | - <i class="fa fa-sign-out"></i><?=Yii::t('app', 'Exit');?> |
|
| 28 | + <i class="fa fa-sign-out"></i><?=Yii::t('app', 'Exit'); ?> |
|
| 29 | 29 | </button> |
| 30 | 30 | </div> |
| 31 | 31 | <div class="list-group-container"></div> |
@@ -33,17 +33,17 @@ discard block |
||
| 33 | 33 | </div> |
| 34 | 34 | <div role="navigation" class="col-md-3"> |
| 35 | 35 | <div id="user-list" class="list-group"> |
| 36 | - <h4><i class="fa fa-users"></i><?=Yii::t('app', 'Online Users');?></h4> |
|
| 36 | + <h4><i class="fa fa-users"></i><?=Yii::t('app', 'Online Users'); ?></h4> |
|
| 37 | 37 | <div class="list-group-container"></div> |
| 38 | 38 | </div> |
| 39 | 39 | </div> |
| 40 | 40 | </div> |
| 41 | -<?=$this->render('user');?> |
|
| 42 | -<?=$this->render('room');?> |
|
| 41 | +<?=$this->render('user'); ?> |
|
| 42 | +<?=$this->render('room'); ?> |
|
| 43 | 43 | <?php if ($add_room) :?> |
| 44 | - <?=$this->render('add_room');?> |
|
| 45 | -<?php endif;?> |
|
| 46 | -<?=$this->render('message');?> |
|
| 47 | -<?php if(!$auth):?> |
|
| 48 | - <?=$this->render('add_user');?> |
|
| 49 | -<?php endif;?> |
|
| 44 | + <?=$this->render('add_room'); ?> |
|
| 45 | +<?php endif; ?> |
|
| 46 | +<?=$this->render('message'); ?> |
|
| 47 | +<?php if (!$auth):?> |
|
| 48 | + <?=$this->render('add_user'); ?> |
|
| 49 | +<?php endif; ?> |
|