summaryrefslogtreecommitdiffstats
path: root/web/templates
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-01-29 14:52:08 -0500
committerChristopher Speller <crspeller@gmail.com>2016-01-29 14:52:08 -0500
commit7ff7c864611590347cb6a230d31635ecabdc4f25 (patch)
treea7a5512c6ed956aef438d71c1f8c3eeae34057a6 /web/templates
parent6a160c82552f4c9ae9d75db7d691b322fff21f19 (diff)
parentedc0e3868790f12920543a6bd9fa96aa4ca3b4ed (diff)
downloadchat-7ff7c864611590347cb6a230d31635ecabdc4f25.tar.gz
chat-7ff7c864611590347cb6a230d31635ecabdc4f25.tar.bz2
chat-7ff7c864611590347cb6a230d31635ecabdc4f25.zip
Merge pull request #2023 from ZBoxApp/PLT-7-templates
PLT-7: Refactoring frontend (chunk 6)
Diffstat (limited to 'web/templates')
-rw-r--r--web/templates/authorize.html18
-rw-r--r--web/templates/footer.html8
-rw-r--r--web/templates/signup_team_confirm.html9
3 files changed, 10 insertions, 25 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>
diff --git a/web/templates/footer.html b/web/templates/footer.html
index 60dd5a40e..5b11328fb 100644
--- a/web/templates/footer.html
+++ b/web/templates/footer.html
@@ -5,10 +5,10 @@
</div>
<div class="col-xs-12">
<span class="pull-right footer-link copyright">© 2015 Mattermost, Inc.</span>
- <a id="help_link" class="pull-right footer-link" href="#">Help</a>
- <a id="terms_link" class="pull-right footer-link" href="#">Terms</a>
- <a id="privacy_link" class="pull-right footer-link" href="#">Privacy</a>
- <a id="about_link" class="pull-right footer-link" href="#">About</a>
+ <a id="help_link" class="pull-right footer-link" href="#">{{ .ClientCfg.FooterHelp }}</a>
+ <a id="terms_link" class="pull-right footer-link" href="#">{{ .ClientCfg.FooterTerms }}</a>
+ <a id="privacy_link" class="pull-right footer-link" href="#">{{ .ClientCfg.FooterPrivacy }}</a>
+ <a id="about_link" class="pull-right footer-link" href="#">{{ .ClientCfg.FooterAbout }}</a>
</div>
</div>
<script>
diff --git a/web/templates/signup_team_confirm.html b/web/templates/signup_team_confirm.html
index 2d27194bc..d16861808 100644
--- a/web/templates/signup_team_confirm.html
+++ b/web/templates/signup_team_confirm.html
@@ -7,11 +7,7 @@
<div class="inner__wrap">
<div class="row content">
<div class="col-sm-12">
- <div class="signup-team__container">
- <h3>Sign up Complete</h3>
- <p>Please check your email: {{ .Props.Email }}<br>
- Your email contains a link to set up your team</p>
- </div>
+ <div id="signup-team-confirm"></div>
</div>
</div>
<div class="row footer">
@@ -19,6 +15,9 @@
</div>
</div>
</div>
+ <script>
+window.setup_signup_team_confirm_page({{ .Props }});
+ </script>
</body>
</html>
{{end}}