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 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!--
  2. This file is part of Lodel 2 (https://github.com/OpenEdition)
  3. Copyright (C) 2015-2017 Cléo UMS-3287
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU Affero General Public License as published
  6. by the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU Affero General Public License for more details.
  12. You should have received a copy of the GNU Affero General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. -->
  15. {% extends "base_backend.html" %}
  16. {% block title %}- Search{% endblock %}
  17. {% block body %}
  18. <ol class="breadcrumb">
  19. <li><a href="/{{ root_url }}/admin">Home</a></li>
  20. <li><a href="/{{ root_url }}/admin/object_create">Search</a></li>
  21. </ol>
  22. {% if msg is not none %}
  23. {% block msg %} <p style="color: red; font-size:20pt; font-weight:bold">{{ msg }}</p> {% endblock %}
  24. {% endif %}
  25. <h1 class="h1_lodel">Searching</h1>
  26. <form class="form-horizontal" action="" method="post">
  27. <select id="classname" name="classname">
  28. {% for classe in my_classes %}
  29. {% if not classe.is_abstract()%}
  30. <option value="{{ classe.__name__ }}">{{ classe.__name__ }}</option>
  31. {% endif %}
  32. {% endfor %}
  33. </select>
  34. <input type="text" name="searchstring" id="searchstring" value="" />
  35. <p>&nbsp;</p>
  36. <button type="submit" class="btn btn-primary">Search</button>
  37. </form>
  38. {% endblock %}