Skip to content

Commit d2b63bd

Browse files
committed
chore: keep the footer at the bottom
Fix #1204
1 parent 285f931 commit d2b63bd

File tree

17 files changed

+59
-32
lines changed

17 files changed

+59
-32
lines changed

src/main/config/nginx/503.en.html

+11-2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@
4040
#content {
4141
padding: 10px;
4242
}
43+
44+
.container-fluid {
45+
display: flex;
46+
min-height: 100vh;
47+
flex-direction: column;
48+
}
49+
#content {
50+
flex-grow: 1;
51+
}
4352
</style>
4453
</head>
4554
<body>
@@ -50,8 +59,8 @@
5059
</div>
5160
</div>
5261

53-
<div class="row text-center">
54-
<div id="content" class="col-sm-12">
62+
<div class="row text-center" id="content">
63+
<div class="col-sm-12">
5564
<h1 id="error-code">
5665
503
5766
</h1>

src/main/config/nginx/503.ru.html

+11-2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@
4040
#content {
4141
padding: 10px;
4242
}
43+
44+
.container-fluid {
45+
display: flex;
46+
min-height: 100vh;
47+
flex-direction: column;
48+
}
49+
#content {
50+
flex-grow: 1;
51+
}
4352
</style>
4453
</head>
4554
<body>
@@ -50,8 +59,8 @@
5059
</div>
5160
</div>
5261

53-
<div class="row text-center">
54-
<div id="content" class="col-sm-12">
62+
<div class="row text-center" id="content">
63+
<div class="col-sm-12">
5564
<h1 id="error-code">
5665
503
5766
</h1>

src/main/webapp/WEB-INF/static/styles/main.css

+9
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,12 @@ label {
131131
left: 10px;
132132
background-color: black;
133133
}
134+
135+
.container-fluid {
136+
display: flex;
137+
min-height: 100vh;
138+
flex-direction: column;
139+
}
140+
#content {
141+
flex-grow: 1;
142+
}

src/main/webapp/WEB-INF/views/account/activate.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</ul>
6060
</div>
6161
</div>
62-
<div class="row">
63-
<div id="content" class="col-sm-6 col-sm-offset-3">
62+
<div class="row" id="content">
63+
<div class="col-sm-6 col-sm-offset-3">
6464

6565
<h3 th:text="#{t_activation_on_site}">
6666
Account activation

src/main/webapp/WEB-INF/views/account/auth.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</ul>
6060
</div>
6161
</div>
62-
<div class="row">
63-
<div id="content" class="col-sm-6 col-sm-offset-3" th:with="requestFailed=${(#httpServletRequest.queryString ?: '') eq 'failed'}">
62+
<div class="row" id="content">
63+
<div class="col-sm-6 col-sm-offset-3" th:with="requestFailed=${(#httpServletRequest.queryString ?: '') eq 'failed'}">
6464

6565
<h3 th:text="#{t_authentication_on_site}">
6666
Authentication on site

src/main/webapp/WEB-INF/views/account/register.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</ul>
6060
</div>
6161
</div>
62-
<div class="row">
63-
<div id="content" class="col-sm-6 col-sm-offset-3">
62+
<div class="row" id="content">
63+
<div class="col-sm-6 col-sm-offset-3">
6464

6565
<h3 th:text="#{t_registration_on_site}">
6666
Register on site

src/main/webapp/WEB-INF/views/category/add.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</ul>
6060
</div>
6161
</div>
62-
<div class="row">
63-
<div id="content" class="col-sm-6 col-sm-offset-3" th:with="create_category=#{t_create_category}">
62+
<div class="row" id="content">
63+
<div class="col-sm-6 col-sm-offset-3" th:with="create_category=#{t_create_category}">
6464
<h3 th:text="${#strings.capitalize(create_category)}">
6565
Add category
6666
</h3>

src/main/webapp/WEB-INF/views/category/info.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
</ul>
6363
</div>
6464
</div>
65-
<div class="row">
66-
<div id="content" class="col-sm-12">
65+
<div class="row" id="content">
66+
<div class="col-sm-12">
6767
<h3 id="page-header" th:text="${categoryName}">
6868
Animals
6969
</h3>

src/main/webapp/WEB-INF/views/category/list.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
</ul>
5959
</div>
6060
</div>
61-
<div class="row">
62-
<div id="content" class="col-sm-12" th:with="category_list=#{t_categories}">
61+
<div class="row" id="content">
62+
<div class="col-sm-12" th:with="category_list=#{t_categories}">
6363
<h3 th:text="${#strings.capitalize(category_list)}">
6464
Categories
6565
</h3>

src/main/webapp/WEB-INF/views/country/add.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</ul>
6060
</div>
6161
</div>
62-
<div class="row">
63-
<div id="content" class="col-sm-6 col-sm-offset-3" th:with="add_country=#{t_add_country}">
62+
<div class="row" id="content">
63+
<div class="col-sm-6 col-sm-offset-3" th:with="add_country=#{t_add_country}">
6464
<h3 th:text="${#strings.capitalize(add_country)}">
6565
Add country
6666
</h3>

src/main/webapp/WEB-INF/views/country/info.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
</ul>
6262
</div>
6363
</div>
64-
<div class="row">
65-
<div id="content" class="col-sm-12" th:with="header=#{t_stamps_of(${countryName})}">
64+
<div class="row" id="content">
65+
<div class="col-sm-12" th:with="header=#{t_stamps_of(${countryName})}">
6666
<h3 id="page-header" th:text="${#strings.capitalize(header)}">
6767
Stamps of Italy
6868
</h3>

src/main/webapp/WEB-INF/views/country/list.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
</ul>
5959
</div>
6060
</div>
61-
<div class="row">
62-
<div id="content" class="col-sm-12" th:with="country_list=#{t_countries}">
61+
<div class="row" id="content">
62+
<div class="col-sm-12" th:with="country_list=#{t_countries}">
6363
<h3 th:text="${#strings.capitalize(country_list)}">
6464
Countries
6565
</h3>

src/main/webapp/WEB-INF/views/error/status-code.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
</div>
5858
</div>
5959

60-
<div class="row text-center">
61-
<div id="content" class="col-sm-12">
60+
<div class="row text-center" id="content">
61+
<div class="col-sm-12">
6262
<h1 id="error-code" th:text="${#response.status}">
6363
500
6464
</h1>

src/main/webapp/WEB-INF/views/participant/add.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</ul>
6060
</div>
6161
</div>
62-
<div class="row">
63-
<div id="content" class="col-sm-6 col-sm-offset-3" th:with="header=#{t_add_buyer_seller}">
62+
<div class="row" id="content">
63+
<div class="col-sm-6 col-sm-offset-3" th:with="header=#{t_add_buyer_seller}">
6464
<h3 th:text="${#strings.capitalize(header)}">
6565
Add buyer/seller
6666
</h3>

src/main/webapp/WEB-INF/views/series/add.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
</ul>
6363
</div>
6464
</div>
65-
<div class="row">
66-
<div id="content" class="col-sm-6 col-sm-offset-3" th:with="add_series=#{t_add_series}">
65+
<div class="row" id="content">
66+
<div class="col-sm-6 col-sm-offset-3" th:with="add_series=#{t_add_series}">
6767
<h3 th:text="${#strings.capitalize(add_series)}">
6868
Add stamp series
6969
</h3>

src/main/webapp/WEB-INF/views/series/import/list.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</ul>
6060
</div>
6161
</div>
62-
<div class="row">
63-
<div id="content" class="col-sm-10 col-sm-offset-1" th:with="header=#{t_import_requests}">
62+
<div class="row" id="content">
63+
<div class="col-sm-10 col-sm-offset-1" th:with="header=#{t_import_requests}">
6464
<h3 th:text="${#strings.capitalize(header)}">
6565
Import requests
6666
</h3>

src/main/webapp/WEB-INF/views/series/import/request.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
</ul>
6060
</div>
6161
</div>
62-
<div class="row">
63-
<div id="content" class="col-sm-6 col-sm-offset-3" th:with="header=#{t_import_series}">
62+
<div class="row" id="content">
63+
<div class="col-sm-6 col-sm-offset-3" th:with="header=#{t_import_series}">
6464
<h3 th:text="${#strings.capitalize(header)}">
6565
Import a series
6666
</h3>

0 commit comments

Comments
 (0)