Merge the remote pages: scope line, Remote select, remote chips and badge (wp-remote-b)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # app/static/agents.js
This commit is contained in:
commit
5c3c187dca
7 files changed
+383
-86
No files matched your search
@@ -166,6 +166,7 @@
|
||||
applies all the same, and chips.css only adds to app.css. #}
|
||||
<link rel="stylesheet" href="{{ asset('chips.css') }}">
|
||||
<script src="{{ asset('chips.js') }}"></script>
|
||||
<script src="{{ asset('remote.js') }}"></script>
|
||||
<script src="{{ asset('judge.js') }}"></script>
|
||||
<script src="{{ asset('roles.js') }}"></script>
|
||||
{% endblock %}
|
||||
@@ -29,6 +29,16 @@
|
||||
<fieldset class="where">
|
||||
<legend>Where can the role be?</legend>
|
||||
<span class="hint">Each line adds places. A role is kept when it fits at least one line, so a line more means more roles, never fewer. With every line empty a role can be anywhere. A role whose location is not known yet ranks until extract reads the posting.</span>
|
||||
<div class="where-line">
|
||||
<span>Only roles in:</span>
|
||||
<select id="a-scope" aria-label="Only roles in">
|
||||
<option value="europe">Europe</option>
|
||||
<option value="countries">Chosen countries</option>
|
||||
<option value="everywhere">Everywhere</option>
|
||||
</select>
|
||||
<div id="a-scope-countries"></div>
|
||||
</div>
|
||||
<span class="hint">Every role must be in this, whatever the lines below add. A company set to All countries is read within this.</span>
|
||||
<div class="where-line">
|
||||
<span>Anywhere in</span>
|
||||
<div id="a-countries"></div>
|
||||
@@ -39,12 +49,15 @@
|
||||
</div>
|
||||
<span class="hint">Towns are for places outside the countries above: with Denmark above, Malmö here adds Malmö to all of Denmark. A town inside a country above changes nothing, since the whole country is in already.</span>
|
||||
<div class="where-line">
|
||||
<label class="inline"><input type="checkbox" id="a-remote"> or remote</label>
|
||||
<select id="a-remote-scope" aria-label="Remote from where">
|
||||
<option value="europe">within Europe</option>
|
||||
<option value="anywhere">anywhere</option>
|
||||
<span>Remote:</span>
|
||||
<select id="a-remote" aria-label="Remote">
|
||||
<option value="none">no</option>
|
||||
<option value="scope">anywhere within the scope</option>
|
||||
<option value="from">only when open to someone in:</option>
|
||||
</select>
|
||||
<div id="a-remote-from"></div>
|
||||
</div>
|
||||
<span class="hint">Remote roles are kept on top of the lines above. A remote role whose area is not stated yet ranks until extract reads the posting.</span>
|
||||
<label class="inline where-rank"><input type="checkbox" id="a-hybrid"> Prefer hybrid<span id="a-hybrid-weight-line">, adding <input type="number" id="a-hybrid-weight" min="0" step="0.05" value="0.05" aria-label="Weight of hybrid"></span></label>
|
||||
<span class="hint">This one ranks rather than filters: a hybrid role gains a little.</span>
|
||||
<p id="a-where-sum" class="where-sum" role="status"></p>
|
||||
@@ -104,5 +117,9 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{# chips.css only adds to app.css; base.html has no head block for it. #}
|
||||
<link rel="stylesheet" href="{{ asset('chips.css') }}">
|
||||
<script src="{{ asset('chips.js') }}"></script>
|
||||
<script src="{{ asset('remote.js') }}"></script>
|
||||
<script src="{{ asset('agents.js') }}"></script>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user