Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<div id="container"> | ||
<a data-func="webrtc.joinRoom" data-room="test" href="#" class="list-group-item"> | ||
<h4 class="list-group-item-heading">Test</h4> | ||
<p class="list-group-item-text">testing</p> | ||
</a> | ||
</div> | ||
|
||
|
||
<a data-func="webrtc.joinRoom" data-room="test" href="#" class="list-group-item"> | ||
<h4 class="list-group-item-heading">Test</h4> | ||
<p class="list-group-item-text">testing</p> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<div id="container"> | ||
<!-- IF rooms.length --> | ||
<!-- BEGIN rooms --> | ||
<!-- IF !rooms.private --> | ||
<a data-func="webrtc.joinRoom" data-room="{rooms.slug}" href="#" class="list-group-item"> | ||
<h4 class="list-group-item-heading">{rooms.name}</h4> | ||
<p class="list-group-item-text">{rooms.description}</p> | ||
</a> | ||
<!-- ENDIF !rooms.private --> | ||
<!-- END rooms --> | ||
<!-- ELSE --> | ||
<a data-func="webrtc.newRoom" href="#" class="list-group-item"> | ||
<h4 class="list-group-item-heading">No rooms currently available!</h4> | ||
<p class="list-group-item-text">Click here to create one!</p> | ||
</a> | ||
<!-- ENDIF rooms.length --> | ||
</div><!-- END container --> | ||
|
||
|
||
{{{if rooms.length}}} | ||
<!-- BEGIN rooms --> | ||
{{{if !rooms.private}}} | ||
<a data-func="webrtc.joinRoom" data-room="{rooms.slug}" href="#" class="list-group-item"> | ||
<h4 class="list-group-item-heading">{rooms.name}</h4> | ||
<p class="list-group-item-text">{rooms.description}</p><!-- END description --> | ||
</a> | ||
<!-- ENDIF !rooms.private --> | ||
{{{ end }}} | ||
<!-- ELSE --> | ||
<a data-func="webrtc.newRoom" href="#" class="list-group-item"> | ||
<h4 class="list-group-item-heading">No rooms currently available!</h4> | ||
<p class="list-group-item-text">Click here to create one!</p><!-- END --> | ||
</a> | ||
<!-- ENDIF rooms.length --> |