Allow folks to add snipts to the account, stats, and search pages. Ugly, but works. Closes #67.

master
Nick Sergeant 2013-05-08 22:06:15 -04:00
parent ab86bef67a
commit f2a301eba9
3 changed files with 3 additions and 0 deletions

View File

@ -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>

View File

@ -12,6 +12,7 @@
{% endblock %}
{% block content %}
<section class="snipts" id="snipts"></section>
<div class="static-box">
{% autopaginate snipts 100 %}
<table class="table">

View File

@ -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">