Add generic template for plugins
1 files added
3 files modified
| | |
| | | bottom: 0; |
| | | } |
| | | |
| | | #pluginbody, |
| | | #settings-right { |
| | | position: absolute; |
| | | top: 0; |
| | |
| | | } |
| | | |
| | | .formbuttons input.button:hover, |
| | | .formbuttons input.button:focus { |
| | | .formbuttons input.button:focus, |
| | | input.button.mainaction:hover, |
| | | input.button.mainaction:focus { |
| | | color: #f2f2f2; |
| | | border-color: #465864; |
| | | box-shadow: 0 0 5px 2px rgba(71,135,177, 0.6), inset 0 1px 0 0 #888; |
| | |
| | | |
| | | input.button.mainaction { |
| | | color: #ededed; |
| | | text-shadow: 0px 1px 1px #333; |
| | | border-color: #1f262c; |
| | | background: #505050; |
| | | background: -moz-linear-gradient(top, #505050 0%, #2a2e31 100%); |
| | |
| | | background: -o-linear-gradient(top, #505050 0%, #2a2e31 100%); |
| | | background: -ms-linear-gradient(top, #505050 0%, #2a2e31 100%); |
| | | background: linear-gradient(top, #505050 0%, #2a2e31 100%); |
| | | box-shadow: inset 0 1px 0 0 #777; |
| | | -moz-box-shadow: inset 0 1px 0 0 #777; |
| | | -webkit-box-shadow: inset 0 1px 0 0 #777; |
| | | -o-box-shadow: inset 0 1px 0 0 #777; |
| | | } |
| | | |
| | | input.button.mainaction:active { |
| | |
| | | width: auto; |
| | | } |
| | | |
| | | #pluginbody { |
| | | position: absolute; |
| | | top: 0; |
| | | left: 0; |
| | | right: 0; |
| | | bottom: 0; |
| | | } |
| | | |
| | | |
| | | /*** Login form ***/ |
| | | |
New file |
| | |
| | | <roundcube:object name="doctype" value="html5" /> |
| | | <html> |
| | | <head> |
| | | <title><roundcube:object name="pagetitle" /></title> |
| | | <roundcube:include file="/includes/links.html" /> |
| | | </head> |
| | | <body> |
| | | |
| | | <roundcube:include file="/includes/header.html" /> |
| | | |
| | | <div id="mainscreen" class="offset"> |
| | | |
| | | <roundcube:if condition="env:task == 'settings'" /> |
| | | <roundcube:include file="/includes/settingstabs.html" /> |
| | | <roundcube:endif /> |
| | | |
| | | <div id="pluginbody" class="uibox contentbox"> |
| | | <roundcube:object name="plugin.body" /> |
| | | <roundcube:object name="message" id="message" class="statusbar" /> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <roundcube:object name="plugin.footer" /> |
| | | |
| | | <roundcube:include file="/includes/footer.html" /> |
| | | |
| | | </body> |
| | | </html> |
| | |
| | | } |
| | | } |
| | | else if (rcmail.env.task == 'settings') { |
| | | var tab = '#settingstabpreferences'; |
| | | if (rcmail.env.action) |
| | | tab = '#settingstab' + (rcmail.env.action.indexOf('identity')>0 ? 'identities' : rcmail.env.action.replace(/\./g, '')); |
| | | rcmail.addEventListener('init', function(){ |
| | | var tab = '#settingstabpreferences'; |
| | | if (rcmail.env.action) |
| | | tab = '#settingstab' + (rcmail.env.action.indexOf('identity')>0 ? 'identities' : rcmail.env.action.replace(/\./g, '')); |
| | | |
| | | $(tab).addClass('selected') |
| | | .children().first().removeAttr('onclick').click(function() { return false; }); |
| | | $(tab).addClass('selected') |
| | | .children().first().removeAttr('onclick').click(function() { return false; }); |
| | | }); |
| | | |
| | | if (rcmail.env.action == 'folders') { |
| | | new rcube_splitter({ id:'folderviewsplitter', p1:'#folderslist', p2:'#folder-details', |