mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
(control) Bootstrapify review-domains and search-to-ban views.
This commit is contained in:
parent
607d647483
commit
c245f7ce3a
@ -2,15 +2,14 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Control Service</title>
|
<title>Control Service</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
{{> control/partials/head-includes }}
|
||||||
<link rel="stylesheet" href="/style.css" />
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{> control/partials/nav}}
|
{{> control/partials/nav}}
|
||||||
<section>
|
<div class="container">
|
||||||
<h1>Domain Review</h1>
|
<h1 class="my-5">Domain Review</h1>
|
||||||
<form method="POST" action="/review-random-domains">
|
<form method="POST" action="/review-random-domains">
|
||||||
<table>
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Action</th><th>Domain Name</th><th>Screenshot</th>
|
<th>Action</th><th>Domain Name</th><th>Screenshot</th>
|
||||||
</tr>
|
</tr>
|
||||||
@ -28,9 +27,11 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="3"><input type="Submit" value="Process"></td>
|
<td colspan="3"><button type="submit" class="btn btn-primary">Process</button></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<input type="hidden" name="after" value="{{after}}" />
|
<input type="hidden" name="after" value="{{after}}" />
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</div>
|
||||||
|
|
||||||
|
{{> control/partials/foot-includes }}
|
@ -3,15 +3,24 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>Control Service</title>
|
<title>Control Service</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<link rel="stylesheet" href="/style.css" />
|
{{> control/partials/head-includes }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{> control/partials/nav}}
|
{{> control/partials/nav}}
|
||||||
<section>
|
<div class="container">
|
||||||
<h1>Search to Ban</h1>
|
<h1 class="my-5">Search to Ban</h1>
|
||||||
<form action="/search-to-ban">
|
<form action="/search-to-ban">
|
||||||
<label for="q">Search Query</label><br>
|
<div class="mb-3">
|
||||||
<input type="text" value="{{specs.humanQuery}}" name="q" id="q" /> <input type="submit" value="Search" />
|
<label for="q" class="form-label">Search Query</label><br>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col">
|
||||||
|
<input type="text" class="form-control" value="{{specs.humanQuery}}" name="q" id="q" />
|
||||||
|
</div>
|
||||||
|
<div class="col">
|
||||||
|
<button type="submit" class="btn btn-primary">Search</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
{{#unless results}}
|
{{#unless results}}
|
||||||
<p>This utility lets you use the search engine to find spammy results, and ban them
|
<p>This utility lets you use the search engine to find spammy results, and ban them
|
||||||
@ -20,18 +29,20 @@
|
|||||||
{{#if results}}
|
{{#if results}}
|
||||||
<hr>
|
<hr>
|
||||||
<form action="/search-to-ban" method="post">
|
<form action="/search-to-ban" method="post">
|
||||||
<input type="submit" value="Blacklist Selected Domains">
|
<div class="my-5">
|
||||||
|
<button type="submit" class="btn btn-danger">Blacklist Selected Domains</button>
|
||||||
|
</div>
|
||||||
<input type="hidden" name="query" value="{{specs.humanQuery}}" />
|
<input type="hidden" name="query" value="{{specs.humanQuery}}" />
|
||||||
<table>
|
<table class="table">
|
||||||
{{#each results}}
|
{{#each results}}
|
||||||
<tr><td><input type="checkbox" name="{{url}}"><td>{{title}}</td></tr>
|
<tr><td><input type="checkbox" name="{{url}}"><th>{{title}}</th></tr>
|
||||||
<tr><td colspan="2"><a href="{{url}}">{{url}}</a></td></tr>
|
<tr><td colspan="2"><a href="{{url}}">{{url}}</a></td></tr>
|
||||||
<tr><td colspan="2">{{description}}</td></tr>
|
<tr><td colspan="2">{{description}}</td></tr>
|
||||||
<tr><td colspan="2"> </td></tr>
|
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</table>
|
</table>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</form>
|
</form>
|
||||||
</section>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
{{> control/partials/foot-includes }}
|
||||||
</html>
|
</html>
|
@ -11,7 +11,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{{#each processes}}
|
{{#each processes}}
|
||||||
<tr class="{{#if isMissing}}missing{{/if}}">
|
<tr class="{{#if isMissing}}missing{{/if}}">
|
||||||
<td><a href="/message-queue?inbox={{processId}}">{{displayName}}</a></td>
|
<td>{{displayName}}</td>
|
||||||
<td title="{{uuidFull}}">
|
<td title="{{uuidFull}}">
|
||||||
<span style="background-color: {{uuidColor}}" class="uuidPip"> </span><span style="background-color: {{uuidColor2}}" class="uuidPip"> </span>{{uuid}}
|
<span style="background-color: {{uuidColor}}" class="uuidPip"> </span><span style="background-color: {{uuidColor2}}" class="uuidPip"> </span>{{uuid}}
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user