Allow folks to add snipts to the account, stats, and search pages. Ugly, but works. Closes #67.
parent
ab86bef67a
commit
f2a301eba9
|
@ -13,6 +13,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="snipts" id="snipts"></section>
|
||||
<section class="profile group" ng-app="Account" ng-controller="MainController">
|
||||
<aside>
|
||||
<ul class="nav nav-list ng-cloak" ng-cloak>
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="snipts" id="snipts"></section>
|
||||
<div class="static-box">
|
||||
{% autopaginate snipts 100 %}
|
||||
<table class="table">
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section class="snipts" id="snipts"></section>
|
||||
<div class="static-box {% if page.object_list|length > 0 %}has-snipts{% endif %}">
|
||||
<form method="get" class="form-search" action=".">
|
||||
<input type="text" class="search-query" name="q" value="{% if form.q.value %}{{ form.q.value }}{% endif %}" placeholder="Search snipts" id="id_q">
|
||||
|
|
Loading…
Reference in New Issue