modified: app.py
new file: static/favicon.ico modified: templates/base.html
This commit is contained in:
7
app.py
7
app.py
@@ -17,6 +17,13 @@ from datetime import datetime
|
|||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.secret_key = 'your-secret-key-change-this'
|
app.secret_key = 'your-secret-key-change-this'
|
||||||
|
|
||||||
|
from flask import send_from_directory
|
||||||
|
|
||||||
|
@app.route('/favicon.ico')
|
||||||
|
def favicon():
|
||||||
|
return send_from_directory(os.path.join(app.root_path, 'static'),
|
||||||
|
'favicon.ico', mimetype='image/vnd.microsoft.icon')
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
CONFIG_FILE = 'config.json'
|
CONFIG_FILE = 'config.json'
|
||||||
PROJECTS_DIR = 'projects'
|
PROJECTS_DIR = 'projects'
|
||||||
|
|||||||
BIN
static/favicon.ico
Normal file
BIN
static/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
@@ -1,6 +1,7 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="de">
|
<html lang="de">
|
||||||
<head>
|
<head>
|
||||||
|
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<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 %}App Installer & Manager - by Simon Giehl{% endblock %}</title>
|
<title>{% block title %}App Installer & Manager - by Simon Giehl{% endblock %}</title>
|
||||||
|
|||||||
Reference in New Issue
Block a user