Comments (8)
@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.
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.
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.
@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.
I am working on a new table design which will include proper IP sorting.
Stay tuned !!!
from antminer-monitor.
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.
I was gonna use datatables.net
from antminer-monitor.
That one is also fine. Thanks!
from antminer-monitor.
Related Issues (20)
- add miner device error HOT 5
- max worker must be greater than 0 HOT 5
- Support for Antminer S11 HOT 8
- argument 1 must be type, not classobj (S9i) HOT 5
- Docker HOT 6
- Miner discovery subnet? HOT 5
- Support for Antminer s17+ HOT 4
- Antminer S9i HOT 4
- add support for BW21 HOT 4
- new page mobile HOT 3
- Support for ANTMINER D7? HOT 3
- EDB-50267 (security) HOT 3
- change IP sorting HOT 3
- Not work at Python 2.7.17 on Ubuntu 18.04.1 HOT 3
- python manage.py create-db not work HOT 6
- AttributeError AttributeError: module 'time' has no attribute 'clock' HOT 1
- Request to add graphs
- Update Flask or requirements.txt HOT 31
- Add support for newer versions of miners HOT 8
- Error creating DB (manage.py create-db)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antminer-monitor.