color the admin buttons
This commit is contained in:
parent
f191e375bf
commit
5bb690f852
2 changed files with 15 additions and 5 deletions
|
@ -111,12 +111,21 @@ a.btn {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
a.btn-red {
|
||||
background-color: rgb(224, 99, 71);
|
||||
/*background: linear-gradient(#4caf50, #2b622d);*/
|
||||
}
|
||||
a.btn-red:hover {
|
||||
background-color: rgb(255, 99, 71);
|
||||
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
|
||||
a.btn-green {
|
||||
background-color: rgb(44, 57, 75);
|
||||
background-color: rgb(115, 201, 71);
|
||||
/*background: linear-gradient(#4caf50, #2b622d);*/
|
||||
}
|
||||
a.btn-green:hover {
|
||||
background-color: rgb(60, 78, 104);
|
||||
background-color: rgb(115, 249, 71);
|
||||
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
a.btn-large {
|
||||
|
|
|
@ -29,12 +29,13 @@
|
|||
<tr>
|
||||
<td>RTMP url</td>
|
||||
<td><em class="url">rtmp://{{ configuration["rtmp_base"] }}/{{ item[0] }}/{{ item[1] }}</em></td>
|
||||
<td class="btn"><a href="rtmp://{{ configuration['rtmp_base'] }}/{{ item[0] }}/{{ item[1] }}" class="btn btn-green">▶<br/>RTMP</a></td>
|
||||
<td class="btn"><a href="rtmp://{{ configuration['rtmp_base'] }}/{{ item[0] }}/{{ item[1] }}" class="btn btn-red">▶<br/>RTMP</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>HLS m3u8</td>
|
||||
<td><em class="url">{{ configuration['web_proto'] }}://{{ configuration['base_url'] }}/hls/{{ item[1] }}/index.m3u8</em></td>
|
||||
<td class="btn"><a href="{{ configuration['web_proto'] }}://{{ configuration['base_url'] }}/player/{{ item[1] }}" class="btn btn-green">▶<br/>HLS.js</a></td>
|
||||
<!-- <td class="btn"><a href="{{ configuration['web_proto'] }}://{{ configuration['base_url'] }}/player/{{ item[1] }}" class="btn btn-green">▶<br/>HLS.js</a></td> -->
|
||||
<td class="btn"><a href="{{ url_for('frontend.show_player', streamname=item[1], appname=item[0]) }}" class="btn btn-green">▶<br/>HLS.js</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue