forked from endorphant/ttbp
cleanup pass
fixing readme typo, switching live link to https, making feels publishing re-render after reviewing feels.master
parent
b5babed1fc
commit
9d34f87836
|
@ -85,7 +85,7 @@ you can safely put custom HTML elements!</li>
|
||||||
<li>(similarly, <code>alias ttbp-beta="~endorphant/bin/ttbp-beta"</code>)</li>
|
<li>(similarly, <code>alias ttbp-beta="~endorphant/bin/ttbp-beta"</code>)</li>
|
||||||
<li>if the date looks like it’s ahead or behind, it’s because you haven’t set
|
<li>if the date looks like it’s ahead or behind, it’s because you haven’t set
|
||||||
your local timezone yet. here are some
|
your local timezone yet. here are some
|
||||||
<a href="timezone%0Asetting%20instructions">http://www.cyberciti.biz/faq/linux-unix-set-tz-environment-variable/</a>.</li>
|
<a href="http://www.cyberciti.biz/faq/linux-unix-set-tz-environment-variable/">timezone setting instructions</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -70,8 +70,7 @@ this.**
|
||||||
* (similarly, `alias ttbp-beta="~endorphant/bin/ttbp-beta"`)
|
* (similarly, `alias ttbp-beta="~endorphant/bin/ttbp-beta"`)
|
||||||
* if the date looks like it's ahead or behind, it's because you haven't set
|
* if the date looks like it's ahead or behind, it's because you haven't set
|
||||||
your local timezone yet. here are some
|
your local timezone yet. here are some
|
||||||
[http://www.cyberciti.biz/faq/linux-unix-set-tz-environment-variable/](timezone
|
[timezone setting instructions](http://www.cyberciti.biz/faq/linux-unix-set-tz-environment-variable/)
|
||||||
setting instructions).
|
|
||||||
|
|
||||||
### future features
|
### future features
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ __author__ = "endorphant <endorphant@tilde.town)"
|
||||||
|
|
||||||
## system globals
|
## system globals
|
||||||
SOURCE = os.path.join("/home", "endorphant", "projects", "ttbp", "bin")
|
SOURCE = os.path.join("/home", "endorphant", "projects", "ttbp", "bin")
|
||||||
LIVE = "http://tilde.town/~"
|
LIVE = "https://tilde.town/~"
|
||||||
FEEDBACK = os.path.join("/home", "endorphant", "ttbp-mail")
|
FEEDBACK = os.path.join("/home", "endorphant", "ttbp-mail")
|
||||||
FEEDBOX = "endorphant@tilde.town"
|
FEEDBOX = "endorphant@tilde.town"
|
||||||
USERFILE = os.path.join("/home", "endorphant", "projects", "ttbp", "users.txt")
|
USERFILE = os.path.join("/home", "endorphant", "projects", "ttbp", "users.txt")
|
||||||
|
@ -72,8 +72,8 @@ SETTINGS = {
|
||||||
## ui globals
|
## ui globals
|
||||||
BANNER = util.attach_rainbow()+open(os.path.join(SOURCE, "config", "banner-beta.txt")).read()+util.rainbow("\t~potentially volatile beta version~")+util.attach_reset()
|
BANNER = util.attach_rainbow()+open(os.path.join(SOURCE, "config", "banner-beta.txt")).read()+util.rainbow("\t~potentially volatile beta version~")+util.attach_reset()
|
||||||
SPACER = "\n"
|
SPACER = "\n"
|
||||||
INVALID = "please pick a number from the list of options!\n\n"
|
INVALID = "please pick a number from the list of options!"
|
||||||
DUST = "sorry about the dust, but this part is still under construction. check back later!\n\n"
|
DUST = "sorry about the dust, but this part is still under construction. check back later!"
|
||||||
QUITS = ['exit', 'quit', 'q', 'x']
|
QUITS = ['exit', 'quit', 'q', 'x']
|
||||||
EJECT = "eject button fired! going home now."
|
EJECT = "eject button fired! going home now."
|
||||||
RAINBOW = True
|
RAINBOW = True
|
||||||
|
@ -349,6 +349,8 @@ def main_menu():
|
||||||
intro = "here are some options for reviewing your feels:"
|
intro = "here are some options for reviewing your feels:"
|
||||||
redraw(intro)
|
redraw(intro)
|
||||||
review_menu(intro)
|
review_menu(intro)
|
||||||
|
core.load_files()
|
||||||
|
core.write("index.html")
|
||||||
else:
|
else:
|
||||||
redraw("your recorded feels, listed by date:")
|
redraw("your recorded feels, listed by date:")
|
||||||
view_feels(USER)
|
view_feels(USER)
|
||||||
|
|
Loading…
Reference in New Issue