Combines shared, blog, market, cart, events, federation, and account into a single repository. Eliminates submodule sync, sibling model copying at build time, and per-app CI orchestration. Changes: - Remove per-app .git, .gitmodules, .gitea, submodule shared/ dirs - Remove stale sibling model copies from each app - Update all 6 Dockerfiles for monorepo build context (root = .) - Add build directives to docker-compose.yml - Add single .gitea/workflows/ci.yml with change detection - Add .dockerignore for monorepo build context - Create __init__.py for federation and account (cross-app imports)
33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
{% extends "_types/social/index.html" %}
|
|
|
|
{% block title %}Search — Rose Ash{% endblock %}
|
|
|
|
{% block social_content %}
|
|
<h1 class="text-2xl font-bold mb-6">Search</h1>
|
|
|
|
<form method="get" action="{{ url_for('social.search') }}" class="mb-6"
|
|
hx-get="{{ url_for('social.search_page') }}"
|
|
hx-target="#search-results"
|
|
hx-push-url="{{ url_for('social.search') }}">
|
|
<div class="flex gap-2">
|
|
<input type="text" name="q" value="{{ query }}"
|
|
class="flex-1 border border-stone-300 rounded-lg px-4 py-2 focus:outline-none focus:ring-2 focus:ring-stone-500"
|
|
placeholder="Search users or @user@instance.tld">
|
|
<button type="submit"
|
|
class="bg-stone-800 text-white px-6 py-2 rounded hover:bg-stone-700">
|
|
Search
|
|
</button>
|
|
</div>
|
|
</form>
|
|
|
|
{% if query and total %}
|
|
<p class="text-sm text-stone-500 mb-4">{{ total }} result{{ 's' if total != 1 }} for <strong>{{ query }}</strong></p>
|
|
{% elif query %}
|
|
<p class="text-stone-500 mb-4">No results found for <strong>{{ query }}</strong></p>
|
|
{% endif %}
|
|
|
|
<div id="search-results">
|
|
{% include "federation/_search_results.html" %}
|
|
</div>
|
|
{% endblock %}
|