Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Rewrite contributions #848
Conversation
nottrobin
added
the
Status: Review
label
Sep 12, 2016
pmahnke
self-assigned this
Sep 12, 2016
nottrobin
added this to the
HTTPS milestone
Sep 12, 2016
pmahnke
added
the
Review: QA -1
label
Sep 12, 2016
|
@pmahnke I can't check Safari from here, but hopefully those issues were for the same reasons as the firefox issues - JavaScript errors because I've now fixed everything else. If you don't have JavaScript this is now what you see: And if you go to http://127.0.0.1:8001/download/desktop without JavaScript and click "Download" you should go straight to the download and bypass the contribute page. Could you please verify it all looks good? |
nottrobin
added
Review: QA needed
Review: Code needed
and removed
Review: QA -1
labels
Sep 12, 2016
nottrobin
added some commits
Sep 12, 2016
|
Great work |
pmahnke
added
Review: QA +1
Review: Code +1
and removed
Review: Code needed
Review: QA needed
labels
Sep 12, 2016
nottrobin
merged commit e84fc95
into
canonical-websites:master
Sep 12, 2016
nottrobin
deleted the
nottrobin:contributions-updates
branch
Sep 12, 2016
nottrobin
removed
the
Status: Review
label
Sep 12, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment








nottrobin commentedSep 12, 2016
•
Edited 1 time
-
pmahnke
Sep 12, 2016
Completely rewrite contributions HTML, CSS and JavaScript to:
<input type=range>)Rather than implementing sliders entirely myself with JavaScript, I'm using the HTML5 "range" input type, a faster and more robust solution. For browsers that don't support the "range" type, I'm simply hiding sliders.
Note, sliders no longer have orange on one side and white on the other, as they used to. I'm not sure if this is possible with the styling options for the "range" type, but anyway it would introduce significant complexity which I'd rather not do.
QA
Visit http://127.0.0.1:8001/download/desktop/contribute?version=16.04.1&architecture=amd64 and check:
Then turn off JavaScript, reload the page, and check:
<input type=range>.Turn JavaScript back on, visit http://127.0.0.1:8001/download/desktop/contribute. Check: