Update public source

This commit is contained in:
2026-10-10 08:40:57 +03:00
parent 8602a457b4
commit c8ac6fbb84
+18 -7
View File
@@ -91,16 +91,27 @@
id="method_version" id="method_version"
value="{{ selected_version or '' }}" value="{{ selected_version or '' }}"
> >
</div>
<button </form>
type="submit"
class="methods-button"
>
Show Statistics
</button>
</div> </div>
</form> </form>
<script>
document.addEventListener("DOMContentLoaded", function () {
const methodSelect = document.getElementById("method_id");
const versionInput = document.getElementById("method_version");
if (!methodSelect || !versionInput) {
return;
}
methodSelect.addEventListener("change", function () {
const selectedOption = methodSelect.options[methodSelect.selectedIndex];
versionInput.value = selectedOption.dataset.version || "";
methodSelect.form.requestSubmit();
});
});
</script>
{% if statistics %} {% if statistics %}
<div class="jobs-stats-grid"> <div class="jobs-stats-grid">