mirror of
https://github.com/wahyd4/links.git
synced 2026-08-08 21:04:53 +10:00
UI
This commit is contained in:
@@ -2,8 +2,13 @@
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<h1 class="mb-4">{% trans "Link List" %}</h1>
|
||||
<a href="{% url 'link_create' %}" class="btn btn-primary mb-3">{% trans "Create New Link" %}</a>
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<h1>{% trans "Link List" %}</h1>
|
||||
<a href="{% url 'link_create' %}" class="btn btn-primary">
|
||||
<i class="fas fa-plus me-2"></i>{% trans "Create New Link" %}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<form method="post" action="{% url 'delete_selected' %}">
|
||||
{% csrf_token %}
|
||||
<div class="table-responsive">
|
||||
|
||||
@@ -4,3 +4,5 @@ django-widget-tweaks==1.5.0
|
||||
sqlparse==0.5.1
|
||||
# 虽然 Chart.js 是通过 CDN 加载的,但我们在这里记录它的使用
|
||||
# chart.js==3.7.0
|
||||
# Add this line to your requirements.txt file
|
||||
fontawesome-free==5.15.3
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top">
|
||||
|
||||
Reference in New Issue
Block a user