feat: clickable title
This commit is contained in:
@@ -18,7 +18,7 @@ gbnetloc = urlparse(allbooks_url).netloc
|
|||||||
def index(request: HttpRequest):
|
def index(request: HttpRequest):
|
||||||
context = {
|
context = {
|
||||||
'title': 'epub2go',
|
'title': 'epub2go',
|
||||||
'http_host': request.META['HTTP_HOST'],
|
'http_host': f'http://{ request.META['HTTP_HOST'] }',
|
||||||
'books': books,
|
'books': books,
|
||||||
'book_count': len(books),
|
'book_count': len(books),
|
||||||
'allbooks_url': allbooks_url,
|
'allbooks_url': allbooks_url,
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<header>
|
<header>
|
||||||
<div>
|
<div>
|
||||||
<h1>{{ title }}</h1>
|
<h1><a href="{{ http_host }}">{{ title }}</a></h1>
|
||||||
<h2>1 Click Download für Literatur</h2>
|
<h2>1 Click Download für Literatur</h2>
|
||||||
</div>
|
</div>
|
||||||
<search>
|
<search>
|
||||||
@@ -27,7 +27,7 @@
|
|||||||
</form>
|
</form>
|
||||||
</search>
|
</search>
|
||||||
<small>Im Moment finden sich hier <a href="{{ allbooks_url }}">{{ book_count }} Bücher.</a> </small>
|
<small>Im Moment finden sich hier <a href="{{ allbooks_url }}">{{ book_count }} Bücher.</a> </small>
|
||||||
<a href="javascript:void(window.open('http://{{ http_host }}/?t=' + encodeURIComponent(window.location.toString())))" title="Als Lesezeichen speichern">
|
<a href="javascript:void(window.open('{{ http_host }}/?t=' + encodeURIComponent(window.location.toString())))" title="Als Lesezeichen speichern">
|
||||||
<img src="{% static 'bookmark.svg' %}" alt="Bookmarklet" class="header-icon">
|
<img src="{% static 'bookmark.svg' %}" alt="Bookmarklet" class="header-icon">
|
||||||
</a>
|
</a>
|
||||||
<a href="https://github.com/eneller/epub2go-web">
|
<a href="https://github.com/eneller/epub2go-web">
|
||||||
|
|||||||
Reference in New Issue
Block a user