235 lines
14 KiB
HTML
Executable File
235 lines
14 KiB
HTML
Executable File
|
|
|
|
{% extends "mnfapp/base.html" %}
|
|
{% load static %}
|
|
{% load doc2pdf %}
|
|
{% block content %}
|
|
|
|
<div class="split-pane-component" id="left-component">
|
|
<!--begin::Subheader-->
|
|
<div class="subheader py-2 py-lg-4 subheader-transparent" id="kt_subheader">
|
|
<div class="container d-flex align-items-center justify-content-between flex-wrap flex-sm-nowrap">
|
|
<!--begin::Details-->
|
|
<div class="d-flex align-items-center flex-wrap mr-2">
|
|
<!--begin::Title-->
|
|
<h5 class="text-dark font-weight-bold mt-2 mb-2 mr-5">My Scripts</h5>
|
|
<!--end::Title-->
|
|
<!--begin::Separator-->
|
|
<div class="subheader-separator subheader-separator-ver mt-2 mb-2 mr-5 bg-gray-200"></div>
|
|
<!--end::Separator-->
|
|
<!--begin::Search Form-->
|
|
<div class="d-flex align-items-center" id="kt_subheader_search">
|
|
<span class="text-dark-50 font-weight-bold" id="kt_subheader_total"> Total</span>
|
|
<form class="ml-5">
|
|
<div class="input-group input-group-sm input-group-solid" style="max-width: 175px">
|
|
<input type="text" class="form-control" id="kt_subheader_search_form"
|
|
placeholder="Search..." />
|
|
<div class="input-group-append">
|
|
<span class="input-group-text">
|
|
<span class="svg-icon">
|
|
<!--begin::Svg Icon | path:assets/media/svg/icons/General/Search.svg-->
|
|
<svg xmlns="http://www.w3.org/2000/svg"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" width="24px" height="24px"
|
|
viewBox="0 0 24 24" version="1.1">
|
|
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
<rect x="0" y="0" width="24" height="24" />
|
|
<path
|
|
d="M14.2928932,16.7071068 C13.9023689,16.3165825 13.9023689,15.6834175 14.2928932,15.2928932 C14.6834175,14.9023689 15.3165825,14.9023689 15.7071068,15.2928932 L19.7071068,19.2928932 C20.0976311,19.6834175 20.0976311,20.3165825 19.7071068,20.7071068 C19.3165825,21.0976311 18.6834175,21.0976311 18.2928932,20.7071068 L14.2928932,16.7071068 Z"
|
|
fill="#000000" fill-rule="nonzero" opacity="0.3" />
|
|
<path
|
|
d="M11,16 C13.7614237,16 16,13.7614237 16,11 C16,8.23857625 13.7614237,6 11,6 C8.23857625,6 6,8.23857625 6,11 C6,13.7614237 8.23857625,16 11,16 Z M11,18 C7.13400675,18 4,14.8659932 4,11 C4,7.13400675 7.13400675,4 11,4 C14.8659932,4 18,7.13400675 18,11 C18,14.8659932 14.8659932,18 11,18 Z"
|
|
fill="#000000" fill-rule="nonzero" />
|
|
</g>
|
|
</svg>
|
|
<!--end::Svg Icon-->
|
|
</span>
|
|
<!--<i class="flaticon2-search-1 icon-sm"></i>-->
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<!--end::Search Form-->
|
|
</div>
|
|
<!--end::Details-->
|
|
<!--begin::Toolbar-->
|
|
<div class="d-flex align-items-center">
|
|
<!--begin::Button-->
|
|
<a href="#" class=""></a>
|
|
<!--end::Button-->
|
|
<!--begin::Button-->
|
|
<a href="{% url 'conversion'%}" class="btn btn-light-primary font-weight-bold ml-2">Add New Script</a>
|
|
<!--end::Button-->
|
|
</div>
|
|
<!--end::Toolbar-->
|
|
</div>
|
|
</div>
|
|
<!--end::Subheader-->
|
|
<!--begin::Entry-->
|
|
<div class="d-flex flex-column-fluid">
|
|
<!--begin::Container-->
|
|
<div class="container">
|
|
<!--begin::Row-->
|
|
<div class="custom-grid-four-column">
|
|
<!--begin::Col-->
|
|
<div class="">
|
|
{% for i in obj%}
|
|
<!--begin::Card-->
|
|
<div class="card card-custom gutter-b card-stretch">
|
|
<!--begin::Body-->
|
|
<div class="card-body pt-4">
|
|
<!--begin::Toolbar-->
|
|
<div class="d-flex justify-content-end">
|
|
<div class="dropdown dropdown-inline" data-toggle="tooltip" title="Quick actions"
|
|
data-placement="left">
|
|
<a href="#" class="btn btn-clean btn-hover-light-primary btn-sm btn-icon"
|
|
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
<i class="ki ki-bold-more-hor"></i>
|
|
</a>
|
|
<div class="dropdown-menu dropdown-menu-md dropdown-menu-right">
|
|
<!--begin::Navigation-->
|
|
<ul class="navi navi-hover py-5">
|
|
<li class="navi-item">
|
|
<a href="#" class="navi-link">
|
|
<span class="navi-icon">
|
|
<i class="flaticon-interface-4"></i>
|
|
</span>
|
|
<span class="navi-text">Delete Script</span>
|
|
</a>
|
|
</li>
|
|
<li class="navi-item">
|
|
<a href="#" class="navi-link">
|
|
<span class="navi-icon">
|
|
<i class="flaticon-visible"></i>
|
|
</span>
|
|
<span class="navi-text">Archive Script</span>
|
|
</a>
|
|
</li>
|
|
<li class="navi-item">
|
|
<a href="#" class="navi-link">
|
|
<span class="navi-icon">
|
|
<i class="flaticon-download"></i>
|
|
</span>
|
|
<span class="navi-text">Download</span>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<!--end::Navigation-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--end::Toolbar-->
|
|
<!--begin::User-->
|
|
<div class="d-flex align-items-center mb-7">
|
|
<!--begin::Pic-->
|
|
<div class="flex-shrink-0 mr-4 mt-lg-0 mt-3">
|
|
<div class="symbol symbol-circle symbol-lg-75 d-none">
|
|
<img src="assets/media/users/300_10.jpg" alt="image" />
|
|
</div>
|
|
<div class="symbol symbol-lg-75 symbol-circle symbol-primary">
|
|
<span class="symbol-label font-size-h3 font-weight-boldest">GN</span>
|
|
</div>
|
|
</div>
|
|
<!--end::Pic-->
|
|
<!--begin::Title-->
|
|
<div class="d-flex flex-column">
|
|
<a href="#"
|
|
class="text-dark font-weight-bold text-hover-primary font-size-h4 mb-0">{{i.script_title}}</a>
|
|
<span class="text-muted font-weight-bold">Copyright - XYZ Name</span>
|
|
</div>
|
|
<!--end::Title-->
|
|
</div>
|
|
<!--end::User-->
|
|
<!--begin::Info-->
|
|
<div class="mb-7">
|
|
<div class="d-flex justify-content-between align-items-center my-1">
|
|
<span class="text-dark-75 font-weight-bolder mr-2">Author:</span>
|
|
<a href="#" class="text-muted text-hover-primary">{{i.author_name}}</a>
|
|
</div>
|
|
<div class="d-flex justify-content-between align-items-cente my-1">
|
|
<span class="text-dark-75 font-weight-bolder mr-2">collaborators:</span>
|
|
<a href="#" class="text-muted text-hover-primary">Names</a>
|
|
</div>
|
|
<div class="d-flex justify-content-between align-items-center my-1">
|
|
<span class="text-dark-75 font-weight-bolder mr-2">Script Type:</span>
|
|
<span class="text-muted font-weight-bold">Horror, Comedy</span>
|
|
</div>
|
|
<div class="d-flex justify-content-between align-items-center my-1">
|
|
<span class="text-dark-75 font-weight-bolder mr-2">Uploaded on:</span>
|
|
<a href="#" class="text-muted text-hover-primary">MNF</a>
|
|
</div>
|
|
<div class="d-flex justify-content-between align-items-cente my-1">
|
|
<span class="text-dark-75 font-weight-bolder mr-2">Last updated on:</span>
|
|
<a href="#" class="text-muted text-hover-primary">21/02/2020</a>
|
|
</div>
|
|
<div class="d-flex justify-content-between align-items-center my-1">
|
|
<span class="text-dark-75 font-weight-bolder mr-2">Last used on:</span>
|
|
<span class="text-muted font-weight-bold">28/02/2020</span>
|
|
</div>
|
|
<div class="d-flex justify-content-between align-items-center my-1">
|
|
<span class="text-dark-75 font-weight-bolder mr-2">Languages:</span>
|
|
<span class="text-muted font-weight-bold">Hindi, Devnagri</span>
|
|
</div>
|
|
</div>
|
|
<!--end::Info-->
|
|
{% if i.translated_script_path != ""%}
|
|
{% with 'media/scripts/'|add:i.document_name|doc_pdf as script_path %}
|
|
<a href='{% static script_path %}'
|
|
class="btn btn-block btn-sm btn-light-success font-weight-bolder text-uppercase py-4">View
|
|
Scripts</a>
|
|
{% endwith %}
|
|
{% endif %}
|
|
</div>
|
|
<!--end::Body-->
|
|
</div>
|
|
{% endfor %}
|
|
<!--end::Card-->
|
|
</div>
|
|
<!--end::Col-->
|
|
|
|
</div>
|
|
<!--end::Row-->
|
|
<!--begin::Pagination-->
|
|
<div class="d-flex justify-content-between align-items-center flex-wrap">
|
|
<div class="d-flex flex-wrap mr-3">
|
|
<a href="#" class="btn btn-icon btn-light btn-hover-primary mr-2 my-1">
|
|
<i class="ki ki-bold-double-arrow-back icon-xs"></i>
|
|
</a>
|
|
<a href="#" class="btn btn-icon btn-light btn-hover-primary mr-2 my-1">
|
|
<i class="ki ki-bold-arrow-back icon-xs"></i>
|
|
</a>
|
|
<a href="#" class="btn btn-icon btn-sm border-0 btn-hover-primary mr-2 my-1">...</a>
|
|
<a href="#" class="btn btn-icon btn-sm border-0 btn-hover-primary mr-2 my-1">23</a>
|
|
<a href="#" class="btn btn-icon btn-sm border-0 btn-hover-primary active mr-2 my-1">24</a>
|
|
<a href="#" class="btn btn-icon btn-sm border-0 btn-hover-primary mr-2 my-1">25</a>
|
|
<a href="#" class="btn btn-icon btn-sm border-0 btn-hover-primary mr-2 my-1">26</a>
|
|
<a href="#" class="btn btn-icon btn-sm border-0 btn-hover-primary mr-2 my-1">27</a>
|
|
<a href="#" class="btn btn-icon btn-sm border-0 btn-hover-primary mr-2 my-1">28</a>
|
|
<a href="#" class="btn btn-icon btn-sm border-0 btn-hover-primary mr-2 my-1">...</a>
|
|
<a href="#" class="btn btn-icon btn-sm btn-light btn-hover-primary mr-2 my-1">
|
|
<i class="ki ki-bold-arrow-next icon-xs"></i>
|
|
</a>
|
|
<a href="#" class="btn btn-icon btn-sm btn-light btn-hover-primary mr-2 my-1">
|
|
<i class="ki ki-bold-double-arrow-next icon-xs"></i>
|
|
</a>
|
|
</div>
|
|
<div class="d-flex align-items-center">
|
|
<select class="form-control form-control-sm font-weight-bold mr-4 border-0 bg-gray-100"
|
|
style="width: 75px;">
|
|
<option value="10">10</option>
|
|
<option value="20">20</option>
|
|
<option value="30">30</option>
|
|
<option value="50">50</option>
|
|
<option value="100">100</option>
|
|
</select>
|
|
<span class="text-muted">Displaying of records</span>
|
|
</div>
|
|
</div>
|
|
<!--end::Pagination-->
|
|
</div>
|
|
<!--end::Container-->
|
|
</div>
|
|
<!--end::Entry-->
|
|
</div>
|
|
|
|
{%endblock%} |