Files
s1ne/frontend/templates/index.html
2026-03-29 23:50:49 -05:00

39 lines
1.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="en" data-radix-theme="dark">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title>loader</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/color.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<script defer src="{{ url_for('static', filename='js/anime.min.js') }}"></script>
</head>
<body class="dark-theme">
<div class="main-container centered-wrapper">
<div class="download-section">
<form id="urlForm" action="/choose_format" method="POST">
<div class="form-row">
<input id="downloadURL" name="url" type="text" class="monospace" required>
</div>
</form>
<div id="platformBadge" class="radix-badge hidden">Platform</div>
<div id="formatCard" class="format-selection-container hidden">
<h3 id="formatTitle"></h3>
<button id="closeFormatCard" aria-label="Close formats">×</button>
<form id="formatForm" action="/download_file" method="GET">
<div id="formatOptions" class="format-options"></div>
<input id="hiddenUrl" name="url" type="hidden">
<input id="hiddenSid" name="sid" type="hidden">
<button id="downloadBtn" class="radix-button primary" type="submit" disabled>Download</button>
<button id="cancelBtn" type="button" class="radix-button danger hidden" style="display:none;"></button>
</form>
</div>
{% if soft_banned %}
<div id="soft-ban-badge" class="radix-badge error-badge">Soft Ban</div>
{% endif %}
</div>
</div>
<script type="module" defer src="{{ url_for('static', filename='js/app.js') }}"></script>
</body>
</html>