| |
@@ -2,39 +2,72 @@
|
| |
<div class="col-md-7">
|
| |
<table class="stats-table">
|
| |
<tr><th>Members</th><th>Subscribers</th></tr>
|
| |
- <tr class="text-info"><td>{{members_text}}</td><td class="text-right">{{subscribers_text}}</td></tr>
|
| |
+ <tr class="text-info">
|
| |
+ <td>{{members_text}}</td>
|
| |
+ <td class="text-right">{{subscribers_text}}</td>
|
| |
+ </tr>
|
| |
</table>
|
| |
</div>
|
| |
<div class="col-md-5">
|
| |
<ul class="list-unstyled">
|
| |
{% if g.auth.nickname in subscribers %}
|
| |
- <li><form action="{{hub_unsubscribe_url}}" method="POST">
|
| |
- <button class="btn btn-info"><span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span> Unsubscribe</button>
|
| |
- </form></li>
|
| |
+ <li>
|
| |
+ <form action="{{hub_unsubscribe_url}}" method="POST">
|
| |
+ <button class="btn btn-info">
|
| |
+ <span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span>
|
| |
+ Unsubscribe
|
| |
+ </button>
|
| |
+ </form>
|
| |
+ </li>
|
| |
{% else %}
|
| |
- <li><form action="{{hub_subscribe_url}}" method="POST">
|
| |
- <button class="btn btn-default"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Subscribe</button>
|
| |
- </form></li>
|
| |
+ <li>
|
| |
+ <form action="{{hub_subscribe_url}}" method="POST">
|
| |
+ <button class="btn btn-default">
|
| |
+ <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
|
| |
+ Subscribe
|
| |
+ </button>
|
| |
+ </form>
|
| |
+ </li>
|
| |
{% endif %}
|
| |
|
| |
{% if g.auth.nickname in stargazers %}
|
| |
- <li><form action="{{hub_unstar_url}}" method="POST">
|
| |
- <button class="btn btn-info"><span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span> Unstar Hub</button>
|
| |
- </form></li>
|
| |
+ <li>
|
| |
+ <form action="{{hub_unstar_url}}" method="POST">
|
| |
+ <button class="btn btn-info">
|
| |
+ <span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span>
|
| |
+ Unstar Hub
|
| |
+ </button>
|
| |
+ </form>
|
| |
+ </li>
|
| |
{% else %}
|
| |
- <li><form action="{{hub_star_url}}" method="POST">
|
| |
- <button class="btn btn-default"><span class="glyphicon glyphicon-star" aria-hidden="true"></span> Star Hub</button>
|
| |
- </form></li>
|
| |
+ <li>
|
| |
+ <form action="{{hub_star_url}}" method="POST">
|
| |
+ <button class="btn btn-default">
|
| |
+ <span class="glyphicon glyphicon-star" aria-hidden="true"></span>
|
| |
+ Star Hub
|
| |
+ </button>
|
| |
+ </form>
|
| |
+ </li>
|
| |
{% endif %}
|
| |
|
| |
{% if g.auth.nickname in members %}
|
| |
- <li><form action="{{hub_leave_url}}" method="POST">
|
| |
- <button class="btn btn-info"><span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span> Leave Hub</button>
|
| |
- </form></li>
|
| |
+ <li>
|
| |
+ <form action="{{hub_leave_url}}" method="POST">
|
| |
+ <button class="btn btn-info">
|
| |
+ <span class="glyphicon glyphicon-remove-sign" aria-hidden="true"></span>
|
| |
+ Leave Hub
|
| |
+ </button>
|
| |
+ </form>
|
| |
+ </li>
|
| |
{% else %}
|
| |
- <li><form action="{{hub_join_url}}" method="POST">
|
| |
- <button class="btn btn-default"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> Join Hub</button>
|
| |
- </form></li>
|
| |
+ <li>
|
| |
+ <form action="{{hub_join_url}}" method="POST">
|
| |
+ <button class="btn btn-default">
|
| |
+ <span class="glyphicon glyphicon-user" aria-hidden="true"></span>
|
| |
+ Join Hub
|
| |
+ </button>
|
| |
+ </form>
|
| |
+ </li>
|
| |
{% endif %}
|
| |
</ul>
|
| |
</div>
|
| |