2012-09-18 16:18:25 +02:00
|
|
|
{{! Client-side Mustache template for rendering subscriptions.}}
|
2012-12-12 07:09:25 +01:00
|
|
|
{{#each subscriptions}}
|
|
|
|
{{#with this}}
|
2013-01-04 20:42:39 +01:00
|
|
|
<tr class="subscription_row" id="subscription_{{id}}">
|
2012-11-09 22:40:34 +01:00
|
|
|
<td>
|
2013-01-04 21:05:18 +01:00
|
|
|
<div class="subscription_header" data-toggle="collapse" data-target="#subscription_settings_{{id}}">
|
|
|
|
<span class="color_swatch" style="background-color: {{color}}"></span>
|
|
|
|
<span class="subscription_name">{{name}}</span>
|
|
|
|
<button class="btn btn-block unsubscribe_button" type="button" name="subscription"
|
|
|
|
onclick="subs.unsubscribe_button_click(event);">Unsubscribe</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="subscription_settings_{{id}}" class="collapse subscription_settings">
|
2013-01-10 17:07:17 +01:00
|
|
|
<span class="sub_settings_title">Settings</span>
|
2013-01-04 21:05:18 +01:00
|
|
|
<ul>
|
|
|
|
<li><span class="sub_setting_control"><input class="colorpicker" type="text" value="{{color}}" /></span>
|
|
|
|
Stream color
|
|
|
|
</ul>
|
2013-01-07 22:18:47 +01:00
|
|
|
{{#render_subscribers}}
|
2013-01-10 17:07:17 +01:00
|
|
|
<span class="sub_settings_title">Subscribers</span>
|
2013-01-07 22:09:33 +01:00
|
|
|
<div class="subscriber_list_container">
|
|
|
|
<div class="alert alert-error hide"></div>
|
|
|
|
<ul>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2013-01-07 22:18:47 +01:00
|
|
|
{{/render_subscribers}}
|
2013-01-04 21:05:18 +01:00
|
|
|
</div>
|
2012-09-21 20:34:00 +02:00
|
|
|
</td>
|
2012-09-18 16:18:25 +02:00
|
|
|
</tr>
|
2012-12-12 07:09:25 +01:00
|
|
|
{{/with}}
|
|
|
|
{{/each}}
|