Browse Source

add Search URL section to /user/site-settings.html template.

This is just the front-end for this feature. The back-end has not been
implemented at the time of this commit.
stable
Craig Oates 2 years ago
parent
commit
189e87ae0a
  1. 38
      templates/user/site-settings.html

38
templates/user/site-settings.html

@ -54,6 +54,36 @@
<hr>
<h2>Search URL</h2>
<form class="be-gui-form"
action="/site-settings/update-search-url"
method="post">
<input required
type="hidden"
name="AUTHENTICITY-TOKEN"
value="{{token}}">
<p class="be-gui-form-hint">
This is the URL for the search service used by this
website. The default URL is <em>http://localhost:7700</em>. You
would normally use that when on running this website on your
local dev. machine.
</p>
<div class="be-gui-form-row">
<input required
type="text"
name="SEARCH-URL's"
value="{{settings.search-url}}">
<button class="be-gui-button-no-text"
title="Click to update Search URL"
type="submit">
<img alt="Update site's Search URL"
src="/images/icons/save.png">
</button>
</div>
</form>
<hr>
<h2>Home Page</h2>
<p class="be-gui-form-hint">
Only 'Pages' can be used for the Home page. 'Archive Entries'
@ -199,8 +229,8 @@
{% endfor %}
<br>
<button class="be-gui-button"
title="Click to update Navigation Menu"
type="submit">
title="Click to update Navigation Menu"
type="submit">
<img alt="Update Navigation Menu"
src="/images/icons/save.png">
Update Navigation Menu
@ -260,8 +290,8 @@
name="CODE-SNIPPET">{{site-wide-snippet}}
</textarea>
<button class="be-gui-button"
title="Click to save 'Enable Sign-Up' setting"
type="submit">
title="Click to save 'Enable Sign-Up' setting"
type="submit">
<img alt="Save nav. menu setting for{{db-data.title}}"
src="/images/icons/save.png">
Save Snippet

Loading…
Cancel
Save