forked from rDrama/rDrama
fdsfs
parent
f94928e86d
commit
5933233ff2
|
@ -1,3 +1,25 @@
|
||||||
|
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var clipboard = new ClipboardJS('.copy-link');
|
||||||
|
clipboard.on('success', function(e) {
|
||||||
|
|
||||||
|
jQuery(function($) {
|
||||||
|
$('#toast-success').toast('show');
|
||||||
|
})
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
clipboard.on('error', function(e) {
|
||||||
|
|
||||||
|
jQuery(function($) {
|
||||||
|
$('#toast-error').toast('show');
|
||||||
|
})
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
|
|
||||||
{% macro single_comment(c, level=1) %}
|
{% macro single_comment(c, level=1) %}
|
||||||
<!---beginning of comment {{c.id}}--->
|
<!---beginning of comment {{c.id}}--->
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,27 @@
|
||||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
||||||
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
|
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
|
||||||
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
var clipboard = new ClipboardJS('.copy-link');
|
||||||
|
clipboard.on('success', function(e) {
|
||||||
|
|
||||||
|
jQuery(function($) {
|
||||||
|
$('#toast-success').toast('show');
|
||||||
|
})
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
clipboard.on('error', function(e) {
|
||||||
|
|
||||||
|
jQuery(function($) {
|
||||||
|
$('#toast-error').toast('show');
|
||||||
|
})
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
//email change
|
//email change
|
||||||
|
|
||||||
// Show confirm password field when user clicks email box
|
// Show confirm password field when user clicks email box
|
||||||
|
|
|
@ -1,6 +1,25 @@
|
||||||
{% extends "default.html" %}
|
{% extends "default.html" %}
|
||||||
|
|
||||||
|
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
var clipboard = new ClipboardJS('.copy-link');
|
||||||
|
clipboard.on('success', function(e) {
|
||||||
|
|
||||||
|
jQuery(function($) {
|
||||||
|
$('#toast-success').toast('show');
|
||||||
|
})
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
clipboard.on('error', function(e) {
|
||||||
|
|
||||||
|
jQuery(function($) {
|
||||||
|
$('#toast-error').toast('show');
|
||||||
|
})
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
|
||||||
var date = new Date('{{p.created_datetime}}');
|
var date = new Date('{{p.created_datetime}}');
|
||||||
document.getElementById('timestamp').title = date.toString();
|
document.getElementById('timestamp').title = date.toString();
|
||||||
{% if p.edited_utc %}
|
{% if p.edited_utc %}
|
||||||
|
|
|
@ -1,3 +1,24 @@
|
||||||
|
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
var clipboard = new ClipboardJS('.copy-link');
|
||||||
|
clipboard.on('success', function(e) {
|
||||||
|
|
||||||
|
jQuery(function($) {
|
||||||
|
$('#toast-success').toast('show');
|
||||||
|
})
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
clipboard.on('error', function(e) {
|
||||||
|
|
||||||
|
jQuery(function($) {
|
||||||
|
$('#toast-error').toast('show');
|
||||||
|
})
|
||||||
|
console.log(e);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
||||||
{% for p in listing %}
|
{% for p in listing %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in New Issue