191 lines
5.2 KiB
HTML
191 lines
5.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Create Zoom 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-header {
|
|
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);
|
|
}
|
|
|
|
.messages {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.alert {
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
margin-bottom: 10px;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.alert-success {
|
|
background-color: #d4edda;
|
|
color: #155724;
|
|
border: 1px solid #c3e6cb;
|
|
}
|
|
|
|
.alert-error {
|
|
background-color: #f8d7da;
|
|
color: #721c24;
|
|
border: 1px solid #f5c6cb;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.btn {
|
|
width: 100%;
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<h1>Zoom Meeting Manager</h1>
|
|
<p>Create a new Zoom meeting</p>
|
|
</div>
|
|
|
|
<!-- Messages -->
|
|
{% if messages %}
|
|
<div class="messages">
|
|
{% for message in messages %}
|
|
<div class="alert alert-{{ message.tags }}">
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<!-- Create Meeting Form -->
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h5>Create New Meeting</h5>
|
|
</div>
|
|
<div class="card-body">
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
|
|
<div class="form-row">
|
|
<label for="topic" class="form-label">Topic</label>
|
|
<input type="text" class="form-input" id="topic" name="topic" placeholder="Enter meeting topic" required>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<label for="start_time" class="form-label">Start Time (UTC)</label>
|
|
<input type="datetime-local" class="form-input" id="start_time" name="start_time" required>
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<label for="duration" class="form-label">Duration (minutes)</label>
|
|
<input type="number" class="form-input" id="duration" name="duration" value="60" min="1">
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<button type="submit" class="btn btn-primary">Create Meeting</button>
|
|
<a href="{% url 'list_meetings' %}" class="btn btn-secondary">Cancel</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |