pull/6/head
Hailey Clark 6 years ago
commit f4315a87f4
  1. 2
      README.md
  2. 5
      app_settings.py
  3. 5
      static/main.css
  4. 34
      templates/about.html
  5. 2
      templates/deny.html
  6. 13
      templates/settings.html
  7. 4
      templates/tos.html

@ -11,4 +11,4 @@ This requires a flowroute account. It uses google to authenticate. But I might a
App runs via the following command. App runs via the following command.
> gunicorn3 app:app > gunicorn3 app:app
This will run and listen to as a daemon. This will run and listen on a port, probably port 8000 as its default as a daemon.

@ -34,8 +34,11 @@ def appsettings():
return flask.render_template('error.html', denymsg = 'You are not currently logged in.', loggedin = False) return flask.render_template('error.html', denymsg = 'You are not currently logged in.', loggedin = False)
rows = appdb.getDIDsbyAccount(userid) rows = appdb.getDIDsbyAccount(userid)
dbEmail = appdb.getInfobyEmail(user_info['email']) accountInfo = appdb.getInfobyEmail(user_info['email'])
# userDBInfo.getInfobyE
pprint.pprint(accountInfo)
return flask.render_template('settings.html', return flask.render_template('settings.html',
user_info = user_info, user_info = user_info,
account_info = accountInfo,
dids = rows, dids = rows,
loggedin = True) loggedin = True)

@ -60,3 +60,8 @@ a:disabled {color: #9BB291;}
font-size:2em; font-size:2em;
color: #B0C592; color: #B0C592;
} }
#navblock {
background-color: #2D3F3E;
font-size: 2em;
}

@ -1,26 +1,28 @@
{% include 'include/header.html' %} {% include 'include/header.html' %}
<title>About Thewords.faith</title> <title>About Thewords.faith</title>
<script type="text/javascript"> <script type="text/javascript">
$("document").ready(function() { $("document").ready(function() {
}); });
</script> </script>
</head> </head>
<body> <body>
<h1>About TheWords!</h1> <h1>About TheWords!</h1>
<div id='about'> <div id='about'>
<p>We're all about getting thewords out and allowing us to communicate securely to friends and loved ones.</p> <p>We're all about getting thewords out and allowing us to communicate securely to friends and loved ones.</p>
<p>This site is still under active development and subject to change. For those who are interested in helping <p>This site is still under active development and subject to change. For those who are interested in helping
with development or testing hit me up on my <a href='https://github.com/hailey/sms-proj'>GitHub sms-proj Page</a>.</p> with development or testing hit me up on my <a href='https://github.com/hailey/sms-proj'>GitHub sms-proj Page</a>.</p>
<p>We aim to take bitcoin and other crypto currencies to allow people to use SMS at home on their computer or on the go as <p>We aim to take bitcoin and other crypto currencies to allow people to use SMS at home on their computer or on the go as
a backup on their phone or tablet.</p> a backup on their phone or tablet.</p>
</div> </div>
<div id='advert'> <div id='advert'>
<p>We are still looking for testers or developers so, if you're interested and don't mind a work <p>We are still looking for testers or developers so, if you're interested and don't mind a work
in progress, then maybe you can help out by sending an email to submit at athnex dot com. Or better yet, message me on our in progress, then maybe you can help out by sending an email to submit at athnex dot com. Or better yet, message me on our
<a href='https://github.com/hailey/sms-proj'>GitHub</a>. This is a side project of mine so development will be slow <a href='https://github.com/hailey/sms-proj'>GitHub</a>. This is a side project of mine so development will be slow
for as long as its only me. Thanks for your interest!</p> for as long as its only me. Thanks for your interest!</p>
</div> </div>
{% include 'include/footer.html' %} {% include 'include/footer.html' %}
</body> </body>
</html> </html>

@ -1,4 +1,4 @@
{% include 'include/header.html' %} {% include 'include/header.html' %}
<title> 503 Denied </title> <title> 503 Denied </title>
<script type="text/javascript"> <script type="text/javascript">
$("document").ready(function() { $("document").ready(function() {

@ -1,5 +1,5 @@
{% include 'include/header.html' %} {% include 'include/header.html' %}
<title> {{ name }}'s Settings </title> <title> {{ account_info.1 }}'s Settings </title>
<script type="text/javascript"> <script type="text/javascript">
$("document").ready(function() { $("document").ready(function() {
@ -7,13 +7,16 @@
</script> </script>
</head> </head>
<body> <body>
<h1>Settings for {{ user_info['name'] }}!</h1> <h1>Settings for {{ account_info.1 }}!</h1>
<div id='body'> <div id='body'>
<div id='accountInfoBlock'> <div id='accountInfoBlock'>
<div class='namefield'>Name: <input type='text' id='email' value='{{ user_info['name'] }}' /></div> <div class='uid'>User ID: {{ account_info.0 }}</div>
<div class='emailfield'>Email: {{ user_info['email'] }}</div> <div class='namefield'>Name: <input type='text' id='email' value='{{ account_info.1 }}' /></div>
<div class='emailfield'>Email: {{ account_info.2 }}</div>
<div class='creationTime'>Account created on {{ account_info.6 }}</div>
<div class='largeField'><h3>Google Info</h3></div>
<div class='googleID'>Google ID: {{ user_info.id }}</div>
</div> </div>
Your active DIDs: (Click number to access messaging) Your active DIDs: (Click number to access messaging)
<ul> <ul>

@ -1,5 +1,5 @@
{% include 'include/header.html' %} {% include 'include/header.html' %}
<title> TheWords.faith Terms of Service Policy</title> <title>TheWords.faith Terms of Service Policy</title>
<script type="text/javascript"> <script type="text/javascript">
$("document").ready(function() { $("document").ready(function() {
@ -19,4 +19,4 @@
<p>Thats why this system is hosted in italy. Happy texting!</p> <p>Thats why this system is hosted in italy. Happy texting!</p>
<p>This is a developing project and these terms and conditions and features may change in the future.</p> <p>This is a developing project and these terms and conditions and features may change in the future.</p>
</div> </div>
{% include 'include/footer.html' %} {% include 'include/footer.html' %}

Loading…
Cancel
Save