-
-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathindex.html.erb
29 lines (28 loc) · 1.18 KB
/
index.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
<head>
<title>Slack Ruby Bot Server</title>
<script src="/scripts/jquery-1.7.1.min.js"></script>
<script src="/scripts/url.min.js"></script>
<script src="/scripts/messages.js"></script>
<script src="/scripts/register.js"></script>
<script src="/scripts/stats.js"></script>
</head>
<body style="text-align: center">
<p>
<img src='img/slack.png' width="120px">
</p>
<p>
<h3>An opinionated boilerplate for a Slack bot service.</h3>
</p>
<p id='messages' />
<p id='register'>
<a href="<%= SlackRubyBotServer::Config.oauth_authorize_url %>?scope=<%= SlackRubyBotServer::Config.oauth_scope_s %>&client_id=<%= ENV['SLACK_CLIENT_ID'] %>"><img alt="Add to Slack" height="40" width="139" src="https://platform.slack-edge.com/img/add_to_slack.png" srcset="https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/[email protected] 2x"></a>
</p>
<p id='active_teams_count'> </p>
<p>
<small>
made by <a href="https://twitter.com/dblockdotorg" target="_blank">@dblockdotorg</a>, <a href="https://github.com/slack-ruby/slack-ruby-bot-server" target="_blank">fork me on github</a>
</small>
</p>
</body>
</html>