start.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {% extends "base_not_installed.html" %}
  2. {% block header_title %}Installing{% endblock %}
  3. {% block section_title %}Installing{% endblock %}
  4. {% block debug %}
  5. {{ users_admin }}
  6. {% endblock %}
  7. {% block content %}
  8. <p>
  9. You are installing VyControl.
  10. </p>
  11. <ol>
  12. <li>You have already created and connected to the database</li>
  13. <li>For small installations, db.sqlite3 is sufficient. Otherwise, use mySQL or PostgreSQL.</li>
  14. <li>Now we are going to create an administrator user.</li>
  15. </ol>
  16. <div class="separe-form">
  17. <form action="{% url 'accounts:accounts-index' %}" method="post">
  18. {% csrf_token %}
  19. <p>
  20. <label for="username">Admin username</label><br>
  21. <input type="text" name="username" id="username" size="20">
  22. </p>
  23. <p>
  24. <label for="password">Admin password</label><br>
  25. <input type="password" name="password" id="password" size="32">
  26. </p>
  27. <p>
  28. <input type="submit" value="Create Admin">
  29. </p>
  30. </form>
  31. </div>
  32. {% endblock %}