Merge pull request #89 from dod-ccpo/ui/modal-dialogs

Ui/modal dialogs
This commit is contained in:
andrewdds
2018-07-24 09:40:54 -04:00
committed by GitHub
11 changed files with 117 additions and 17 deletions

View File

@@ -5,3 +5,12 @@ def dev(self):
def matchesPath(self, href):
return self.request.uri.startswith(href)
def modal(self, body):
return self.render_string(
"components/modal.html.to",
body=body)
def modalOpen(self):
# For now, just check a dummy URL param
return self.get_argument("modal", False)