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
Use templates for CSS #6865
Comments
Moved CSS in |
Author: Tim Dumol |
comment:1
Attachment: trac_6865-templates-css.patch.gz |
comment:2
This probably needs to be rebased after #6939 to include the CSS fix there (or the rebasing should go the other way, if this gets reviewed before that gets merged...) |
comment:4
Does the patch depend on another ticket's patch? Applying attachment: trac_6865-templates-css.patch to 4.1.2.alpha1, I get
The important one is the last, which doesn't apply because the local elif self.problem == 'suspended':
return HTMLResponse(stream = message("Your account is currently suspended.")) But I could have altered my configuration. |
comment:5
I think we need to add
to |
comment:6
What is MANIFEST.in and when do we need to add things to it? |
comment:7
(setting to "needs work", based on mpatel's comment about MANIFEST.in and his comment about applying the patch) |
comment:8
Replying to @jasongrout:
I believe the |
comment:9
No, this doesn't depend on other patches. It is based on 4.1.2.alpha1. I've made the requisite changes to |
Moved CSS in css.py to templates, and adjusted twist.py to use them. Rev 2. Apply this patch only. |
Attachment: trac_6865-templates-css.2.patch.gz Attachment: trac_6865-templates-css.3.patch.gz Moved CSS in css.py to templates, and adjusted twist.py to use them. Rev 3. Apply this patch only. |
comment:10
Changes in patch v3:
Sorry about the trivial stuff. I just noticed the whitespace control part of the Jinja2 docs. This is a positive review from me, but someone should review my changes. |
comment:11
Your changes look good to me. |
Merged: Sage 4.1.2.alpha3 |
Reviewer: Mitesh Patel, Jason Grout |
comment:13
Merged |
comment:14
There is no 4.1.2.alpha3. Sage 4.1.2.alpha3 was William Stein's release for working on the making the notebook a standalone package. |
Changed merged from Sage 4.1.2.alpha3 to Sage 4.1.2.alpha4 |
CSS is currently served by
css()
incss.py
, even though it is completely static. Using templates for it should make things easier to customize in the future.Component: notebook
Keywords: notebook css stylesheets
Author: Tim Dumol
Reviewer: Mitesh Patel, Jason Grout
Merged: Sage 4.1.2.alpha4
Issue created by migration from https://trac.sagemath.org/ticket/6865
The text was updated successfully, but these errors were encountered: