From 2f427c820ab92f77f9a592358cee82f2a85ab79d Mon Sep 17 00:00:00 2001 From: youngsuKim-CSUSB <81013158+youngsuKim-CSUSB@users.noreply.github.com> Date: Fri, 24 Jun 2022 01:35:25 -0700 Subject: [PATCH] Add page footer --- <style>.html | 5 +++-- page.html | 2 +- tmp/spawn.html | 23 ----------------------- 3 files changed, 4 insertions(+), 26 deletions(-) delete mode 100644 tmp/spawn.html diff --git a/<style>.html b/<style>.html index e4f5122..2368e06 100644 --- a/<style>.html +++ b/<style>.html @@ -3,10 +3,11 @@ margin-top: auto; margin-left: auto; text-align: center; + width: 100%; } </style> <div class="footer-bottom"> - <hr style="width:50%""> - <p>This JupyterHub is provided by the </p> + <hr style="width:50%"> + This JupyterHub is provided by the ITS and ATI at California State Univeristy San Bernardino </div> \ No newline at end of file diff --git a/page.html b/page.html index ad933bf..9a9bd60 100644 --- a/page.html +++ b/page.html @@ -14,7 +14,7 @@ {% block footer %} <div class="footer-bottom"> - <hr style="width:50%""> + <hr style="width:50%"> This JupyterHub is provided by the ITS and ATI at California State Univeristy San Bernardino </div> {% endblock %} diff --git a/tmp/spawn.html b/tmp/spawn.html deleted file mode 100644 index 8431868..0000000 --- a/tmp/spawn.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "templates/spawn.html" %} - -{% block main %} -{{ super() }} -{% endblock %} - -{% block heading %} -<div class="row col-sm-offset-2 col-sm-8"> -<input class="form-control input-lg" type="range" name="gpus" value="{{ extra_resources.n_gpus }}" min="0" max="4" oninput="this.nextElementSibling.value = this.value"/> -<output>{{ extra_resources.n_gpus }}</output> -<label for="gpus">GPUs</label> -<br/> -<label for="cores">CPUS</label> -<input class="form-control input-lg" type="range" name="cores" value="{{ extra_resources.n_cpus }}" min="0" max="96" oninput="this.nextElementSibling.value = this.value"/> -<output>{{ extra_resources.n_cpus }}</output> -<br/> -<label for="ram">RAM, GB</label> -<input class="form-control input-lg" type="range" name="ram" value="8" min="1" max="512" oninput="this.nextElementSibling.value = this.value"/> -<output>8</output> -<br/> -<p>Testing spawner</p> -</div> -{% endblock %} \ No newline at end of file -- GitLab