-
Notifications
You must be signed in to change notification settings - Fork 1
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
Patch for upload speed #7
base: master
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
docker/standalone.php
Outdated
} | ||
|
||
function classifySpeedUl(value) { | ||
if (value=="") return 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting
docker/standalone.php
Outdated
@@ -52,6 +52,14 @@ function classifySpeed(value) { | |||
if (value >= 10) return 2; | |||
return 1; | |||
|
|||
} | |||
|
|||
function classifySpeedUl(value) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make it classifySpeedUpload
avoid short forms
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes are made, kindly validate
index.html
Outdated
function classifySpeedUl(value) { | ||
if (value=="") return 0; | ||
if (value > 20) return 3; | ||
if (value >= 5) return 2; | ||
return 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes are made, kindly validate
User description
Patch for upload speed
PR Type
enhancement
Description
classifySpeedUl
to classify upload speeds.updateUlColor
function to use the newclassifySpeedUl
function for determining the color based on upload speed.index.html
.Changes walkthrough 📝
standalone.php
Add upload speed classification and update color logic
docker/standalone.php
classifySpeedUl
function to classify upload speed.updateUlColor
function to useclassifySpeedUl
.index.html
Enhance upload speed classification and color update
index.html
classifySpeedUl
function to classify upload speed.updateUlColor
function to useclassifySpeedUl
.