From 60b03648b7e1acd89127ce4148ea596409b40e06 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Wed, 20 Nov 2019 12:13:42 +1300 Subject: [PATCH] recipes: add help button to explain search terms There's a bit of advanced functionality by now in recipe searching, so add a link that shows a popup with information on how it works. Signed-off-by: Paul Eggleton --- templates/layerindex/recipes.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/templates/layerindex/recipes.html b/templates/layerindex/recipes.html index 6a4cbe3..a1878fa 100644 --- a/templates/layerindex/recipes.html +++ b/templates/layerindex/recipes.html @@ -38,6 +38,25 @@
+ + help +
@@ -96,6 +115,9 @@ $('.glyphicon-hdd').tooltip({title:"Inherits image"}); $('.label-inverse').tooltip(); + $('[data-toggle="popover"]').popover({ + container: 'body' + }); }); function validate(){