mirror of
https://codeberg.org/SimpleWeb/SimpleerTube.git
synced 2024-11-14 21:23:16 +00:00
Use external style file
This commit is contained in:
parent
3692b57942
commit
5a84312706
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>
|
||||
<head>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
{% block head %}
|
||||
<title>{% block full_title %}{% block title %}{% endblock %} - SimpleerTube{% endblock %}</title>
|
||||
{% endblock %}
|
||||
</head>
|
||||
|
||||
<!-- 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">
|
||||
<label for="query"><b>{{ instance_name }}</b></label>
|
||||
<input type="text" name="query" id="query" placeholder="Search" value="{{ search_term }}"/>
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>SimpleerTube - Search</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
</head>
|
||||
<body>
|
||||
<form action="/search" method="POST">
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>SimpleerTube - Search Results</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
</head>
|
||||
<body>
|
||||
<form action="/search" method="POST">
|
||||
|
|
Loading…
Reference in a new issue