Skip to content
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

CSS is broken #21

Closed
criccomini opened this issue Dec 17, 2014 · 2 comments
Closed

CSS is broken #21

criccomini opened this issue Dec 17, 2014 · 2 comments
Labels

Comments

@criccomini
Copy link

Some CSS files seem to be missing. Chrome debugger shows:

GET file://private/tmp/samza-test/samza-integration-tests/lib/python2.7/site-packages/zopkio/web_resources/style.css net::ERR_FILE_NOT_FOUND report.html:25
GET file://private/tmp/samza-test/samza-integration-tests/lib/python2.7/site-packages/zopkio/web_resources/script.js net::ERR_FILE_NOT_FOUND report.html:28
GET file://code.jquery.com/jquery-1.11.0.min.js net::ERR_FILE_NOT_FOUND report.html:29
GET file://code.jquery.com/jquery-migrate-1.2.1.min.js net::ERR_FILE_NOT_FOUND report.html:30
Uncaught Error: Bootstrap's JavaScript requires jQuery bootstrap.min.js:6

When the front page is loaded.

@criccomini criccomini added the bug label Dec 17, 2014
@criccomini
Copy link
Author

Looks like the first two are due to this in setup.pyt:

package_data = { 'zopkio' : ['web_resources/*.html'] },

We should include *.js and *.css as well.

@criccomini
Copy link
Author

JQuery issues look like they're due to:

  <script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
  <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>

In report.html. We need to hard code the http scheme.

@criccomini criccomini mentioned this issue Dec 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants