Add raw link on pretty pages

This commit is contained in:
Leonora Tindall 2022-01-31 22:09:26 -06:00 committed by Leonora Tindall
commit 874e12fe3f
2 changed files with 4 additions and 2 deletions

View file

@ -22,7 +22,7 @@ span {
user-select: none; user-select: none;
} }
.topRightBox button { .topRightBox button, .topRightBox a {
color: inherit; color: inherit;
background-color: inherit; background-color: inherit;
margin: 0px 5px; margin: 0px 5px;
@ -32,6 +32,7 @@ span {
font-size: inherit; font-size: inherit;
line-height: inherit; line-height: inherit;
cursor: pointer; cursor: pointer;
text-decoration: none;
} }
.topRightBox button:hover { .topRightBox button:hover {

View file

@ -28,8 +28,9 @@
<button id="wrapBtn" onclick="wrapClicked()">&#9166; Wrap</button> <button id="wrapBtn" onclick="wrapClicked()">&#9166; Wrap</button>
<button id="forkBtn" onclick="forkClicked()">&#x2442; Fork</button> <button id="forkBtn" onclick="forkClicked()">&#x2442; Fork</button>
<button id="newPasteBtn" onclick="newPasteClicked()">&#43; New</button> <button id="newPasteBtn" onclick="newPasteClicked()">&#43; New</button>
<a href="/r/{{title}}">&#128463; Show Raw</a>
</div> </div>
</div> </div>
<script src="/static/js/pretty.js"></script> <script src="/static/js/pretty.js"></script>
{% endblock body %} {% endblock body %}