diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-09-16 15:49:12 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-09-16 15:49:12 -0400 |
commit | 47e6a33a4505e13ba4edf37ff1f8fbdadb279ee3 (patch) | |
tree | 9d798d908b3a76d6e228f39872e74cccfc27ad35 /web/templates | |
parent | 7e418714bce067172e527359f391943459b3bd48 (diff) | |
download | chat-47e6a33a4505e13ba4edf37ff1f8fbdadb279ee3.tar.gz chat-47e6a33a4505e13ba4edf37ff1f8fbdadb279ee3.tar.bz2 chat-47e6a33a4505e13ba4edf37ff1f8fbdadb279ee3.zip |
Implement OAuth2 service provider functionality.
Diffstat (limited to 'web/templates')
-rw-r--r-- | web/templates/authorize.html | 26 | ||||
-rw-r--r-- | web/templates/channel.html | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/web/templates/authorize.html b/web/templates/authorize.html new file mode 100644 index 000000000..3392c1b1e --- /dev/null +++ b/web/templates/authorize.html @@ -0,0 +1,26 @@ +{{define "authorize"}} +<html> +{{template "head" . }} +<body class="white"> + <div class="container-fluid"> + <div class="inner__wrap"> + <div class="row content"> + <div class="signup-header"> + {{.Props.TeamName}} + </div> + <div class="col-sm-12"> + <div id="authorize"></div> + </div> + <div class="footer-push"></div> + </div> + <div class="row footer"> + {{template "footer" . }} + </div> + </div> + </div> + <script> + window.setup_authorize_page('{{ .Props.TeamName }}', '{{ .Props.AppName }}', '{{ .Props.ResponseType }}', '{{ .Props.ClientId }}', '{{ .Props.RedirectUri }}', '{{ .Props.Scope }}', '{{ .Props.State }}' ); + </script> +</body> +</html> +{{end}} diff --git a/web/templates/channel.html b/web/templates/channel.html index 1885db2f6..92aaaf02f 100644 --- a/web/templates/channel.html +++ b/web/templates/channel.html @@ -49,6 +49,7 @@ <div id="access_history_modal"></div> <div id="activity_log_modal"></div> <div id="removed_from_channel_modal"></div> + <div id="register_app_modal"></div> <script> window.setup_channel_page({{ .Props }}); $('body').tooltip( {selector: '[data-toggle=tooltip]'} ); |