diff options
author | Kedar Aitawdekar <kedar2a@gmail.com> | 2015-07-08 16:51:00 +0530 |
---|---|---|
committer | Kedar Aitawdekar <kedar2a@gmail.com> | 2015-07-08 16:51:00 +0530 |
commit | 7e98f162cb36798519e8575de5f2a6ab70c0593f (patch) | |
tree | 2477ca7e039e61ea278407f4f61fba9fb6dbab41 /gnowsys-ndf/gnowsys_ndf | |
parent | a6b3209c78d2abcd3e53014bc0f3c9faa1bd8ba6 (diff) | |
download | gnowsys-7e98f162cb36798519e8575de5f2a6ab70c0593f.tar.gz |
Changed repository layout: cards size and showing info on LHS
Diffstat (limited to 'gnowsys-ndf/gnowsys_ndf')
-rw-r--r-- | gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/repository.html | 47 |
1 files changed, 20 insertions, 27 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/repository.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/repository.html index 9b4b4a8..d04853c 100644 --- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/repository.html +++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/repository.html @@ -1,5 +1,5 @@ {% extends "ndf/base.html" %} - +{% load i18n %} {% load ndf_tags %} {% load cache %} @@ -14,8 +14,8 @@ } .app-card{ - width: 12rem; - min-height: 20rem; + width: 17rem; + min-height: 17rem; margin: 20px 1rem; background-color: #efefef; border: thin solid lightgray; @@ -35,31 +35,24 @@ font-size: 7em; z-index: 0; opacity: 0.1; - padding-top: 5rem; + padding-top: 2rem; } {% endblock %} + +{% block meta_content %} + <h2 class="subheader">{% trans "Repository" %}</h2> +{% endblock %} + +{% block related_content%} + content goes here... +{% endblock %} + {% block body_content %} - {% comment %} - <!-- - <ul class="inline-list"> - {% for each_gapp in gapps_dict %} - <li> - <a class="app-card text-center" - {% if each_gapp.values.0 %} href="{% url each_gapp.values.0 group_id %}" {% endif %} > - <i class="icons fi-asterisk"></i> - <h4><small>{{ each_gapp.keys.0 }}</small></h4> - <hr/> - </a> - </li> - {% endfor %} - </ul> - --> - {% endcomment %} - - <ul class="inline-list card-holder"> + <!-- <ul class="inline-list card-holder"> --> + <ul class="small-block-grid-1 medium-block-grid-2 large-block-grid-3"> {% for each_gapp in gapps_obj_list %} <li> <a class="app-card text-center" href="{% url each_gapp.name|lower group_id %}"> @@ -73,12 +66,12 @@ </ul> <script type="text/javascript"> - // removing left panel: - $("main.row > aside.columns").detach(); + // // removing left panel: + // $("main.row > aside.columns").detach(); - // making body_content block to take 12-large columns - $article = $("main.row > article.columns"); - $article.removeClass("medium-10").addClass("large-12"); + // // making body_content block to take 12-large columns + // $article = $("main.row > article.columns"); + // $article.removeClass("medium-10").addClass("large-12"); </script> {% endblock %} |