java/HrisniciSpameri/web/tabulkaSouhrnu.jspx
author František Kučera <franta-hg@frantovo.cz>
Sun, 01 Mar 2009 17:45:45 +0100
changeset 42 63d0f3ef8ca9
parent 41 d41dc2f3380d
child 43 22cc28d200f3
permissions -rw-r--r--
Přidání posuvníku k tabulce souhrnu a omezení její výšky.
franta-hg@41
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@41
     2
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
franta-hg@41
     3
          xmlns:c="http://java.sun.com/jsp/jstl/core"
franta-hg@41
     4
          xmlns:f="http://java.sun.com/jsp/jstl/functions"
franta-hg@41
     5
          version="2.0">
franta-hg@41
     6
franta-hg@42
     7
    <div id="seznamHrisnikuScroll">
franta-hg@42
     8
        <table class="sortable" id="seznamHrisniku">
franta-hg@42
     9
            <thead>
franta-hg@41
    10
                <tr>
franta-hg@42
    11
                    <td title="Zaznamenaná IP">IP&amp;nbsp;adresa</td>
franta-hg@42
    12
                    <td title="Dodatečně přeložené jméno">Doména</td>
franta-hg@42
    13
                    <td title="Kolikrát spamoval">Počet&amp;nbsp;pokusů</td>
franta-hg@42
    14
                    <td title="Den (posledního) pokusu">Datum</td>
franta-hg@42
    15
                    <td title="Kde spamoval">Cíl&amp;nbsp;útoku</td>
franta-hg@41
    16
                </tr>
franta-hg@42
    17
            </thead>
franta-hg@42
    18
            <tbody>
franta-hg@42
    19
                <c:forEach var="s" items="${denniSouhrn.souhrn}">
franta-hg@42
    20
                    <tr>
franta-hg@42
    21
                        <td><c:out value="${s.adresa.ip}"/></td>
franta-hg@42
    22
                        <td><c:out value="${s.adresa.domena}"/></td>
franta-hg@42
    23
                        <td class="cislo"><c:out value="${s.pocet}"/></td>
franta-hg@42
    24
                        <td><c:out value="${s.den}"/></td>
franta-hg@42
    25
                        <td><c:choose>
franta-hg@42
    26
                                <c:when test="${s.cil.url == null}">
franta-hg@42
    27
                                    <c:out value="${s.cil.nazev}"/>
franta-hg@42
    28
                                </c:when>
franta-hg@42
    29
                                <c:otherwise>
franta-hg@42
    30
                                    <a href="${f:escapeXml(s.cil.url)}"><c:out value="${s.cil.nazev}"/></a>
franta-hg@42
    31
                                </c:otherwise>
franta-hg@42
    32
                            </c:choose>
franta-hg@42
    33
                        </td>
franta-hg@42
    34
                    </tr>
franta-hg@42
    35
                </c:forEach>
franta-hg@42
    36
            </tbody>
franta-hg@42
    37
        </table>
franta-hg@42
    38
    </div>
franta-hg@41
    39
</jsp:root>