color the admin buttons

This commit is contained in:
deflax 2021-10-11 20:29:47 +00:00
parent f191e375bf
commit 5bb690f852
2 changed files with 15 additions and 5 deletions

View file

@ -111,12 +111,21 @@ a.btn {
text-align: center; 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 { a.btn-green {
background-color: rgb(44, 57, 75); background-color: rgb(115, 201, 71);
/*background: linear-gradient(#4caf50, #2b622d);*/ /*background: linear-gradient(#4caf50, #2b622d);*/
} }
a.btn-green:hover { 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); box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
} }
a.btn-large { a.btn-large {

View file

@ -29,12 +29,13 @@
<tr> <tr>
<td>RTMP url</td> <td>RTMP url</td>
<td><em class="url">rtmp://{{ configuration["rtmp_base"] }}/{{ item[0] }}/{{ item[1] }}</em></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">&#9654;<br/>RTMP</a></td> <td class="btn"><a href="rtmp://{{ configuration['rtmp_base'] }}/{{ item[0] }}/{{ item[1] }}" class="btn btn-red">&#9654;<br/>RTMP</a></td>
</tr> </tr>
<tr> <tr>
<td>HLS m3u8</td> <td>HLS m3u8</td>
<td><em class="url">{{ configuration['web_proto'] }}://{{ configuration['base_url'] }}/hls/{{ item[1] }}/index.m3u8</em></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">&#9654;<br/>HLS.js</a></td> <!-- <td class="btn"><a href="{{ configuration['web_proto'] }}://{{ configuration['base_url'] }}/player/{{ item[1] }}" class="btn btn-green">&#9654;<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">&#9654;<br/>HLS.js</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>