From 87f065a2ac5dddc633a1d9d5edf4330b356da2bc Mon Sep 17 00:00:00 2001 From: checktheroads Date: Thu, 22 Aug 2019 01:01:23 -0700 Subject: [PATCH] add pre-submit input validation --- hyperglass/render/templates/index.html.j2 | 20 ++++---- hyperglass/render/webassets.py | 20 ++++++++ hyperglass/static/.gitignore | 2 + hyperglass/static/hyperglass.es6 | 57 +++++++++++++++++++++-- hyperglass/static/overrides.sass | 8 +++- 5 files changed, 93 insertions(+), 14 deletions(-) diff --git a/hyperglass/render/templates/index.html.j2 b/hyperglass/render/templates/index.html.j2 index 4df5d65..0b1c54f 100644 --- a/hyperglass/render/templates/index.html.j2 +++ b/hyperglass/render/templates/index.html.j2 @@ -2,13 +2,14 @@ {% block content %}
-
+
- {% import "templates/title.html.j2" as title %} - {{ title.title(branding, primary_asn, size_title="h1", size_subtitle="h4") }} + {% import "templates/title.html.j2" as title %} + {{ title.title(branding, primary_asn, size_title="h1", size_subtitle="h4") }}
-
+
+ + aria-label="{{ branding.text.query_placeholder }}" aria-describedby="query_target" id="query_target" + required>