mirror of
https://github.com/barkeser2002/offline-db.git
synced 2026-09-25 06:00:11 +03:00
- Implemented semi-automated Jikan import for Anime/Episodes in Admin - Reverted Admin UI to standard Django (removed Unfold) - Ensured os.getenv usage - Fixed dependency issues Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
25 lines
888 B
HTML
25 lines
888 B
HTML
{% extends "admin/base_site.html" %}
|
|
{% load i18n admin_urls %}
|
|
|
|
{% block breadcrumbs %}
|
|
<div class="breadcrumbs">
|
|
<a href="{% url 'admin:index' %}">{% translate 'Home' %}</a>
|
|
› <a href="{% url 'admin:app_list' app_label='content' %}">Content</a>
|
|
› <a href="{% url 'admin:content_anime_changelist' %}">Anime</a>
|
|
› Import from Jikan
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Import Anime from Jikan.moe</h1>
|
|
<p>Enter the MyAnimeList ID of the anime you want to import.</p>
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
<div style="margin-top: 20px;">
|
|
<label for="mal_id" style="font-weight: bold;">Jikan (MAL) ID:</label>
|
|
<input type="number" name="mal_id" id="mal_id" required style="padding: 5px; border: 1px solid #ccc;">
|
|
<input type="submit" value="Import" class="default" style="margin-left: 10px;">
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|