A Python content management system designed for kirsle.net featuring a blog, comments and photo albums. https://rophako.kirsle.net/
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.

42 lines
1.4KB

  1. {% extends "layout.html" %}
  2. {% block title %}Initial Setup{% endblock %}
  3. {% block scripts %}
  4. <script type="text/javascript" src="/rophako/setup.js"></script>
  5. {% endblock %}
  6. {% block content %}
  7. <h1>Welcome to Rophako!</h1>
  8. This is the initial setup for the Rophako CMS. The main purpose of this is
  9. to create the initial Administrator user account.<p>
  10. <form id="setup_form" action="{{ url_for('account.setup') }}" method="POST">
  11. <input type="hidden" name="token" value="{{ csrf_token() }}">
  12. <fieldset>
  13. <legend>Admin User</legend>
  14. Your site needs at least one admin user to log in and manage the site.
  15. You can use any username/password combination you want, but "admin" is
  16. a typical username.<p>
  17. <strong>Username:</strong><br>
  18. <input type="text" size="40" name="username" id="username" placeholder="admin"><p>
  19. <strong>Real name:</strong><br>
  20. <input type="text" size="40" name="name" placeholder="John Doe"><p>
  21. <strong>Passphrase:</strong><br>
  22. This can be as long as you want. Pick something
  23. <a href="http://xkcd.com/936/" target="_blank">secure!</a><br>
  24. <input type="password" size="40" id="pw1" name="password1" placeholder="correct horse battery staple"><p>
  25. <strong>Confirm Passphrase:</strong><br>
  26. <input type="password" size="40" id="pw2" name="password2" placeholder="correct horse battery staple"><p>
  27. <button type="submit">Next</button>
  28. </fieldset>
  29. </form>
  30. {% endblock %}