Skip to content

Commit

Permalink
Add all apps view
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Posselt committed Jun 24, 2016
1 parent f146230 commit d084ea8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
19 changes: 9 additions & 10 deletions nextcloudappstore/core/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,18 @@
{% block navbar %}{% include 'nav.html' %}{% endblock navbar %}
<div class="container">
<div class="row">
<div class="col-sm-2">
<div class="col-sm-3">
{% block sidebar %}
{% if categories %}
<h2>Categories</h2>
<ul id="sidebar" class="nav nav-pills nav-stacked affix">
{% for cat in categories %}
<li class="{% if cat.id == current_category.id %}active{% endif %}"><a href="{% url 'category_list_category' cat.id %}">{{ cat.name }}</a></li>
{% endfor %}
{% endif %}
</ul>
<h2>Categories</h2>
<ul id="sidebar" class="nav nav-pills nav-stacked">
<li class="{% if cat.id == current_category.id %}active{% endif %}"><a href="{% url 'home' %}">{% trans 'All Apps' %}</a></li>
{% for cat in categories %}
<li class="{% if cat.id == current_category.id %}active{% endif %}"><a href="{% url 'category_list_category' cat.id %}">{{ cat.name }}</a></li>
{% endfor %}
</ul>
{% endblock sidebar %}
</div>
<div class="col-sm-10">
<div class="col-sm-9">
{% block content %}
{% endblock content %}
</div>
Expand Down
8 changes: 0 additions & 8 deletions nextcloudappstore/core/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@
</div>
{% endif %}

<div class="jumbotron">
<h1>Welcome to the Nextcloud App Store</h1>
<p>This is a Prooof of Concept.</p>
<p>
<a class="btn btn-lg btn-primary" href="https://github.com/nextcloud/appstore/" role="button">Go to the repository &raquo;</a>
</p>
</div>

<h2>Applications</h2>
<div class="row">
{% for app in recommended_apps %}
Expand Down

0 comments on commit d084ea8

Please sign in to comment.