(control) Add exports view
This commit is contained in:
parent
659743b39c
commit
b7e38cfbae
@ -262,6 +262,7 @@ public class ControlNodeService {
|
||||
case "crawl" -> FileStorageType.CRAWL_DATA;
|
||||
case "processed" -> FileStorageType.PROCESSED_DATA;
|
||||
case "specs" -> FileStorageType.CRAWL_SPEC;
|
||||
case "exports" -> FileStorageType.EXPORT;
|
||||
default -> throw new IllegalArgumentException(view);
|
||||
};
|
||||
|
||||
@ -281,6 +282,7 @@ public class ControlNodeService {
|
||||
case CRAWL_DATA -> "crawl";
|
||||
case CRAWL_SPEC -> "specs";
|
||||
case PROCESSED_DATA -> "processed";
|
||||
case EXPORT -> "exports";
|
||||
default -> throw new IllegalStateException(storage.type().toString());
|
||||
};
|
||||
|
||||
|
@ -52,6 +52,9 @@
|
||||
<li class="nav-item">
|
||||
<a href="specs" {{#unless view.specs}}class="nav-link"{{/unless}} {{#if view.specs}}aria-current="page" class="active nav-link"{{/if}}>Specs</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="exports" {{#unless view.exports}}class="nav-link"{{/unless}} {{#if view.exports}}aria-current="page" class="active nav-link"{{/if}}>Exports</a>
|
||||
</li>
|
||||
</nav>
|
||||
|
||||
<h1>Storage Base Configuration</h1>
|
||||
|
@ -50,6 +50,9 @@
|
||||
<li class="nav-item">
|
||||
<a href="specs" {{#unless view.specs}}class="nav-link"{{/unless}} {{#if view.specs}}aria-current="page" class="active nav-link"{{/if}}>Specs</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="exports" {{#unless view.exports}}class="nav-link"{{/unless}} {{#if view.exports}}aria-current="page" class="active nav-link"{{/if}}>Exports</a>
|
||||
</li>
|
||||
</nav>
|
||||
|
||||
<h1>Storage Details</h1>
|
||||
|
@ -51,6 +51,9 @@
|
||||
<li class="nav-item">
|
||||
<a href="specs" {{#unless view.specs}}class="nav-link"{{/unless}} {{#if view.specs}}aria-current="page" class="active nav-link"{{/if}}>Specs</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a href="exports" {{#unless view.exports}}class="nav-link"{{/unless}} {{#if view.exports}}aria-current="page" class="active nav-link"{{/if}}>Exports</a>
|
||||
</li>
|
||||
</nav>
|
||||
|
||||
<table class="table">
|
||||
|
Loading…
Reference in New Issue
Block a user