2012-05-07 17:08:58 +04:00
|
|
|
=======
|
|
|
|
Theming
|
2012-05-18 16:29:52 +04:00
|
|
|
=======
|
|
|
|
|
2012-05-19 00:18:40 +04:00
|
|
|
0bin comes with a complete theming support, but for now it's not well integrated.
|
2012-05-18 16:29:52 +04:00
|
|
|
|
2012-05-19 00:18:40 +04:00
|
|
|
If you wish to create your own theme, you'll need to create templates similar
|
2012-05-19 00:47:17 +04:00
|
|
|
to the ones in zerobin/view, and add the path to the directory containing them
|
|
|
|
to the :ref:`configuration file <template-dirs-en>`.
|
2012-05-18 16:29:52 +04:00
|
|
|
|
2012-05-19 00:47:17 +04:00
|
|
|
You'll also need to copy static files from zerobin/static to a new directory
|
2012-05-18 16:29:52 +04:00
|
|
|
where you can edit them. And you need to add this directory in the
|
2012-05-19 00:47:17 +04:00
|
|
|
:ref:`configuration file <static-root-en>` too.
|
2012-05-18 16:29:52 +04:00
|
|
|
|
|
|
|
Of course, if you look for something simple, you can just edit all files in place/
|
|
|
|
|
|
|
|
But be careful, the javascript code is tightly coupled with HTML ID and classes,
|
|
|
|
and they are not very well organized for now.
|
|
|
|
|
|
|
|
If you have serious theming needs, please contact us so we improve the support.
|
|
|
|
|
|
|
|
|