Twitter Bootstrap Snippet
<form class="form-inline" action="searchDiskMp3" method="get">
    <input name="diskMp3Path" value="${diskMp3Path}" type="text"
        class="input-xxlarge" placeholder="Enter path for search mp3">
    <button type="submit" class="btn">Search</button>
</form>
<c:if test="${not empty searchSuccess}">
    <c:choose>
        <c:when test="${not empty nonPersistedSongListSize and nonPersistedSongListSize > 0}">
            <div class="alert alert-success">
                <a class="close" data-dismiss="alert">x</a> <strong>Success!</strong>
                <span>${nonPersistedSongListSize} mp3 file successfully
                    added.</span>
            </div>
        </c:when>
        <c:otherwise>
            <div class="alert alert-info">
                <a class="close" data-dismiss="alert">x</a> <strong>Info!</strong>
                <span>No mp3 found in path - ${diskMp3Path}</span>
            </div>
        </c:otherwise>
    </c:choose>
</c:if>
<table class="table table-condensed table-bordered table-striped">
    <thead>
        <tr>
            <th>#</th>
            <th>File Name</th>
            <th>File Path</th>
            <th>Hash</th>
        </tr>
    </thead>
    <tbody>
        <c:forEach var="song" items="${nonPersistedSongList}"
            varStatus="loop">
            <tr>
                <td>${loop.index + 1}</td>
                <td>${song.fileName}</td>
                <td>${song.canonicalPath}</td>
                <td>${song.infoMD5String}</td>
            </tr>
        </c:forEach>
    </tbody>
</table>
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License