diff --git a/static/css/main.css b/static/css/main.css index 0dd06570..6edbed86 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -318,3 +318,8 @@ .ct-legend-clicked { background-color: #f05b4f !important; } + +.gophish-editor { + font-family: 'Courier New',Monospace !important; + font-size: small !important; +} diff --git a/static/js/app/landing_pages.js b/static/js/app/landing_pages.js index 1486d835..48955e3e 100644 --- a/static/js/app/landing_pages.js +++ b/static/js/app/landing_pages.js @@ -35,6 +35,7 @@ function dismiss(){ $("#modal\\.flashes").empty() $("#name").val("") $("#html_editor").val("") + $("#newLandingPageModal").modal('hide') } function deletePage(idx){ diff --git a/static/js/app/templates.js b/static/js/app/templates.js index ded0bd66..529555de 100644 --- a/static/js/app/templates.js +++ b/static/js/app/templates.js @@ -56,6 +56,7 @@ function dismiss(){ $("#name").val("") $("#text_editor").val("") $("#html_editor").val("") + $("#modal").modal('hide') } function deleteTemplate(idx){ diff --git a/templates/landing_pages.html b/templates/landing_pages.html index 605aff7f..837307ad 100644 --- a/templates/landing_pages.html +++ b/templates/landing_pages.html @@ -68,7 +68,7 @@
- +