feat: add RBAC migrations, user modules, admin API updates, and utility scripts
This commit is contained in:
@@ -16,13 +16,35 @@
|
||||
*{box-sizing:border-box}
|
||||
body{margin:0;font-family:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;background:var(--muted);color:#111}
|
||||
.auth-wrapper{display:flex;min-height:100vh}
|
||||
|
||||
/* LEFT PANEL — video */
|
||||
.auth-left{
|
||||
position:relative;
|
||||
width:40%;
|
||||
min-width:320px;
|
||||
background:linear-gradient(180deg,var(--blue1),var(--blue2));
|
||||
color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:center;gap:10px;
|
||||
overflow:hidden;
|
||||
color:#fff;
|
||||
display:flex;flex-direction:column;justify-content:flex-end;
|
||||
}
|
||||
.brand{font-weight:700;font-size:28px}
|
||||
.auth-left video{
|
||||
position:absolute;inset:0;
|
||||
width:100%;height:100%;
|
||||
object-fit:cover;
|
||||
z-index:0;
|
||||
}
|
||||
/* dark gradient overlay for text legibility */
|
||||
.auth-left::after{
|
||||
content:'';
|
||||
position:absolute;inset:0;
|
||||
background:linear-gradient(180deg,rgba(10,20,60,0.35) 0%,rgba(10,20,60,0.72) 100%);
|
||||
z-index:1;
|
||||
}
|
||||
.auth-left-content{
|
||||
position:relative;z-index:2;
|
||||
padding:48px;
|
||||
display:flex;flex-direction:column;gap:10px;
|
||||
}
|
||||
.brand{font-weight:700;font-size:28px;letter-spacing:-0.5px}
|
||||
.auth-left h1{font-size:36px;margin:0}
|
||||
.auth-left p{opacity:.92;margin:0;font-size:16px}
|
||||
|
||||
@@ -52,10 +74,12 @@
|
||||
.message.warning{background:#fff7e6;color:#7a4b00}
|
||||
.errorlist{color:#b00020;margin:6px 0 0 0;font-size:13px}
|
||||
|
||||
/* responsive */
|
||||
/* responsive — mobile: hide video, show compact gradient header */
|
||||
@media (max-width:900px){
|
||||
.auth-wrapper{flex-direction:column}
|
||||
.auth-left{width:100%;min-height:180px;padding:28px;text-align:center}
|
||||
.auth-left{width:100%;min-height:180px;justify-content:flex-end;}
|
||||
.auth-left video{display:block;}
|
||||
.auth-left-content{padding:28px;text-align:center}
|
||||
.auth-right{padding:20px}
|
||||
.auth-card{border-radius:14px;padding:28px}
|
||||
}
|
||||
@@ -64,8 +88,14 @@
|
||||
<body>
|
||||
<div class="auth-wrapper">
|
||||
<div class="auth-left">
|
||||
<div class="brand">Eventify</div>
|
||||
<p>{% block left_subtext %}Your events at your fingertips.{% endblock %}</p>
|
||||
<video autoplay muted loop playsinline preload="auto" poster="https://images.pexels.com/videos/36761729/kerala-kerala-tourism-36761729.jpeg?auto=compress&cs=tinysrgb&w=750">
|
||||
<source src="https://videos.pexels.com/video-files/36761729/15579487_1920_1080_30fps.mp4" type="video/mp4">
|
||||
<source src="https://videos.pexels.com/video-files/36761729/15579486_1280_720_30fps.mp4" type="video/mp4">
|
||||
</video>
|
||||
<div class="auth-left-content">
|
||||
<div class="brand">Eventify</div>
|
||||
<p>{% block left_subtext %}Your events at your fingertips.{% endblock %}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="auth-right">
|
||||
|
||||
Reference in New Issue
Block a user