Ask Your Question
3

sage front page

asked 13 years ago

Bill Campbell gravatar image

We plan on keeping the Sage front page to the on line notebook server, but Fordham University has a requirement that we must "brand" the front page. How may we change the first page of the notebook server we already have installed so that we may put our Universitys logo and maybe some official sounding disclaimer?

Preview: (hide)

3 Answers

Sort by » oldest newest most voted
2

answered 12 years ago

ndomes gravatar image

There is more than one file named login.html

On my system I have to change:

sage-4.7.1_devel/devel/sagenb/sagenb/data/sage/html/login.html

Preview: (hide)
link

Comments

You may be right; I'm not sure exactly in which tree this lives. Hopefully one of the sagenb devs will see this and add to the documentation!

kcrisman gravatar imagekcrisman ( 12 years ago )

that should be the right place to change things.

Jason Grout gravatar imageJason Grout ( 12 years ago )
1

answered 13 years ago

kcrisman gravatar image

updated 13 years ago

You just have to change the default CSS and a few other templates. The code is on github; I think login.html is the main login page, and the other directories have other stuff. You can just change those, presumably; perhaps you'll have to do sage -b before launching the notebook server.

See Sunkyukwan University's Sage server, for a nice example of what you want to do.

Preview: (hide)
link
0

answered 12 years ago

Bill Campbell gravatar image

And I tried editing login.html (I tried making "Python" bold), but I can't get the change to be visible on the login page. Tried "sage -b" as suggested. Also tried restarting the sage notebook.

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 13 years ago

Seen: 464 times

Last updated: May 01 '12