diff --git a/asl_rulebook2/webapp/static/css/prepare.css b/asl_rulebook2/webapp/static/css/prepare.css index 9009528..feb9567 100644 --- a/asl_rulebook2/webapp/static/css/prepare.css +++ b/asl_rulebook2/webapp/static/css/prepare.css @@ -33,6 +33,7 @@ code { display: block ; margin: 5px 0 5px 20px ; } padding: 10px ; background: #f0f0f0 ; font-size: 80% ; font-style: italic ; text-align: center ; + transition: opacity 5s ; } #download-panel { diff --git a/asl_rulebook2/webapp/static/prepare.js b/asl_rulebook2/webapp/static/prepare.js index 3f2938d..a9d9fd3 100644 --- a/asl_rulebook2/webapp/static/prepare.js +++ b/asl_rulebook2/webapp/static/prepare.js @@ -185,13 +185,15 @@ gPrepareApp.component( "progress-panel", { data() { return { socketIOClient: null, statusBlocks: [], - isDone: false, + isDone: false, isError: false } ; }, + // FUDGE! Opening the PDF is synchronous, which makes the webserver unresponsive while it's happening, + // so we delay showing the "features" link to the user until we get past that point. template: `