"#simplestreamsOption").hide()
      }
      else {
        $("#registryOption").hide()
        $("#simplestreamsOption").show()
      }
    }

    $(document).ready(function(){

      //If id or project variables are missing redirect to servers page
      if (!serverId || !project) {
        window.location.href = "{{ url_for('servers') }}";
      }
      else {
        loadPageContent()
        operationStatusCheck()
      }
  
    });

  </script>
{% endblock script %}
