prawnsalad / KiwiIRC

This is **DEPRECATED**! Please go to https://github.com/kiwiirc/kiwiirc
https://kiwiirc.com
GNU Affero General Public License v3.0
891 stars 277 forks source link

Customize template login #686

Closed Chrysweel closed 9 years ago

Chrysweel commented 9 years ago

I open this issue, because I think that this doubt is useful and to can have it many people.

I want customize the template login.

I know some posibilities:

My question is... Can I customize only the template with a plugin ? But... only the template. I want continue with same code and events of serverselect.js , but only I want change the template and styles css... but from a plugin, without modify internal code kiwi and without to copy and to paste all code. ;)

Is possible ?

thanks in advance

prawnsalad commented 9 years ago

The best way for this is either your point 1 or to modify index.html. The page is created from the templates before the plugins are loaded so they cannot modify the template in time.

If your changes are rather simple you could modify the document live from a plugin. Eg.: http://webbnc.snoonet.org/ What I do here to modify that screen from a plugin is just plain jquery: $('.server_details .have_pass').hide();