tmpl.cp.mysql.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="theme-color" content="#205081" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <title>Configure MySQL</title>
  8. <link rel="stylesheet" href="{{$.System.PathCssBootstrap}}">
  9. <link rel="stylesheet" href="{{$.System.PathCssCpStyles}}">
  10. <link rel="shortcut icon" href="{{$.System.PathIcoFav}}" type="image/x-icon" />
  11. <style type="text/css">html{height:100%;}</style>
  12. </head>
  13. <body class="cp-mysql text-center">
  14. <form class="form-signin card" action="/cp/" method="post">
  15. <input type="hidden" name="action" value="index-mysql-setup">
  16. <h1 class="h3 mb-3 font-weight-normal">Configure MySQL</h1>
  17. <label for="host" class="sr-only">Database host</label>
  18. <input type="text" id="host" name="host" class="form-control mb-3" placeholder="Database host" value="localhost" required>
  19. <label for="port" class="sr-only">Database host port</label>
  20. <input type="text" id="port" name="port" class="form-control mb-3" placeholder="Database host port" value="3306" required>
  21. <label for="name" class="sr-only">Database name</label>
  22. <input type="text" id="name" name="name" class="form-control mb-3" placeholder="Database name" required autofocus>
  23. <label for="user" class="sr-only">Database user name</label>
  24. <input type="text" id="user" name="user" class="form-control mb-3" placeholder="Database user name" required>
  25. <label for="password" class="sr-only">Database user password</label>
  26. <input type="password" id="password" name="password" class="form-control mb-3" placeholder="Database user password">
  27. <div class="sys-messages"></div>
  28. <button class="btn btn-lg btn-primary btn-block" type="submit">Configure</button>
  29. </form>
  30. <script src="{{$.System.PathJsJquery}}"></script>
  31. <script src="{{$.System.PathJsPopper}}"></script>
  32. <script src="{{$.System.PathJsBootstrap}}"></script>
  33. <script src="{{$.System.PathJsCpScripts}}"></script>
  34. </body>
  35. </html>