Conversion_Kitchen_Code/kitchen_counter/scriptAudit/templates/audit/audited_copy1.html

879 lines
61 KiB
HTML

{% extends "mnfapp/base.html" %}
{% load static %}
{% load i18n %}
{% block content %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="../../../static/Audit/css/Audit-output.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<style>
.block-chain-modal,
.feedback-chain-modal {
display: none;
background-color: #7f7f7f;
position: absolute;
width: 100%;
height: 100%;
z-index: 999;
top: 8%;
}
.block-chain-text,
.feedback {
background-color: #fafafa;
position: absolute;
width: 680px;
min-height:400px;
top: 50%;
border-radius: 8px;
padding: 3rem;
padding: 2rem 2rem 1rem;
left: 50%;
transform: translate(-50%, -50%);
z-index: 99;
}
.block-chain-text{
min-height:240px;
padding: 3rem 2rem 1rem;
width: 580px;
}
.feedback-title {
font-size: 24px;
font-weight: 600;
}
.feedMsg{
font-size:16px;
}
#suggestions_msg{
display:none;
}
.group-imgages img,
#overall_exp_vb,
#accuracy_exp_vb,
#contextual_exp_vb {
padding: 0 9px 0 0;
}
.group-imgages img:hover {
cursor: pointer;
}
.group-imgages img {
width: 60px;
}
.modal-para {
font-size: 16px;
font-weight: 600;
color: #252525;
}
.feedback_con_card_low {
float: right;
gap: 15px;
padding: 15px 0px 32px;
}
.feedback_con_card_low button:nth-child(1),
.feedback_con_card_low button:nth-child(2) {
cursor: pointer;
width: 106px;
height: 34px;
font-size: 16px;
padding: 4px 12px;
font-weight: 400;
border-radius: 4px;
margin: 0px 10px;
}
.feedback_con_card_low button:nth-child(1) {
border: 1px solid #33B0CA;
color: #33B0CA;
background-color: transparent;
}
.feedback_con_card_low button:nth-child(2) {
border: 1px solid #33B0CA;
color: #fafafa;
background-color: #33B0CA;
}
.feedback_con_card_low button:nth-child(1):hover{
color: #fafafa;
background-color:#33b0ca;
}
.textareaa{
resize:none;
}
@media (max-width:768px){
.block-chain-text,
.feedback {
width:90%;
}
.modal-para {
font-size: 14px;
}
.popupclosebtn {
top: -40%;
width: 30px;
height: 30px;
right: 44%;
font-weight: 600;
}
.group-imgages img {
width: 55px;
}
.feedback-title {
font-size: 16px;
}
}
@media (max-width:475px){
.modal-para {
font-size: 12px;
}
.group-imgages img {
width: 39px;
}
.feedback {
padding: 2rem 1rem 1rem;
min-height: 359px;
}
.feedback-title {
font-size: 14px;
}
.feedback_con_card_low button:nth-child(1),
.feedback_con_card_low button:nth-child(2) {
font-size: 12px;
width: 69px;
}
</style>
</head>
<body>
<div class="feedback-chain-modal" id="feedback" >
<div class="feedback">
<p class="feedback-title">Feedback on Script Audit of {Project Name}</p>
<hr>
<div class="feedback-section">
<p class="feedMsg">overall Experience </p>
<span class="group-imgages">
<img data-toggle="tooltip" title="Disappointed"
onclick="rating('overall_EXP','overall_exp_vb','overall_EXPb','overall_EXPn','overall_EXPg','overall_EXPvg','overall_EXPex','overall_exp_b','overall_exp_n','overall_exp_g','overall_exp_vg','overall_exp_ex');overallrating('1')"
id="overall_EXP" src="{% static '/media/feedback_img1.png' %}" alt="Disappointed">
<img data-toggle="tooltip" title="Disappointed" id="overall_exp_vb"
src="{% static '/media/feedback_img_hgh1.png' %}" alt="Disappointed">
<img data-toggle="tooltip" title="Doubtful"
onclick="rating('overall_EXPb','overall_exp_b','overall_EXP','overall_EXPn','overall_EXPg','overall_EXPvg','overall_EXPex','overall_exp_vb','overall_exp_n','overall_exp_g','overall_exp_vg','overall_exp_ex');overallrating('2')"
id="overall_EXPb" src="{% static '/media/feedback_img2.png' %}" alt="Doubtful">
<img data-toggle="tooltip" title="Doubtful" id="overall_exp_b"
src="{% static '/media/feedback_img_hgh2.png' %}" alt="Doubtful">
<img data-toggle="tooltip" title="Interested"
onclick="rating('overall_EXPn','overall_exp_n','overall_EXP','overall_EXPb','overall_EXPg','overall_EXPvg','overall_EXPex','overall_exp_vb','overall_exp_b','overall_exp_g','overall_exp_vg','overall_exp_ex');overallrating('3')"
id="overall_EXPn" src="{% static '/media/feedback_img3.png' %}"alt="Interested">
<img data-toggle="tooltip" title="Interested" id="overall_exp_n"
src="{% static '/media/feedback_img_hgh3.png' %}" alt="Interested">
<img data-toggle="tooltip" title="Looking forward to"
onclick="rating('overall_EXPg','overall_exp_g','overall_EXP','overall_EXPb','overall_EXPn','overall_EXPvg','overall_EXPex','overall_exp_vb','overall_exp_b','overall_exp_n','overall_exp_vg','overall_exp_ex');overallrating('4')"
id="overall_EXPg" src="{% static '/media/feedback_img4.png' %}" alt="Looking forward to">
<img data-toggle="tooltip" title="Looking forward to" id="overall_exp_g"
src="{% static '/media/feedback_img_hgh4.png' %}" alt="Looking forward to">
<img data-toggle="tooltip" title="Astonished"
onclick="rating('overall_EXPvg','overall_exp_vg','overall_EXP','overall_EXPb','overall_EXPn','overall_EXPg','overall_EXPex','overall_exp_vb','overall_exp_b','overall_exp_n','overall_exp_g','overall_exp_ex');overallrating('5')"
id="overall_EXPvg" src="{% static '/media/feedback_img5.png' %}" alt="Astonished">
<img data-toggle="tooltip" title="Astonished" id="overall_exp_vg"
src="{% static '/media/feedback_img_hgh5.png' %}" alt="Astonished">
<img data-toggle="tooltip" title="Excited"
onclick="rating('overall_EXPex','overall_exp_ex','overall_EXP','overall_EXPb','overall_EXPn','overall_EXPg','overall_EXPvg','overall_exp_vb','overall_exp_b','overall_exp_n','overall_exp_g','overall_exp_vg');overallrating('6')"
id="overall_EXPex" src="{% static '/media/feedback_img6.png' %}"alt="Excited">
<img data-toggle="tooltip" title="Excited" id="overall_exp_ex"
src="{% static '/media/feedback_img_hgh6.png' %}" alt="Excited">
</span>
<p class="feedMsg">Accuracy of Translation </p>
<span class="group-imgages">
<img data-toggle="tooltip" title="Disappointed"
onclick="rating('accuracy_EXP','accuracy_exp_vb','accuracy_EXPb','accuracy_EXPn','accuracy_EXPg','accuracy_EXPvg','accuracy_EXPex','accuracy_exp_b','accuracy_exp_n','accuracy_exp_g','accuracy_exp_vg','accuracy_exp_ex');accuracyrating('1')"
id="accuracy_EXP" src="{% static '/media/feedback_img1.png' %}">
<img data-toggle="tooltip" title="Disappointed" id="accuracy_exp_vb"
src="{% static '/media/feedback_img_hgh1.png' %}" >
<img data-toggle="tooltip" title="Doubtful"
onclick="rating('accuracy_EXPb','accuracy_exp_b','accuracy_EXP','accuracy_EXPn','accuracy_EXPg','accuracy_EXPvg','accuracy_EXPex','accuracy_exp_vb','accuracy_exp_n','accuracy_exp_g','accuracy_exp_vg','accuracy_exp_ex');accuracyrating('2')"
id="accuracy_EXPb" src="{% static '/media/feedback_img2.png' %}">
<img data-toggle="tooltip" title="Doubtful" id="accuracy_exp_b"
src="{% static '/media/feedback_img_hgh2.png' %}" >
<img data-toggle="tooltip" title="Interested"
onclick="rating('accuracy_EXPn','accuracy_exp_n','accuracy_EXP','accuracy_EXPb','accuracy_EXPg','accuracy_EXPvg','accuracy_EXPex','accuracy_exp_vb','accuracy_exp_b','accuracy_exp_g','accuracy_exp_vg','accuracy_exp_ex');accuracyrating('3')"
id="accuracy_EXPn" src="{% static '/media/feedback_img3.png' %}">
<img data-toggle="tooltip" title="Interested" id="accuracy_exp_n"
src="{% static '/media/feedback_img_hgh3.png' %}" >
<img data-toggle="tooltip" title="Looking forward to"
onclick="rating('accuracy_EXPg','accuracy_exp_g','accuracy_EXP','accuracy_EXPb','accuracy_EXPn','accuracy_EXPvg','accuracy_EXPex','accuracy_exp_vb','accuracy_exp_b','accuracy_exp_n','accuracy_exp_vg','accuracy_exp_ex');accuracyrating('4')"
id="accuracy_EXPg" src="{% static '/media/feedback_img4.png' %}">
<img data-toggle="tooltip" title="Looking forward to" id="accuracy_exp_g"
src="{% static '/media/feedback_img_hgh4.png' %}" >
<img data-toggle="tooltip" title="Astonished"
onclick="rating('accuracy_EXPvg','accuracy_exp_vg','accuracy_EXP','accuracy_EXPb','accuracy_EXPn','accuracy_EXPg','accuracy_EXPex','accuracy_exp_vb','accuracy_exp_b','accuracy_exp_n','accuracy_exp_g','accuracy_exp_ex');accuracyrating('5')"
id="accuracy_EXPvg" src="{% static '/media/feedback_img5.png' %}">
<img data-toggle="tooltip" title="Astonished" id="accuracy_exp_vg"
src="{% static '/media/feedback_img_hgh5.png' %}" >
<img data-toggle="tooltip" title="Excited"
onclick="rating('accuracy_EXPex','accuracy_exp_ex','accuracy_EXP','accuracy_EXPb','accuracy_EXPn','accuracy_EXPg','accuracy_EXPvg','accuracy_exp_vb','accuracy_exp_b','accuracy_exp_n','accuracy_exp_g','accuracy_exp_vg');accuracyrating('6')"
id="accuracy_EXPex" src="{% static '/media/feedback_img6.png' %}">
<img data-toggle="tooltip" title="Excited" id="accuracy_exp_ex"
src="{% static '/media/feedback_img_hgh6.png' %}" >
</span>
<p class="feedMsg">Contextual Relevance </p>
<span class="group-imgages">
<img data-toggle="tooltip" title="Disappointed" data-toggle="tooltip" title="Disappointed"
onclick="rating('contextual_EXP','contextual_exp_vb','contextual_EXPb','contextual_EXPn','contextual_EXPg','contextual_EXPvg','contextual_EXPex','contextual_exp_b','contextual_exp_n','contextual_exp_g','contextual_exp_vg','contextual_exp_ex');contextualrating('1')"
id="contextual_EXP" src="{% static '/media/feedback_img1.png' %}">
<img data-toggle="tooltip" title="Disappointed" data-toggle="tooltip" title="Disappointed"
id="contextual_exp_vb" src="{% static '/media/feedback_img_hgh1.png' %}">
<img data-toggle="tooltip" title="Doubtful"
onclick="rating('contextual_EXPb','contextual_exp_b','contextual_EXP','contextual_EXPn','contextual_EXPg','contextual_EXPvg','contextual_EXPex','contextual_exp_vb','contextual_exp_n','contextual_exp_g','contextual_exp_vg','contextual_exp_ex');contextualrating('2')"
id="contextual_EXPb" src="{% static '/media/feedback_img2.png' %}">
<img data-toggle="tooltip" title="Doubtful" id="contextual_exp_b"
src="{% static '/media/feedback_img_hgh2.png' %}" >
<img data-toggle="tooltip" title="Interested"
onclick="rating('contextual_EXPn','contextual_exp_n','contextual_EXP','contextual_EXPb','contextual_EXPg','contextual_EXPvg','contextual_EXPex','contextual_exp_vb','contextual_exp_b','contextual_exp_g','contextual_exp_vg','contextual_exp_ex');contextualrating('3')"
id="contextual_EXPn" src="{% static '/media/feedback_img3.png' %}">
<img data-toggle="tooltip" title="Interested" id="contextual_exp_n"
src="{% static '/media/feedback_img_hgh3.png' %}" >
<img data-toggle="tooltip" title="Looking forward to"
onclick="rating('contextual_EXPg','contextual_exp_g','contextual_EXP','contextual_EXPb','contextual_EXPn','contextual_EXPvg','contextual_EXPex','contextual_exp_vb','contextual_exp_b','contextual_exp_n','contextual_exp_vg','contextual_exp_ex');contextualrating('4')"
id="contextual_EXPg" src="{% static '/media/feedback_img4.png' %}">
<img data-toggle="tooltip" title="Looking forward to" id="contextual_exp_g"
src="{% static '/media/feedback_img_hgh4.png' %}" >
<img data-toggle="tooltip" title="Astonished"
onclick="rating('contextual_EXPvg','contextual_exp_vg','contextual_EXP','contextual_EXPb','contextual_EXPn','contextual_EXPg','contextual_EXPex','contextual_exp_vb','contextual_exp_b','contextual_exp_n','contextual_exp_g','contextual_exp_ex');contextualrating('5')"
id="contextual_EXPvg" src="{% static '/media/feedback_img5.png' %}">
<img data-toggle="tooltip" title="Astonished" id="contextual_exp_vg"
src="{% static '/media/feedback_img_hgh5.png' %}" >
<img data-toggle="tooltip" title="Excited"
onclick="rating('contextual_EXPex','contextual_exp_ex','contextual_EXP','contextual_EXPb','contextual_EXPn','contextual_EXPg','contextual_EXPvg','contextual_exp_vb','contextual_exp_b','contextual_exp_n','contextual_exp_g','contextual_exp_vg');contextualrating('6')"
id="contextual_EXPex" src="{% static '/media/feedback_img6.png' %}">
<img data-toggle="tooltip" title="Excited" id="contextual_exp_ex"
src="{% static '/media/feedback_img_hgh6.png' %}" >
</span>
<div id="suggestions_msg">
<label class="form-label">Your Suggestions</label>
<textarea class="form-control textareaa" type="text" placeholder="Please write here"
row="2"></textarea>
</div>
<form action="" method="POST" enctype="multipart/form-data">
<input class="d-none" type="text" name="" value="" id="contextual_relevance">
<input class="d-none" type="text" name="" value="" id="accuracy_translation">
<input class="d-none" type="text" name="" value="" id="overall_Experience">
<div class="feedback_con_card_low" id="feedbackSkip">
<button type="button" class="btn primary-btn-color " id="view_skip"
onclick="feedback_message()">
Skip</button>
<button type="button" class="btn primary-btn-color button_download " id="download_output"
onclick="feedback_message()">Submit</button>
</div>
</form>
</div>
</div>
</div>
<div class="modal" tabindex="-1" id="delete" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog main-d-dialog m-dialog" id="d-delete">
<div class="modal-content">
<button type="button" class="red-btn-close" data-dismiss="modal" onclick="delete_script_btn()"
aria-hidden="true">X</button>
<div class="modal-body m-body">
<p class="deleteMsg">Are you Sure you want to Delete this Project?</p>
<p class="d-none" id="para_inner_test"></p>
<p class="" id="para_idd"></p>
<div class="d-flex justify-content-evenly script_con_card_low pt-5 ">
<button class="btn primary-btn-color view_text_button" onclick="delete_script_btn()" id="delete_btn_none">
No</button>
<button id="delete_auideted_script"
class="btn primary-btn-color button_download download_text_button view_text_button">Yes</button>
</div>
</div>
</div>
</div>
</div>
<div class="block-chain-modal" id="popupShow">
<div class="block-chain-text">
<span class="popupclosebtn" onclick="hidemodal()">X</span>
<div>
<p class="modal-para">You may access it by pasting your private key (Sent to you via email) in the box
below.</p>
<input type="text" name="" class="input-text" id="primary_key_value_get" placeholder="Enter Private key"
required>
<p class="warningMsg">MNF doesn't store your Blockchain private key</p>
<p class="d-none" id="Script_idd"></p>
<p class="d-none" id="transaction_iddetails"></p>
<p class="d-none" id="confirmkey_details"></p>
<div class="d-flex justify-content-between script_con_card_low pt-5 ">
<button class="btn primary-btn-color view_transaction_button" id="view_transaction" onclick="openURL()">View
transaction</button>
<button onclick="auditapi_dowload()"
class="btn primary-btn-color button_download download_text_button">Download</button>
</div>
</div>
</div>
</div>
</div>
<div class="container mt">
{% if user.is_authenticated %}
{% if i %}
<div class="row">
<!-- <h2 class="text-center">My Script Conversions</h2> -->
<div class="col-sm-1">
<img class="d-image" src="/static/media/Audit_img.png" alt="conversion doodle">
</div>
<div class="col-sm-10">
<div class="mobile-view">
<img src="/static/media/Audit_img.png" class="m-none" alt="conversion doodle">
<h2 class="text-center">My Audited Scripts</h2>
</div>
<p class="text-center blockchain-text"> <img src="/static/media/blockchain_img.png" alt="conversion video"
class="block-chain-img">
<span>Your Assets are
Secured by blockchain.
<span class="c-green-text">MNF</span> has no access to Them.
</span>
</p>
</div>
<div class="row gy-3 my-3 m-auto mobile-m">
{% for k in i %}
<div class="col col-sm-6 col-lg-4 col-xl-3">
<div class="card-item card-items">
<div class=" card" id="{{k.scriptName}}">
<div class="card-body">
<div class="d-flex justify-content-between">
<h5 class="card-title">{{k.scriptName|slice:":12"}}</h5>
<div data-scriptid="{{k.scriptName}}" data-url="{{url}}/audit/delete_scripts/{{k.scriptName}}"
data-bs-toggle="modal" data-bs-target="#delete" data-toggle="dropdown" aria-haspopup="true"
class="cpointer" onclick="delete_script_card('{{k.scriptName}}')" aria-expanded="false">
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<circle cx="12.8467" cy="12.2241" r="11.5" fill="#FAFAFA" stroke="#33B0CA" />
<mask id="mask0_342_430" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="4" y="4" width="17"
height="17">
<rect x="4.84668" y="4.22412" width="16" height="16" fill="url(#pattern0)" />
</mask>
<g mask="url(#mask0_342_430)">
<rect x="4.84668" y="4.22412" width="18.9091" height="18.9091" fill="#33B0CA" />
</g>
<defs>
<pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1">
<use xlink:href="#image0_342_430" transform="scale(0.00195312)" />
</pattern>
<image id="image0_342_430" width="512" height="512"
xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAgAElEQVR4Ae2dC7D1VXneH65eEgW8cBNNnDbViqbTcWwnmRijmETjWG0biwXUpmMV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AAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgAAEIQAACEIAABCAAAQhAAAIQgAAEIAABCEAAAhCAAAQgsFcC/x/aJxdedh2mNgAAAABJRU5ErkJggg==" />
</defs>
</svg>
</div>
</div>
<h6 class="card-subtitle mb-2 text-muted u_name">{{k.author }}</h6>
{% if k.iscomplete == "S" %}
<div class="my-3">
<p class="card-text">Uploaded On : {{ k.created_on }}</p>
<p class="card-text">Screenplay in {% trans k.screenplay_language %}</p>
<p class="card-text">Dialogues in {% trans k.dialogue_language|slice:":20" %}</p>
<p class="card-text">Pages {% trans k.page_number %}</p>
</div>
{% endif %}
{% if k.iscomplete == "F" %}
<div class="my-3">
<p class="card-text">Uploaded On : {{ k.created_on }}</p>
<p class="card-text">Screenplay in {Language/Script}</p>
<p class="card-text">Dialogues in {Language/Script}</p>
<p class="card-text">Pages {110}</p>
</div>
{% endif %}
{% if k.iscomplete == "R" %}
<div class="my-3">
<p class="card-text">Uploaded On : {{ k.created_on }}</p>
<p class="card-text">Screenplay in {Language/Script}</p>
<p class="card-text">Dialogues in {Language/Script}</p>
<p class="card-text">Pages {110}</p>
</div>
{% endif %}
<div class="d-flex justify-content-between script_con_card_low">
{% if k.iscomplete == "S" %}
<Button class="card-link edit-btnn cpointerrr" onclick=redirectToScriptPad('{{k.scriptid}}')>
<img src="{%static '/media/pencil.png'%}" class="pencil_image" width="19">
{% trans "Edit" %}
</Button>
<Button class="card-link cpointerrr" type="button" data-bs-toggle="dropdown"
aria-expanded="false">Download</Button>
<ul class="dropdown-menu ul_list">
<li>
<!-- <a class="dropdown-item" id="scipt_original_download" href="#" data-bs-toggle="modal"
data-bs-target="#downloadpopclose" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false" onclick="original_script({{k}},'script-original','{{k.confirmkey}}')"><img
src="{%static '/media/download-icon-img.png'%}">
Original Script</a> -->
<!-- onclick="original_script({{k}},'script-original','{{k.confirmkey}}')" -->
<a class="dropdown-item" id="scipt_original_download" href="#" data-bs-toggle="modal"
data-bs-target="#downloadpopclose" data-toggle="dropdown" aria-haspopup="true"
aria-expanded="false" onclick="showfeebbkmodal('{{k.scriptid}}','script-original')"><img
src="{%static '/media/download-icon-img.png'%}">
Original Script</a>
</li>
<!-- onclick="original_script({{k}},'script-docx','{{k.confirmkey}}')" -->
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="showfeebbkmodal('{{k.scriptid}}','script-docx')" target="_blank" class="navi-link_new"
style="color: #000000;"><img src="{%static '/media/download-icon-img.png'%}">
Audited
Script (DOCX) </a>
</li>
<!-- onclick="original_script({{k}},'script-pdf','{{k.confirmkey}}')"onclick="showmodal('{{k.scriptid}}','script-pdf')" -->
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="showfeebbkmodal('{{k.scriptid}}','script-pdf')" target="_blank" class="navi-link_new"
style="color: #000000;"><img src="{%static '/media/download-icon-img.png'%}">
Audited
Script (PDF) </a>
</li>
<!-- onclick="original_script({{k}},'audit-report',)" -->
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
onclick="showfeebbkmodal('{{k.scriptid}}','audit-report')"
target="_blank" class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Report
</a>
</li>
</ul>
{% elif k.iscomplete == "R" %}
<Button class="card-link edit-btnn cpointerrr" onclick=redirectToScriptPad('{{k.scriptid}}')>
<img src="{%static '/media/pencil.png'%}" class="pencil_image" width="19">
{% trans "Edit" %}
</Button>
<Button class="card-link cpointerrr" type="button" data-bs-toggle="dropdown"
aria-expanded="false">Download</Button>
<ul class="dropdown-menu ul_list">
<li>
<a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-original','{{k.confirmkey}}')"><img
src="{%static '/media/download-icon-img.png'%}">
original script Pending</a>
</li>
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-docx','{{k.confirmkey}}')" target="_blank"
class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Script (DOCX) </a>
</li>
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-pdf','{{k.confirmkey}}')" target="_blank"
class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Script (PDF) </a>
</li>
<li><a class="dropdown-item" href="#" onclick="original_script({{k}},'audit-report',)"
target="_blank" class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Report
</a>
</li>
</ul>
{% elif k.iscomplete == "F" %}
<Button class="card-link edit-btnn cpointerrr" onclick=redirectToScriptPad('{{k.scriptid}}')>
<img src="{%static '/media/pencil.png'%}" class="pencil_image" width="19">
{% trans "Edit" %}
</Button>
<Button class="card-link cpointerrr" type="button" data-bs-toggle="dropdown"
aria-expanded="false">Download</Button>
<ul class="dropdown-menu ul_list">
<li>
<a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-original','{{k.confirmkey}}')"><img
src="{%static '/media/download-icon-img.png'%}">
2</a>
</li>
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-docx','{{k.confirmkey}}')" target="_blank"
class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Script (DOCX) </a>
</li>
<li><a class="dropdown-item" href="#" data-bs-toggle="modal" data-bs-target="#downloadpopclose"
data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"
onclick="original_script({{k}},'script-pdf','{{k.confirmkey}}')" target="_blank"
class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Script (PDF) </a>
</li>
<li><a class="dropdown-item" href="#"
onclick="original_script({{k}},'audit-report',)" target="_blank"
class="navi-link_new" style="color: #000000;"><img
src="{%static '/media/download-icon-img.png'%}">
Audited
Report
</a>
</li>
</ul>
{% endif%}
</div>
</div>
{% if k.iscomplete == "R" %}
<div id="script_con_card_expected" class="script_con_card_expected active">
<div>
<p>Your script is in progress.</p>
<p>Please wait.We will notify you when it's complete.</p>
</div>
</div>
{% endif %}
{% if k.iscomplete == "F" %}
<div id="script_con_card_expected" class="script_con_card_expected active">
<div>
<p>For some reason the Screenplay could not be completed</p>
<p>We will investigate it and revert to you.</p>
</div>
</div>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
{% else %}
<div class="text-center my-3">
<h2 style=" font-size: 24px; font-weight: 700;">My Audited Scripts</h2>
</div>
<div class="row align-items-center justify-content-center my-5">
<div class="col-md-8">
<div class="card text-center">
<div class="card-body bgcolor">
<h5 class="card-title">Oops! You are yet to Audit your first script!!</h5>
<div class="card-btn">
<!-- {% comment %} <a href="#" onclick="window.location.replace('/audit/home')" class="btn btn-primary sample-btn">Audit a
Sample
Script</a> {% endcomment %} -->
<a href="#" onclick="window.location.replace('/audit/home')" class="btn btn-primary btnn">Audit your
script
Now</a>
</div>
<p class="card-texts">P.S. - if you uploaded your script for Audit and are not yet seeing the Audited
script
OR<br>
had some difficulty in uploading your script, please" <a href="/contact" class="link-ds">
contact us</a>.
</p>
</div>
</div>
</div>
</div>
{% endif %}
{% endif %}
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
// Select all elements with class .formattedDate
var formattedDateElements = document.querySelectorAll('.formattedDate');
// Loop through each element and format the date
formattedDateElements.forEach(function (element) {
// Get the original date string from the element's content
var dateString = element.textContent.trim();
// Parse the date string
var originalDate = new Date(dateString);
// Format the date
var formattedDate = new Intl.DateTimeFormat('en-US', {
year: 'numeric',
month: 'short',
day: 'numeric',
hour: 'numeric',
minute: 'numeric',
hour12: true
}).format(originalDate);
// Update the element with the formatted date
element.textContent = formattedDate;
});
});
</script>
<script>
function deleteFile(filename) {
var xhr = new XMLHttpRequest();
var url = 'data-url';
var params = 'filename=' + encodeURIComponent(filename);
xhr.open('DELETE', url, true);
xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded');
xhr.onreadystatechange = function () {
if (xhr.readyState === XMLHttpRequest.DONE) {
if (xhr.status === 200) {
console.log('File deleted:', filename);
} else {
console.error('Error deleting file:', filename);
}
}
};
xhr.send(params);
}
function deletescript() {
var fileNameToDelete = 'example-file.txt';
deleteFile(fileNameToDelete);
}
</script>
<script>
// Handling Footer as per scrollbar - Aris
// Check if the browser has a scrollbar
function hasVerticalScrollbar() {
const page = document.querySelector(".split-pane-component");
return page.scrollHeight > window.innerHeight;
}
// Function to toggle the footer's position
// Call the function when the page loads and when it resizes
</script>
<script>
function redirectToScriptPad(id) {
window.location.href = window.location.origin + "/scriptpad#/" + id;
}
function openURL() {
let idd = document.getElementById('transaction_iddetails').innerText
var url = "https://mumbai.polygonscan.com/tx/" + idd;
window.open(url, "_blank");
}
function original_script(key_value, script_format, confirmkey) {
let scriptid = `${key_value.scriptid}`;
var accessToken = localStorage.getItem("accessToken");
// var apiEndpoint = window.location.origin + '/audit/download?' + 'script_id=' + scriptid + '&type='
// + script_format;
location.href = apiEndpoint;
}
let script_completed_val = '';
function delete_script_card(vall) {
script_completed_val = vall;
document.getElementById('d-delete').style.display = 'block';
var elements = document.getElementsByClassName("shadowpop");
elements[0].classList.add("show");
elements[0].classList.add("modal-backdrop");
document.getElementById('delete').style.display = 'block';
var elements = document.getElementsByClassName('card-height');
}
//function delete_script_confirm() {
const deleteBtn = document.getElementById("delete_auideted_script");
deleteBtn.addEventListener("click", async () => {
const csrftoken = '{{csrf_token}}';
// This line seems to be a template placeholder, replace it with the actual value of the CSRF token
const accessToken = localStorage.getItem("accessToken");
try {
const response = await fetch(`/audit/delete_scripts/${script_completed_val}`, {
method: "DELETE",
headers: {
'X-CSRFToken': csrftoken,
'Authorization': `Bearer ${accessToken}`
},
body: JSON.stringify({ id: script_completed_val })
});
console.log(response);
if (response.ok) {
console.log("Deleted successfully");
window.location.reload();
} else {
console.error("Error in deletion process:", response.statusText);
}
} catch (error) {
console.error("An error occurred during deletion:", error);
}
});
function delete_script_btn() {
document.getElementById("delete").style.display = "none";
document.getElementById("delete").removeAttribute("role");
document.getElementsByClassName("modal")[0].classList.remove("show");
document.getElementsByClassName("modal")[0].removeAttribute("aria-modal");
document.getElementsByClassName("modal")[0].setAttribute("aria-hidden", "true");
document.getElementsByClassName("cpointer")[0].click();
var elements = document.getElementsByClassName("modal-backdrop");
elements[0].classList.remove("show");
var elements = document.getElementsByClassName("modal-backdrop");
elements[0].classList.add("shadowpop");
var fade_elements = document.getElementsByClassName("modal-backdrop");
fade_elements[0].classList.remove("modal-backdrop");
}
function downloadpopupClose() {
let myModal = new bootstrap.Modal(document.getElementById('downloadpopclose'));
myModal.hide();
}
function latest_auditapi_dowload() {
let scriptid = document.getElementById('scriptid').innerText;
alert("1");
let script_format = document.getElementById('script_format').innerText;
alert("2");
var accessToken = localStorage.getItem("accessToken");
alert("3");
var apiEndpoint = window.location.origin + '/audit/download?' + 'script_id=' + scriptid + '&type='
+ script_format
location.href = apiEndpoint;
alert("4");
}
async function auditapi_dowload() {
let scriptid = document.getElementById('Script_idd').innerText;
let primary_key_value = document.getElementById('primary_key_value_get').value;
let script_format = document.getElementById('confirmkey_details').innerText;
primary_key_value = primary_key_value.trim();
if (primary_key_value != '') {
//let script_format = document.getElementById('script_format').innerText;
var accessToken = localStorage.getItem("accessToken");
var apiEndpoint = window.location.origin + '/audit/downloadScriptFromBlockchain?type='
+ script_format + '&script_id=' + scriptid + '&privatekey=' + primary_key_value;
fetch(apiEndpoint)
.then((response) => {
console.log(response)
return response.json(); // Parse JSON data
})
.then((data) => {
console.log(data.download_link);
// Access the parsed data
location.href = `${data.download_link}?filename=${data.file_name}`;
})
.catch((error) => {
console.error('Error:', error);
alert("Somthing Went Worng")
});
} else {
alert("Please enter a valid primary key ");
}
}
</script>
<script>
{% comment %} function showmodal(script_idd, format, tx_hash) {
document.getElementById('popupShow').style.display = "block";
document.getElementById('Script_idd').innerHTML = script_idd;
document.getElementById('transaction_iddetails').innerHTML = tx_hash;
document.getElementById('confirmkey_details').innerHTML = format;
document.body.style.overflow = "hidden";
} {% endcomment %}
function hidemodal() {
document.getElementById('popupShow').style.display = "none";
document.body.style.overflow = "scroll";
document.getElementById("primary_key_value_get").blur();
}
</script>
{% comment %} feedback {% endcomment %}
<script>
function showfeebbkmodal(script_idd, format, tx_hash) {
document.getElementById('feedback').style.display = "block";
window.scrollTo(0, 0);
document.body.style.overflow = "hidden";
document.getElementById("primary_key_value_get").focus();
document.getElementById('Script_idd').innerHTML = script_idd;
document.getElementById('transaction_iddetails').innerHTML = tx_hash;
document.getElementById('confirmkey_details').innerHTML = format;
}
let overall_ = document.getElementById('overall_Experience');
let accuracy_ = document.getElementById('accuracy_translation');
let contextual_ = document.getElementById('contextual_relevance');
let download_btn = document.getElementById('download_output');
download_btn.disabled = true;
function overallrating(vall) {
overall_.value = vall;
if (overall_.value != '' && overall_.value != '' && contextual_.value != '') {
document.getElementById('suggestions_msg').style.display = "block";
document.getElementById('view_skip').style.display = "none";
}
}
function accuracyrating(vall) {
accuracy_.value = vall;
if (overall_.value != '' && overall_.value != '' && contextual_.value != '') {
document.getElementById('suggestions_msg').style.display = "block";
document.getElementById('view_skip').style.display = "none";
}
}
function contextualrating(vall) {
contextual_.value = vall;
if (overall_.value != '' && overall_.value != '' && contextual_.value != '') {
document.getElementById('suggestions_msg').style.display = "block";
document.getElementById('view_skip').style.display = "none";
}
}
function rating(idd, iddd, sh1, sh2, sh3, sh4, sh5, hd1, hd2, hd3, hd4, hd5) {
document.getElementById('download_output').removeAttribute("disabled");
let arr = [iddd, sh1, sh2, sh3, sh4, sh5];
arr.forEach(element => {
document.getElementById(element).style.display = "inherit";
});
let arrhd = [idd, hd1, hd2, hd3, hd4, hd5];
arrhd.forEach(element => {
document.getElementById(element).style.display = "none";
});
}
function feedback_message() {
document.getElementById('popupShow').style.display = "block";
document.getElementById('download_output').disabled = true;
document.getElementById('view_skip').style.display = "inline";
let arr = ['overall_EXP', 'overall_EXPb', 'overall_EXPn', 'overall_EXPg', 'overall_EXPvg', 'overall_EXPex', 'accuracy_EXP', 'accuracy_EXPb', 'accuracy_EXPn', 'accuracy_EXPg', 'accuracy_EXPvg', 'accuracy_EXPex', 'contextual_EXP', 'contextual_EXPb', 'contextual_EXPn', 'contextual_EXPg', 'contextual_EXPvg', 'contextual_EXPex']
let arr2 = ['suggestions_msg','feedback', 'overall_exp_vb', 'overall_exp_b', 'overall_exp_n', 'overall_exp_g', 'overall_exp_vg', 'overall_exp_ex', 'accuracy_exp_vb', 'accuracy_exp_b', 'accuracy_exp_n', 'accuracy_exp_g', 'accuracy_exp_vg', 'accuracy_exp_ex', 'contextual_exp_vb', 'contextual_exp_b', 'contextual_exp_n', 'contextual_exp_g', 'contextual_exp_vg', 'contextual_exp_ex']
arr.forEach(element => {
document.getElementById(element).style.display = "inherit";
})
arr2.forEach(element => {
document.getElementById(element).style.display = "none";
})
var value_reset_arr = ['overall_Experience', 'accuracy_translation', 'contextual_relevance'];
value_reset_arr.forEach(elements => {
document.getElementById(elements).value = "";
})
}
</script>
</body>
</html>
{% endblock content %}