mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-20 07:14:33 -04:00
Tune css inclusion (use negation for unwanted files in header.php)
This commit is contained in:
1 parent
fc20b74b57
commit
1aa5c72db3
6 files changed
+7836
-9578
No files matched your search
+2
-2
@@ -22,7 +22,7 @@ module.exports = function(grunt) {
|
||||
cssmin: {
|
||||
target: {
|
||||
files: {
|
||||
'dist/<%= pkg.name %>.min.css': ['dist/opensourcepos_bower.css', 'css/autocomplete.css', 'css/general.css', 'css/invoice.css', 'css/popupbox.css', 'css/receipt.css', 'css/register.css', 'css/reports.css', 'css/tables.css', 'css/ospos.css', 'css/ospos_print.css']
|
||||
'dist/<%= pkg.name %>.min.css': ['dist/opensourcepos_bower.css', 'css/*.css', '!css/login.css', '!css/invoice_email.css']
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -75,7 +75,7 @@ module.exports = function(grunt) {
|
||||
closeTag: '<!-- end css template tags -->',
|
||||
absolutePath: true
|
||||
},
|
||||
src: [ 'css/autocomplete.css', 'css/general.css', 'css/invoice.css', 'css/popupbox.css', 'css/receipt.css', 'css/register.css', 'css/reports.css', 'css/tables.css', 'css/ospos.css', 'css/ospos_print.css' ],
|
||||
src: [ 'css/*.css', '!css/login.css', '!css/invoice_email.css' ],
|
||||
dest: 'application/views/partial/header.php'
|
||||
},
|
||||
mincss: {
|
||||
|
||||
@@ -15,15 +15,16 @@
|
||||
<!-- endbower -->
|
||||
<!-- start css template tags -->
|
||||
<link rel="stylesheet" type="text/css" href="css/autocomplete.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/barcode_font.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/general.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"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/tables.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/ospos.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="css/ospos_print.css"/>
|
||||
<!-- end css template tags -->
|
||||
<!-- bower:js -->
|
||||
<script src="bower_components/jquery/dist/jquery.js"></script>
|
||||
@@ -56,10 +57,10 @@
|
||||
<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/opensourcepos.min.css?rel=b8ab5fe79a"/>
|
||||
<link rel="stylesheet" type="text/css" href="dist/opensourcepos.min.css?rel=9f2eaa8142"/>
|
||||
<!-- end mincss template tags -->
|
||||
<!-- start minjs template tags -->
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=a2d02c8660" language="javascript"></script>
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=077fca2ce1" language="javascript"></script>
|
||||
<!-- end minjs template tags -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
Vendored
+7805
-9541
File diff suppressed because one or more lines are too long.
Vendored
+4
-9
File diff suppressed because one or more lines are too long.
Vendored
+19
-21
File diff suppressed because one or more lines are too long.
@@ -38,7 +38,7 @@
|
||||
<!-- end js template tags -->
|
||||
<?php else : ?>
|
||||
<!-- start minjs template tags -->
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=a2d02c8660" language="javascript"></script>
|
||||
<script type="text/javascript" src="dist/opensourcepos.min.js?rel=077fca2ce1" language="javascript"></script>
|
||||
<!-- end minjs template tags -->
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
Reference in new issue
Block a user