175 lines
4.9 KiB
HTML
175 lines
4.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Update Meeting</title>
|
|
<style>
|
|
:root {
|
|
--primary-color: #1b8354;
|
|
--background-color: #fcfcfc;
|
|
--text-color: #333;
|
|
--border-color: #e0e0e0;
|
|
--card-bg: #ffffff;
|
|
--secondary-text: #666;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background-color: var(--background-color);
|
|
color: var(--text-color);
|
|
line-height: 1.6;
|
|
padding: 20px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
padding: 20px 0;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.header h1 {
|
|
color: var(--primary-color);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.card {
|
|
background: var(--card-bg);
|
|
border-radius: 10px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
|
padding: 25px;
|
|
margin-bottom: 25px;
|
|
}
|
|
|
|
.card-title {
|
|
color: var(--primary-color);
|
|
margin-bottom: 20px;
|
|
padding-bottom: 10px;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.form-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.form-label {
|
|
font-weight: 600;
|
|
margin-bottom: 5px;
|
|
color: var(--secondary-text);
|
|
}
|
|
|
|
.form-input {
|
|
padding: 12px;
|
|
border: 1px solid var(--border-color);
|
|
border-radius: 5px;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.btn {
|
|
padding: 12px 25px;
|
|
border-radius: 5px;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
display: inline-block;
|
|
text-align: center;
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--primary-color);
|
|
color: white;
|
|
border: 1px solid var(--primary-color);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background-color: white;
|
|
color: var(--primary-color);
|
|
border: 1px solid var(--primary-color);
|
|
}
|
|
|
|
.btn:hover {
|
|
opacity: 0.9;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.actions {
|
|
display: flex;
|
|
gap: 15px;
|
|
margin-top: 30px;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.actions {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<h1>Update Zoom Meeting</h1>
|
|
<p>Modify the details of your scheduled meeting</p>
|
|
</div>
|
|
|
|
<!-- Messages -->
|
|
{% if messages %}
|
|
<div class="messages">
|
|
{% for message in messages %}
|
|
<div class="alert alert-{{ message.tags }}">
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="card">
|
|
<h2 class="card-title">Meeting Information</h2>
|
|
|
|
<form method="post" action="{% url 'update_meeting' meeting.pk %}">
|
|
{% csrf_token %}
|
|
|
|
<div class="form-row">
|
|
<label for="topic" class="form-label">Topic:</label>
|
|
<input type="text" id="topic" name="topic" class="form-input" value="{{ meeting.topic }}" required>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<label for="start_time" class="form-label">Start Time (ISO 8601):</label>
|
|
<input type="datetime-local" id="start_time" name="start_time" class="form-input"
|
|
value="{{ meeting.start_time|slice:'0:16'|date:'Y-m-d\TH:i' }}" required>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<label for="duration" class="form-label">Duration (minutes):</label>
|
|
<input type="number" id="duration" name="duration" class="form-input" value="{{ meeting.duration }}" required>
|
|
</div>
|
|
|
|
<div class="actions">
|
|
<button type="submit" class="btn btn-primary">Update Meeting</button>
|
|
<a href="{% url 'meeting_details' meeting.pk %}" class="btn btn-secondary">Cancel</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |