mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Report Changes
This commit is contained in:
parent
c03ed25162
commit
96c370dd34
@ -48,6 +48,7 @@ $(document).ready( function () {
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
columns: [
|
||||
{ data: 'id', orderable: false },
|
||||
{
|
||||
data: 'name',
|
||||
render: function ( data, type, row, meta ) {
|
||||
|
||||
@ -395,4 +395,5 @@ return [
|
||||
'pages_without_meta_information_report' => 'Pages Without Meta Information Report',
|
||||
'page' => 'Page',
|
||||
'undefined_page' => 'Undefined Page',
|
||||
'id' => 'ID',
|
||||
];
|
||||
|
||||
@ -1,66 +1,65 @@
|
||||
<div class="row">
|
||||
{% set reports = [
|
||||
{
|
||||
'title': trans('visiosoft.module.advs::field.product_stock_report'),
|
||||
'id': 'stockReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.advs::field.product'),
|
||||
trans('visiosoft.module.advs::field.stock.name'),
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': trans('visiosoft.module.advs::field.active_passive_products_report'),
|
||||
'id': 'activePassiveReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.advs::field.status.name'),
|
||||
trans('visiosoft.module.advs::field.count'),
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': trans('visiosoft.module.advs::field.unexplained_products_report'),
|
||||
'id': 'unexplainedReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.advs::field.product'),
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': trans('visiosoft.module.advs::field.non_image_products_report'),
|
||||
'id': 'noImageReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.advs::field.product'),
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': trans('visiosoft.module.advs::field.pages_without_meta_information_report'),
|
||||
'id': 'metaPageReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.advs::field.page'),
|
||||
],
|
||||
},
|
||||
] %}
|
||||
{% set reports = [
|
||||
{
|
||||
'title': trans('visiosoft.module.advs::field.product_stock_report'),
|
||||
'id': 'stockReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.advs::field.product'),
|
||||
trans('visiosoft.module.advs::field.stock.name'),
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': trans('visiosoft.module.advs::field.active_passive_products_report'),
|
||||
'id': 'activePassiveReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.advs::field.status.name'),
|
||||
trans('visiosoft.module.advs::field.count'),
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': trans('visiosoft.module.advs::field.unexplained_products_report'),
|
||||
'id': 'unexplainedReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.advs::field.id'),
|
||||
trans('visiosoft.module.advs::field.product'),
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': trans('visiosoft.module.advs::field.non_image_products_report'),
|
||||
'id': 'noImageReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.advs::field.product'),
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': trans('visiosoft.module.advs::field.pages_without_meta_information_report'),
|
||||
'id': 'metaPageReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.advs::field.page'),
|
||||
],
|
||||
},
|
||||
] %}
|
||||
|
||||
{% for report in reports %}
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
<div class="card-header bg-primary">
|
||||
<h5 class="card-title text-white">{{ report.title }}</h5>
|
||||
</div>
|
||||
{% for report in reports %}
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
<div class="card-header bg-primary">
|
||||
<h5 class="card-title text-white">{{ report.title }}</h5>
|
||||
</div>
|
||||
|
||||
<div class="card-block">
|
||||
<table id="{{ report.id }}" class="display">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for column in report.columns %}
|
||||
<th>{{ column }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
<div class="card-block">
|
||||
<table id="{{ report.id }}" class="display">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for column in report.columns %}
|
||||
<th>{{ column }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<script>
|
||||
const productsReportTrans = {
|
||||
|
||||
@ -12,6 +12,7 @@ $(document).ready( function () {
|
||||
processing: true,
|
||||
serverSide: true,
|
||||
columns: [
|
||||
{ data: 'id', orderable: false },
|
||||
{
|
||||
data: 'name',
|
||||
render: function ( data, type, row, meta ) {
|
||||
|
||||
@ -43,4 +43,5 @@ return [
|
||||
'undefined_category' => 'Undefined Category',
|
||||
'categories_with_no_meta_report' => 'Categories with No Meta Report',
|
||||
'category' => 'Category',
|
||||
'id' => 'ID',
|
||||
];
|
||||
|
||||
@ -1,36 +1,35 @@
|
||||
<div class="row">
|
||||
{% set reports = [
|
||||
{
|
||||
'title': trans('visiosoft.module.cats::field.categories_with_no_meta_report'),
|
||||
'id': 'metaCategoryReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.cats::field.category'),
|
||||
],
|
||||
},
|
||||
] %}
|
||||
{% set reports = [
|
||||
{
|
||||
'title': trans('visiosoft.module.cats::field.categories_with_no_meta_report'),
|
||||
'id': 'metaCategoryReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.cats::field.category'),
|
||||
trans('visiosoft.module.cats::field.id'),
|
||||
],
|
||||
},
|
||||
] %}
|
||||
|
||||
{% for report in reports %}
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
<div class="card-header bg-danger">
|
||||
<h5 class="card-title text-white">{{ report.title }}</h5>
|
||||
</div>
|
||||
{% for report in reports %}
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
<div class="card-header bg-danger">
|
||||
<h5 class="card-title text-white">{{ report.title }}</h5>
|
||||
</div>
|
||||
|
||||
<div class="card-block">
|
||||
<table id="{{ report.id }}" class="display">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for column in report.columns %}
|
||||
<th>{{ column }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
<div class="card-block">
|
||||
<table id="{{ report.id }}" class="display">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for column in report.columns %}
|
||||
<th>{{ column }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<script>
|
||||
const categoryReportTrans = {
|
||||
|
||||
@ -1,45 +1,43 @@
|
||||
<div class="row">
|
||||
{% set reports = [
|
||||
{
|
||||
'title': trans('visiosoft.module.profile::field.new_membership_report'),
|
||||
'id': 'newMemberReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.profile::field.member'),
|
||||
trans('visiosoft.module.profile::field.registered_at'),
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': trans('visiosoft.module.profile::field.member_login_reports'),
|
||||
'id': 'loginMemberReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.profile::field.member'),
|
||||
trans('visiosoft.module.profile::field.login_at'),
|
||||
],
|
||||
},
|
||||
] %}
|
||||
{% set reports = [
|
||||
{
|
||||
'title': trans('visiosoft.module.profile::field.new_membership_report'),
|
||||
'id': 'newMemberReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.profile::field.member'),
|
||||
trans('visiosoft.module.profile::field.registered_at'),
|
||||
],
|
||||
},
|
||||
{
|
||||
'title': trans('visiosoft.module.profile::field.member_login_reports'),
|
||||
'id': 'loginMemberReport',
|
||||
'columns': [
|
||||
trans('visiosoft.module.profile::field.member'),
|
||||
trans('visiosoft.module.profile::field.login_at'),
|
||||
],
|
||||
},
|
||||
] %}
|
||||
|
||||
{% for report in reports %}
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
<div class="card-header bg-warning">
|
||||
<h5 class="card-title text-white">{{ report.title }}</h5>
|
||||
</div>
|
||||
{% for report in reports %}
|
||||
<div class="col-md-12">
|
||||
<div class="card">
|
||||
<div class="card-header bg-warning">
|
||||
<h5 class="card-title text-white">{{ report.title }}</h5>
|
||||
</div>
|
||||
|
||||
<div class="card-block">
|
||||
<table id="{{ report.id }}" class="display">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for column in report.columns %}
|
||||
<th>{{ column }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
<div class="card-block">
|
||||
<table id="{{ report.id }}" class="display">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for column in report.columns %}
|
||||
<th>{{ column }}</th>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
<script>
|
||||
const usersReportTrans = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user