mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-13 18:23:57 -04:00
Fix css and js broken URL issue (#624)
This commit is contained in:
@@ -4,7 +4,7 @@ module.exports = function(grunt) {
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
wiredep: {
|
||||
task: {
|
||||
ignorePath: '../../../public',
|
||||
ignorePath: '../../../public/',
|
||||
src: ['application/views/partial/header.php']
|
||||
}
|
||||
},
|
||||
|
||||
@@ -71,7 +71,7 @@ class Login extends CI_Controller
|
||||
|
||||
private function _security_check($username, $password)
|
||||
{
|
||||
return preg_match('~\b(Copyright|(c)|<7C>|All rights reserved|Developed|Crafted|Implemented|Made|Powered|Code|Design)\b~i', file_get_contents(APPPATH . 'views/partial/footer.php'));
|
||||
return preg_match('~\b(Copyright|(c)|<7C>|All rights reserved|Developed|Crafted|Implemented|Made|Powered|Code|Design)\b~i', file_get_contents(APPPATH . 'views/partial/footer.php'));
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
@@ -2,21 +2,22 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<base href="<?php echo base_url();?>" />
|
||||
<title><?php echo $this->config->item('company') . ' | ' . $this->lang->line('common_powered_by') . ' OSPOS ' . $this->config->item('application_version') ?></title>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo 'dist/bootswatch/' . (empty($this->config->item('theme')) ? 'flatly' : $this->config->item('theme')) . '/bootstrap.min.css' ?>"/>
|
||||
|
||||
<?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/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" />
|
||||
<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/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/bootstrap.autocomplete.css"/>
|
||||
@@ -30,32 +31,32 @@
|
||||
<link rel="stylesheet" type="text/css" href="css/style.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/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>
|
||||
<script src="/bower_components/blockUI/jquery.blockUI.js"></script>
|
||||
<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/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>
|
||||
<script src="bower_components/blockUI/jquery.blockUI.js"></script>
|
||||
<!-- endbower -->
|
||||
<!-- start js template tags -->
|
||||
<script type="text/javascript" src="js/imgpreview.full.jquery.js"></script>
|
||||
@@ -68,11 +69,11 @@
|
||||
<![endif]-->
|
||||
<!-- 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=d5b9522f2f"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=838e46d56e"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/style.css"/>
|
||||
<!-- end mincss template tags -->
|
||||
<!-- start minjs template tags -->
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=7035456132"></script>
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=0586fe3ddf"></script>
|
||||
<!-- end minjs template tags -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
16
public/dist/opensourcepos.min.css
vendored
16
public/dist/opensourcepos.min.css
vendored
File diff suppressed because one or more lines are too long
2
public/dist/opensourcepos.min.js
vendored
2
public/dist/opensourcepos.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user