Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(control) Move 'new crawl spec' to /node/:id/actions, out of /node/:i…
…d/storage
- Loading branch information
Showing
6 changed files
with
44 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...rol-service/src/main/resources/templates/control/node/actions/partial-new-crawl-specs.hdb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<h1 class="my-3">Create New Specification</h1> | ||
|
||
<div class="my-3 p-3 border bg-light"> | ||
<p>A crawling specification is a list of domain names to crawl.</p> | ||
<p> | ||
If you are just looking to test the software, feel free to use <a href="https://downloads.marginalia.nu/domain-list-test.txt">this | ||
short list of marginalia-related websites</a>, that are safe to crawl repeatedly without causing any problems. | ||
</p> | ||
</div> | ||
|
||
<form method="post" action="actions/new-crawl-specs"> | ||
<div class="form"> | ||
<label class="form-label" for="description">Description</label> | ||
<input class="form-control" type="text" name="description" id="description" maxlength="255"> | ||
<div class="form-text" id="basic-addon4">This is how you'll be able to find the | ||
specification later so give it a good and descriptive name</div> | ||
|
||
<div id="spec-url-options" class="py-3"> | ||
<label class="form-label" for="url">URL to list of domain names</label> | ||
<input class="form-control" type="text" name="url" id="url" /> | ||
</div> | ||
|
||
<button type="submit" class="btn btn-primary">Create</button> | ||
</div> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
47 changes: 0 additions & 47 deletions
47
...es-core/control-service/src/main/resources/templates/control/node/node-new-specs-form.hdb
This file was deleted.
Oops, something went wrong.