mirror of
https://github.com/fastogt/fastocloud_admin.git
synced 2025-03-09 23:38:52 +00:00
Vods templates
This commit is contained in:
parent
3f93561dd7
commit
62de99889f
2 changed files with 170 additions and 0 deletions
100
app/templates/autofill/show_vods.html
Normal file
100
app/templates/autofill/show_vods.html
Normal file
|
@ -0,0 +1,100 @@
|
||||||
|
{% extends 'layouts/layout_user.html' %}
|
||||||
|
{% from 'bootstrap/wtf.html' import form_field %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
M3U | {{ config['PUBLIC_CONFIG'].site.title }}
|
||||||
|
{% endblock %}
|
||||||
|
{% block styles %}
|
||||||
|
<style>
|
||||||
|
table {
|
||||||
|
table-layout: fixed;
|
||||||
|
}
|
||||||
|
th.number {
|
||||||
|
width: 2%;
|
||||||
|
}
|
||||||
|
th.name {
|
||||||
|
width: 88%;
|
||||||
|
}
|
||||||
|
th.actions {
|
||||||
|
width: 10%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
|
{{super()}}
|
||||||
|
{% endblock %}
|
||||||
|
{% block content %}
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">
|
||||||
|
<h1 class="panel-title">
|
||||||
|
<div class="col-md-11">
|
||||||
|
<a href="{{ url_for('HomeView:index') }}">{{ config['PUBLIC_CONFIG'].site.title }}</a>
|
||||||
|
</div>
|
||||||
|
<div>Version: {{ config['PUBLIC_CONFIG'].project.version }}</div>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<div class="row well">
|
||||||
|
<div class="col-md-8">
|
||||||
|
<p>M3u</p>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-2">
|
||||||
|
<a href="{{ url_for('ProviderView:dashboard') }}" role="button" class="btn btn-info">
|
||||||
|
Dashboard
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-md-2">
|
||||||
|
<a href="{{ url_for('ProviderView:logout') }}" class="btn btn-warning" role="button">
|
||||||
|
Logout
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row well">
|
||||||
|
<div class="row">
|
||||||
|
<table id='m3u_table' class="table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="number">#</th>
|
||||||
|
<th class="name">Name</th>
|
||||||
|
<th class="actions">Actions</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{% for line in m3u %}
|
||||||
|
<tr id='{{ line.id }}'>
|
||||||
|
<td>{{ loop.index }}</td>
|
||||||
|
<td>{{ line.name }}</td>
|
||||||
|
<td>
|
||||||
|
<a href="{{ url_for('M3uParseVodsView:search', sid=line.id) }}" role="button"
|
||||||
|
target="_blank" class="btn btn-success btn-xs">
|
||||||
|
Show
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-4">
|
||||||
|
<a href="{{ url_for('M3uParseStreamsView:upload_m3u') }}" role="button" class="btn btn-success">
|
||||||
|
Upload urls
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div id="epg_dialog" class="modal fade" tabindex=-1 role="dialog">
|
||||||
|
<div class="modal-dialog" role="document">
|
||||||
|
<div class="modal-content">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
{{ super() }}
|
||||||
|
{% endblock %}
|
70
app/templates/autofill/show_vods_anonim.html
Normal file
70
app/templates/autofill/show_vods_anonim.html
Normal file
|
@ -0,0 +1,70 @@
|
||||||
|
{% extends 'layouts/layout_user.html' %}
|
||||||
|
{% from 'bootstrap/wtf.html' import form_field %}
|
||||||
|
|
||||||
|
{% block title %}
|
||||||
|
M3U | {{ config['PUBLIC_CONFIG'].site.title }}
|
||||||
|
{% endblock %}
|
||||||
|
{% block styles %}
|
||||||
|
<style>
|
||||||
|
table {
|
||||||
|
table-layout: fixed;
|
||||||
|
}
|
||||||
|
th.number {
|
||||||
|
width: 2%;
|
||||||
|
}
|
||||||
|
th.name {
|
||||||
|
width: 88%;
|
||||||
|
}
|
||||||
|
th.actions {
|
||||||
|
width: 10%;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
{{super()}}
|
||||||
|
{% endblock %}
|
||||||
|
{% block content %}
|
||||||
|
<div class="panel panel-default">
|
||||||
|
<div class="panel-heading">
|
||||||
|
<h1 class="panel-title">
|
||||||
|
<div class="col-md-11">
|
||||||
|
<a href="{{ url_for('HomeView:index') }}">{{ config['PUBLIC_CONFIG'].site.title }}</a>
|
||||||
|
</div>
|
||||||
|
<div>Version: {{ config['PUBLIC_CONFIG'].project.version }}</div>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
<div class="panel-body">
|
||||||
|
<div class="container-fluid">
|
||||||
|
<div class="row well">
|
||||||
|
<div class="row">
|
||||||
|
<table id='m3u_table' class="table">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="number">#</th>
|
||||||
|
<th class="name">Name</th>
|
||||||
|
<th class="actions">Actions</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{% for line in m3u %}
|
||||||
|
<tr id='{{ line.id }}'>
|
||||||
|
<td>{{ loop.index }}</td>
|
||||||
|
<td>{{ line.name }}</td>
|
||||||
|
<td>
|
||||||
|
<a href="{{ url_for('M3uParseVodsView:search', sid=line.id) }}" role="button"
|
||||||
|
target="_blank" class="btn btn-success btn-xs">
|
||||||
|
Show
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
|
{{ super() }}
|
||||||
|
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue