mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-07-12 16:07:26 -04:00
Added partial/header_debug, upgraded grunt script, regen dist with updated js plugins
This commit is contained in:
13
Gruntfile.js
13
Gruntfile.js
@@ -5,13 +5,7 @@ module.exports = function(grunt) {
|
||||
wiredep: {
|
||||
task: {
|
||||
ignorePath: '../../../',
|
||||
src: ['application/views/partial/header.php']
|
||||
}
|
||||
},
|
||||
wiredep_templates: {
|
||||
task: {
|
||||
ignorePath: '../../../../',
|
||||
src: ['templates/*/views/partial/header.php']
|
||||
src: ['application/views/partial/header_debug.php']
|
||||
}
|
||||
},
|
||||
bower_concat: {
|
||||
@@ -106,8 +100,7 @@ module.exports = function(grunt) {
|
||||
absolutePath: true
|
||||
},
|
||||
src: ['css/*.css', '!css/login.css', '!css/invoice_email.css'],
|
||||
dest: 'application/views/partial/header.php',
|
||||
dest: 'templates/spacelab/views/partial/header.php'
|
||||
dest: 'application/views/partial/header_debug.php',
|
||||
},
|
||||
mincss_header: {
|
||||
options: {
|
||||
@@ -147,7 +140,7 @@ module.exports = function(grunt) {
|
||||
absolutePath: true
|
||||
},
|
||||
src: ['js/jquery*', 'js/*.js'],
|
||||
dest: 'application/views/partial/header.php'
|
||||
dest: 'application/views/partial/header_debug.php'
|
||||
},
|
||||
minjs: {
|
||||
options: {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<title>Open Source Point Of Sale <?php echo $this->lang->line('login_login'); ?></title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
|
||||
<!-- start css template tags -->
|
||||
<link rel="stylesheet" type="text/css" href="dist/bootstrap.min.css?rel=9ed20b1ee8"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/bootstrap.min.css?rel=50ab19585f"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/login.css"/>
|
||||
<!-- end css template tags -->
|
||||
|
||||
|
||||
@@ -6,73 +6,18 @@
|
||||
<title><?php echo $this->config->item('company').' -- '.$this->lang->line('common_powered_by').' OS Point Of Sale' ?></title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
|
||||
<?php if ($this->input->cookie('debug') == "true" || $this->input->get("debug") == "true") : ?>
|
||||
<!-- bower:css -->
|
||||
<link rel="stylesheet" href="bower_components/jquery-ui/themes/base/jquery-ui.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap3-dialog/dist/css/bootstrap-dialog.min.css" />
|
||||
<link rel="stylesheet" href="bower_components/jasny-bootstrap/dist/css/jasny-bootstrap.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootswatch-dist/css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="bower_components/smalot-bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap-select/dist/css/bootstrap-select.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap-table/src/bootstrap-table.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap-daterangepicker/daterangepicker.css" />
|
||||
<link rel="stylesheet" href="bower_components/chartist/dist/chartist.min.css" />
|
||||
<link rel="stylesheet" href="bower_components/chartist-plugin-tooltip/dist/chartist-plugin-tooltip.css" />
|
||||
<!-- endbower -->
|
||||
<!-- start css template tags -->
|
||||
<link rel="stylesheet" type="text/css" href="css/barcode_font.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.autocomplete.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/invoice.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/ospos.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/ospos_print.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/popupbox.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/receipt.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/register.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/reports.css"/>
|
||||
<!-- end css template tags -->
|
||||
<!-- bower:js -->
|
||||
<script src="bower_components/jquery/dist/jquery.js"></script>
|
||||
<script src="bower_components/jquery-form/jquery.form.js"></script>
|
||||
<script src="bower_components/jquery-validate/dist/jquery.validate.js"></script>
|
||||
<script src="bower_components/jquery-ui/jquery-ui.js"></script>
|
||||
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
|
||||
<script src="bower_components/bootstrap3-dialog/dist/js/bootstrap-dialog.min.js"></script>
|
||||
<script src="bower_components/jasny-bootstrap/dist/js/jasny-bootstrap.js"></script>
|
||||
<script src="bower_components/bootswatch-dist/js/bootstrap.js"></script>
|
||||
<script src="bower_components/smalot-bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
||||
<script src="bower_components/bootstrap-select/dist/js/bootstrap-select.js"></script>
|
||||
<script src="bower_components/bootstrap-table/src/bootstrap-table.js"></script>
|
||||
<script src="bower_components/bootstrap-table/dist/extensions/export/bootstrap-table-export.js"></script>
|
||||
<script src="bower_components/bootstrap-table/dist/extensions/mobile/bootstrap-table-mobile.js"></script>
|
||||
<script src="bower_components/moment/moment.js"></script>
|
||||
<script src="bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
|
||||
<script src="bower_components/file-saver.js/FileSaver.js"></script>
|
||||
<script src="bower_components/html2canvas/build/html2canvas.js"></script>
|
||||
<script src="bower_components/jspdf/dist/jspdf.min.js"></script>
|
||||
<script src="bower_components/jspdf-autotable/dist/jspdf.plugin.autotable.js"></script>
|
||||
<script src="bower_components/tableExport.jquery.plugin/tableExport.min.js"></script>
|
||||
<script src="bower_components/chartist/dist/chartist.min.js"></script>
|
||||
<script src="bower_components/chartist-plugin-axistitle/dist/chartist-plugin-axistitle.min.js"></script>
|
||||
<script src="bower_components/chartist-plugin-pointlabels/dist/chartist-plugin-pointlabels.min.js"></script>
|
||||
<script src="bower_components/chartist-plugin-tooltip/dist/chartist-plugin-tooltip.min.js"></script>
|
||||
<script src="bower_components/remarkable-bootstrap-notify/bootstrap-notify.js"></script>
|
||||
<script src="bower_components/js-cookie/src/js.cookie.js"></script>
|
||||
<!-- endbower -->
|
||||
<!-- start js template tags -->
|
||||
<script type="text/javascript" src="js/imgpreview.full.jquery.js"></script>
|
||||
<script type="text/javascript" src="js/manage_tables.js"></script>
|
||||
<script type="text/javascript" src="js/nominatim.autocomplete.js"></script>
|
||||
<!-- end js template tags -->
|
||||
<?php $this->load->view('partial/header_debug'); ?>
|
||||
<?php else : ?>
|
||||
<!--[if lte IE 8]>
|
||||
<link rel="stylesheet" media="print" href="css/print.css" type="text/css" />
|
||||
<![endif]-->
|
||||
<!-- start mincss template tags -->
|
||||
<link rel="stylesheet" type="text/css" href="dist/bootstrap.min.css?rel=9ed20b1ee8"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/bootstrap.min.css?rel=50ab19585f"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/jquery-ui.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=80813172ba"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=4ec3cbe107"/>
|
||||
<!-- end mincss template tags -->
|
||||
<!-- start minjs template tags -->
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=f4255ae1e0"></script>
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=1685e644a1"></script>
|
||||
<!-- end minjs template tags -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
56
application/views/partial/header_debug.php
Normal file
56
application/views/partial/header_debug.php
Normal file
@@ -0,0 +1,56 @@
|
||||
<!-- bower:css -->
|
||||
<link rel="stylesheet" href="bower_components/jquery-ui/themes/base/jquery-ui.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap3-dialog/dist/css/bootstrap-dialog.min.css" />
|
||||
<link rel="stylesheet" href="bower_components/jasny-bootstrap/dist/css/jasny-bootstrap.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootswatch-dist/css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="bower_components/smalot-bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap-select/dist/css/bootstrap-select.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap-table/src/bootstrap-table.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap-daterangepicker/daterangepicker.css" />
|
||||
<link rel="stylesheet" href="bower_components/chartist/dist/chartist.min.css" />
|
||||
<link rel="stylesheet" href="bower_components/chartist-plugin-tooltip/dist/chartist-plugin-tooltip.css" />
|
||||
<!-- endbower -->
|
||||
<!-- start css template tags -->
|
||||
<link rel="stylesheet" type="text/css" href="css/barcode_font.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.autocomplete.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/invoice.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/ospos.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/ospos_print.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/popupbox.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/receipt.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/register.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/reports.css"/>
|
||||
<!-- end css template tags -->
|
||||
<!-- bower:js -->
|
||||
<script src="bower_components/jquery/dist/jquery.js"></script>
|
||||
<script src="bower_components/jquery-form/jquery.form.js"></script>
|
||||
<script src="bower_components/jquery-validate/dist/jquery.validate.js"></script>
|
||||
<script src="bower_components/jquery-ui/jquery-ui.js"></script>
|
||||
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
|
||||
<script src="bower_components/bootstrap3-dialog/dist/js/bootstrap-dialog.min.js"></script>
|
||||
<script src="bower_components/jasny-bootstrap/dist/js/jasny-bootstrap.js"></script>
|
||||
<script src="bower_components/bootswatch-dist/js/bootstrap.js"></script>
|
||||
<script src="bower_components/smalot-bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
||||
<script src="bower_components/bootstrap-select/dist/js/bootstrap-select.js"></script>
|
||||
<script src="bower_components/bootstrap-table/src/bootstrap-table.js"></script>
|
||||
<script src="bower_components/bootstrap-table/dist/extensions/export/bootstrap-table-export.js"></script>
|
||||
<script src="bower_components/bootstrap-table/dist/extensions/mobile/bootstrap-table-mobile.js"></script>
|
||||
<script src="bower_components/moment/moment.js"></script>
|
||||
<script src="bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
|
||||
<script src="bower_components/file-saver.js/FileSaver.js"></script>
|
||||
<script src="bower_components/html2canvas/build/html2canvas.js"></script>
|
||||
<script src="bower_components/jspdf/dist/jspdf.min.js"></script>
|
||||
<script src="bower_components/jspdf-autotable/dist/jspdf.plugin.autotable.js"></script>
|
||||
<script src="bower_components/tableExport.jquery.plugin/tableExport.min.js"></script>
|
||||
<script src="bower_components/chartist/dist/chartist.min.js"></script>
|
||||
<script src="bower_components/chartist-plugin-axistitle/dist/chartist-plugin-axistitle.min.js"></script>
|
||||
<script src="bower_components/chartist-plugin-pointlabels/dist/chartist-plugin-pointlabels.min.js"></script>
|
||||
<script src="bower_components/chartist-plugin-tooltip/dist/chartist-plugin-tooltip.min.js"></script>
|
||||
<script src="bower_components/remarkable-bootstrap-notify/bootstrap-notify.js"></script>
|
||||
<script src="bower_components/js-cookie/src/js.cookie.js"></script>
|
||||
<!-- endbower -->
|
||||
<!-- start js template tags -->
|
||||
<script type="text/javascript" src="js/imgpreview.full.jquery.js"></script>
|
||||
<script type="text/javascript" src="js/manage_tables.js"></script>
|
||||
<script type="text/javascript" src="js/nominatim.autocomplete.js"></script>
|
||||
<!-- end js template tags -->
|
||||
@@ -33,8 +33,8 @@
|
||||
"bootswatch-dist": "3.3.6-flatly",
|
||||
"smalot-bootstrap-datetimepicker": "^2.3.11",
|
||||
"bootstrap-select": "^1.10.0",
|
||||
"bootstrap-table": "^1.10.1",
|
||||
"bootstrap-daterangepicker": "^2.1.22",
|
||||
"bootstrap-table": "^1.11.0",
|
||||
"bootstrap-daterangepicker": "^2.1.23",
|
||||
"tableExport.jquery.plugin": "1.5.1",
|
||||
"chartist": "^0.9.8",
|
||||
"chartist-plugin-axistitle": "^0.1.0",
|
||||
|
||||
4
dist/bootstrap.min.css
vendored
4
dist/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
2556
dist/opensourcepos.js
vendored
2556
dist/opensourcepos.js
vendored
File diff suppressed because it is too large
Load Diff
2
dist/opensourcepos.min.css
vendored
2
dist/opensourcepos.min.css
vendored
File diff suppressed because one or more lines are too long
55
dist/opensourcepos.min.js
vendored
55
dist/opensourcepos.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -6,7 +6,7 @@
|
||||
<title>Open Source Point Of Sale <?php echo $this->lang->line('login_login'); ?></title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
|
||||
<!-- start css template tags -->
|
||||
<link rel="stylesheet" type="text/css" href="templates/spacelab/css/bootstrap.min.css?rel=9ed20b1ee8"/>
|
||||
<link rel="stylesheet" type="text/css" href="templates/spacelab/css/bootstrap.min.css?rel=50ab19585f"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/login.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="templates/spacelab/css/style.css"/>
|
||||
<!-- end css template tags -->
|
||||
|
||||
@@ -6,73 +6,19 @@
|
||||
<title><?php echo $this->config->item('company').' -- '.$this->lang->line('common_powered_by').' OS Point Of Sale' ?></title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
|
||||
<?php if ($this->input->cookie('debug') == "true" || $this->input->get("debug") == "true") : ?>
|
||||
<!-- bower:css -->
|
||||
<link rel="stylesheet" href="bower_components/jquery-ui/themes/base/jquery-ui.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap3-dialog/dist/css/bootstrap-dialog.min.css" />
|
||||
<link rel="stylesheet" href="bower_components/jasny-bootstrap/dist/css/jasny-bootstrap.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootswatch-dist/css/bootstrap.css" />
|
||||
<link rel="stylesheet" href="bower_components/smalot-bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap-select/dist/css/bootstrap-select.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap-table/src/bootstrap-table.css" />
|
||||
<link rel="stylesheet" href="bower_components/bootstrap-daterangepicker/daterangepicker.css" />
|
||||
<link rel="stylesheet" href="bower_components/chartist/dist/chartist.min.css" />
|
||||
<link rel="stylesheet" href="bower_components/chartist-plugin-tooltip/dist/chartist-plugin-tooltip.css" />
|
||||
<!-- endbower -->
|
||||
<!-- start css template tags -->
|
||||
<link rel="stylesheet" type="text/css" href="css/barcode_font.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/bootstrap.autocomplete.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/invoice.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/ospos.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/ospos_print.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/popupbox.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/receipt.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/register.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/reports.css"/>
|
||||
<!-- end css template tags -->
|
||||
<!-- bower:js -->
|
||||
<script src="bower_components/jquery/dist/jquery.js"></script>
|
||||
<script src="bower_components/jquery-form/jquery.form.js"></script>
|
||||
<script src="bower_components/jquery-validate/dist/jquery.validate.js"></script>
|
||||
<script src="bower_components/jquery-ui/jquery-ui.js"></script>
|
||||
<script src="bower_components/bootstrap/dist/js/bootstrap.js"></script>
|
||||
<script src="bower_components/bootstrap3-dialog/dist/js/bootstrap-dialog.min.js"></script>
|
||||
<script src="bower_components/jasny-bootstrap/dist/js/jasny-bootstrap.js"></script>
|
||||
<script src="bower_components/bootswatch-dist/js/bootstrap.js"></script>
|
||||
<script src="bower_components/smalot-bootstrap-datetimepicker/js/bootstrap-datetimepicker.min.js"></script>
|
||||
<script src="bower_components/bootstrap-select/dist/js/bootstrap-select.js"></script>
|
||||
<script src="bower_components/bootstrap-table/src/bootstrap-table.js"></script>
|
||||
<script src="bower_components/bootstrap-table/dist/extensions/export/bootstrap-table-export.js"></script>
|
||||
<script src="bower_components/bootstrap-table/dist/extensions/mobile/bootstrap-table-mobile.js"></script>
|
||||
<script src="bower_components/moment/moment.js"></script>
|
||||
<script src="bower_components/bootstrap-daterangepicker/daterangepicker.js"></script>
|
||||
<script src="bower_components/file-saver.js/FileSaver.js"></script>
|
||||
<script src="bower_components/html2canvas/build/html2canvas.js"></script>
|
||||
<script src="bower_components/jspdf/dist/jspdf.min.js"></script>
|
||||
<script src="bower_components/jspdf-autotable/dist/jspdf.plugin.autotable.js"></script>
|
||||
<script src="bower_components/tableExport.jquery.plugin/tableExport.min.js"></script>
|
||||
<script src="bower_components/chartist/dist/chartist.min.js"></script>
|
||||
<script src="bower_components/chartist-plugin-axistitle/dist/chartist-plugin-axistitle.min.js"></script>
|
||||
<script src="bower_components/chartist-plugin-pointlabels/dist/chartist-plugin-pointlabels.min.js"></script>
|
||||
<script src="bower_components/chartist-plugin-tooltip/dist/chartist-plugin-tooltip.min.js"></script>
|
||||
<script src="bower_components/remarkable-bootstrap-notify/bootstrap-notify.js"></script>
|
||||
<!-- endbower -->
|
||||
<!-- start js template tags -->
|
||||
<script type="text/javascript" src="js/imgpreview.full.jquery.js"></script>
|
||||
<script type="text/javascript" src="js/manage_tables.js"></script>
|
||||
<script type="text/javascript" src="js/nominatim.autocomplete.js"></script>
|
||||
<!-- end js template tags -->
|
||||
<?php $this->load->view('partial/header_debug'); ?>
|
||||
<?php else : ?>
|
||||
<!--[if lte IE 8]>
|
||||
<link rel="stylesheet" media="print" href="css/print.css" type="text/css" />
|
||||
<![endif]-->
|
||||
<link rel="stylesheet" type="text/css" href="templates/spacelab/css/bootstrap.min.css?rel=9ed20b1ee8"/>
|
||||
<link rel="stylesheet" type="text/css" href="templates/spacelab/css/bootstrap.min.css?rel=50ab19585f"/>
|
||||
<!-- start mincss template tags -->
|
||||
<link rel="stylesheet" type="text/css" href="dist/jquery-ui.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=80813172ba"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=4ec3cbe107"/>
|
||||
<!-- end mincss template tags -->
|
||||
<link rel="stylesheet" type="text/css" href="templates/spacelab/css/style.css"/>
|
||||
<!-- start minjs template tags -->
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=f4255ae1e0" language="javascript"></script>
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=1685e644a1"></script>
|
||||
<!-- end minjs template tags -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user