Commit 197149d5 authored by Deamos's avatar Deamos

Formatting

parent 4ed2c80e
......@@ -13,24 +13,23 @@
<div style="width:100%">
<div class="shadow p-2" style="background-color:white;">
<div class="row">
<div class="col-10">
<div class="col-8">
<img src="{{channel.owningUser|get_pictureLocation}}" width="46px" height="46px" style="float:left;">
<div class="streamcard-IconText"><i class="fas fa-tv"></i></div> <div style="float:left;"><span><b><a href="/channel/{{channel.id}}/">{{channel.channelName}}</a></b></span></div><br>
<div class="streamcard-IconText"><i class="fas fa-users"></i></div><b><a href="/streamers/{{channel.owningUser}}/">{{channel.owningUser|get_userName}}</a></b>
</div>
<div class="col-sm-12 col-md-2">
<div class="streamcard-IconText"><i class="fas fa-users"></i></div> <div style="float:left;"> {{channel.views}}</div> <br>
<div class="streamcard-IconText"><i class="fas fa-eye"></i></div> <div style="float:left;"><span id="currentViewers"> {{channel.currentViewers}}</span></div> <br>
<div class="col-md-4 col-sm-12">
<ul class="nav nav-pills p-1">
<li class="nav-item">
<a class="nav-link active" id="channel-tab" data-toggle="tab" href="#livechannel" role="tab" aria-controls="home" aria-selected="true">Live Channel</a>
</li>
<li class="nav-item">
<a class="nav-link" id="videos-tab" data-toggle="tab" href="#videoList" role="tab" aria-controls="profile" aria-selected="false">Videos</a>
</li>
</ul>
</div>
</div>
<ul class="nav nav-pills p-1" style="background-color:white;">
<li class="nav-item">
<a class="nav-link active" id="channel-tab" data-toggle="tab" href="#livechannel" role="tab" aria-controls="home" aria-selected="true">Live Channel</a>
</li>
<li class="nav-item">
<a class="nav-link" id="videos-tab" data-toggle="tab" href="#videoList" role="tab" aria-controls="profile" aria-selected="false">Videos</a>
</li>
</ul>
</div>
</div>
<div class="tab-content" id="tabList">
......@@ -96,6 +95,8 @@
<div>
<div class="streamcard-IconText"><i class="fas fa-video"></i></div> <div id="streamMetadataName" style="float:left;"><span><b>{% if stream != None %} {{stream.streamName}} {% else %} No Stream {% endif %}</b></span></div><br>
<div class="streamcard-IconText"><i class="fas fa-hashtag"></i></div> <div id="streamMetadataTopic" style="float:left;"><b><a href="/topic/{{stream.topic}}/">{% if stream != None %} {{stream.topic|get_topicName}} {% else %} {{channel.topic|get_topicName}} {% endif %}</a></b></div><br>
<div class="streamcard-IconText"><i class="fas fa-users"></i></div> <div style="float:left;"> {{channel.views}}</div> <br>
<div class="streamcard-IconText"><i class="fas fa-eye"></i></div> <div style="float:left;"><span id="currentViewers"> {{channel.currentViewers}}</span></div> <br>
<div class="streamcard-IconText"><a href="javascript:void(0)" onclick="changeUpvote()"><i id="upVoteIcon" class="far fa-thumbs-up"></i></a></div><div style="float:left;"> <span id="totalUpvotes"></span></div> <br>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment