Add versions for http_functions, whenever script is updated a new version is logged.
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
</path>
|
||||
</svg>
|
||||
|
||||
<span class="bg-blue-500 text-white text-xs font-semibold px-2 py-1 rounded ml-2">
|
||||
v{{ version_number }}
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<script>
|
||||
function toggleInput() {
|
||||
@@ -305,12 +309,10 @@
|
||||
})
|
||||
.then(response => response.json())
|
||||
.then(json => {
|
||||
if ("{{ name }}" != name) {
|
||||
htmx.ajax('GET', "{{ url_for('get_http_function_edit_form', function_id=function_id) }}", {
|
||||
target: '#container',
|
||||
swap: 'innerHTML'
|
||||
});
|
||||
}
|
||||
htmx.ajax('GET', "{{ url_for('get_http_function_edit_form', function_id=function_id) }}", {
|
||||
target: '#container',
|
||||
swap: 'innerHTML'
|
||||
});
|
||||
showAlert(json.message, json.status)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user