Compare commits
No commits in common. "880b899e815bb4a5f38f16c782cf02ba28c6754d" and "9d11cc75761f805b4b8230a0caa56a2018a76a6c" have entirely different histories.
880b899e81
...
9d11cc7576
8 changed files with 34 additions and 24 deletions
|
@ -1,6 +1,7 @@
|
||||||
{% extends 'lemoncurry/layout.html' %}
|
{% extends 'lemoncurry/layout.html' %}
|
||||||
{% block head %}
|
{% block head %}
|
||||||
<link rel="shortlink" href="{{ entry.short_url }}" />
|
<link rel="shortlink" href="{{ entry.short_url }}" />
|
||||||
|
<link rel="alternate" type="application/json+oembed" href="https://wirres.net/oembed/oembed/php?url={{ entry.absolute_url | urlencode }}" />
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
|
|
|
@ -62,19 +62,17 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="verified-success" hidden>
|
<div id="verified-success" hidden>
|
||||||
this client has been <strong>verified</strong> using <code>{{ '<link rel="redirect_uri">' | escape }}</code> <br/>- they are who they claim to be!
|
this client has been <strong>verified</strong> using <code>{{ '<link rel="redirect_uri">' | escape }}</code> - they are who they claim to be!
|
||||||
</div>
|
</div>
|
||||||
<div id="verified-warning" hidden>
|
<div id="verified-warning" hidden>
|
||||||
this client could <strong>not</strong> be verified using <code>{{ '<link rel="redirect_uri">' | escape }}</code> <br/>- check the redirect uri carefully yourself!
|
this client could <strong>not</strong> be verified using <code>{{ '<link rel="redirect_uri">' | escape }}</code> - check the redirect uri carefully yourself!
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block foot %}
|
{% block foot %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
tippy('[data-tippy-html]', {
|
tippy('[data-tippy-theme]', {
|
||||||
arrow: true,
|
arrow: true,
|
||||||
allowHTML: true,
|
|
||||||
maxWidth: 500,
|
|
||||||
content: function(element) {
|
content: function(element) {
|
||||||
return document.querySelector(element.getAttribute('data-tippy-html')).innerHTML;
|
return document.querySelector(element.getAttribute('data-tippy-html')).innerHTML;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
img
|
img
|
||||||
height 2em
|
height 2em
|
||||||
margin-right .5em
|
margin-right .5em
|
||||||
.tippy-box
|
.tippy-tooltip
|
||||||
&[data-theme~='success']
|
&.success-theme
|
||||||
color $base0B
|
color $base0B
|
||||||
&[data-theme~='warning']
|
&.warning-theme
|
||||||
color $base0A
|
color $base0A
|
||||||
.verified-success
|
.verified-success
|
||||||
color $base0B
|
color $base0B
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
|
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
|
||||||
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
||||||
<link rel="stylesheet" type="text/css" href="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/styles/monokai.min.css"
|
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/styles/monokai.min.css"
|
||||||
integrity="sha384-88Jvj9Q2LiBDwL7w3yciRTcH5q2zzvMFYIm4xX9/evqxJsxA33Xk9XYKcvUlPITo" crossorigin="anonymous">
|
integrity="sha384-bHqbpRh/XW+phptvH9nQvMKHwPH1ZbOxpIeAB2D2OIEL4Ni7aZzZgMFpsRra+v1g" crossorigin="anonymous">
|
||||||
<link rel="stylesheet" type="text/css" href="https://unpkg.com/openwebicons@1.6.0/css/openwebicons.min.css"
|
<link rel="stylesheet" type="text/css" href="https://unpkg.com/openwebicons@1.6.0/css/openwebicons.min.css"
|
||||||
integrity="sha384-NkRWM9o4Kfak7GwS+un+sProBBpj02vc/e1EoXvdCUSdRk0muOfkKJ5NtpueAuka" crossorigin="anonymous">
|
integrity="sha384-NkRWM9o4Kfak7GwS+un+sProBBpj02vc/e1EoXvdCUSdRk0muOfkKJ5NtpueAuka" crossorigin="anonymous">
|
||||||
<link rel="stylesheet" type="text/css" href="https://unpkg.com/tippy.js@3.4.1/dist/tippy.css"
|
<link rel="stylesheet" type="text/css" href="https://unpkg.com/tippy.js@3.4.1/dist/tippy.css"
|
||||||
|
@ -146,14 +146,12 @@
|
||||||
|
|
||||||
<script src="https://code.jquery.com/jquery-3.3.1.min.js" crossorigin="anonymous"
|
<script src="https://code.jquery.com/jquery-3.3.1.min.js" crossorigin="anonymous"
|
||||||
integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT"></script>
|
integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT"></script>
|
||||||
<script src="https://unpkg.com/@highlightjs/cdn-assets@11.9.0/highlight.min.js" crossorigin="anonymous"
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"
|
||||||
integrity="sha384-F/bZzf7p3Joyp5psL90p/p89AZJsndkSoGwRpXcZhleCWhd8SnRuoYo4d0yirjJp"></script>
|
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"></script>
|
||||||
<script src="https://unpkg.com/@popperjs/core@2.11.8/dist/umd/popper.min.js" crossorigin="anonymous"
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.13.1/highlight.min.js" crossorigin="anonymous"
|
||||||
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"></script>
|
integrity="sha384-BlPof9RtjBqeJFskKv3sK3dh4Wk70iKlpIe92FeVN+6qxaGUOUu+mZNpALZ+K7ya"></script>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.min.js" crossorigin="anonymous"
|
<script src="https://unpkg.com/tippy.js@3.4.1/dist/tippy.standalone.min.js" crossorigin="anonymous"
|
||||||
integrity="sha384-0pUGZvbkm6XF6gxjEnlmuGrJXVbNuzT9qBBavbLwCsOGabYfZo0T0to5eqruptLy"></script>
|
integrity="sha384-x7dGoSfOWUdyPccAel9dkWte6n8GxDWbByavEixRzW0O9xvPGzg3y0qzZBwGNUw9"></script>
|
||||||
<script src="https://unpkg.com/tippy.js@6.3.7/dist/tippy-bundle.umd.js" crossorigin="anonymous"
|
|
||||||
integrity="sha384-dtMr4wkcxQWUqsJFgElu4AttgIhOsjr2vYIzP2mv0MZbD/uJ6OHxFdbgE3MOKabN"></script>
|
|
||||||
{% compress js %}
|
{% compress js %}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
hljs.initHighlightingOnLoad();
|
hljs.initHighlightingOnLoad();
|
||||||
|
|
|
@ -75,6 +75,7 @@ INSTALLED_APPS = [
|
||||||
"django.contrib.sitemaps",
|
"django.contrib.sitemaps",
|
||||||
"django.contrib.messages",
|
"django.contrib.messages",
|
||||||
"django.contrib.staticfiles",
|
"django.contrib.staticfiles",
|
||||||
|
"analytical",
|
||||||
"annoying",
|
"annoying",
|
||||||
"compressor",
|
"compressor",
|
||||||
"computed_property",
|
"computed_property",
|
||||||
|
|
|
@ -32,13 +32,13 @@ code, pre, .code, .pre
|
||||||
text-decoration none
|
text-decoration none
|
||||||
line-height 1
|
line-height 1
|
||||||
|
|
||||||
.tippy-box[data-theme~='dark']
|
for placement in top bottom left right
|
||||||
|
.tippy-popper[x-placement^={placement}] .tippy-tooltip.dark-theme .tippy-arrow
|
||||||
|
border-{placement}-color $base03
|
||||||
|
|
||||||
|
.tippy-tooltip.dark-theme
|
||||||
background-color $base03
|
background-color $base03
|
||||||
color $base04
|
color $base04
|
||||||
text-align center
|
|
||||||
for placement in top bottom left right
|
|
||||||
&[data-placement^={placement}] > .tippy-arrow::before
|
|
||||||
border-{placement}-color $base03
|
|
||||||
|
|
||||||
body
|
body
|
||||||
display flex
|
display flex
|
||||||
|
|
13
pdm.lock
13
pdm.lock
|
@ -5,7 +5,7 @@
|
||||||
groups = ["default"]
|
groups = ["default"]
|
||||||
strategy = ["cross_platform", "inherit_metadata"]
|
strategy = ["cross_platform", "inherit_metadata"]
|
||||||
lock_version = "4.4.1"
|
lock_version = "4.4.1"
|
||||||
content_hash = "sha256:337762a3153baada6a6139a774826e823e0f3994ac86f45ef25961b079bbf696"
|
content_hash = "sha256:af79e5edb4f7b61401ed682e923cdac893586a2ce872206bfa8a403089d037ff"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "accept-types"
|
name = "accept-types"
|
||||||
|
@ -259,6 +259,17 @@ files = [
|
||||||
{file = "django_agent_trust-1.1.0.tar.gz", hash = "sha256:a920ff9492aab4a4edc6d83d948f82e7429f48ab1a7949b76dce510555536cb5"},
|
{file = "django_agent_trust-1.1.0.tar.gz", hash = "sha256:a920ff9492aab4a4edc6d83d948f82e7429f48ab1a7949b76dce510555536cb5"},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "django-analytical"
|
||||||
|
version = "3.1.0"
|
||||||
|
requires_python = ">=3.6"
|
||||||
|
summary = "Analytics service integration for Django projects"
|
||||||
|
groups = ["default"]
|
||||||
|
files = [
|
||||||
|
{file = "django-analytical-3.1.0.tar.gz", hash = "sha256:6127c9196c8de3bcb4626f420d2ae670a7703152b1841b1b3e852b31a9a9d44b"},
|
||||||
|
{file = "django_analytical-3.1.0-py3-none-any.whl", hash = "sha256:43de3d8ef7734732f58eba4e5e7df0dea37512dbd89727efdfb30c27a96d4ea9"},
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "django-annoying"
|
name = "django-annoying"
|
||||||
version = "0.10.6"
|
version = "0.10.6"
|
||||||
|
|
|
@ -17,6 +17,7 @@ dependencies = [
|
||||||
"cachecontrol",
|
"cachecontrol",
|
||||||
"django<4,>=3",
|
"django<4,>=3",
|
||||||
"django-activeurl",
|
"django-activeurl",
|
||||||
|
"django-analytical",
|
||||||
"django-annoying",
|
"django-annoying",
|
||||||
"django-compressor",
|
"django-compressor",
|
||||||
"django-computed-property",
|
"django-computed-property",
|
||||||
|
|
Loading…
Reference in a new issue