No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

admin_search.html 931B

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