diff --git a/static/css/note.css b/static/css/note.css index efc5c44..de6d863 100644 --- a/static/css/note.css +++ b/static/css/note.css @@ -4,7 +4,7 @@ body { } h3 { - margin-bottom: 0.5em; + margin-bottom: 1em; } .button { diff --git a/static/html/contact us.html b/static/html/contact us.html new file mode 100644 index 0000000..ab2d9d6 --- /dev/null +++ b/static/html/contact us.html @@ -0,0 +1,10 @@ +

contact us

+ +

Have a question? First, please check our faq to see if it's answered there.

+ +

Still need some help? Have a comment or feature request? We'd love +to hear from you! You can contact us directly at support@luminotes.com. +Please note that you may receive an automated email asking you to confirm your +message.

diff --git a/static/html/faq.html b/static/html/faq.html new file mode 100644 index 0000000..63a6729 --- /dev/null +++ b/static/html/faq.html @@ -0,0 +1,43 @@ +

faq

+ +What about privacy?
+ +

Your interaction with Luminotes is protected by 256-bit SSL encryption, so +you don't have to worry about anyone snooping on your wiki notes. And we'll +never, ever look at the contents of your wiki or share it with anyone unless +you give us your permission or make the wiki public.

+ +What about backups?
+ +

Our database is fully backed up every day, and you can even download the +entire contents of your wiki by clicking "download as html" whenever you +want.

+ +Does this cost me anything?
+ +

Nope, use of your personal Luminotes wiki is completely free. In the future, +we may introduce a separate premium service with additional features. But the +features you're using now will always remain free.

+ +Where's the source code?
+ +

For the software developers among you: Right here. It's GPL. Enjoy.

+ +What does Luminotes run on?
+ + + +I've got a question that isn't answered here!
+ +

Please contact us and we'll be happy +to answer it.

diff --git a/static/html/navigation.html b/static/html/navigation.html index 3d07bbd..644dca3 100644 --- a/static/html/navigation.html +++ b/static/html/navigation.html @@ -2,4 +2,6 @@ features - take a tour - try it out - +faq - +contact us - login diff --git a/tools/initdb.py b/tools/initdb.py index 9045538..c1b0eeb 100644 --- a/tools/initdb.py +++ b/tools/initdb.py @@ -18,6 +18,8 @@ class Initializer( object ): ( u"features.html", True ), ( u"take a tour.html", False ), ( u"try it out.html", False ), + ( u"faq.html", False ), + ( u"contact us.html", False ), ( u"login.html", False ), ( u"password reset.html", False ), ( u"supported browsers.html", False ), @@ -108,7 +110,7 @@ def fix_note_contents( contents, notebook_id, note_ids ): https_url = settings[ u"global" ].get( u"luminotes.https_url", u"" ) return u"".join( [ - match.group( 1 ), https_url, match.group( 2 ), note_ids[ title + ".html" ], + match.group( 1 ), https_url, match.group( 2 ), note_ids.get( title + u".html", u"new" ), match.group( 4 ), match.group( 5 ), match.group( 6 ), ] ) diff --git a/tools/updatedb.py b/tools/updatedb.py index 58b44b3..75d5d08 100755 --- a/tools/updatedb.py +++ b/tools/updatedb.py @@ -16,6 +16,8 @@ class Initializer( object ): ( u"features.html", True ), ( u"take a tour.html", False ), ( u"try it out.html", False ), + ( u"faq.html", False ), + ( u"contact us.html", False ), ( u"login.html", False ), ( u"password reset.html", False ), ( u"supported browsers.html", False ), @@ -47,7 +49,9 @@ class Initializer( object ): for ( filename, startup ) in self.NOTE_FILES: title = filename.replace( u".html", u"" ) note = main_notebook.lookup_note_by_title( title ) - note_ids[ filename ] = note.object_id + + if note is not None: + note_ids[ filename ] = note.object_id # update the navigation note if its id was given if self.navigation_note_id: