Use external style file
This commit is contained in:
parent
3692b57942
commit
5a84312706
4 changed files with 13 additions and 1 deletions
6
static/style.css
Normal file
6
static/style.css
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
body {
|
||||||
|
max-width: 800px;
|
||||||
|
margin: 10px auto;
|
||||||
|
padding-left: 5px;
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
|
@ -2,13 +2,15 @@
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<title>{% block full_title %}{% block title %}{% endblock %} - SimpleerTube{% endblock %}</title>
|
<title>{% block full_title %}{% block title %}{% endblock %} - SimpleerTube{% endblock %}</title>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<!-- I know that inline CSS is not .. the best, but I'll move it to an external file for sure! definitely! -->
|
<!-- I know that inline CSS is not .. the best, but I'll move it to an external file for sure! definitely! -->
|
||||||
<body style="max-width: 800px; margin: 10px auto; padding-left: 5px; padding-right: 5px">
|
<body>
|
||||||
<form action="/{{ domain }}/search" method="POST">
|
<form action="/{{ domain }}/search" method="POST">
|
||||||
<label for="query"><b>{{ instance_name }}</b></label>
|
<label for="query"><b>{{ instance_name }}</b></label>
|
||||||
<input type="text" name="query" id="query" placeholder="Search" value="{{ search_term }}"/>
|
<input type="text" name="query" id="query" placeholder="Search" value="{{ search_term }}"/>
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>SimpleerTube - Search</title>
|
<title>SimpleerTube - Search</title>
|
||||||
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form action="/search" method="POST">
|
<form action="/search" method="POST">
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>SimpleerTube - Search Results</title>
|
<title>SimpleerTube - Search Results</title>
|
||||||
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<form action="/search" method="POST">
|
<form action="/search" method="POST">
|
||||||
|
|
Loading…
Reference in a new issue