OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | --[[ |
| 2 | LuCI - Lua Configuration Interface |
| 3 | |
| 4 | Copyright 2013 Xiangfu |
| 5 | Copyright 2008 Steven Barth <steven@midlink.org> |
| 6 | Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> |
| 7 | |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | $Id$ |
| 15 | ]]-- |
| 16 | f = SimpleForm("cgminerstatus", translate("Cgminer Status"), translate("This list gives an overview over currently running cgminer.")) |
| 17 | f.reset = false |
| 18 | f.submit = false |
| 19 | |
| 20 | t = f:section(Table, luci.controller.cgminer.summary(), translate("Summary")) |
| 21 | t:option(DummyValue, "elapsed", translate("Elapsed")) |
| 22 | t:option(DummyValue, "mhsav", translate("MHSav")) |
| 23 | t:option(DummyValue, "foundblocks", translate("FoundBlocks")) |
| 24 | t:option(DummyValue, "getworks", translate("Getworks")) |
| 25 | t:option(DummyValue, "accepted", translate("Accepted")) |
| 26 | t:option(DummyValue, "rejected", translate("Rejected")) |
| 27 | t:option(DummyValue, "hw", translate("HW")) |
| 28 | t:option(DummyValue, "utility", translate("Utility")) |
| 29 | t:option(DummyValue, "discarded", translate("Discarded")) |
| 30 | t:option(DummyValue, "stale", translate("Stale")) |
| 31 | t:option(DummyValue, "getfailures", translate("GetFailures")) |
| 32 | t:option(DummyValue, "localwork", translate("LocalWork")) |
| 33 | t:option(DummyValue, "remotefailures", translate("RemoteFailures")) |
| 34 | t:option(DummyValue, "networkblocks", translate("NetworkBlocks")) |
| 35 | t:option(DummyValue, "totalmh", translate("TotalMH")) |
| 36 | t:option(DummyValue, "wu", translate("WU")) |
| 37 | t:option(DummyValue, "diffaccepted", translate("DiffA")) |
| 38 | t:option(DummyValue, "diffrejected", translate("DiffR")) |
| 39 | t:option(DummyValue, "diffstale", translate("DiffS")) |
| 40 | t:option(DummyValue, "bestshare", translate("BestShare")) |
| 41 | |
| 42 | t2 = f:section(Table, luci.controller.cgminer.pools(), translate("Pools")) |
| 43 | t2:option(DummyValue, "pool", translate("Pool")) |
| 44 | t2:option(DummyValue, "url", translate("URL")) |
| 45 | t2:option(DummyValue, "status", translate("Status")) |
| 46 | t2:option(DummyValue, "priority", translate("Priority")) |
| 47 | t2:option(DummyValue, "longpoll", translate("LP")) |
| 48 | t2:option(DummyValue, "getworks", translate("GetWorks")) |
| 49 | t2:option(DummyValue, "accepted", translate("Accepted")) |
| 50 | t2:option(DummyValue, "rejected", translate("Rejected")) |
| 51 | t2:option(DummyValue, "discarded", translate("Discarded")) |
| 52 | t2:option(DummyValue, "stale", translate("Stale")) |
| 53 | t2:option(DummyValue, "getfailures", translate("GF")) |
| 54 | t2:option(DummyValue, "remotefailures", translate("RF")) |
| 55 | t2:option(DummyValue, "user", translate("User")) |
| 56 | t2:option(DummyValue, "lastsharetime", translate("LastShareTime")) |
| 57 | t2:option(DummyValue, "diff1shares", translate("Diff1Shares")) |
| 58 | t2:option(DummyValue, "diffaccepted", translate("DiffA")) |
| 59 | t2:option(DummyValue, "diffrejected", translate("DiffR")) |
| 60 | t2:option(DummyValue, "diffstale", translate("DiffS")) |
| 61 | t2:option(DummyValue, "lastsharedifficulty", translate("LSD")) |
| 62 | t2:option(DummyValue, "hasstratum", translate("HasStratum")) |
| 63 | t2:option(DummyValue, "stratumactive", translate("StratumActive")) |
| 64 | t2:option(DummyValue, "stratumurl", translate("StratumURL")) |
| 65 | t2:option(DummyValue, "hasgbt", translate("GBT")) |
| 66 | |
| 67 | return f |
| 68 |
