initial: blog-app snapshot
This commit is contained in:
45
templates/project_detail.html
Normal file
45
templates/project_detail.html
Normal file
@@ -0,0 +1,45 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}项目详情 - AI Agent 项目追踪{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div id="projectHeader">
|
||||
<div class="empty-hint">加载项目信息…</div>
|
||||
</div>
|
||||
|
||||
<div class="row g-4 mt-2">
|
||||
<div class="col-lg-6">
|
||||
<h2 class="h4 mb-3">Release 时间线</h2>
|
||||
<div class="timeline">
|
||||
<ul class="list-group" id="releaseTimeline">
|
||||
<li class="list-group-item empty-hint">加载中…</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<h2 class="h4 mb-3">最近 Issues</h2>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-hover align-middle">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>标题</th>
|
||||
<th>状态</th>
|
||||
<th>创建时间</th>
|
||||
<th>用户</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="issueTableBody">
|
||||
<tr><td colspan="4" class="empty-hint">加载中…</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script type="module">
|
||||
import { initProjectDetailPage } from "{{ url_for('static', filename='js/pages/project-detail.js') }}";
|
||||
|
||||
initProjectDetailPage({{ project_id | tojson }});
|
||||
</script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user