1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

modified 'create new instance' screen with compute details

This commit is contained in:
cserma 2023-05-10 13:59:13 +03:00
parent 96ea999926
commit 3cd4212cdd
3 changed files with 42 additions and 27 deletions

View file

@ -39,8 +39,8 @@
<script src="{% static 'js/filter-table.js' %}"></script>
{% if request.user.is_superuser %}
<script>
function goto_compute() {
let compute = $("#compute_select").val();
function goto_compute(compute) {
//let compute = $("#compute_select").val();
window.location.href = "{% url 'instances:create_instance_select_type' 1 %}".replace(1, compute);
}
</script>