Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding a FAQ

  • Loading branch information...
commit 681cbd34ef4c2980e59de48b387e41c70c95fbb2 1 parent 1e74144
@DFectuoso DFectuoso authored
View
1  .gitignore
@@ -1,2 +1,3 @@
*.swp
+*.pyc
*.DS_Store
View
10 main.py
@@ -161,6 +161,15 @@ def post(self):
else:
self.response.out.write("Invalid Key")
+class FaqHandler(webapp.RequestHandler):
+ def get(self):
+ user = users.get_current_user()
+ if user:
+ logout_url = users.create_logout_url('/')
+ else:
+ login_url = users.create_login_url('/')
+ self.response.out.write(template.render('templates/faq.html', locals()))
+
class MainHandler(webapp.RequestHandler):
def get(self):
user = users.get_current_user()
@@ -218,6 +227,7 @@ def post(self):
def main():
application = webapp.WSGIApplication([
('/', MainHandler),
+ ('/faq', FaqHandler),
('/updates/(.+)', UpdatesHandler),
('/comment/(.+)', CommentHandler),
('/api', ApiHandler),
View
2  static/style.css
@@ -50,3 +50,5 @@ h4 { font-size: smaller; }
.comment-meta {color:#999999; display:block; font-size:11px;}
#notificationPanel{background:none repeat scroll 0 0 #EEEEEE;border-color:#D50025;border-style:solid;border-width:0 0 2px;height:50px;position:absolute;right:0;top:25px;width:290px;}
#load-more{background-color:#FFFFFF;border-color:#DDDDDD #AAAAAA #AAAAAA #DDDDDD;border-style:solid;border-width:1px;display:block;font-size:14px;font-weight:bold;height:22px;line-height:1.5em;margin-bottom:6px;outline:medium none;padding:6px 0;text-align:center;text-shadow:1px 1px 1px #FFFFFF;width:100%;}
+#faq { font-family: sans-serif; margin: 0px;}
+#faq div {margin-top:20px;}
View
1  templates/base.html
@@ -14,6 +14,7 @@
{% if user %}
<span>
<strong>{{user.email}}</strong> |
+ <a href="/faq">F.A.Q.</a> |
<a href="javascript:void(0);" onclick="toggleNotifications();">Notifications</a> |
<a href="{{logout_url}}">Logout</a>
</span>
View
47 templates/faq.html
@@ -0,0 +1,47 @@
+{% extends 'base.html' %}
+{% block content %}
+<div id="faq">
+ <h3>F.A.Q</h3>
+ <div>
+ <b>What is this new "Log"?</b><br/>
+ This is a <b>micro-blogging application for the dojo.</b> <br/>
+ Feel free to keep other members updated of your location/activity in the dojo, share with everyone your hacks, questions, ideas and projects!<br/>
+ According to the last Member Survey, the number one thing that members requested was some way to find out what other Members were up to, where they were in the Dojo, who was open for chatting, etc. <br/>
+ </div>
+ <div>
+ <b>How to use it?</b><br/>
+ Simple go to <b><a href="http://log.hackerdojo.com">log.hackerdojo.com</a></b> (log in with your hackerdojo account) and read the timeline and post your updates.<br/>
+ </div>
+ <div>
+ <b>I want to improve the code, where is it?</b><br/>
+ The log application is open source and the main repository can be found on <b><a href="http://github.com/hackerdojo/hd-log">github</a></b>.
+ The code is <b>python/GAE</b> and we are waiting for your pull request!<br/>
+ </div>
+ <div>
+ <b>I want to give ideas, feedback, suggestions, or report a bug!</b><br/>
+ Please use the "Issues" tab on <a href="http://github.com/hackerdojo/hd-log/issues">github</a><br/>
+ </div>
+ <div>
+ <b>How the Notifications work (advanced users)</b><br/>
+ There are 2 ways to get notifications, the first is using notify.io and the second one is email.<br/>
+ Simply click on the notification tab on top of the applications and enable either one (or both). <br/>
+ Keep in mind that this will send a notification each time ANYONE posts a new update, so <b>be careful with using the email one without any kind of filter on your inbox.</b><br/>
+ </div>
+ <div>
+ <b>How to set up Notify.io to get desktop notifications on mac osx?</b><br/>
+ Follow the next simple steps. It is really worth it, you will get desktop notifications!<br/>
+ 1) Point your browser to notify.io<br/>
+ 2) Log in with a gmail account. This needs to be a @gmail.com account, sadly notify.io only works with gmails accounts right now, until there is a better way to make this happen you will need to log in with a gmail account and then add you hacker dojo email to it<br/>
+ 3) Click on Settings (http://www.notify.io/settings) and add your hacker dojo email address.<br/>
+ 4) Log into your hacker dojo email and validate this merge<br/>
+ 5) Download the Desktop Notifier( http://notify-io.googlecode.com/files/DesktopNotifier.dmg ) <br/>
+ 6) Click on Outlets ( http://www.notify.io/outlets ) and download the listen url, open that file(it will link the desktop notifier with your notify.io account)<br/>
+ 7) Post a message in the Log<br/>
+ 8) Click on the Sources screen on notify.io ( http://www.notify.io/sources ) and approve the hd-logs to send notifications, it will be on the right sidebar.<br/>
+ </div>
+ <div>
+ <b>How can I get notifications on other operating systems?</b><br/>
+ There are alpha versions for Windows, Linux and Unix, and Notify.io is a open source project made by one of our directors(Jeff), you can check the google group (http://groups.google.com/group/notify-io) and search for support on your platform.<br/>
+ </div>
+</div>
+{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.