Tempus-dominus: Broken CSS reference

Created on 14 Feb 2016  路  8Comments  路  Source: Eonasdan/tempus-dominus

The CSS file
'components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css'
references a file which could not be found:
components/eonasdan-bootstrap-datetimepicker/build/fonts/glyphicons-halflings-regular.eot

There is a link to a fonts directory that does not exist!
This happens via '../fonts'.

Please look into it and tell me whether you want the reference removed the the font added.
(then I can create a PR if you wish)

(At the moments this breaks my building process)

Your judgement is appreciated. ;)

v4

Most helpful comment

I hope this gets merged in soon; installing eonasdan-bootstrap-datetimepicker via bower in Django breaks things on ./manage.py collectstatic because Django attempts to resolve file references and fails.

All 8 comments

unfortunately the standalone css assumes you have a folder where your css lives /css and the folder where your font is is one level above /fonts. I'm not sure there's a good way to make that work for everyone in ever case since we're not including the fonts.

BS4 has dropped the glyphicons anyway.

I agree.
I am already using BS4 on one project where I also use your datepicker.
Would it be okay to add a comment in the docs for the standalone users telling them to include the fonts?
In any case I think it is good practise not to include broken links.
Until then I will use my patched version.
Thanks for the reply Jonathan.

I have a pull request open to remove the references to these files, which fixed the problem for me.

https://github.com/Eonasdan/bootstrap-datetimepicker/pull/1733

I hope this gets merged in soon; installing eonasdan-bootstrap-datetimepicker via bower in Django breaks things on ./manage.py collectstatic because Django attempts to resolve file references and fails.

I m having the same issue on Django Bower

whitenoise.storage.MissingFileError: The file 'eonasdan-bootstrap-datetimepicker/build/fonts/glyphicons-halflings-regular.eot' could not be found with <whitenoise.storage.CompressedManifestStaticFilesStorage object at 0x1061cb080>.

The CSS file 'eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker-standalone.css' references a file which could not be found:
  eonasdan-bootstrap-datetimepicker/build/fonts/glyphicons-halflings-regular.eot

Please check the URL references in this CSS file, particularly any
relative paths which might be pointing to the wrong location.

Sorry to dig this up but it seems the issue hasnt been tackled yet, right?

I'll try to fix this copying the files from the bootstrap dependency in my Dockerfile. 馃し鈥嶁檪

For djanognauts: https://timonweb.com/tutorials/make-djangos-collectstatic-command-forgiving/

@natecox Your PR #1733 got closed because its not targeting dev. Could you change that?

Hello. Thanks for using my project. We鈥檙e closing all tickets/prs for v4 as it is no longer supported. We鈥檙e making way for a new version. Please read this blog post

Was this page helpful?
0 / 5 - 0 ratings

Related issues

malhayek2014 picture malhayek2014  路  4Comments

y2kim picture y2kim  路  5Comments

dungphanxuan picture dungphanxuan  路  3Comments

justqyx picture justqyx  路  3Comments

hmaidasani picture hmaidasani  路  5Comments