-
Notifications
You must be signed in to change notification settings - Fork 13.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing the python and js packaging #172
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
recursive-include panoramix/templates * | ||
recursive-include panoramix/static * | ||
recursive-exclude panoramix/static/assets/node_modules * | ||
recursive-include panoramix/static/assets/node_modules/font-awesome * | ||
recursive-exclude panoramix/static/docs * | ||
recursive-exclude tests * | ||
recursive-include panoramix/data * | ||
recursive-include panoramix/migrations * |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
require('../node_modules/select2/select2.css'); | ||
require('../node_modules/select2-bootstrap-css/select2-bootstrap.min.css'); | ||
require('../node_modules/jquery-ui/themes/base/jquery-ui.css') | ||
require('select2'); | ||
require('../vendor/select2.sortable.js'); |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,9 +30,14 @@ var config = { | |
include: APP_DIR, | ||
loader: "style-loader!css-loader" | ||
}, | ||
/* for require('*.less') */ | ||
/* for css linking images */ | ||
{ test: /\.png$/, loader: "url-loader?limit=100000" }, | ||
{ test: /\.jpg$/, loader: "file-loader" }, | ||
{ test: /\.gif$/, loader: "file-loader" }, | ||
/* for font-awesome */ | ||
{ test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url-loader?limit=10000&minetype=application/font-woff" }, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this still doesn't work... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure what you mean by that. does it still compile the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh I thought it was an attempt at getting |
||
{ test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "file-loader" }, | ||
/* for require('*.less') */ | ||
{ | ||
test: /\.less$/, | ||
include: APP_DIR, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
|
||
{% block head_css %} | ||
{{ super() }} | ||
<link rel="stylesheet" href="{{ url_for('static', filename="assets/node_modules/gridster/dist/jquery.gridster.min.css") }}"> | ||
<style id="user_style" type="text/css"> | ||
{{ dashboard.css or '' }} | ||
</style> | ||
|
@@ -66,7 +65,7 @@ <h2> | |
</div> | ||
</div> | ||
</div> | ||
<div class="gridster content_fluid"> | ||
<div class="gridster content_fluid" style="visibility: hidden;"> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. css rule instead of inline style! why is this necessary? and is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well I had the When the I think the location of the js (head vs tail) might have something to do with it as well, maybe all of our |
||
<ul> | ||
{% for slice in dashboard.slices %} | ||
{% set pos = pos_dict.get(slice.id, {}) %} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This excludes the thousands of files in that folder to ship with the python package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gotcha, and they're already included in the bundled js files so are totally unnecessary