Ask Your Question
3

sage front page

asked 2012-03-07 06:24:26 -0500

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 12:05:00 -0500

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 15:39:25 -0500 )edit

that should be the right place to change things.

Jason Grout gravatar imageJason Grout ( 2012-05-01 21:46:10 -0500 )edit
1

answered 2012-03-07 06:59:57 -0500

kcrisman gravatar image

updated 2012-03-08 06:25:08 -0500

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 10:57:37 -0500

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 06:24:26 -0500

Seen: 159 times

Last updated: May 01 '12