Skip to content
Snippets Groups Projects
my_spawner.html 2.66 KiB
Newer Older
<style>
input[type="range"] {
    display: inline;
    width: 40%;
}

output {
    display: inline;
    width: 20%;
}
</style>

<p> &nbsp </p>
<div class="text-center" style="width: 100%; text-align: center">
Dung Vu's avatar
Dung Vu committed
    <p style="font-size: 150%; text-align: left">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>
Dung Vu's avatar
Dung Vu committed
    <label for="gpus">GPUs </label> max 4
Dung Vu's avatar
Dung Vu committed
    <input type="range" name="gpus" value="0" min="0" max="4" 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>
Dung Vu's avatar
Dung Vu committed
    <option value="NVIDIA-GeForce-GTX-1080">NVIDIA-GeForce-GTX-1080</option>
    <option value="NVIDIA-GeForce-GTX-1080-Ti">NVIDIA-GeForce-GTX-1080-Ti</option>
    <option value="NVIDIA-GeForce-RTX-2080-Ti">NVIDIA-GeForce-RTX-2080-Ti</option>
    <option value="NVIDIA-GeForce-RTX-3090">NVIDIA-GeForce-RTX-3090</option>
Dung Vu's avatar
Dung Vu committed
    <option value="NVIDIA-A10">NVIDIA-A10 Tensorcore</option>
    <option value="NVIDIA-L40">NVIDIA-L40-48GB</option>
Dung Vu's avatar
Dung Vu committed
    <option value="NVIDIA-A100-PCIE-40GB-MIG-2g.10gb">NVIDIA-A100-PCIE-40GB-MIG-2g.10gb</option>    
Dung Vu's avatar
Dung Vu committed
    <option value="NVIDIA-A100-SXM4-80GB">NVIDIA-A100-SXM4-80GB</option>
Dung Vu's avatar
Dung Vu committed
    
    <label for="cores">Cores </label> max 128
Dung Vu's avatar
Dung Vu committed
    <input type="range" name="cores" value="8" min="4" max="128" step="4" oninput="this.nextElementSibling.value = this.value"/>
    <output> default 8 </output>
    <label for="ram">RAM, GB </label> max 256
Dung Vu's avatar
Dung Vu committed
    <input type="range" name="ram" value="16" min="16" max="256" step="8" oninput="this.nextElementSibling.value = this.value"/>
Youngsu Kim's avatar
Youngsu Kim committed
    <output> default 16 </output>
Dung Vu's avatar
Dung Vu committed
    </p>    
    </div>
</details>
</div>
<br/>

<div class='form-group' id='kubespawner-profiles-list'>
<label style="font-size: 150%; font-weight: normal;">Image</label>
Dung Vu's avatar
Dung Vu committed
{% for profile in profile_list %}
<label style="font-weight: normal;" for='profile-item-{{ loop.index0 }}' class='form-control input-group'>
    <div class='col-md-1'>
        <input type='radio' name='profile' id='profile-item-{{ loop.index0 }}' value='{{ loop.index0 }}' {% if profile.default %}checked{% endif %} />
    </div>
    <div class='col-md-11'>
        <strong>{{ profile.display_name }}</strong>
        {% if profile.description %}
        <p>{{ profile.description }}</p>
        {% endif %}
    </div>
</label>
{% endfor %}
Youngsu Kim's avatar
Youngsu Kim committed
</div>