forked from kmille/freetar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
show running version, source code, license, etc Not shown in navbar if there is no space (mobile device)
- Loading branch information
Showing
4 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% extends "base.html" %} | ||
{% block content %} | ||
|
||
<div> | ||
<strong>freetar</strong> is an open source alternative front-end to ultimate-guitar.com<br> | ||
Running version v{{ version }}<br> | ||
License: <a href="https://github.com/kmille/freetar/blob/main/LICENSE">GPL 3.0</a><br> | ||
Source Code: <a href="https://github.com/kmille/freetar">https://github.com/kmille/freetar</a><br> | ||
Any problems? Wishes? Create an <a href="https://github.com/kmille/freetar/issues/new">issue</a>.<br> | ||
</div> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
{% import 'macros.j2' as macros %} | ||
|
||
|
||
|
||
<head> | ||
<!-- Required meta tags --> | ||
<meta charset="utf-8"> | ||
|
@@ -20,6 +21,7 @@ | |
<meta property="og:type" content=website> | ||
<meta property="og:image" content=https://freetar.de/static/guitar.png> | ||
|
||
|
||
<!-- Bootstrap CSS --> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" | ||
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous"> | ||
|
@@ -53,6 +55,11 @@ | |
<span class="d-inline d-md-none">Favs</span> | ||
</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="/about"> | ||
<span class="d-none d-md-inline">About</span> | ||
</a> | ||
</li> | ||
<li class="nav-item ms-4"> | ||
<a class="nav-link"> | ||
<span role="button" title="enable/disable dark mode" id="dark_mode"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import importlib.metadata | ||
|
||
|
||
def get_version(): | ||
return importlib.metadata.version(__package__) |