Implement widget spawning

This commit is contained in:
2022-08-29 12:24:06 +01:00
parent 67b916d3dc
commit 726ccd38d8
11 changed files with 56 additions and 11 deletions

View File

@@ -422,6 +422,8 @@ class ThresholdInfoModal(APIView):
return JsonResponse({"success": False})
if type == "window":
self.template_name = "windows/drilldown.html"
elif type == "widget":
self.template_name = "widgets/drilldown.html"
net = request.data["net"]
nick = request.data["nick"]