浏览代码

tweak add page copy

Nick Sweeting 4 年之前
父节点
当前提交
5492c204b8
共有 2 个文件被更改,包括 3 次插入12 次删除
  1. 2 11
      archivebox/templates/core/add.html
  2. 1 1
      archivebox/templates/static/add.css

+ 2 - 11
archivebox/templates/core/add.html

@@ -38,16 +38,7 @@
             </form>
             <br/><br/><br/>
             <center id="delay-warning" style="display: none">
-                <b><i>This page will be unresponsive until the process is completely finished.</i></b>
-                <br/><br/>
-                <div>
-                    Warning: it may take several minutes to finish adding!<br/>
-                    <br/>
-                    Progress will be displayed in the <code>archivebox server</code> stdout,<br/>
-                    and on this page once the archiving process completes.<br/>
-                    <br/>
-                    <small>(it's safe to leave this page, adding will continue in the background)</small>
-                </div>
+                <small>(it's safe to leave this page, adding will continue in the background)</small>
             </center>
             {% if absolute_add_path %}
             <center id="bookmarklet">
@@ -58,7 +49,7 @@
             <script>
                 document.getElementById('add-form').addEventListener('submit', function(event) {
                     setTimeout(function() {
-                        document.getElementById('add-form').innerHTML = '<center><h3>Adding URLs to index and running archive methods...<h3><br/><div class="loader"></div><br/>(see terminal for progress)</center>'
+                        document.getElementById('add-form').innerHTML = '<center><h3>Adding URLs to index and running archive methods...<h3><br/><div class="loader"></div><br/>Check server log or <a href="/admin/core/archiveresult/?o=-1">Outputs page</a> for progress...</center>'
                         document.getElementById('delay-warning').style.display = 'block'
                     }, 200)
                     return true

+ 1 - 1
archivebox/templates/static/add.css

@@ -39,7 +39,7 @@ header {
   margin: 10px;
   padding: 10px;
   font-size: 15px;
-  background-color: #f5dd5d;
+  background-color: #8bc34a;
 }
 #stdout {
   background-color: #fbfbfb;