1. Rune Halvorsen
  2. geist

Commits

Rune Halvorsen  committed 90942ec

Added settings view

  • Participants
  • Parent commits 6ddcc73
  • Branches default

Comments (0)

Files changed (2)

File geist/__init__.py

View file
 def index():
     return {"update_interval": update_interval}
 
+@route('/settings')
+@view('settings')
+def index():
+    return {}
+
 
 @route('/tweets')
 def tweets():

File geist/templates/settings.tpl

View file
+<!doctype html>
+
+<h1>Settings</h1>
+
+
+<fieldset>
+<label for="username">Username</label><input type="text" id="username">
+<label for="password">Password</label><input type="text" id="password">
+
+Words to track:
+<textarea></textarea>
+
+
+
+</fieldset>
+
+
+
+only english <input type="checkbox">
+<br>
+</div>