summaryrefslogtreecommitdiffstats
path: root/web/templates/authorize.html
diff options
context:
space:
mode:
authorElias Nahum <nahumhbl@gmail.com>2016-01-29 13:48:12 -0300
committerElias Nahum <nahumhbl@gmail.com>2016-01-29 13:50:48 -0300
commit6b7438b52fdaabe46cb298af1b325c3d8ece1af4 (patch)
tree886be79724c7ed55452986a32e8aeaf09407083b /web/templates/authorize.html
parent5c3fefe1a18a6b81de5d03802ee1a3f42161a38a (diff)
downloadchat-6b7438b52fdaabe46cb298af1b325c3d8ece1af4.tar.gz
chat-6b7438b52fdaabe46cb298af1b325c3d8ece1af4.tar.bz2
chat-6b7438b52fdaabe46cb298af1b325c3d8ece1af4.zip
PLT-7: Refactoring frontend (chunk 6)
- Authorize - Signup Team Confirm - Footer
Diffstat (limited to 'web/templates/authorize.html')
-rw-r--r--web/templates/authorize.html18
1 files changed, 2 insertions, 16 deletions
diff --git a/web/templates/authorize.html b/web/templates/authorize.html
index 430291676..0fa36b0ab 100644
--- a/web/templates/authorize.html
+++ b/web/templates/authorize.html
@@ -2,24 +2,10 @@
<html>
{{template "head" . }}
<body>
- <div class="container-fluid">
- <div class="oauth-prompt">
- <div class="prompt__heading">
- <div class="prompt__app-icon">
- <img src="/static/images/icon50x50.png" width="50" height="50" alt="">
- </div>
- <div class="text">An application would like to connect to your {{.Props.TeamName}} account.</div>
- </div>
- <p>The app <strong>{{.Props.AppName}}</strong> would like the ability to access Mattermost on your behalf.</p>
- <h2 class="prompt__allow">Allow <strong>{{.Props.AppName}}</strong> access?</h2>
- <div class="prompt__buttons">
- <input type="button" class="btn btn-link" value="Deny">
- <input type="button" class="btn btn-primary" value="Allow">
- </div>
- </div>
+ <div id="authorize">
</div>
<script>
- window.setup_authorize_page('{{.Props}}');
+ window.setup_authorize_page({{.Props}});
</script>
</body>
</html>