master
SeanChenTaipei 2 years ago
parent bbec258a82
commit 181956c9bd
  1. 0
      static/img/growth.ico
  2. 21
      templates/base.html
  3. 4
      templates/custom.html

Before

Width:  |  Height:  |  Size: 1015 B

After

Width:  |  Height:  |  Size: 1015 B

@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}NTHU Trading Platform{% endblock title%}</title> <title>{% block title %}NTHU Trading Platform{% endblock title%}</title>
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='/img/growth.png') }}"> <link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='/img/growth.ico') }}">
<link <link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
rel="stylesheet" rel="stylesheet"
@ -28,6 +28,10 @@
background-color: #eee; background-color: #eee;
/* font-size: 2vw; */ /* font-size: 2vw; */
font-family: Georgia, sans-serif !important; font-family: Georgia, sans-serif !important;
flex-direction: column;
height:100vh;
background-image: url({{ url_for('static', filename='img/money.jpeg') }});
background-size: cover;
} }
/* .offcanvas-body { /* .offcanvas-body {
font-size: 2vw; font-size: 2vw;
@ -138,7 +142,7 @@
</header> </header>
<body> <body>
{% block content %} {% block content %}
<div class="container-sm mx-auto my-4 p-4 bg-white shadow-lg" style="border-radius: 5px;"> <div class="container-lg mx-auto my-2 p-4 bg-white shadow-lg" style="border-radius: 5px;">
<!-- <h1 class="text-4xl font-bold mb-4">Document Title - {{ active_page|e }} </h1> --> <!-- <h1 class="text-4xl font-bold mb-4">Document Title - {{ active_page|e }} </h1> -->
<div class="alert alert-secondary" role="alert"> <div class="alert alert-secondary" role="alert">
<ul> <ul>
@ -272,7 +276,20 @@
</p> </p>
</div> </div>
</div> </div>
{% endblock content %} {% endblock content %}
<footer class="text-center text-white" style="background-color: #6171ce">
<div
class="text-center p-3"
style="background-color: rgba(0, 0, 0, 0.2)"
>
© 2023 Copyright NTHU-TPM
<a href="https://github.com/SeanChenTaipei" target="_blank" rel="noopener" class="btn-outline-light btn-floating" role="button">
<i class="fab fa-github"></i>
</a>
</div>
<!-- Copyright -->
</footer>
<!--jQuery --> <!--jQuery -->

@ -3,4 +3,6 @@
{% block title %}Strategy Page{% endblock%} {% block title %}Strategy Page{% endblock%}
{% block content %}Hello world - {{ active_page|e }} {% endblock %} {% block content %}Hello world - {{ active_page|e }}
TODODODODOODODODOODODODODOD
{% endblock %}

Loading…
Cancel
Save