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

Clean up HTML for donate app #2691

Closed
ericholscher opened this issue Mar 3, 2017 · 12 comments
Closed

Clean up HTML for donate app #2691

ericholscher opened this issue Mar 3, 2017 · 12 comments
Labels
Design Design or UX/UI related Good First Issue Good for new contributors

Comments

@ericholscher
Copy link
Member

More information here: #2503 (review)

@Riyuzakii
Copy link

@ericholscher, i am a first timer and i would like to contribute. could explain the issue a bit and direct me to the files that need to be changed.

@ericholscher
Copy link
Member Author

ericholscher commented Mar 6, 2017

The first step would be to clean up the HTML as suggested in that pull request. It uses <strong> where it should be doing it with CSS. @agjohnson might be able to give more concrete suggestions on the best steps to take.

@Riyuzakii
Copy link

@ericholscher , @agjohnson can you direct me to the files that need to be changed.

@agjohnson
Copy link
Contributor

@Riyuzakii all the files that need to be changed are in the review feedback. I'd prefer to remove HTML styling and instead add css rules in https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/core/static/core/css/theme.css

If you clean up the Knockout implementation, you'll be playing with this file:
https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/donate/static-src/donate/js/donate.js

Sorry I don't have time for more direct guidance. Feel free to raise any questions you run into here and we'll try to point you in the right direction.

@krsion
Copy link

krsion commented Apr 2, 2017

Has anyone resolved this issue? I'd like to contribute.

@bytetwin
Copy link

@agjohnson For replacing the strong tag into css, I looked at static/core/css/theme.css and the css seems to be minified version. Also I could find few style in the html elements in promo_detail.html.

Am I missing something here. Also could you please let me know on how to test my changes as http://127.0.0.1:8000/sustainability/report/live/ - gives me no such promos - which means I need to create promos. How do I create one

@monvilafer
Copy link

Hi everyone, has anyone solved this issue?
If not, can I work on it?

@Tikam02
Copy link

Tikam02 commented Feb 13, 2018

@agjohnson clean-up the css/theme.css. check it once so that i can PR it.
screenshot from 2018-02-13 23-17-21

@davidfischer
Copy link
Contributor

To be 100% honest, I think this issue can be closed. The donate app has been moved out of this repository.

@Tikam02
Copy link

Tikam02 commented Feb 13, 2018

@ericholscher actually i saw the whole code for js/css/html , sorry to say that but it's not formatted properly can i clean-up the codes.for better understanding.

@stsewd
Copy link
Member

stsewd commented Feb 13, 2018

@Tikam02 you can check this PR for reference #2699 (was closed due inactivity)

@agjohnson
Copy link
Contributor

Closing, this isn't valid anymore as the source has moved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design Design or UX/UI related Good First Issue Good for new contributors
Projects
None yet
Development

No branches or pull requests

9 participants