roundabout,
created on Wednesday, 24 April 2024, 17:13:53 (1713978833),
received on Wednesday, 31 July 2024, 06:54:46 (1722408886)
Author identity: vlad <vlad.muntoiu@gmail.com>
98fafba27051ff2eb32b80cdb79d134df7410d57
config.py
@@ -3,6 +3,8 @@ from dotenv import load_dotenv
load_dotenv("secrets.env") site_name: str = "roundabout-host.com" DB_PASSWORD: str = os.environ.get("DB_PASSWORD") DB_URI: str = f"postgresql://root:{DB_PASSWORD}@localhost/roundabout" REDIS_URI: str = "redis://localhost"
templates/home.html
@@ -9,10 +9,14 @@
{% endblock %} {% block content %} <h1>Home</h1><h2>Search</h2><form action="/search" method="get"><input type="text" name="q" placeholder="Search..." /><input type="submit" value="Search" /></form><x-frame style="--width: 896px;"> <h1>{{ config.site_name }}</h1> <h2>{% trans %}Search{% endtrans %}</h2> <form action="/search" method="get"> <x-buttonbox> <input type="text" name="q" placeholder="Search repositories..."> <button type="submit">Search</button> </x-buttonbox> </form> </x-frame>{% endblock %}