mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-12 08:43:03 +01:00
Rename matrix_blog to web and move the language setting into the content section
This commit is contained in:
parent
00af6baeb6
commit
d3ab3f1b70
2 changed files with 21 additions and 21 deletions
Before Width: | Height: | Size: 951 B After Width: | Height: | Size: 951 B |
|
@ -107,6 +107,26 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="card">
|
||||||
|
<div class="card-title-row">
|
||||||
|
<img class="card-icon" src="/static/assets/icons/web.svg" alt="Chat">
|
||||||
|
<h3 class="card-title">
|
||||||
|
Language
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
<div class="card-description-row">
|
||||||
|
<select id="search-models">
|
||||||
|
{% for option in search_model_options %}
|
||||||
|
<option value="{{ option.id }}" {% if option.id == selected_search_model_config %}selected{% endif %}>{{ option.name }}</option>
|
||||||
|
{% endfor %}
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
<div class="card-action-row">
|
||||||
|
<button id="save-search-model" class="card-button happy" onclick="updateSearchModel()">
|
||||||
|
Save
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="general-settings section">
|
<div class="general-settings section">
|
||||||
<div id="status" style="display: none;"></div>
|
<div id="status" style="display: none;"></div>
|
||||||
|
@ -146,26 +166,6 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card">
|
|
||||||
<div class="card-title-row">
|
|
||||||
<img class="card-icon" src="/static/assets/icons/matrix_blob.svg" alt="Chat">
|
|
||||||
<h3 class="card-title">
|
|
||||||
Language
|
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
<div class="card-description-row">
|
|
||||||
<select id="search-models">
|
|
||||||
{% for option in search_model_options %}
|
|
||||||
<option value="{{ option.id }}" {% if option.id == selected_search_model_config %}selected{% endif %}>{{ option.name }}</option>
|
|
||||||
{% endfor %}
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
<div class="card-action-row">
|
|
||||||
<button id="save-search-model" class="card-button happy" onclick="updateSearchModel()">
|
|
||||||
Save
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="clients" class="section">
|
<div id="clients" class="section">
|
||||||
|
@ -313,7 +313,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
let notificationBanner = document.getElementById("notification-banner");
|
let notificationBanner = document.getElementById("notification-banner");
|
||||||
notificationBanner.innerHTML = "When updating the search model, be sure to delete all your data and reindex.";
|
notificationBanner.innerHTML = "When updating the language model, be sure to delete all your saved content and re-initialize.";
|
||||||
notificationBanner.style.display = "block";
|
notificationBanner.style.display = "block";
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
notificationBanner.style.display = "none";
|
notificationBanner.style.display = "none";
|
||||||
|
|
Loading…
Reference in a new issue