diff --git a/install_files/ansible-base/roles/build-securedrop-app-code-deb-pkg/files/usr.sbin.apache2 b/install_files/ansible-base/roles/build-securedrop-app-code-deb-pkg/files/usr.sbin.apache2 index f43f79d612..9043420258 100644 --- a/install_files/ansible-base/roles/build-securedrop-app-code-deb-pkg/files/usr.sbin.apache2 +++ b/install_files/ansible-base/roles/build-securedrop-app-code-deb-pkg/files/usr.sbin.apache2 @@ -290,7 +290,6 @@ /var/www/securedrop/static/i/font-awesome/info-circle-black.png r, /var/www/securedrop/static/i/font-awesome/lock-black.png r, /var/www/securedrop/static/i/font-awesome/refresh-blue.png r, - /var/www/securedrop/static/i/font-awesome/refresh-white.png r, /var/www/securedrop/static/i/font-awesome/times-white.png r, /var/www/securedrop/static/i/font-awesome/white/exclamation-circle.svg r, /var/www/securedrop/static/i/font-awesome/white/guard.svg r, diff --git a/securedrop/sass/source.sass b/securedrop/sass/source.sass index 5fa94ed09b..b4e1a80a49 100644 --- a/securedrop/sass/source.sass +++ b/securedrop/sass/source.sass @@ -276,22 +276,6 @@ p#max-file-size margin-bottom: 10px margin-top: 5px -#regenerate-submit - span - font-size: 0 - - &:after - content: "" - display: inline-block - background: - image: url(/static/i/font-awesome/refresh-white.png) - position: center - repeat: no-repeat - size: contain - opacity: 0.9 - height: 20px - width: 20px - #cancel &:before content: "" @@ -323,4 +307,4 @@ p#max-file-size background: image: url(/static/icons/chevron-left.png) - size: contain \ No newline at end of file + size: contain diff --git a/securedrop/source_app/main.py b/securedrop/source_app/main.py index 1f459729dc..e87d82e86e 100644 --- a/securedrop/source_app/main.py +++ b/securedrop/source_app/main.py @@ -34,7 +34,7 @@ def make_blueprint(config: SDConfig) -> Blueprint: def index() -> str: return render_template('index.html') - @view.route('/generate', methods=('GET', 'POST')) + @view.route('/generate', methods=('GET',)) def generate() -> Union[str, werkzeug.Response]: if SessionManager.is_user_logged_in(db_session=db.session): flash(gettext( diff --git a/securedrop/source_templates/generate.html b/securedrop/source_templates/generate.html index 2fe2e30e9f..558626671f 100644 --- a/securedrop/source_templates/generate.html +++ b/securedrop/source_templates/generate.html @@ -14,14 +14,6 @@
@@ -38,4 +30,4 @@