|
|
|
@ -7,11 +7,11 @@
|
|
|
|
|
<title>{{ paste.title }} | Pastey</title>
|
|
|
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/all.css" />
|
|
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" />
|
|
|
|
|
<link rel="stylesheet" href="/static/css/mdb.min.css" />
|
|
|
|
|
<link rel="stylesheet" href="/static/css/style.css" />
|
|
|
|
|
<link rel="stylesheet" href="/static/themes/{{ active_theme }}.css" />
|
|
|
|
|
<link rel="stylesheet" href="/static/css/highlight-{{ active_theme }}.css" />
|
|
|
|
|
<link rel="icon" type="image/x-icon" href="/static/img/favicon.ico"/>
|
|
|
|
|
<link rel="stylesheet" href="/{{ handle_path }}static/css/mdb.min.css" />
|
|
|
|
|
<link rel="stylesheet" href="/{{ handle_path }}static/css/style.css" />
|
|
|
|
|
<link rel="stylesheet" href="/{{ handle_path }}static/themes/{{ active_theme }}.css" />
|
|
|
|
|
<link rel="stylesheet" href="/{{ handle_path }}static/css/highlight-{{ active_theme }}.css" />
|
|
|
|
|
<link rel="icon" type="image/x-icon" href="/{{ handle_path }}static/img/favicon.ico"/>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<header>
|
|
|
|
@ -34,21 +34,21 @@
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
<!-- Navbar logo -->
|
|
|
|
|
<a class="navbar-brand" href="/">
|
|
|
|
|
<div class="pastey-logo" style="margin-top: -3px;"></div>
|
|
|
|
|
<a class="navbar-brand" href="/{{ handle_path }}">
|
|
|
|
|
<div class="pastey-logo" style="margin-top: -3px; background-image: url('/{{ handle_path }}static/img/pastey.png')"></div>
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="pasteyNavbarContainer">
|
|
|
|
|
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
|
|
|
|
|
<li class="nav-item active">
|
|
|
|
|
<a class="nav-link pastey-link" href="/">Home</a>
|
|
|
|
|
<a class="nav-link pastey-link" href="/{{ handle_path }}">Home</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link pastey-link" href="/new" rel="nofollow">New Paste</a>
|
|
|
|
|
<a class="nav-link pastey-link" href="/{{ handle_path }}new" rel="nofollow">New Paste</a>
|
|
|
|
|
</li>
|
|
|
|
|
{% if whitelisted %}
|
|
|
|
|
<li class="nav-item">
|
|
|
|
|
<a class="nav-link pastey-link" href="/config">Config</a>
|
|
|
|
|
<a class="nav-link pastey-link" href="/{{ handle_path }}config">Config</a>
|
|
|
|
|
</li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
@ -90,9 +90,9 @@
|
|
|
|
|
<!-- Jumbotron -->
|
|
|
|
|
<div id="intro" class="p-5 text-center pastey-header">
|
|
|
|
|
{% if paste.encrypted %}
|
|
|
|
|
<img src="/static/img/encrypted.png" width="30px" height="30px" /><br /><br />
|
|
|
|
|
<img src="/{{ handle_path }}static/img/encrypted.png" width="30px" height="30px" /><br /><br />
|
|
|
|
|
{% else %}
|
|
|
|
|
<img src="/static/img/unencrypted.png" width="30px" height="30px" /><br /><br />
|
|
|
|
|
<img src="/{{ handle_path }}static/img/unencrypted.png" width="30px" height="30px" /><br /><br />
|
|
|
|
|
{% endif %}
|
|
|
|
|
<div class="pastey-title">
|
|
|
|
|
<h1 class="mb-3 h2" id="pastey-title">{{ paste.title }}</h1>
|
|
|
|
@ -188,13 +188,13 @@
|
|
|
|
|
<!--Main layout-->
|
|
|
|
|
|
|
|
|
|
<!--JS-->
|
|
|
|
|
<script type="text/javascript" src="/static/js/jquery.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/static/js/fernet.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/static/js/common.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/static/js/qrcode.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/static/js/mdb.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/static/js/highlight.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/static/js/highlightjs-line-numbers.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/{{ handle_path }}static/js/jquery.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/{{ handle_path }}static/js/fernet.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/{{ handle_path }}static/js/common.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/{{ handle_path }}static/js/qrcode.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/{{ handle_path }}static/js/mdb.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/{{ handle_path }}static/js/highlight.min.js"></script>
|
|
|
|
|
<script type="text/javascript" src="/{{ handle_path }}static/js/highlightjs-line-numbers.min.js"></script>
|
|
|
|
|
|
|
|
|
|
<!-- Decrypt paste and generate QR code -->
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|