Joywork/templates/files_list.php
2026-05-22 21:21:54 +03:00

51 lines
2.8 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div id="files_list" class="hidden">
<div class="full_modal-bg" style="z-index: 99999;" v-show="isShow">
<span class="pseudo-link closer"><i class="ti-close" @click="closes()"></i></span>
<div class="full_modal edit-modal new-client__modal" style="max-width: 650px">
<div class="form-validate">
<div class="modal-inner">
<div v-if="errorMes" class="error_msg" v-html="errorText"></div>
<h2>Все документы</h2>
<div class="jv-tabs">
<div>
<template v-if="isPreloader == 1">
<div style="text-align:center; margin-top: 25px; position: revert;">
<img src="../images/rocket-spinner.svg" width="96px">
</div>
</template>
<template v-else v-for="(arhive, ind) in list">
<div style="margin-bottom: 20px;" class="form-block">
<div class="label" style="width: 80%; color: rgb(0, 0, 0); font-size:18px;" v-html="names[ind].name"></div>
<a :href="'/download_file.php?arhive='+names[ind].id+'&selector='+names[ind].type+'&id_type='+names[ind].from_id+'&type='+names[ind].from" _target="blank" style="font-size: 25px; color: #e2574c; padding-top: 7px; float:right; border-bottom: none;" class="inputs" title="Скачать архивом"><i class="fa fa-file-archive"></i></a>
<div v-for="(file, index) in arhive" style="margin-bottom: 5px;" class="form-block">
<div class="label" style="width: 80%; color:#424242;">
{{ file.name }}
<br><span style="font-size: 12px; color:#757575">Добавлено {{ file.date }}</span>
</div>
<a :href="file.href" style="font-size: 20px; color: rgb(76, 175, 80); padding-top: 7px; float:right; border-bottom: none;" class="inputs" title="Скачать"><i class="fa fa-download"></i></a>
</div>
</div>
</template>
<div class="clear"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="/js/locale/translations/ru.js"></script>
<script type="text/javascript" src="/js/vue_scripts/filelist_vue.js?<?=filemtime($_SERVER['DOCUMENT_ROOT'].'/js/vue_scripts/filelist_vue.js')?>"></script>