1
<% /* Copyright 2009 Google Inc.
3
Licensed under the Apache License, Version 2.0 (the "License");
4
you may not use this file except in compliance with the License.
5
You may obtain a copy of the License at
7
http://www.apache.org/licenses/LICENSE-2.0
9
Unless required by applicable law or agreed to in writing, software
10
distributed under the License is distributed on an "AS-IS" BASIS,
11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
See the License for the specific language governing permissions and
13
limitations under the License. */ %><% helpers.includeCss("lib/jquery.contextmenu.css") %>
14
<% helpers.includeCss("pro/padlist.css") %>
16
<% helpers.includeJQuery() %>
17
<% helpers.includeJs("lib/jquery.contextmenu.js") %>
18
<% helpers.includeJs("pro/pro-padlist-client.js") %>
20
<% helpers.setHtmlTitle("Pad List - " + orgName + " - " + appjet.config.customBrandingName) %>
22
<div class="fpcontent">
26
<%= renderShowingDesc(padList.length) %>
28
<% if (padList.length > 0) { %>
29
<%= renderPadList() %>
30
<p style="font-size: .8em;"><i><%= padList.length %> pad<% if (padList.length > 1) { %>s<% } %></i> <% if (isAdmin) { %>(<a href="/ep/padlist/all-pads.zip">Download all pads as a ZIP archive</a>.) <% } %>
34
<p>No pads in this list.</p>
39
<form action="/ep/padlist/delete" method="post" id="delete-pad" style="display: none;">
40
<input type="hidden" name="returnPath" value="<%= request.url %>" />
41
<input id="padIdToDelete" name="padIdToDelete" type="hidden" value="-" />
44
<form action="/ep/padlist/toggle-archive" method="post" id="toggle-archive-pad" style="display: none;">
45
<input type="hidden" name="returnPath" value="<%= request.url %>" />
46
<input id="padIdToToggleArchive" name="padIdToToggleArchive" type="hidden" value="-" />