|
1 | 1 | {%if not is_manager_connected['status']%} |
2 | | - <div class="alert alert-secondary text-center my-2" role="alert"> |
3 | | - <h1><i class="fas fa-times-circle text-danger"></i> Crawler Disabled</h1> |
4 | | - <p> |
| 2 | +<div class="card border-0 shadow-sm my-3"> |
| 3 | + <div class="card-body p-4 p-md-5"> |
| 4 | + <div class="d-flex flex-column flex-md-row align-items-md-center justify-content-between gap-3 mb-4"> |
| 5 | + <div> |
| 6 | + <h2 class="mb-2"> |
| 7 | + <i class="fas fa-exclamation-triangle text-warning mr-2"></i> |
| 8 | + Crawler unavailable |
| 9 | + </h2> |
| 10 | + <p class="text-muted mb-0"> |
| 11 | + The crawler service cannot be reached right now. Configure Lacus to enable crawling and capture features. |
| 12 | + </p> |
| 13 | + </div> |
| 14 | + <span class="badge badge-secondary px-3 py-2"> |
| 15 | + <i class="fas fa-plug mr-1"></i> Service offline |
| 16 | + </span> |
| 17 | + </div> |
| 18 | + |
| 19 | + <div class="alert alert-light border mb-4" role="alert"> |
5 | 20 | {%if 'error' in is_manager_connected%} |
6 | | - <b>{{is_manager_connected['status_code']}}</b> |
7 | | - <br> |
8 | | - <b>Error:</b> {{is_manager_connected['error']}} |
| 21 | + <div class="font-weight-bold mb-1"> |
| 22 | + <i class="fas fa-info-circle text-info mr-1"></i> |
| 23 | + Status code: {{is_manager_connected['status_code']}} |
| 24 | + </div> |
| 25 | + <div> |
| 26 | + <b>Error:</b> {{is_manager_connected['error']}} |
| 27 | + </div> |
9 | 28 | {%else%} |
10 | | - <b>Error:</b> Lacus not connected |
| 29 | + <div> |
| 30 | + <b>Error:</b> Lacus is not connected. |
| 31 | + </div> |
11 | 32 | {%endif%} |
12 | | - </p> |
13 | | - <div style="max-width: 500px;"> |
14 | | - <ul class="list-group my-3"> |
15 | | - <li class="list-group-item bg-dark text-white"><h3>Lacus Features:</h3></li> |
16 | | - <li class="list-group-item">Install and run crawlers on another server</li> |
17 | | - <li class="list-group-item">Handle proxies ( <i class="fab fa-html5"></i> Web and <i class="fas fa-user-secret"></i> tor)</li> |
18 | | - <li class="list-group-item">Multiple Concurrent Captures</li> |
19 | | - <li class="list-group-item">HOW TO</li> |
20 | | - <li class="list-group-item"> |
21 | | - <div class="d-flex justify-content-center"> |
22 | | - <a class="btn btn-info" href="https://github.com/ail-project/lacus" role="button"> |
23 | | - <i class="fab fa-github"></i> Install and Configure Lacus |
24 | | - </a> |
25 | | - </div> |
26 | | - </li> |
27 | | - </ul> |
28 | 33 | </div> |
29 | | - </div> |
30 | 34 |
|
| 35 | + <div class="row"> |
| 36 | + <div class="col-lg-8"> |
| 37 | + <h5 class="mb-3">What you unlock with Lacus</h5> |
| 38 | + <ul class="list-group list-group-flush border rounded"> |
| 39 | + <li class="list-group-item d-flex align-items-center"> |
| 40 | + <i class="fas fa-server text-primary mr-2"></i> |
| 41 | + Run crawlers on dedicated remote servers |
| 42 | + </li> |
| 43 | + <li class="list-group-item d-flex align-items-center"> |
| 44 | + <i class="fas fa-random text-primary mr-2"></i> |
| 45 | + Use multiple proxy types (web and Tor) |
| 46 | + </li> |
| 47 | + <li class="list-group-item d-flex align-items-center"> |
| 48 | + <i class="fas fa-tasks text-primary mr-2"></i> |
| 49 | + Launch concurrent captures at scale |
| 50 | + </li> |
| 51 | + </ul> |
| 52 | + </div> |
| 53 | + <div class="col-lg-4 mt-4 mt-lg-0"> |
| 54 | + <div class="border rounded p-3 h-100 bg-light"> |
| 55 | + <h6 class="mb-2">Getting started</h6> |
| 56 | + <p class="text-muted small mb-2"> |
| 57 | + Install and configure Lacus, then refresh this page to activate the crawler interface. |
| 58 | + </p> |
| 59 | + <p class="small mb-3"> |
| 60 | + Crawler configuration instructions are available in AIL's documentation: |
| 61 | + <a href="https://github.com/ail-project/ail-framework/blob/master/HOWTO.md#crawler" target="_blank" rel="noopener noreferrer"> |
| 62 | + HOWTO.md → Crawler section |
| 63 | + </a>. |
| 64 | + </p> |
| 65 | + <a class="btn btn-info btn-block mb-2" href="https://github.com/ail-project/lacus" role="button" target="_blank" rel="noopener noreferrer"> |
| 66 | + <i class="fab fa-github mr-1"></i> Install Lacus |
| 67 | + </a> |
| 68 | + <a class="btn btn-outline-secondary btn-block" href="https://github.com/ail-project/ail-framework/blob/master/HOWTO.md#crawler" role="button" target="_blank" rel="noopener noreferrer"> |
| 69 | + <i class="fas fa-book mr-1"></i> Open crawler configuration guide |
| 70 | + </a> |
| 71 | + </div> |
| 72 | + </div> |
| 73 | + </div> |
| 74 | + </div> |
| 75 | +</div> |
31 | 76 | {%endif%} |
0 commit comments