Mobius
|
|
May 24, 2012, 06:30:00 PM |
|
P_Shep - nice work, could you place the hashrate in the tab shown between "Anubis -" and "a cgminer..." and an autorefresh timer.
Thanks
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
May 24, 2012, 06:46:43 PM |
|
Hashrate in the tab, that's a good one.
Regarding the auto-refresh: I'm not much of a web developer and I don't know how to just update fields, only the inelegant whole page refresh. Messy, clunky, awkward, resource hungry, inefficient whole page refresh.
If you want to do it yourself you can add: <meta http-equiv="refresh" content="10" >
just below: <head>
of index.php
I'll look into putting the total hashrate in the title.
|
|
|
|
Aseras
|
|
May 25, 2012, 05:40:22 PM |
|
What I've done is to put each miner in a separate sub page so that if one miner goes down it doesn't make the whole page fail to load or take forever to time out. I also added <meta http-equiv="refresh" content="3;url=index.php"> to the top to do the auto refresh.
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
May 29, 2012, 07:35:54 PM |
|
Updated again.
V2.3
Adds an accounts page, so you can add bitcoin addresses and retrieve a summary of the balances.
|
|
|
|
Aseras
|
|
May 30, 2012, 03:40:51 PM |
|
That's cool. The problem with blockchain.info is that it includes unconfirmed transactions and orphans in the balance totals so it is WAY off.
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
May 30, 2012, 04:12:54 PM |
|
That's cool. The problem with blockchain.info is that it includes unconfirmed transactions and orphans in the balance totals so it is WAY off.
It does? Ah well. I may change it if something better comes along. It'll do for now. (I find it useful anyway )
|
|
|
|
nedbert9
Sr. Member
Offline
Activity: 252
Merit: 250
Inactive
|
|
June 06, 2012, 11:30:10 AM |
|
Hashrate in the tab, that's a good one.
Regarding the auto-refresh: I'm not much of a web developer and I don't know how to just update fields, only the inelegant whole page refresh. Messy, clunky, awkward, resource hungry, inefficient whole page refresh.
If you want to do it yourself you can add: <meta http-equiv="refresh" content="10" >
just below: <head>
of index.php
I'll look into putting the total hashrate in the title.
A possibly approach for ajaxiness. 1. Make an emitter php. Have it output raw, mutable data possibly in JSON. 2. Include JQuery. Have JQuery do the ajaxy stuff (so simple. I want to have JQuery's baby.). 3. Javascript in the presentation pages to initiate 2 on a timer.
|
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
June 06, 2012, 05:07:08 PM |
|
Hmmm, AJAX eh?...
A quick google shows that is indeed what I would need. Something new for me to learn.
|
|
|
|
ibko
Newbie
Offline
Activity: 27
Merit: 0
|
|
June 23, 2012, 11:28:53 PM |
|
Error in configtbl.sql.php: lines 36 and 29 are to be deleted.
|
|
|
|
miaviator
Donator
Hero Member
Offline
Activity: 686
Merit: 519
It's for the children!
|
|
July 04, 2012, 09:04:23 PM |
|
Thank You for this.
|
|
|
|
Internet151
|
|
July 19, 2012, 06:57:35 AM |
|
It would be nice if ANUBIS marked a GPU temp column as red if the reported temp value = 0.
|
|
|
|
ralree
|
|
August 17, 2012, 05:39:02 AM |
|
I decided to fork this project and put some work into it. Here's the github: https://github.com/hank/ANUBISI added AJAX updating to the index page (would be nice to port that other places too) with a configuration option for the update timer (defaults to 5 seconds, access in the config page). It keeps it in the configuration table of the database like it should. I update the schema, so it should be plug-and-play. I also made it so if you put in fan speeds of zero for yellow and red, your fan readout will always be green (I keep my fans at 100% all the time, and I hate seeing red). Also, someone suggested making temp colors red on zero readings - I did this for at least some temp readouts, but I'm sure there's some I missed. I also did a BUNCH of work to the CSS and images for the theme. Here's what I came up with: More pics at: http://imgur.com/a/bevKhI hope you all enjoy!
|
1MANaTeEZoH4YkgMYz61E5y4s9BYhAuUjG
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
August 17, 2012, 03:24:37 PM |
|
Great stuff! It needed working on by someone who knows what they're doing
|
|
|
|
ralree
|
|
August 19, 2012, 07:15:12 AM |
|
Thanks! Just sent a little BTC donation to your address, p_shep. Was a good codebase to get started with and build upon. Thanks for all your hard work!
Now I just need to add some more clients!
|
1MANaTeEZoH4YkgMYz61E5y4s9BYhAuUjG
|
|
|
ZPK
Legendary
Offline
Activity: 1302
Merit: 1021
|
|
August 19, 2012, 02:29:46 PM Last edit: August 19, 2012, 02:55:25 PM by ZPK |
|
possible add history session's ? and refresh via websockets?
|
Novacoin POS mining only now
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
August 19, 2012, 06:22:10 PM |
|
Thanks! Just sent a little BTC donation to your address, p_shep. Was a good codebase to get started with and build upon. Thanks for all your hard work!
Now I just need to add some more clients!
2 things: 1. config.inc.php is missing - had to copy from my version (mybe there's a better way of doing this) 2. For those upgrading from existing installation, you need to add the extra columns to the database.
|
|
|
|
cablepair
|
|
August 21, 2012, 06:54:34 PM |
|
I decided to fork this project and put some work into it. Here's the github: https://github.com/hank/ANUBISI added AJAX updating to the index page (would be nice to port that other places too) with a configuration option for the update timer (defaults to 5 seconds, access in the config page). It keeps it in the configuration table of the database like it should. I update the schema, so it should be plug-and-play. I also made it so if you put in fan speeds of zero for yellow and red, your fan readout will always be green (I keep my fans at 100% all the time, and I hate seeing red). Also, someone suggested making temp colors red on zero readings - I did this for at least some temp readouts, but I'm sure there's some I missed. I also did a BUNCH of work to the CSS and images for the theme. Here's what I came up with: I hope you all enjoy! ralree: is it possible to make a "view only" version or make it configurable somehow? it would be very useful if you wanted to create a anubis site where others could view it without having to worry about them screwing up your configuration. Thanks for this contribution. Tom
|
|
|
|
ralree
|
|
August 29, 2012, 04:23:43 PM |
|
ralree: is it possible to make a "view only" version or make it configurable somehow?
it would be very useful if you wanted to create a anubis site where others could view it without having to worry about them screwing up your configuration.
Thanks for this contribution.
Tom
That's in my plans. Right now I just have it hosted over SSL with HTTP Basic Authentication, but I want to make it so for non-authorized clients (people clicking cancel on the HTTP Basic Auth), they can see the view-only version like you're suggesting. I messed around with copying/symlinking the code to a different location and modifying configs, but then I realized it's hard to configure it so it's view-only without turning off API writing in cgminer. I'll figure out a way to do that soon when I have time. 2 things:
1. config.inc.php is missing - had to copy from my version (mybe there's a better way of doing this) 2. For those upgrading from existing installation, you need to add the extra columns to the database.
1. Thanks for the tip - I meant to commit a config.inc.php.example file like I did with the auth file, but I must have forgotten to. I'll fix that up shortly. 2. It would be nice to make some scripts for upgrading the schema - keeping a schema version in the database and making the right alter table statements to upgrade. Of course, I don't expect the schema to change all that often, and it's so quick to configure it's probably not worth the effort. For now, I'm just going to keep it as is, but if I end up developing this a lot I'll add in DB migrations.
|
1MANaTeEZoH4YkgMYz61E5y4s9BYhAuUjG
|
|
|
P_Shep
Legendary
Offline
Activity: 1795
Merit: 1208
This is not OK.
|
|
August 29, 2012, 04:30:59 PM |
|
I did a quick and dirty add column when I added a field to enter the config address. It's certainly quick to re-configure everything (dpending on how large your system is), but that's still greater than 0. Also, you have to delete the database first... login to mysql, enter commands...
|
|
|
|
Inaba
Legendary
Offline
Activity: 1260
Merit: 1000
|
|
September 01, 2012, 02:08:45 AM |
|
New changes are good, but dark colors on black = headache after 2 minutes.
|
If you're searching these lines for a point, you've probably missed it. There was never anything there in the first place.
|
|
|
|