One Hat Cyber Team
Your IP :
216.73.216.115
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
ojs-nosc
/
templates
/
stats
/
View File Name :
issues.tpl
{** * templates/stats/issues.tpl * * Copyright (c) 2022 Simon Fraser University * Copyright (c) 2022 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * The issues statistics page. * *} {extends file="layouts/backend.tpl"} {block name="page"} <div class="pkpStats"> <pkp-header> <h1>{translate key="issue.issues"}</h1> <spinner v-if="isLoadingTimeline"></spinner> <template #actions> <date-range unique-id="issue-stats-date-range" :date-start="dateStart" :date-start-min="dateStartMin" :date-end="dateEnd" :date-end-max="dateEndMax" :options="dateRangeOptions" date-range-label="{translate key="stats.dateRange"}" date-format-instructions-label="{translate key="stats.dateRange.instructions"}" change-date-range-label="{translate key="stats.dateRange.change"}" since-date-label="{translate key="stats.dateRange.sinceDate"}" until-date-label="{translate key="stats.dateRange.untilDate"}" all-dates-label="{translate key="stats.dateRange.allDates"}" custom-range-label="{translate key="stats.dateRange.customRange"}" from-date-label="{translate key="stats.dateRange.from"}" to-date-label="{translate key="stats.dateRange.to"}" apply-label="{translate key="stats.dateRange.apply"}" invalid-date-label="{translate key="stats.dateRange.invalidDate"}" date-does-not-exist-label="{translate key="stats.dateRange.dateDoesNotExist"}" invalid-date-range-label="{translate key="stats.dateRange.invalidDateRange"}" invalid-end-date-max-label="{translate key="stats.dateRange.invalidEndDateMax"}" invalid-start-date-min-label="{translate key="stats.dateRange.invalidStartDateMin"}" @set-range="setDateRange" ></date-range> </template> </pkp-header> <div class="pkpStats__container -pkpClearfix"> <div class="pkpStats__content"> <div v-if="chartData" class="pkpStats__graph"> <div class="pkpStats__graphHeader"> <h2 class="pkpStats__graphTitle -screenReader" id="issue-stats-graph-title"> {translate key="stats.views"} </h2> <div class="pkpStats__graphSelectors"> <div class="pkpStats__graphSelector pkpStats__graphSelector--timelineType"> <pkp-button :aria-pressed="timelineType === 'toc'" aria-describedby="issue-stats-graph-title" @click="setTimelineType('toc')" > {translate key="stats.views"} </pkp-button> <pkp-button :aria-pressed="timelineType === 'files'" aria-describedby="issue-stats-graph-title" @click="setTimelineType('files')" > {translate key="stats.downloads"} </pkp-button> </div> <div class="pkpStats__graphSelector pkpStats__graphSelector--timelineInterval"> <pkp-button :aria-pressed="timelineInterval === 'day'" aria-describedby="issue-stats-graph-title" :disabled="!isDailyIntervalEnabled" @click="setTimelineInterval('day')" > {translate key="stats.daily"} </pkp-button> <pkp-button :aria-pressed="timelineInterval === 'month'" aria-describedby="issue-stats-graph-title" :disabled="!isMonthlyIntervalEnabled" @click="setTimelineInterval('month')" > {translate key="stats.monthly"} </pkp-button> </div> </div> </div> <div class="sr-only"> <table class="-screenReader" role="region" aria-live="polite"> <caption v-if="timelineType === 'files'">{translate key="stats.downloads.timelineInterval"}</caption> <caption v-else>{translate key="stats.views.timelineInterval"}</caption> <thead> <tr> <th scope="col">{translate key="common.date"}</th> <th v-if="timelineType === 'files'" scope="col">{translate key="stats.downloads"}</th> <th v-else scope="col">{translate key="stats.views"}</th> </tr> </thead> <tbody> <tr v-for="segment in timeline" :key="segment.date"> <th scope="row">{{ segment.label }}</th> <td>{{ segment.value }}</td> </tr> </tbody> </table> </div> <line-chart :chart-data="chartData" aria-hidden="true"></line-chart> <span v-if="isLoadingTimeline" class="pkpStats__loadingCover"> <spinner></spinner> </span> </div> <div class="pkpStats__panel" role="region" aria-live="polite"> <pkp-header> <h2 id="issueDetailTableLabel"> {translate key="stats.issues.details"} <tooltip tooltip="{translate key="stats.issues.tooltip.text"}" label="{translate key="stats.issues.tooltip.label"}" ></tooltip> <spinner v-if="isLoadingItems"></spinner> </h2> <template #actions> <div class="pkpStats__itemsOfTotal"> {{ replaceLocaleParams(itemsOfTotalLabel, { count: items.length, total: itemsMax }) }} <a v-if="items.length < itemsMax" href="#issueDetailTablePagination" class="-screenReader" > {translate key="common.pagination.label"} </a> </div> <pkp-button @click="openDownloadReportModal" > {translate key="common.downloadReport"} </pkp-button> </template> </pkp-header> <pkp-table labelled-by="issueDetailTableLabel" @sort="setOrderBy" > <table-header> <table-column v-for="column in tableColumns" :key="column.name" :id="column.name" :allows-sorting="column.name === 'total'" > <template v-if="column.name === 'title'"> {{ column.label }} <search class="pkpStats__titleSearch" :search-phrase="searchPhrase" search-label="{translate key="stats.issues.searchIssueDescription"}" @search-phrase-changed="setSearchPhrase" ></search> </template> <template v-else> {{ column.label }} </template> </table-column> </table-header> <table-body> <table-row v-for="(row) in items" :key="row.key"> <table-cell> <a :href="row.issue.publishedUrl" class="pkpStats__itemLink" target="_blank" > <span class="pkpStats__itemTitle">{{ row.issue.identification }}</span> </a> </table-cell> <table-cell>{{ row.tocViews }}</table-cell> <table-cell>{{ row.issueGalleyViews }}</table-cell> <table-cell>{{ row.totalViews }}</table-cell> </table-row> <template #no-content v-if="!items.length"> <template v-if="isLoadingItems"> {translate key="common.loading"} </template> <template v-else> {translate key="stats.issues.none"} </template> </template> </table-body> </pkp-table> <pagination v-if="lastPage > 1" id="issueDetailTablePagination" :current-page="currentPage" :is-loading="isLoadingItems" :last-page="lastPage" @set-page="setPage" ></pagination> </div> </div> </div> </div> {/block}