Ask Your Question
3

sage front page

asked 2012-03-07 13:24:26 +0100

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?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2012-05-01 19:05:00 +0100

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

edit flag offensive delete link more

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 ( 2012-05-01 22:39:25 +0100 )edit

that should be the right place to change things.

Jason Grout gravatar imageJason Grout ( 2012-05-02 04:46:10 +0100 )edit
1

answered 2012-03-07 13:59:57 +0100

kcrisman gravatar image

updated 2012-03-08 13:25:08 +0100

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.

edit flag offensive delete link more
0

answered 2012-05-01 17:57:37 +0100

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.

edit flag offensive delete link more

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: 2012-03-07 13:24:26 +0100

Seen: 432 times

Last updated: May 01 '12