Lots of reformatting of reports forms. Improvements to breadcrumbs. XHTML-compliance...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / itemtypes.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Reports &rsaquo; Item Types</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a><!-- TMPL_IF NAME="do_it" --> &rsaquo; <a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">Item Types</a> &rsaquo; Results<!-- TMPL_ELSE --> &rsaquo; Item Types<!-- /TMPL_IF --></div>
10
11 <div id="doc3" class="yui-t2">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16
17 <!-- TMPL_IF NAME="do_it" -->
18 <!-- TMPL_LOOP NAME="mainloop" -->
19         <h1>Reports on item types <!--TMPL_IF NAME="branch" --> for branch = <!-- TMPL_VAR NAME="branch" --><!-- /TMPL_IF --></h1>
20         <table>
21                 <tr>
22                         <th>Item type</th>
23                         <th>count</th>
24                 </tr>
25                         <!-- TMPL_LOOP NAME="loopitemtype" -->
26                                 <tr>
27                                         <td><!-- TMPL_VAR NAME="itemtype" --></td>
28                                         <td><!-- TMPL_VAR NAME="count" --></td>
29                                 </tr>
30                         <!-- /TMPL_LOOP -->
31                         <tr>
32                                 <th>TOTAL</th>
33                                 <th><!-- TMPL_VAR NAME="total" --></th>
34         </table>
35 <!-- /TMPL_LOOP -->
36 <!-- TMPL_ELSE -->
37
38         <form method="post" action="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes">
39                 <fieldset class="rows"><legend>View catalogue group by item types</legend><ol><li><label for="value">Select a branch</label> <!-- TMPL_VAR NAME="CGIbranch" -->
40                 <span class="tip">Select none to see all branches</span></li></ol></fieldset>
41                 <fieldset class="action"><input type="submit" value="Submit" />
42                 <input type="hidden" name="report_name" value="<!--TMPL_VAR NAME="report_name" -->" />
43                 <input type="hidden" name="do_it" value="1" /></fieldset>
44         </form>
45 <!-- /TMPL_IF -->
46
47 </div>
48 </div>
49 <div class="yui-b">
50 <!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
51 </div>
52 </div>
53 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->