Newer
Older
<style>
input[type="range"] {
display: inline;
width: 40%;
}
output {
display: inline;
width: 20%;
}
</style>
<p>   </p>
<div class="text-center" style="width: 100%; text-align: center">
<p style="font-size: 150%; text-align: left; TEXT-DECORATION: underline">Advanced Options </p>
</summary>
<p>Click the slider to adjust values; once clicked arrow keys can be used</p>
<div style="margin-right: 20%; margin-left: 20%;">
<p>
<input type="range" name="gpus" value="0" min="0" max="6" oninput="this.nextElementSibling.value = this.value"/>
<output> default 0 </output>
</p>
<p>
<label for="gputype">GPU type</label>
<br/>
<select name="gputype" style="display: inline">
<option value="" selected="selected">Any</option>
<option value="NVIDIA-GeForce-GTX-1080">NVIDIA-GeForce-GTX-1080-8GB</option>
<option value="NVIDIA-GeForce-GTX-1080-Ti">NVIDIA-GeForce-GTX-1080-Ti-12GB</option>
<option value="NVIDIA-GeForce-RTX-2080-Ti">NVIDIA-GeForce-RTX-2080-Ti-12GB</option>
<option value="NVIDIA-GeForce-RTX-3090">NVIDIA-GeForce-RTX-3090-24GB</option>
<option value="NVIDIA-A10">NVIDIA-A10 Tensorcore</option>
<option value="NVIDIA-L40">NVIDIA-L40-48GB</option>
<option value="NVIDIA-RTX-A4000">NVIDIA RTX A4000-16GB</option>
<option value="NVIDIA-RTX-A5000">NVIDIA RTX A5000-24GB</option>
<option value="NVIDIA-RTX-A6000">NVIDIA RTX A6000-48GB</option>
<option value="NVIDIA-A100-SXM4-80GB">NVIDIA-A100-SXM4-80GB</option>
<option value="NVIDIA-A100-80GB-PCIe">NVIDIA-A100-PCIe-80GB</option>
<i>If you do not need any specific GPU type, select Any. If you need RTX-A4000, A5000, A6000, or A100, select them specifically, Otherwise, They will not be selected, even available</i>
<p>   </p>
<p>
<label for="cores">Cores </label> max 128
<input type="range" name="cores" value="4" min="4" max="128" step="4" oninput="this.nextElementSibling.value = this.value"/>
</p>
<p>   </p>
<p>
<label for="ram">RAM, GB </label> max 256
<input type="range" name="ram" value="16" min="8" max="512" step="16" oninput="this.nextElementSibling.value = this.value"/>
</p>
<!-- <label for="cephfscourse">Test course shared PVC </label>
<input style="display: inline" type="checkbox" name="cephfscourse"> -->
<input style="display: inline" type="checkbox" name="shared" checked/>
</div>
</details>
</div>
<br/>
<div class='form-group' id='kubespawner-profiles-list'>
<label style="font-size: 150%; font-weight: normal;">Image</label>
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{%- for profile in profile_list %}
{#- Wrap everything in a label tag so clicking anywhere selects the option #}
<label for="profile-item-{{ profile.slug }}"
class="profile js-profile-label">
<div class="radio">
<input type="radio"
name="profile"
id="profile-item-{{ profile.slug }}"
value="{{ profile.slug }}"
{% if profile.default %}checked{% endif %} />
</div>
<div>
<h3>{{ profile.display_name }}</h3>
{%- if profile.description %}<p>{{ profile.description }}</p>{%- endif %}
{%- if profile.profile_options %}
<div>
{%- for k, option in profile.profile_options.items() %}
<div class="js-options-container">
<div class="option">
<label for="profile-option-{{ profile.slug }}--{{ k }}"
class="js-profile-option-label">{{ option.display_name }}</label>
<select name="profile-option-{{ profile.slug }}--{{ k }}"
class="form-control js-profile-option-select">
{%- for k, choice in option['choices'].items() %}
<option value="{{ k }}" {% if choice.default %}selected{% endif %}>{{ choice.display_name }}</option>
{%- endfor %}
{%- if option['unlisted_choice']['enabled'] %}
<option value="unlisted-choice">{{ option['unlisted_choice']['display_name_in_choices'] }}</option>
{%- endif %}
</select>
</div>
{%- if option['unlisted_choice']['enabled'] %}
<div class="option hidden js-other-input-container">
<label for="profile-option-{{ profile.slug }}--{{ k }}--unlisted-choice">
{{ option['unlisted_choice']['display_name'] }}
</label>
<input data-name="profile-option-{{ profile.slug }}--{{ k }}--unlisted-choice"
{%- if option['unlisted_choice']['validation_regex'] %}
pattern="{{ option['unlisted_choice']['validation_regex'] }}"
{%- endif %}
title="{{ option['unlisted_choice']['validation_message'] }}"
class="form-control js-other-input" />
</div>
{%- endif %}
</div>
{%- endfor %}
</div>
{%- endif %}
</div>
</label>
{%- endfor %}
<div id="note:">
<span style="color: tomato"><i>Important Note:</i></span>
<i>When this server is longer needed, or if you want to launch a different stack, please stop it as follows:</i>
<span style="color:SlateBlue;"><i>Go to File > Hub Control Panel > Stop Server<i></span>