forked from MarseyWorld/MarseyWorld
sfd
parent
235bd237ff
commit
ff5caf2c2f
|
@ -75,7 +75,6 @@ def publish(pid, v):
|
|||
@auth_required
|
||||
def submit_get(v):
|
||||
|
||||
|
||||
return render_template("submit.html",
|
||||
v=v)
|
||||
|
||||
|
|
|
@ -17,21 +17,17 @@
|
|||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
||||
|
||||
<script>
|
||||
// var clipboard = new ClipboardJS('.copy-link');
|
||||
// clipboard.on('success', function(e) {
|
||||
|
||||
// jQuery(function($) {
|
||||
// document.getElementById('toast-success').toast('show');
|
||||
// })
|
||||
// console.log(e);
|
||||
// });
|
||||
// clipboard.on('error', function(e) {
|
||||
|
||||
// jQuery(function($) {
|
||||
// document.getElementById('toast-error').toast('show');
|
||||
// })
|
||||
// console.log(e);
|
||||
// });
|
||||
var clipboard = new ClipboardJS('.copy-link');
|
||||
clipboard.on('success', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
||||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
clipboard.on('error', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-error'));
|
||||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="row justify-content-around">
|
||||
|
|
|
@ -17,21 +17,17 @@
|
|||
|
||||
<script>
|
||||
|
||||
// var clipboard = new ClipboardJS('.copy-link');
|
||||
// clipboard.on('success', function(e) {
|
||||
|
||||
// jQuery(function($) {
|
||||
// document.getElementById('toast-success').toast('show');
|
||||
// })
|
||||
// console.log(e);
|
||||
// });
|
||||
// clipboard.on('error', function(e) {
|
||||
|
||||
// jQuery(function($) {
|
||||
// document.getElementById('toast-error').toast('show');
|
||||
// })
|
||||
// console.log(e);
|
||||
// });
|
||||
var clipboard = new ClipboardJS('.copy-link');
|
||||
clipboard.on('success', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
||||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
clipboard.on('error', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-error'));
|
||||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
|
||||
|
||||
//email change
|
||||
|
|
|
@ -2,21 +2,17 @@
|
|||
<script src="https://cdn.jsdelivr.net/npm/clipboard@2.0.8/dist/clipboard.min.js"></script>
|
||||
|
||||
<script>
|
||||
// var clipboard = new ClipboardJS('.copy-link');
|
||||
// clipboard.on('success', function(e) {
|
||||
|
||||
// jQuery(function($) {
|
||||
// document.getElementById('toast-success').toast('show');
|
||||
// })
|
||||
// console.log(e);
|
||||
// });
|
||||
// clipboard.on('error', function(e) {
|
||||
|
||||
// jQuery(function($) {
|
||||
// document.getElementById('toast-error').toast('show');
|
||||
// })
|
||||
// console.log(e);
|
||||
// });
|
||||
var clipboard = new ClipboardJS('.copy-link');
|
||||
clipboard.on('success', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-success'));
|
||||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
clipboard.on('error', function(e) {
|
||||
var myToast = new bootstrap.Toast(document.getElementById('toast-error'));
|
||||
myToast.show();
|
||||
console.log(e);
|
||||
});
|
||||
</script>
|
||||
|
||||
{% for p in listing %}
|
||||
|
|
Loading…
Reference in New Issue