Skip to content

Commit

Permalink
添加Logo
Browse files Browse the repository at this point in the history
  • Loading branch information
finovy committed Jan 26, 2024
1 parent 08f8f0a commit 5fbad02
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 8 deletions.
49 changes: 49 additions & 0 deletions common/static/dist/css/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added common/static/img/archery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions common/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@
<link href="{% static 'bootstrap-select/css/bootstrap-select.min.css' %}" rel="stylesheet">
<link href="{% static 'bootstrap-table/css/bootstrap-table.min.css' %}" rel="stylesheet">
<link href="{% static 'bootstrap-switch/css/bootstrap-switch.min.css' %}" rel="stylesheet">
<style type="text/css">
table{
max-width: none !important; /*解决 ios 横向滚动失效*/
}
</style>
<link href="{% static 'dist/css/style.css' %}" rel="stylesheet">
<!-- django i18n -->
<script type="text/javascript" src="{% url 'sql:javascript-catalog' %}"></script>
</head>
Expand All @@ -39,7 +35,10 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/dashboard/"><strong>Archery</strong></a>
{# <a class="navbar-brand" href="/index/"><strong>Archery</strong></a>#}
<a class="navbar-brand" href="/dashboard/">
<img src="/static/img/archery.png" alt="Archery Logo" />
</a>
</div>

<!-- /.navbar-header -->
Expand Down
7 changes: 5 additions & 2 deletions common/templates/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- 引入 Bootstrap -->
<link href="{% static 'bootstrap/css/bootstrap.min.css' %}" rel="stylesheet">
<link href="{% static 'dist/css/login.css' %}" rel="stylesheet">
<link href="{% static 'dist/css/style.css' %}" rel="stylesheet">
<!-- HTML5 Shim Respond.js 用于让 IE8 支持 HTML5元素和媒体查询 -->
<!-- 注意如果通过 file:// 引入 Respond.js 文件则该文件无法起效果 -->
<!--[if lt IE 9]>
Expand All @@ -18,7 +18,10 @@
<body style="background-color:#edeff1;">
<div class="row lsb-login">
<div class="col-sm-4 login-form-wrapper">
<h3 class="text-center">Login To Archery</h3>
<section class="text-center">
<img src="/static/img/archery.png" alt="Archery Logo" />
</section>
{# <h3 class="text-center" i18n="main.title" style="margin-bottom: 20px"> </h3>#}
<form class="login-form fade-in-effect" id="login" method="post" role="form">
{% csrf_token %}
{% if dingding_enabled %}
Expand Down

0 comments on commit 5fbad02

Please sign in to comment.