|
@@ -0,0 +1,25 @@
|
|
1
|
+{% extends "base_backend.html" %}
|
|
2
|
+
|
|
3
|
+{% block title %}- Search{% endblock %}
|
|
4
|
+{% block body %}
|
|
5
|
+<ol class="breadcrumb">
|
|
6
|
+ <li><a href="/{{ root_url }}/admin">Home</a></li>
|
|
7
|
+ <li><a href="/{{ root_url }}/admin/object_create">Search</a></li>
|
|
8
|
+</ol>
|
|
9
|
+{% if msg is not none %}
|
|
10
|
+ {% block msg %} <p style="color: red; font-size:20pt; font-weight:bold">{{ msg }}</p> {% endblock %}
|
|
11
|
+{% endif %}
|
|
12
|
+<h1 class="h1_lodel">Searching</h1>
|
|
13
|
+<form class="form-horizontal" action="" method="post">
|
|
14
|
+ <select id="classname" name="classname">
|
|
15
|
+ {% for classe in my_classes %}
|
|
16
|
+ {% if not classe.is_abstract()%}
|
|
17
|
+ <option value="{{ classe.__name__ }}">{{ classe.__name__ }}</option>
|
|
18
|
+ {% endif %}
|
|
19
|
+ {% endfor %}
|
|
20
|
+ </select>
|
|
21
|
+ <input type="text" name="searchstring" id="searchstring" value="" />
|
|
22
|
+ <p> </p>
|
|
23
|
+ <button type="submit" class="btn btn-primary">Search</button>
|
|
24
|
+</form>
|
|
25
|
+{% endblock %}
|