Mobile-friendly UI: hamburger nav, responsive layouts, restyle login/admin pages, fix iOS upload
This commit is contained in:
+13
-13
@@ -5,25 +5,25 @@
|
||||
{% block navbar %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="login-container" style="max-width: 400px; margin: 50px auto; padding: 20px; border: 1px solid #ccc; border-radius: 8px;">
|
||||
<h2>تسجيل الدخول</h2>
|
||||
|
||||
<div class="login-card">
|
||||
<h2>🏠 تسجيل الدخول</h2>
|
||||
|
||||
{% if error %}
|
||||
<div style="color: red; margin-bottom: 10px;">{{ error }}</div>
|
||||
<div class="login-error">{{ error }}</div>
|
||||
{% endif %}
|
||||
|
||||
<form method="post" action="/auth/login">
|
||||
<div style="margin-bottom: 15px;">
|
||||
<label for="username" style="display: block; margin-bottom: 5px;">اسم المستخدم:</label>
|
||||
<input type="text" id="username" name="username" required style="width: 100%; padding: 8px;">
|
||||
<div class="form-group">
|
||||
<label for="username">اسم المستخدم</label>
|
||||
<input type="text" id="username" name="username" required placeholder="أدخل اسم المستخدم">
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 15px;">
|
||||
<label for="password" style="display: block; margin-bottom: 5px;">كلمة المرور:</label>
|
||||
<input type="password" id="password" name="password" required style="width: 100%; padding: 8px;">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password">كلمة المرور</label>
|
||||
<input type="password" id="password" name="password" required placeholder="أدخل كلمة المرور">
|
||||
</div>
|
||||
|
||||
<button type="submit" style="width: 100%; padding: 10px; background-color: #007bff; color: white; border: none; border-radius: 4px; cursor: pointer;">
|
||||
|
||||
<button type="submit" class="btn btn-primary btn-large" style="width:100%; justify-content:center; margin-top:.5rem;">
|
||||
دخول
|
||||
</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user