初版:教务抢课系统 jwxt(从线上实例导出)
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{% extends "base_tailwind.html" %}
|
||||
|
||||
{% block title %}选课模式进行中 - {{ brand_name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="min-h-[60vh] flex items-center justify-center px-4">
|
||||
<div class="glass rounded-2xl p-8 md:p-12 max-w-lg w-full text-center layer-2">
|
||||
<div class="w-16 h-16 mx-auto rounded-2xl bg-amber-100 dark:bg-amber-900/30 flex items-center justify-center">
|
||||
<svg class="w-8 h-8 text-amber-600 dark:text-amber-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path>
|
||||
</svg>
|
||||
</div>
|
||||
<h1 class="text-xl md:text-2xl font-bold text-neutral-900 dark:text-white mt-6">选课模式进行中</h1>
|
||||
<p class="text-neutral-500 dark:text-neutral-400 mt-3 leading-relaxed">
|
||||
为了选课需求,选课时间段内暂时关闭其他服务。<br>
|
||||
课程搜索、选课、退课、已选查询和抢课任务不受影响,<br>
|
||||
其他功能将在选课结束后自动恢复。
|
||||
</p>
|
||||
<div class="mt-8 flex gap-3 justify-center flex-wrap">
|
||||
<a href="{% if current_user.is_authenticated %}{{ url_for('main.courses') }}{% else %}{{ url_for('main.login') }}{% endif %}"
|
||||
class="btn-primary px-6 py-2.5 rounded-full text-sm font-bold inline-block">{% if current_user.is_authenticated %}去选课{% else %}先登录{% endif %}</a>
|
||||
<a href="{{ url_for('main.dashboard') }}"
|
||||
class="px-6 py-2.5 rounded-full text-sm font-bold border border-neutral-300 dark:border-neutral-600 text-neutral-700 dark:text-neutral-200 inline-block">返回首页</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user