equal
deleted
inserted
replaced
100 ``````````` |
100 ``````````` |
101 |
101 |
102 How to change the instance logo ? |
102 How to change the instance logo ? |
103 --------------------------------- |
103 --------------------------------- |
104 |
104 |
105 There are two ways of changing the logo. |
105 The logo is managed by css. You must provide a custom css that will contain |
106 |
106 the code below: |
107 1. The easiest way to use a different logo is to replace the existing |
107 |
108 ``logo.png`` in ``myapp/data`` by your prefered icon and refresh. |
108 :: |
109 By default all instance will look for a ``logo.png`` to be |
109 |
110 rendered in the logo section. |
110 #logo { |
111 |
111 background-image: url("logo.jpg"); |
112 .. image:: ../images/lax-book_06-main-template-logo_en.png |
112 } |
113 |
113 |
114 2. In your cube directory, you can specify which file to use for the logo. |
114 |
115 This is configurable in ``mycube/uiprops.py``: :: |
115 ``logo.jpg`` is in ``mycube/data`` directory. |
116 |
|
117 LOGO = data('mylogo.gif') |
|
118 |
|
119 ``mylogo.gif`` is in ``mycube/data`` directory. |
|
120 |
116 |
121 How to create an anonymous user ? |
117 How to create an anonymous user ? |
122 --------------------------------- |
118 --------------------------------- |
123 |
119 |
124 This allows to browse the site without being authenticated. In the |
120 This allows to browse the site without being authenticated. In the |