<!-- 
 Copyright 2013 The MITRE Corporation 
   and the MIT Kerberos and Internet Trust Consortium
 
 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 
   http://www.apache.org/licenses/LICENSE-2.0
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->

<!-- breadcrumbs -->

<script type="text/html" id="tmpl-breadcrumbs">
    <% if (active == false) { %>
    <li><a href="<%=href%>"><%=text%></a> <span class="divider">/</span></li>
    <% } else { %>
    <li class="active"><%=text%></li>
    <% } %>
</script>

<!-- list widget -->

<script type="text/html" id="tmpl-list-widget-child">
    <td><%=(item.length > 30) ? item.substr(0,27) + '...' : item %></td>
    <td><a class="btn btn-small btn-delete" href="#"><i class="icon-minus-sign"></i></a></td>
</script>

<script type="text/html" id="tmpl-list-widget">
    <thead>
    <tr>
        <th class="control-group">
            <input type="text" value="" placeholder="<%=(placeholder) ? placeholder : ''%>"></th>
        <th><a class="btn btn-small btn-add" href="#"><i class="icon-plus-sign"></i></a></th>
    </tr>
    </thead>
	<tbody>
	</tbody>
</script>


<!-- blacklist form -->
<script type="text/html" id="tmpl-blacklist-form">

    <form class="form-horizontal">
        <fieldset>
            <div class="well well-small">
				<button class="btn btn-small refresh-table"><i class="icon-refresh"></i> Refresh</button>
            </div>

            <div class="control-group" id="blacklist">
                <label class="control-label">Blacklisted URIs</label>
                <div class="controls">
                </div>
            </div>

            <div class="well well-small">
				<button class="btn btn-small refresh-table"><i class="icon-refresh"></i> Refresh</button>
            </div>

        </fieldset>
    </form>

</script>

