GithubHelp home page GithubHelp logo

Comments (8)

anselal avatar anselal commented on June 29, 2024

@Config13 I just replicated your issue with entering the IP 192.168.007.011 and you are right, the link points to 192.168.7.9. This is because for some reason the IP is translated as octal (011=>9, 012=>10, ...).

The strange thing is that the conversion only happens inside the href. I am trying to cast it to string but it won't work for some reason. This should be easy to resolve though. I will come back with a solution soon...

from antminer-monitor.

anselal avatar anselal commented on June 29, 2024

So, i did a research and I found that this is not a bug in my app. If you look at the source of the rendered html you'll see that the IP inside the <a href="..."> is correct. It seems that the browser handles it as octal.

I will have to add a script that properly sorts the IPs in the table.

from antminer-monitor.

gnanet avatar gnanet commented on June 29, 2024

My workaround for this was to put a sortable NAME of the miner into the remark field, for example having 3 pcs of L3+ would be named L3P001 - L3P003 which is easily sortable ;)

from antminer-monitor.

anselal avatar anselal commented on June 29, 2024

@gnanet This works but you will have to edit the source which is not possible for every user. I had tested a Javascript code for sorting some fields in the table. As it seems I'll have to merge it ;)

from antminer-monitor.

anselal avatar anselal commented on June 29, 2024

I am working on a new table design which will include proper IP sorting.
Stay tuned !!!

from antminer-monitor.

sergbere avatar sergbere commented on June 29, 2024

Would it be possible to implement a table sorting by any column? Would be beneficial to check not only by IP address, but by Hostnames, uptime, HW error count, etc.
Some ready solution here to give an idea: http://tablesorter.com/docs/

from antminer-monitor.

anselal avatar anselal commented on June 29, 2024

I was gonna use datatables.net

from antminer-monitor.

sergbere avatar sergbere commented on June 29, 2024

That one is also fine. Thanks!

from antminer-monitor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.