setup_neo4j.htmlβ’1.19 kB
<!DOCTYPE html>
<html>
<head>
<title>Setup - Neo4j</title>
<style>
body { font-family: Arial, sans-serif; max-width: 500px; margin: 50px auto; }
label { display: block; margin: 10px 0; }
input { width: 100%; padding: 5px; margin-top: 5px; }
button { padding: 10px 20px; margin-top: 15px; }
</style>
</head>
<body>
<h1>Neo4j Connection</h1>
{% if message %}<p style="color:{{ 'green' if success else 'red' }}">{{ message }}</p>{% endif %}
<form method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
<label>URI <input name="uri" value="{{ values.uri }}" required></label><br>
<label>User <input name="user" value="{{ values.user }}" required></label><br>
<label>Password <input type="password" name="password" value="{{ values.password }}" required></label><br>
<label>Database <input name="database" value="{{ values.database }}" required></label><br>
<button type="submit">Save & Continue</button>
</form>
{% if missing_deps %}
<p style="color: orange;">Missing optional packages: {{ missing_deps|join(', ') }}. Install them for full functionality.</p>
{% endif %}
</body>
</html>