flashi666
Ist gelegentlich hier
- Registriert
- 12. Januar 2012
- Beiträge
- 65
- Reaktionspunkte
- 13
- Punkte
- 8
HI Leute,
ich möchte das ich bei Status, Readers und Users nicht nur das jeweilige Logo sehe sondern auch den Text darunter. Wie stelle ich das an?
ich habe mir mal den USERCONFIGLIST.tpl angekuckt und da müsste ich doch die ##USERCONFIGS## anpassen. Ich kenne mich in CSS nicht aus. Was müsste ich da ändern das er mir auch den User Namen ausliest und unter den Bild anzeigt? das gleiche möchte ich auch dann für die READERS.tpl machen unter ##READERLIST##.
EDIT
Ich habe es für Status User (SUSERICON.tpl) und Status Reader (SREADERICON.tpl) und User (USERICON.tpl) hinbekommen aber nicht für Reader. Ich finde keine READERICON.tpl.
EDIT
Es geht jetzt bei Status, Readers und Users. Es wird unter dem Bild der Name Angezeigt. Ist übersichtlicher finde ich. das Rote ist Neu.
STATUS
READERS
USERS
Siehe Bild dann wird verständlicher
ich möchte das ich bei Status, Readers und Users nicht nur das jeweilige Logo sehe sondern auch den Text darunter. Wie stelle ich das an?
ich habe mir mal den USERCONFIGLIST.tpl angekuckt und da müsste ich doch die ##USERCONFIGS## anpassen. Ich kenne mich in CSS nicht aus. Was müsste ich da ändern das er mir auch den User Namen ausliest und unter den Bild anzeigt? das gleiche möchte ich auch dann für die READERS.tpl machen unter ##READERLIST##.
<!--OSCam;459705548;1.20-unstable_svn;11392;-->
##TPLHEADERSHORT##
##REFRESH##
<script type="text/javascript">
var page = 'user';
var jsonurl = 'oscamapi.json';
var parameters = "?part=userstats";
var stoppoll = 0;
var pollintervall = 0;
var polling = 0;
var pollrefresh = '##POLLREFRESHTIME##';
existing_inserts = new Array(##EXISTING_INS##);
</script>
<script type="text/javascript">
// script customization for templates
/*
* this function is called during poll runs on each row update
* item contains the json class of actual item. Use the attribute
* 'nopoll = "usercol1,usercolN"' in <tr> to exclude cell from normal poll
*/
function custompoll(item) {
//example - uncomment to test
/*
var uid = "#" + item.user.usermd5;
$( uid + " td.usercol4").html( 'ID of this row is ' + item.user.usermd5);
*/
}
/*
* this function is called after poll has updated the page
*/
function afterpoll(){
// do something after poll
}
</script>
##TPLBODY##
##TPLMENU##
<DIV ID="subnav">
<UL ID="nav">
<LI CLASS="configmenu"><A HREF="#" onclick="addinsert();">Add User</A></LI>
<LI CLASS="configmenu"><A HREF="userconfig.html?action=reinit">Reinit User DB</A></LI>
<LI CLASS="configmenu"><A HREF="userconfig.html?action=resetalluserstats" onclick="return confirm('Reset Userstats ?')">Reset Userstats</A></LI>
<LI CLASS="configmenu"><A TARGET="_blank" HREF="graph.svg?type=users&hidelabels=1">Show Graphs</A></LI>
##TPLPOLLINGSET##
</UL>
</DIV>
##TPLMESSAGE##
<DIV ID="newinsert">
<form action="user_edit.html" method="get" name="new_insert" onsubmit="return chkinsert(document.new_insert.user.value)">
<TABLE CLASS="users">
<TR><TH>New User: <input name="user" type="text"><input type="submit" value="Add" title="Add New User"></TH></TR>
</TABLE>
</form>
</DIV>
<DIV ID="searchTable">
<TABLE CLASS="users">
<TR><TH><input type="text" id="searchTerm" class="search_box" placeholder="Enter Searchterm"></TH></TR>
</TABLE>
</DIV>
<TABLE ID="dataTable" CLASS="users">
<THEAD>
<TR>
<TH COLSPAN="4"></TH>
<TH CLASS="##GRPVIEW##"></TH>
<TH COLSPAN="2"></TH>
<TH COLSPAN="8">ECM</TH>
<TH COLSPAN="2">EMM</TH>
##TPLUSERCWCYCLE##
##TPLUSERANTICASC##
<TH CLASS="##EXPIREVIEW##"></TH>
<TH COLSPAN="3"></TH>
</TR>
<TR id="headline" onClick="cdpause()"> <!-- Resolve -->
<TH>On/Off</TH>
<TH data-sort="string-ins" data-sort-default="asc" class="sortable">User</TH>
<TH data-sort="ip" class="sortable">Status<BR>Address</TH>
<TH data-sort="string-ins" data-sort-default="asc" class="sortable">Protocol</TH>
<TH CLASS="##GRPVIEW##">Groups</TH>
<TH>Idle Time<BR>On Channel</TH>
<TH data-sort="string-ins" class="sortable">Last Channel</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Last ECM Time">LTIME</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Delivered ECM with status OK">OK</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Delivered ECM with status not OK">NOK</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Ignored ECM by filters">IGN</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Timeout ECM, part of NOK">TOUT</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Delivered ECM from cache, part of OK">CACHE</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Delivered ECM from tunneled, part of OK">TUN</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Sum of ECM's in last 60 seconds">last 60 s</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Valid EMM delivered">OK</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Invalid EMM delivered">NOK</TH>
##TPLCWCYCLETHV##
##TPLCWANTICASCTHV##
<TH data-sort="string" class="sortable ##EXPIREVIEW##" TITLE="Expiration date of account">Exp. Date</TH>
<TH COLSPAN="3">Action</TH>
</TR>
</THEAD>
<TBODY class="content">
##USERCONFIGS##
</TBODY>
</TABLE>
<DIV CLASS="info">
<TABLE CLASS="infotable">
##TPLUSERINFOBIT##
</TABLE>
</DIV>
<DIV id="picolor"></DIV>
##TPLFOOTER##
##TPLHEADERSHORT##
##REFRESH##
<script type="text/javascript">
var page = 'user';
var jsonurl = 'oscamapi.json';
var parameters = "?part=userstats";
var stoppoll = 0;
var pollintervall = 0;
var polling = 0;
var pollrefresh = '##POLLREFRESHTIME##';
existing_inserts = new Array(##EXISTING_INS##);
</script>
<script type="text/javascript">
// script customization for templates
/*
* this function is called during poll runs on each row update
* item contains the json class of actual item. Use the attribute
* 'nopoll = "usercol1,usercolN"' in <tr> to exclude cell from normal poll
*/
function custompoll(item) {
//example - uncomment to test
/*
var uid = "#" + item.user.usermd5;
$( uid + " td.usercol4").html( 'ID of this row is ' + item.user.usermd5);
*/
}
/*
* this function is called after poll has updated the page
*/
function afterpoll(){
// do something after poll
}
</script>
##TPLBODY##
##TPLMENU##
<DIV ID="subnav">
<UL ID="nav">
<LI CLASS="configmenu"><A HREF="#" onclick="addinsert();">Add User</A></LI>
<LI CLASS="configmenu"><A HREF="userconfig.html?action=reinit">Reinit User DB</A></LI>
<LI CLASS="configmenu"><A HREF="userconfig.html?action=resetalluserstats" onclick="return confirm('Reset Userstats ?')">Reset Userstats</A></LI>
<LI CLASS="configmenu"><A TARGET="_blank" HREF="graph.svg?type=users&hidelabels=1">Show Graphs</A></LI>
##TPLPOLLINGSET##
</UL>
</DIV>
##TPLMESSAGE##
<DIV ID="newinsert">
<form action="user_edit.html" method="get" name="new_insert" onsubmit="return chkinsert(document.new_insert.user.value)">
<TABLE CLASS="users">
<TR><TH>New User: <input name="user" type="text"><input type="submit" value="Add" title="Add New User"></TH></TR>
</TABLE>
</form>
</DIV>
<DIV ID="searchTable">
<TABLE CLASS="users">
<TR><TH><input type="text" id="searchTerm" class="search_box" placeholder="Enter Searchterm"></TH></TR>
</TABLE>
</DIV>
<TABLE ID="dataTable" CLASS="users">
<THEAD>
<TR>
<TH COLSPAN="4"></TH>
<TH CLASS="##GRPVIEW##"></TH>
<TH COLSPAN="2"></TH>
<TH COLSPAN="8">ECM</TH>
<TH COLSPAN="2">EMM</TH>
##TPLUSERCWCYCLE##
##TPLUSERANTICASC##
<TH CLASS="##EXPIREVIEW##"></TH>
<TH COLSPAN="3"></TH>
</TR>
<TR id="headline" onClick="cdpause()"> <!-- Resolve -->
<TH>On/Off</TH>
<TH data-sort="string-ins" data-sort-default="asc" class="sortable">User</TH>
<TH data-sort="ip" class="sortable">Status<BR>Address</TH>
<TH data-sort="string-ins" data-sort-default="asc" class="sortable">Protocol</TH>
<TH CLASS="##GRPVIEW##">Groups</TH>
<TH>Idle Time<BR>On Channel</TH>
<TH data-sort="string-ins" class="sortable">Last Channel</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Last ECM Time">LTIME</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Delivered ECM with status OK">OK</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Delivered ECM with status not OK">NOK</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Ignored ECM by filters">IGN</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Timeout ECM, part of NOK">TOUT</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Delivered ECM from cache, part of OK">CACHE</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Delivered ECM from tunneled, part of OK">TUN</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Sum of ECM's in last 60 seconds">last 60 s</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Valid EMM delivered">OK</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable" TITLE="Invalid EMM delivered">NOK</TH>
##TPLCWCYCLETHV##
##TPLCWANTICASCTHV##
<TH data-sort="string" class="sortable ##EXPIREVIEW##" TITLE="Expiration date of account">Exp. Date</TH>
<TH COLSPAN="3">Action</TH>
</TR>
</THEAD>
<TBODY class="content">
##USERCONFIGS##
</TBODY>
</TABLE>
<DIV CLASS="info">
<TABLE CLASS="infotable">
##TPLUSERINFOBIT##
</TABLE>
</DIV>
<DIV id="picolor"></DIV>
##TPLFOOTER##
<!--OSCam;3315034816;1.20-unstable_svn;11392;-->
##TPLHEADERSHORT##
##REFRESH##
<script type="text/javascript">
var page = 'reader';
var jsonurl = 'oscamapi.json';
var parameters = '?part=readerlist';
var stoppoll = 0;
var pollintervall = 0;
var polling = 0;
var pollrefresh = '##POLLREFRESHTIME##';
existing_inserts = new Array(##EXISTING_INS##);
</script>
##TPLBODY##
##TPLMENU##
##TPLMESSAGE##
<DIV ID="subnav">
<UL ID="nav">
<LI CLASS="configmenu"><A HREF="#" onclick="addinsert();">Add Reader</A></LI>
<LI CLASS="configmenu"><A HREF="readers.html?action=reloadreaders">Reload Readers</A></LI>
<LI CLASS="configmenu"><A HREF="scanusb.html">Scan USB</A></LI>
<LI CLASS="configmenu"><A HREF="readers.html?action=resetallrdrstats" onclick="return confirm('Reset Readerstats ?')">Reset Readerstats</A></LI>
<LI CLASS="configmenu"><A TARGET="_blank" HREF="graph.svg?type=servers">Show Graphs</A></LI>
##TPLPOLLINGSET##
</UL>
</DIV>
<DIV ID="newinsert">
<form action="readerconfig.html" method="get" name="new_insert" onsubmit="return chkinsert(document.new_insert.label.value)">
<TABLE CLASS="readers">
<TR><TH>NEW Reader Label: <input type="text" name="label" value="##NEXTREADER##"> Protocol: <select name="protocol">##ADDPROTOCOL##</select><input type="submit" name="action" value="Add" title="Add New Reader"></TH></TR>
</TABLE>
</form>
</DIV>
<DIV ID="searchTable">
<TABLE CLASS="readers">
<TR><TH><input type="text" id="searchTerm" class="search_box" placeholder="Enter Searchterm"></TH></TR>
</TABLE>
</DIV>
<TABLE ID="dataTable" CLASS="readers">
<THEAD>
<TR>
<TH COLSPAN="4"></TH>
<TH COLSPAN="4">ECM</TH>
<TH COLSPAN="4">EMM</TH>
##TPLREADERLBWU##
<TH COLSPAN="##READERACTIONCOLS##"></TH>
</TR>
<TR id="headline">
<TH>On/Off</TH>
<TH data-sort="string-ins" class="sortable">Reader</TH>
<TH data-sort="string-ins" class="sortable">Protocol</TH>
<TH>Groups</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable">OK</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable">NOK</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable">TOUT</TH>
<TH>Filtered<BR><SPAN TITLE="filtered by ECM Header Whitelist"> Head </SPAN>/<SPAN TITLE="filtered by ECM Whitelist"> Len </SPAN></TH>
<TH>error<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
<TH>written<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
<TH>skipped<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
<TH>blocked<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
##TPLREADERLBWD##
<TH COLSPAN="##READERACTIONCOLS##">Action</TH>
</TR>
</THEAD>
<TBODY>
##READERLIST##
</TBODY>
</TABLE>
<DIV CLASS="info">
<TABLE CLASS="infotable">
##TPLREADERINFOBIT##
</TABLE>
</DIV>
<DIV id="picolor"></DIV>
##TPLFOOTER##
##TPLHEADERSHORT##
##REFRESH##
<script type="text/javascript">
var page = 'reader';
var jsonurl = 'oscamapi.json';
var parameters = '?part=readerlist';
var stoppoll = 0;
var pollintervall = 0;
var polling = 0;
var pollrefresh = '##POLLREFRESHTIME##';
existing_inserts = new Array(##EXISTING_INS##);
</script>
##TPLBODY##
##TPLMENU##
##TPLMESSAGE##
<DIV ID="subnav">
<UL ID="nav">
<LI CLASS="configmenu"><A HREF="#" onclick="addinsert();">Add Reader</A></LI>
<LI CLASS="configmenu"><A HREF="readers.html?action=reloadreaders">Reload Readers</A></LI>
<LI CLASS="configmenu"><A HREF="scanusb.html">Scan USB</A></LI>
<LI CLASS="configmenu"><A HREF="readers.html?action=resetallrdrstats" onclick="return confirm('Reset Readerstats ?')">Reset Readerstats</A></LI>
<LI CLASS="configmenu"><A TARGET="_blank" HREF="graph.svg?type=servers">Show Graphs</A></LI>
##TPLPOLLINGSET##
</UL>
</DIV>
<DIV ID="newinsert">
<form action="readerconfig.html" method="get" name="new_insert" onsubmit="return chkinsert(document.new_insert.label.value)">
<TABLE CLASS="readers">
<TR><TH>NEW Reader Label: <input type="text" name="label" value="##NEXTREADER##"> Protocol: <select name="protocol">##ADDPROTOCOL##</select><input type="submit" name="action" value="Add" title="Add New Reader"></TH></TR>
</TABLE>
</form>
</DIV>
<DIV ID="searchTable">
<TABLE CLASS="readers">
<TR><TH><input type="text" id="searchTerm" class="search_box" placeholder="Enter Searchterm"></TH></TR>
</TABLE>
</DIV>
<TABLE ID="dataTable" CLASS="readers">
<THEAD>
<TR>
<TH COLSPAN="4"></TH>
<TH COLSPAN="4">ECM</TH>
<TH COLSPAN="4">EMM</TH>
##TPLREADERLBWU##
<TH COLSPAN="##READERACTIONCOLS##"></TH>
</TR>
<TR id="headline">
<TH>On/Off</TH>
<TH data-sort="string-ins" class="sortable">Reader</TH>
<TH data-sort="string-ins" class="sortable">Protocol</TH>
<TH>Groups</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable">OK</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable">NOK</TH>
<TH data-sort="int" data-sort-default="desc" class="sortable">TOUT</TH>
<TH>Filtered<BR><SPAN TITLE="filtered by ECM Header Whitelist"> Head </SPAN>/<SPAN TITLE="filtered by ECM Whitelist"> Len </SPAN></TH>
<TH>error<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
<TH>written<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
<TH>skipped<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
<TH>blocked<BR><SPAN TITLE="unknown EMM"> UK </SPAN>/<SPAN TITLE="global EMM"> G </SPAN>/<SPAN TITLE="shared EMM"> S </SPAN>/<SPAN TITLE="unique EMM"> UQ </SPAN></TH>
##TPLREADERLBWD##
<TH COLSPAN="##READERACTIONCOLS##">Action</TH>
</TR>
</THEAD>
<TBODY>
##READERLIST##
</TBODY>
</TABLE>
<DIV CLASS="info">
<TABLE CLASS="infotable">
##TPLREADERINFOBIT##
</TABLE>
</DIV>
<DIV id="picolor"></DIV>
##TPLFOOTER##
EDIT
Ich habe es für Status User (SUSERICON.tpl) und Status Reader (SREADERICON.tpl) und User (USERICON.tpl) hinbekommen aber nicht für Reader. Ich finde keine READERICON.tpl.
EDIT
Es geht jetzt bei Status, Readers und Users. Es wird unter dem Bild der Name Angezeigt. Ist übersichtlicher finde ich. das Rote ist Neu.
STATUS
<A HREF="readerconfig.html?label=##READERNAMEENC##"><IMG CLASS="statususericon" SRC="image?i=IC_##READERNAMEENC##" TITLE="Edit Reader: ##READERNAME####CLIENTDESCRIPTION##" ALT=""></BR>##READERNAMEENC##</A>
<A HREF="user_edit.html?user=##USERENC##"><IMG CLASS="statususericon" SRC="image?i=IC_##USERENC##" TITLE="Edit User: ##USERNAME####CLIENTDESCRIPTION##" ALT=""></BR>##USERENC##</A>
READERS
<A HREF="readerconfig.html?label=##READERNAMEENC##"><IMG CLASS="readericon" SRC="image?i=IC_##READERNAMEENC##" TITLE="Edit Reader: ##READERNAME####DESCRIPTION##" ALT=""></BR>##READERNAMEENC##</A>
USERS
<A HREF="user_edit.html?user=##USERNAMEENC##"><IMG CLASS="usericon" SRC="image?i=IC_##USERNAMEENC##" TITLE="Edit User: ##USERNAME####DESCRIPTION##" ALT=""></BR>##USERNAMEENC##</A>
Siehe Bild dann wird verständlicher
Du musst Regestriert sein, um das angehängte Bild zusehen.
Anhänge
Du musst angemeldet sein, um die Anhangsliste zu sehen.
Zuletzt bearbeitet: