-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1) Changed test examples to conform better to Twilio python client API.
2) Moved configuration error checking to base template. 3) Added fudging to base CSS.
- Loading branch information
1 parent
e9981fa
commit ba50ab6
Showing
6 changed files
with
86 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ body, html { | |
|
||
#content { | ||
width: 960px; | ||
height: 250px; | ||
margin: 0 auto; | ||
padding: 70px 0 0 0; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,23 @@ | ||
{% extends "base.html" %} | ||
|
||
{% block title %}Installation Success!{% endblock %} | ||
{% block title %}Successfully Deployed{% endblock %} | ||
|
||
{% block head %} | ||
<link rel="stylesheet" type="text/css" | ||
href="http://static1.twilio.com/packages/base.css"/> | ||
<link rel="stylesheet" type="text/css" | ||
href="http://static0.twilio.com/packages/buttons.css" /> | ||
<link rel="stylesheet" type="text/css" | ||
href="/static/styles/index.css" /> | ||
{% endblock %} | ||
{% block header %}Success!{% endblock %} | ||
|
||
{% block message %}You deployed Twilio Hackpack for Heroku and Flask{% endblock %} | ||
|
||
{% block blurb %}Here are some helpful links to get you started:{% endblock | ||
%} | ||
|
||
{% block content %} | ||
<div id="container"> | ||
<header> | ||
<div id="header"> | ||
<h1 class="section-heading">Success!</h1> | ||
</div> | ||
</header> | ||
<section> | ||
<div id="content"> | ||
<h2 class="section-heading">You deployed Twilio Hackpack | ||
for Heroku and Flask.</h2> | ||
<p class="blurb">Here are some important links:</p> | ||
<a href="https://www.twilio.com/user/account/apps" | ||
class="button">Configure Twilio</a> | ||
<dl id="url_list"> | ||
<dt>Voice Request URL</dt> | ||
<dd><a href="{{params['voice_request_url'] }}"> | ||
{{params['voice_request_url'] }}</a></dd> | ||
<dt>SMS Request URL</dt> | ||
<dd><a href="{{params['sms_request_url'] }}"> | ||
{{params['sms_request_url'] }}</a></dd> | ||
<dt>Client URL</dt> | ||
<dd><a href="{{params['client_url'] }}"> | ||
{{params['client_url'] }}</a></dd> | ||
</dl> | ||
</div> | ||
</section> | ||
<footer> | ||
<p class="footer"> | ||
Source on <a | ||
href="https://github.com/RobSpectre/Twilio-Hackpack-for-Heroku-and-Flask">Github</a>. | ||
Released under <a | ||
href="http://www.opensource.org/licenses/mit-license.html"> | ||
MIT license</a>. | ||
Lovingly crafted by <a id="twiliocon-2011-link" | ||
href="http://www.meetup.com/Twilio/New-York-NY/"> | ||
Twilio New York</a>. | ||
</p> | ||
</footer> | ||
</div> | ||
<a href="https://www.twilio.com/user/account/phone-numbers/incoming" | ||
class="button">Configure Twilio</a> | ||
|
||
<dl id="url_list"> | ||
{% for key, value in params.iteritems() %} | ||
<dt>{{key}}</dt> | ||
<dd>{{value}}</dd> | ||
{% endfor %} | ||
</dl> | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters