Compare commits

...

1 Commits

Author SHA1 Message Date
Flatlogic Bot
ce2fcb2c2d Employee Scheduling Software mobile application 2025-12-18 13:04:05 +00:00
4 changed files with 265 additions and 153 deletions

View File

@ -15,6 +15,9 @@
{% endif %} {% endif %}
{% load static %} {% load static %}
<link rel="stylesheet" href="{% static 'css/custom.css' %}?v={{ deployment_timestamp }}"> <link rel="stylesheet" href="{% static 'css/custom.css' %}?v={{ deployment_timestamp }}">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@700&family=Lato:wght@400;700&display=swap" rel="stylesheet">
{% block head %}{% endblock %} {% block head %}{% endblock %}
</head> </head>

View File

@ -1,145 +1,45 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load static %}
{% block title %}{{ project_name }}{% endblock %} {% block title %}Shiftly Scheduler - Smart Employee Scheduling{% endblock %}
{% block head %} {% block head %}
<link rel="preconnect" href="https://fonts.googleapis.com"> <meta name="description" content="Effortless employee scheduling for modern teams. Create and manage shifts, handle time-off requests, and empower your employees.">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
<style>
:root {
--bg-color-start: #6a11cb;
--bg-color-end: #2575fc;
--text-color: #ffffff;
--card-bg-color: rgba(255, 255, 255, 0.01);
--card-border-color: rgba(255, 255, 255, 0.1);
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Inter', sans-serif;
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
text-align: center;
overflow: hidden;
position: relative;
}
body::before {
content: '';
position: absolute;
inset: 0;
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><path d='M-10 10L110 10M10 -10L10 110' stroke-width='1' stroke='rgba(255,255,255,0.05)'/></svg>");
animation: bg-pan 20s linear infinite;
z-index: -1;
}
@keyframes bg-pan {
0% {
background-position: 0% 0%;
}
100% {
background-position: 100% 100%;
}
}
main {
padding: 2rem;
}
.card {
background: var(--card-bg-color);
border: 1px solid var(--card-border-color);
border-radius: 16px;
padding: 2.5rem 2rem;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
h1 {
font-size: clamp(2.2rem, 3vw + 1.2rem, 3.2rem);
font-weight: 700;
margin: 0 0 1.2rem;
letter-spacing: -0.02em;
}
p {
margin: 0.5rem 0;
font-size: 1.1rem;
opacity: 0.92;
}
.loader {
margin: 1.5rem auto;
width: 56px;
height: 56px;
border: 4px solid rgba(255, 255, 255, 0.25);
border-top-color: #fff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
.runtime code {
background: rgba(0, 0, 0, 0.25);
padding: 0.15rem 0.45rem;
border-radius: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
footer {
position: absolute;
bottom: 1rem;
width: 100%;
text-align: center;
font-size: 0.85rem;
opacity: 0.75;
}
</style>
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<main> <div class="hero d-flex align-items-center justify-content-center">
<div class="card"> <div class="container text-center">
<h1>Analyzing your requirements and generating your app…</h1> <h1 class="display-3">Effortless Scheduling for Modern Teams</h1>
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes"> <p class="lead mb-5">Shiftly Scheduler helps you create, manage, and update shift schedules with ease, giving your team the power to view and manage their work from anywhere.</p>
<span class="sr-only">Loading…</span> <div class="btn-group" role="group" aria-label="Call to action buttons">
<a href="#" class="btn btn-secondary-custom btn-lg">For Employers</a>
<a href="#" class="btn btn-light btn-lg">For Employees</a>
</div> </div>
<p class="hint">AppWizzy AI is collecting your requirements and applying the first changes.</p>
<p class="hint">This page will refresh automatically as the plan is implemented.</p>
<p class="runtime">
Runtime: Django <code>{{ django_version }}</code> · Python <code>{{ python_version }}</code>
— UTC <code>{{ current_time|date:"Y-m-d H:i:s" }}</code>
</p>
</div> </div>
</main> </div>
<div class="container my-5 py-5">
<div class="row text-center">
<div class="col-md-4">
<h2 class="h4">Create Schedules Fast</h2>
<p>Use templates and our intuitive calendar to build and publish schedules in minutes, not hours.</p>
</div>
<div class="col-md-4">
<h2 class="h4">Empower Your Team</h2>
<p>Employees can view their shifts, request swaps, and submit time-off requests directly from their phones.</p>
</div>
<div class="col-md-4">
<h2 class="h4">Stay in Sync</h2>
<p>Automated notifications keep everyone updated on schedule changes, approvals, and requests.</p>
</div>
</div>
</div>
<footer> <footer>
Page updated: {{ current_time|date:"Y-m-d H:i:s" }} (UTC) <p>&copy; 2025 Shiftly Scheduler. All rights reserved.</p>
</footer> </footer>
{% endblock %}
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
{% endblock %}

View File

@ -1,4 +1,117 @@
/* Custom styles for the application */ /* Custom styles for Shiftly Scheduler */
body {
font-family: system-ui, -apple-system, sans-serif; :root {
--primary-color: #4A90E2;
--secondary-color: #F5A623;
--text-color: #333333;
--bg-color: #FFFFFF;
--hero-gradient-start: #4A90E2;
--hero-gradient-end: #7AC9E3;
} }
body {
font-family: 'Lato', sans-serif;
color: var(--text-color);
background-color: var(--bg-color);
margin: 0;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Poppins', sans-serif;
font-weight: 700;
}
.hero {
background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
color: white;
padding: 100px 20px;
text-align: center;
position: relative;
overflow: hidden;
}
.hero h1 {
font-size: 3.5rem;
margin-bottom: 0.5rem;
}
.hero p {
font-size: 1.25rem;
max-width: 600px;
margin: 0 auto 2rem auto;
}
.btn {
border-radius: 50px;
padding: 12px 30px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
}
.btn-primary-custom {
background-color: var(--primary-color);
border-color: var(--primary-color);
color: white;
}
.btn-primary-custom:hover {
background-color: #357ABD;
border-color: #357ABD;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-secondary-custom {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
color: white;
}
.btn-secondary-custom:hover {
background-color: #D98E1F;
border-color: #D98E1F;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-group .btn {
margin: 0 10px;
}
/* Decorative shapes */
.hero::before, .hero::after {
content: '';
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
z-index: 1;
}
.hero::before {
width: 150px;
height: 150px;
top: -50px;
left: -50px;
}
.hero::after {
width: 200px;
height: 200px;
bottom: -100px;
right: -80px;
}
.container {
position: relative;
z-index: 2;
}
footer {
text-align: center;
padding: 2rem 0;
margin-top: 4rem;
background-color: #f8f9fa;
border-top: 1px solid #e7e7e7;
}

View File

@ -1,21 +1,117 @@
/* Custom styles for Shiftly Scheduler */
:root { :root {
--bg-color-start: #6a11cb; --primary-color: #4A90E2;
--bg-color-end: #2575fc; --secondary-color: #F5A623;
--text-color: #ffffff; --text-color: #333333;
--card-bg-color: rgba(255, 255, 255, 0.01); --bg-color: #FFFFFF;
--card-border-color: rgba(255, 255, 255, 0.1); --hero-gradient-start: #4A90E2;
--hero-gradient-end: #7AC9E3;
} }
body { body {
margin: 0; font-family: 'Lato', sans-serif;
font-family: 'Inter', sans-serif; color: var(--text-color);
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end)); background-color: var(--bg-color);
color: var(--text-color); margin: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
text-align: center;
overflow: hidden;
position: relative;
} }
h1, h2, h3, h4, h5, h6 {
font-family: 'Poppins', sans-serif;
font-weight: 700;
}
.hero {
background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
color: white;
padding: 100px 20px;
text-align: center;
position: relative;
overflow: hidden;
}
.hero h1 {
font-size: 3.5rem;
margin-bottom: 0.5rem;
}
.hero p {
font-size: 1.25rem;
max-width: 600px;
margin: 0 auto 2rem auto;
}
.btn {
border-radius: 50px;
padding: 12px 30px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
}
.btn-primary-custom {
background-color: var(--primary-color);
border-color: var(--primary-color);
color: white;
}
.btn-primary-custom:hover {
background-color: #357ABD;
border-color: #357ABD;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-secondary-custom {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
color: white;
}
.btn-secondary-custom:hover {
background-color: #D98E1F;
border-color: #D98E1F;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-group .btn {
margin: 0 10px;
}
/* Decorative shapes */
.hero::before, .hero::after {
content: '';
position: absolute;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
z-index: 1;
}
.hero::before {
width: 150px;
height: 150px;
top: -50px;
left: -50px;
}
.hero::after {
width: 200px;
height: 200px;
bottom: -100px;
right: -80px;
}
.container {
position: relative;
z-index: 2;
}
footer {
text-align: center;
padding: 2rem 0;
margin-top: 4rem;
background-color: #f8f9fa;
border-top: 1px solid #e7e7e7;
}