Commit ee71de20 authored by Deamos's avatar Deamos

Reorganized Metadata

parent 59e5c6b8
......@@ -12,7 +12,19 @@
{% block body %}
<br>
<div style="width:85%" class="mx-auto">
<ul class="nav nav-pills p-1 shadow" style="background-color:white;">
<div class="shadow p-2">
<div class="row">
<div class="col-10">
<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><br>
</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>
</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>
......@@ -20,6 +32,7 @@
<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">
......@@ -84,11 +97,7 @@
</div>
<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-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-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>
<img src="{{channel.owningUser|get_pictureLocation}}" width="32" height="32"> <b><a href="/streamers/{{channel.owningUser}}/">{{channel.owningUser|get_userName}}</a></b><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