Hello,
does a simple possibility exists for placing an icon with a link to the DAViCal admin page in CalDavZAP? Maybe below of the logout button?
I found an icon (images/banner_settings.svg) in the installation folder, which may be suited for this. But I assume this is dedicated for another purpose, maybe for the integration with CardDavMATE. With the actual version I can't discover, where and when it is used. But my Javascript and CSS knowledge is somewhat limited...
Ingo
Hi Ingo,
both our clients are server independent implementations so adding any server specific icon is a very bad idea (then Radicale, Baikal, SabreDAV, ... users may also ask for "configuration icon").
The images/banner_settings.svg will be used for "settings" module where each user can configure our clients directly in the web interface (instead of one global config.js). This feature is coming in future (after the 0.11 release).
Currently we are working on invitation functionality ...
JM
On 21 Feb 2014, at 15:18, rog7993@web.de wrote:
Hello,
does a simple possibility exists for placing an icon with a link to the DAViCal admin page in CalDavZAP? Maybe below of the logout button?
I found an icon (images/banner_settings.svg) in the installation folder, which may be suited for this. But I assume this is dedicated for another purpose, maybe for the integration with CardDavMATE. With the actual version I can't discover, where and when it is used. But my Javascript and CSS knowledge is somewhat limited...
Ingo
Hi Ján,
Am 22.02.2014 00:11, schrieb Ján Máté:
both our clients are server independent implementations so adding any server specific icon is a very bad idea (then Radicale, Baikal, SabreDAV, ... users may also ask for "configuration icon").
Maybe I expressed it somewhat unclear. It was less a feature request for implementing a general link to the DAViCal admin page, than the question for a hint, where I could patch the code for my installation only.
Currently we are working on invitation functionality ...
Indeed this would reduce the necessity to use the DAViCal admin page in most cases.
Ingo
Hi,
On 22 Feb 2014, at 00:59, rog7993@web.de wrote:
Maybe I expressed it somewhat unclear. It was less a feature request for implementing a general link to the DAViCal admin page, than the question for a hint, where I could patch the code for my installation only.
you need to modify the index.html (and maybe add few lines of CSS) ... if possible, use absolute positioned div with your icon (because adding more "apps" to the menu div needn't work).
JM
Hi,
On 22-Feb-14 00:59, rog7993@web.de wrote:
Maybe I expressed it somewhat unclear. It was less a feature request for implementing a general link to the DAViCal admin page, than the question for a hint, where I could patch the code for my installation only.
You can do that rather easily by modifying index.html and executing the cache_update.shscript afterwards. Just find the img tag with id="intLogout" (the logout button) and add this line just after it:
<img id="intAdmin" src="images/banner_settings.svg" alt="Admin" title="Admin" onclick="window.open('http://mydavical.admin.com')" style="display:block">
Now just modify the "http://mydavical.admin.com" attribute to point to your actual davical admin page and youre done. If you wish to add a blank space between the logout button and the newly created link, add this short line before the new icon:
<div id="intBlank"></div>
Just a heads-up, the "images/banner_settings.svg" icon hasnt been modified for the new design yet, so it does not look as good as the other icons.
Cheers
Matej Mihalik
Hello Matej,
Am 24.02.2014 11:37, schrieb Matej Mihalik:
You can do that rather easily by modifying index.html and executing the cache_update.shscript afterwards. Just find the img tag with id="intLogout" (the logout button) and add this line just after it:
<img id="intAdmin" src="images/banner_settings.svg" alt="Admin" title="Admin" onclick="window.open('http://mydavical.admin.com')" style="display:block">
Many thanks. This works.
Just a heads-up, the "images/banner_settings.svg" icon hasnt been modified for the new design yet, so it does not look as good as the other icons.
I modified the icon slightly. Now it looks as good as the others. Well in my opinion...
Ingo