Fix name app
This commit is contained in:
parent
7fd2c3474f
commit
31901905e3
@ -47,7 +47,7 @@ SETTINGS_INFO = collections.OrderedDict([
|
|||||||
('allow_foreign_addresses', {
|
('allow_foreign_addresses', {
|
||||||
'type': bool,
|
'type': bool,
|
||||||
'default': False,
|
'default': False,
|
||||||
'comment': '''This will allow others to connect to your YouTube Local instance as a website.
|
'comment': '''This will allow others to connect to your YT Local instance as a website.
|
||||||
For security reasons, enabling this is not recommended.''',
|
For security reasons, enabling this is not recommended.''',
|
||||||
'hidden': True,
|
'hidden': True,
|
||||||
'category': 'network',
|
'category': 'network',
|
||||||
|
@ -18,14 +18,14 @@ yt_app.add_url_rule('/settings', 'settings_page', settings.settings_page, method
|
|||||||
|
|
||||||
@yt_app.route('/')
|
@yt_app.route('/')
|
||||||
def homepage():
|
def homepage():
|
||||||
return flask.render_template('home.html', title="YouTube local")
|
return flask.render_template('home.html', title="YT Local")
|
||||||
|
|
||||||
|
|
||||||
@yt_app.route('/licenses')
|
@yt_app.route('/licenses')
|
||||||
def licensepage():
|
def licensepage():
|
||||||
return flask.render_template(
|
return flask.render_template(
|
||||||
'licenses.html',
|
'licenses.html',
|
||||||
title="Licenses - YouTube Local"
|
title="Licenses - YT Local"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
|
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
|
||||||
<ShortName>YouTube local</ShortName>
|
<ShortName>YT Local</ShortName>
|
||||||
<Description>no CIA shit in the background</Description>
|
<Description>no CIA shit in the background</Description>
|
||||||
<InputEncoding>UTF-8</InputEncoding>
|
<InputEncoding>UTF-8</InputEncoding>
|
||||||
<Image width="16" height="16">data:image/x-icon;base64,AAABAAEAEBAAAAEACAAlAgAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAQAAAAEAgGAAAAH/P/YQAAAexJREFUOI2lkzFPmlEUhp/73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j/fIylVTKa/6UzXKbSnnuHkA0GnwbH/cA0a0takND3IyOEiwWAXBiMYTWjzLwtvB9bAyAwMUF8ZUVPiwtYTWbHqA6PIxoNv8OMLbN3eBga9TZWYQxaKX+AJJJhOv+AyAlT0slAG6TSX5n8+zszJugkzxA4PzcK9YSCQCk42DXaq1aGwqgfT5ebG9jpMQyUjKwu8vrtbWWqxC83NjAd31NsO2uleJnX58HCJ6eEjk8BGNQAA+RCOXJScpTU2AMwnUxlkXk4ACA+2iUSKGArNeRjkMsl6M8MYHQGtHpmIxSvFpfRzoORinQGqvZBCEwQoAxfMlkaIRCnQH/o66v8Re19MavaDNLfgAAAABJRU5ErkJggg==</Image>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval'; media-src 'self' https://*.googlevideo.com; {{ "img-src 'self' https://*.googleusercontent.com https://*.ggpht.com https://*.ytimg.com;" if not settings.proxy_images else "" }}"/>
|
<meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' 'unsafe-eval'; media-src 'self' https://*.googlevideo.com; {{ "img-src 'self' https://*.googleusercontent.com https://*.ggpht.com https://*.ytimg.com;" if not settings.proxy_images else "" }}"/>
|
||||||
<title>{{ page_title }}</title>
|
<title>{{ page_title }}</title>
|
||||||
<link title="YouTube local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml"/>
|
<link title="YT Local" href="/youtube.com/opensearch.xml" rel="search" type="application/opensearchdescription+xml"/>
|
||||||
<link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon"/>
|
<link href="/youtube.com/static/favicon.ico" type="image/x-icon" rel="icon"/>
|
||||||
<link href="/youtube.com/static/normalize.css" rel="stylesheet"/>
|
<link href="/youtube.com/static/normalize.css" rel="stylesheet"/>
|
||||||
<link href="{{ theme_path }}" rel="stylesheet"/>
|
<link href="{{ theme_path }}" rel="stylesheet"/>
|
||||||
@ -17,7 +17,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<header class="header">
|
<header class="header">
|
||||||
<nav class="home">
|
<nav class="home">
|
||||||
<a href="/youtube.com" id="home-link">YouTube Local</a>
|
<a href="/youtube.com" id="home-link">YT Local</a>
|
||||||
</nav>
|
</nav>
|
||||||
<form class="form" id="site-search" action="/youtube.com/search">
|
<form class="form" id="site-search" action="/youtube.com/search">
|
||||||
<input type="search" name="query" class="search-box" value="{{ search_box_value }}"
|
<input type="search" name="query" class="search-box" value="{{ search_box_value }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user