Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Bring Your Own Resources #205

Merged
merged 23 commits into from Jun 30, 2017
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Split
Viewing a subset of changes. View all

fix typo

commit 92abe86962121c546fafacab31967ae0f79ecb44 @StrausMG StrausMG committed Jun 20, 2017
@@ -1,4 +1,4 @@
-SPAWNER_OPTIONS_FROM = """
+SPAWNER_OPTIONS_FORM = """
<div style="margin-bottom: 0px;">
@anaderi

anaderi Jun 21, 2017

Owner

make separate html file in share/static/html and read it instead.

<div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label" style="width: 50%;">
<input
View
@@ -30,7 +30,7 @@
from .email_notificator import EmailNotificator
from .container_handler import ContainerHandler
from . import __version__
-from ._spawner_options_form import SPAWNER_OPTIONS_FROM
+from ._spawner_options_form import SPAWNER_OPTIONS_FORM
ssl._create_default_https_context = ssl._create_unverified_context
@@ -146,7 +146,7 @@ def load_state(self, state):
self.user.spawn_pending = False
def _options_form_default(self):
- return SPAWNER_OPTIONS_FROM
+ return SPAWNER_OPTIONS_FORM
def options_from_form(self, formdata):
options = {}