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