witten
/
luminotes
Archived
1
0
Fork 0

Removing references to old about/features/navigation pages.

This commit is contained in:
Dan Helfman 2008-03-01 00:36:55 +00:00
parent 3af5af18c5
commit 8bb947a26b
5 changed files with 2 additions and 113 deletions

View File

@ -1,25 +0,0 @@
<h3>about</h3>
<a href="/static/images/screenshot.png" target="_new">
<img src="/static/images/screenshot_thumb.png" class="thumbnail_right" width=200 height=200 />
</a>
<p>
<b>Luminotes is a WYSIWYG personal wiki notebook for organizing your notes and
ideas.</b> It's designed for creating highly interconnected documents with many
links between concepts. Streamlined visual editing allows you to create your
wiki without having to use any special markup codes or switch to a separate
edit mode.
</p>
<p>
Most wikis are designed for creating one large document per page. But for your
own notes, this approach can grow rather unwieldy. With Luminotes, you deal
with several notes all at once on the same web page, so you get a big-picture
view of what you're working on and can easily make links from one concept to
another.
</p>
<p>
Luminotes is open source / free software and licensed under the terms of the
GNU GPL.
</p>

View File

@ -1,60 +0,0 @@
<h3>features</h3>
<p>
Luminotes has the following features:
</p>
<ul>
<li><b>WYSIWYG viewing and editing, together at last</b><br />
With Luminotes, you can update any wiki note without having to switch to
a separate edit mode. And you can forget about markup or markdown.
<li><b>big-picture browsing</b><br />
Deal with several wiki notes all at once on the same page. Perfect for
brainstorming.</li>
<li><b>web-based goodness</b><br />
All your work is automatically saved to the server so you can access your wiki
wherever you go.</li>
<li><b>file uploading and downloading</b><br />
Attach images, videos, and documents to your wiki notes.</li>
<li><b>wiki change history</b><br />
Make updates without worry. You can always go back and view older versions of
your wiki.</li>
<li><b>notebook sharing and collaboration</b><br />
Keep your personal wiki private or share it with friends and colleagues.</li>
</ul>
<p>
Sound interesting? Then
<a href="/notebooks/%s?note_id=new">take a tour</a>,
<a href="/users/demo" target="_top">try the demo</a>, or
<a href="/notebooks/%s?note_id=new" target="_top">sign up</a> for a free account.
</p>
<p>
If you want to install the Luminotes software on your own server, it is
available for <a href="/notebooks/%s?note_id=new">download</a>. But you don't
need to download or install anything if you just want to make a wiki.
</p>
<span id="new_note_button_preload"></span>
<span id="link_button_preload"></span>
<span id="attach_button_preload"></span>
<span id="bold_button_preload"></span>
<span id="italic_button_preload"></span>
<span id="underline_button_preload"></span>
<span id="title_button_preload"></span>
<span id="bullet_list_button_preload"></span>
<span id="numbered_list_button_preload"></span>

View File

@ -1,15 +0,0 @@
<div class="center_text">
<a href="/notebooks/%s?note_id=new">take a tour</a> -
<a href="/users/demo" target="_top">try the demo</a> -
<a href="/notebooks/%s?note_id=new" target="_top">sign up</a>
</div>
<div class="small_text center_text">
<a href="/notebooks/%s?note_id=new">faq</a> -
<a href="/blog" target="_top">blog</a> -
<a href="/guide" target="_top">user guide</a> -
<a href="/upgrade" target="_top">pricing</a> -
<a href="/notebooks/%s?note_id=new">meet the team</a> -
<a href="/notebooks/%s?note_id=new">contact info</a> -
<a href="/privacy" target="_top">privacy</a>
</div>

View File

@ -12,9 +12,6 @@ from model.User import User
class Initializer( object ):
HTML_PATH = u"static/html"
NOTE_FILES = [ # the second element of the tuple is whether to show the note on startup
( u"navigation.html", True ),
( u"about.html", True ),
( u"features.html", True ),
( u"sign up.html", False ),
( u"faq.html", False ),
( u"meet the team.html", False ),

View File

@ -13,8 +13,6 @@ from tools.initdb import fix_note_contents
class Updater( object ):
HTML_PATH = u"static/html"
NOTE_FILES = [ # the second element of the tuple is whether to show the note on startup
( u"about.html", True ),
( u"features.html", True ),
( u"sign up.html", False ),
( u"faq.html", False ),
( u"meet the team.html", False ),
@ -27,9 +25,8 @@ class Updater( object ):
( u"take a tour.html", False ),
]
def __init__( self, database, navigation_note_id = None ):
def __init__( self, database ):
self.database = database
self.navigation_note_id = navigation_note_id
self.update_main_notebook()
self.database.commit()
@ -47,11 +44,6 @@ class Updater( object ):
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:
note = self.database.load( Note, self.navigation_note_id )
self.update_note( "navigation.html", True, main_notebook, note_ids, note )
# update all of the notes in the main notebook
for ( filename, startup ) in self.NOTE_FILES:
title = filename.replace( u".html", u"" )
@ -79,7 +71,7 @@ class Updater( object ):
def main( args ):
database = Database()
initializer = Updater( database, args and args[ 0 ] or None )
initializer = Updater( database )
if __name__ == "__main__":