sneed
parent
01b2f1eef2
commit
548d84f108
|
@ -4,6 +4,18 @@
|
||||||
{% include "bootstrap.html" %}
|
{% include "bootstrap.html" %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
$('.expandable-image').click( function(event) {
|
||||||
|
|
||||||
|
if (event.which != 1) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
event.preventDefault();
|
||||||
|
|
||||||
|
var url= $(this).data('url');
|
||||||
|
|
||||||
|
expandDesktopImage(url,url);
|
||||||
|
})
|
||||||
|
|
||||||
$('.text-expand').click(function(event){
|
$('.text-expand').click(function(event){
|
||||||
if (event.which != 1) {
|
if (event.which != 1) {
|
||||||
return
|
return
|
||||||
|
|
|
@ -1,9 +1,20 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
|
{% include "bootstrap.html" %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#submitform').submit(function() {
|
||||||
|
// disable button
|
||||||
|
$("#create_button").prop("disabled", true);
|
||||||
|
// add spinner to button
|
||||||
|
$("#create_button").html('<span class="spinner-border spinner-border-sm mr-2" role="status" aria-hidden="true"></span>Creating post');
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
// Text Formatting
|
// Text Formatting
|
||||||
|
|
||||||
// Bold Text
|
// Bold Text
|
||||||
|
@ -416,8 +427,6 @@
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% include "bootstrap.html" %}
|
|
||||||
|
|
||||||
<!-- Drama JS -->
|
<!-- Drama JS -->
|
||||||
|
|
||||||
<script src="/assets/js/all_js.js"></script>
|
<script src="/assets/js/all_js.js"></script>
|
||||||
|
|
Loading…
Reference in New Issue