Add summary and activity screens, remove private datasets from counts
[ckanext-dga-stats.git] / ckanext / leaderboard.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<html xmlns:py="http://genshi.edgewall.org/"
  xmlns:i18n="http://genshi.edgewall.org/i18n"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  py:strip="">
 
  <py:def function="page_title">Leaderboard - Stats</py:def>
 
  <py:def function="optional_head">
  <script type="text/javascript">
    var solrCoreUrl = '${c.solr_core_url}';
  </script>
  <script type="text/javascript" src="${h.url_for('/ckanext/stats/app.js')}"></script>
  <link type="text/css" rel="stylesheet" media="all" href="${h.url_for('/ckanext/stats/style.css')}" />
  </py:def>
 
  <div py:match="content">
    <h2>Dataset Leaderboard</h2>
    <p>Choose a dataset attribute and find out which categories in that area have the most datasets. E.g. tags, groups, license, res_format, country.</p>
    <form>
      <label for="category">Choose area</label>
      <input type="text" value="tags" name="attribute" id="form-attribute" />
      <input type="submit" value="Dataset Counts &raquo;" name="submit" />
    </form>
 
    <div class="category-counts">
      <ul class="chartlist" id="category-counts">
      </ul>
    </div>
  </div>
 
  <xi:include href="../../layout.html" />
</html>