honey pad view fixed
dynamic link for video link
This commit is contained in:
@@ -2,10 +2,7 @@
|
||||
|
||||
{% load i18n static %}
|
||||
|
||||
{% block extrastyle %}
|
||||
{{ block.super }}
|
||||
{{ form.media }}
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block bodyclass %}{{ block.super }}bg-base-50 login dark:bg-base-900{% endblock %}
|
||||
|
||||
@@ -19,17 +16,21 @@
|
||||
|
||||
{% block breadcrumbs %}{% endblock %}
|
||||
|
||||
{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% static 'override.css' %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static 'fonts.css' %}" />
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}
|
||||
{{ title }} | {{ site_title }}
|
||||
پنل مدیریت هی ملز
|
||||
{% endblock %}
|
||||
|
||||
{% block base %}
|
||||
<div id="page" class="flex min-h-screen">
|
||||
<div dir="rtl" id="page" class="flex min-h-screen">
|
||||
<div class="flex flex-grow items-center justify-center mx-auto px-4 relative">
|
||||
<div class="w-full sm:w-96">
|
||||
<h1 class="font-semibold mb-10">
|
||||
<span class="block text-font-important-light dark:text-font-important-dark">{% trans 'Welcome back to' %}</span>
|
||||
<span class="block text-primary-600 text-xl dark:text-primary-500">{{ site_title|default:_('Django site admin') }}</span>
|
||||
<span class="block text-font-important-light dark:text-font-important-dark">خوش امدید به </span>
|
||||
<span class="block text-primary-600 text-xl dark:text-primary-500">پنل مدیریت هی ملز</span>
|
||||
</h1>
|
||||
|
||||
{% include "unfold/helpers/messages.html" %}
|
||||
@@ -67,12 +68,6 @@
|
||||
|
||||
|
||||
<input type="text" name="username" autofocus="" autocapitalize="none" autocomplete="username" maxlength="12" class="border border-base-200 bg-white font-medium min-w-20 placeholder-base-400 rounded shadow-sm text-font-default-light text-sm focus:ring focus:ring-primary-300 focus:border-primary-600 focus:outline-none group-[.errors]:border-red-600 group-[.errors]:focus:ring-red-200 dark:bg-base-900 dark:border-base-700 dark:text-font-default-dark dark:focus:border-primary-600 dark:focus:ring-primary-700 dark:focus:ring-opacity-50 dark:group-[.errors]:border-red-500 dark:group-[.errors]:focus:ring-red-600/40 px-3 py-2 w-full" required="" id="id_username">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -80,7 +75,7 @@
|
||||
|
||||
<div class="flex flex-col group mb-6 last:mb-4">
|
||||
<label for="id_password" class="block text-font-important-light dark:text-font-important-dark font-semibold mb-2">
|
||||
Password
|
||||
رمز
|
||||
|
||||
|
||||
<span class="text-red-600">*</span>
|
||||
@@ -105,9 +100,9 @@
|
||||
|
||||
<div class="submit-row">
|
||||
<button type="submit" class="bg-primary-600 border border-transparent flex flex-row font-semibold group items-center justify-center py-2 rounded text-sm text-white w-full">
|
||||
{% translate 'Log in' %}
|
||||
ورود
|
||||
|
||||
<i class="material-symbols-outlined ml-2 relative right-0 text-lg transition-all group-hover:-right-1">arrow_forward</i>
|
||||
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@@ -124,11 +119,9 @@
|
||||
</div>
|
||||
|
||||
<div class="absolute flex flex-row items-center justify-between left-0 m-4 right-0 top-0">
|
||||
{% if site_url %}
|
||||
<a href="{{ site_url }}" class="flex font-medium items-center text-sm text-primary-600 dark:text-primary-500">
|
||||
<span class="material-symbols-outlined mr-2">arrow_back</span> {% trans 'Return to site' %}
|
||||
<a href="https://heymlz.com" class="flex font-medium items-center text-sm text-primary-600 dark:text-primary-500">
|
||||
<span class="material-symbols-outlined mr-2">arrow_forward</span> بازگشت به وبسایت
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if not theme %}
|
||||
{% include "unfold/helpers/theme_switch.html" %}
|
||||
@@ -136,9 +129,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if image %}
|
||||
<div class="bg-cover flex-grow hidden max-w-3xl xl:max-w-4xl xl:block" style="background-image: url('{{ image }}')">
|
||||
|
||||
<div class="bg-cover flex-grow hidden max-w-3xl xl:max-w-4xl xl:block" style="background-image: url('/shop_static/favicon.png')">
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user