[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: [PATCH] [SCREENIES] Improvements to kio_man
From: Michael Pyne <mpyne () purinchu ! net>
Date: 2008-06-19 0:55:12
Message-ID: 200806182055.12893.mpyne () purinchu ! net
[Download RAW message or body]
[Attachment #2 (multipart/mixed)]
[Attachment #4 (multipart/alternative)]
On Wednesday 18 June 2008, Allen Winter wrote:
> It does look better.
> You didn't attach html_style so I couldn't compile it myself.
>
> But, no objections here
Sorry about that, I svn add'ed it so I thought svn diff would pick it up in
the patch.
The file is attached.
Regards,
- Michael Pyne
[Attachment #7 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" \
content="1" /><style type="text/css">p, li { white-space: pre-wrap; \
}</style></head><body style=" font-family:'Consolas'; font-size:11pt; \
font-weight:400; font-style:normal;">On Wednesday 18 June 2008, Allen Winter \
wrote:<br>> It does look better.<br>> You didn't attach html_style so I \
couldn't compile it myself.<br>><br>> But, no objections here<br><p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>Sorry \
about that, I svn add'ed it so I thought svn diff would pick it up in the \
patch.<br><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;"></p>The file is attached.<br><p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;"></p>Regards,<br> - Michael \
Pyne</p></body></html>
["html_style.h" (text/x-chdr)]
#ifndef KIO_MAN_HTML_STYLE_H
#define KIO_MAN_HTML_STYLE_H
/* Copyright (c) 2008 Michael Pyne <michael.pyne@kdemail.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
/*
* The following style sheet is not included in kio_man.css since we need to
* do some post-processing on some file names anyways. If there's a better
* way to point Konq to the right place so that we can just use raw .css files,
* that's probably a better way to do it.
*/
// Stylesheet to use for generated HTML output.
// Remember to use backslashes at the end of a line for continuation.
// CSS adapted from that used on www.kde.org for similar appearance.
// Paths use $DOCPATH. Be sure to replace that with the real deal before
// outputting this.
static const char htmlCss[] = "\
<style>\
body {\
background-color: white;\
color: black;\
padding: 0px;\
}\
#header {\
width: 100%;\
color: #535353;\
background: #eeeeee;\
border-bottom: #bcbcbc 1px solid;\
}\
#header_top {\
margin: 0 auto;\
padding: 0;\
width: 60em;\
min-width: 770px;\
max-width: 45em;\
vertical-align: middle;\
color: #ffffff;\
background: url($DOCPATH/top.jpg) repeat-x bottom;\
background-color: #0057ae;\
}\
#header_top div {\
margin: 0 auto;\
padding: 0;\
background: url($DOCPATH/top-left.jpg) no-repeat bottom left;\
}\
#header_top div div {\
margin: 0 auto;\
padding: 0;\
vertical-align: middle;\
text-align: left;\
font-size: 1.7em;\
font-weight: bold;\
background: url($DOCPATH/top-right.jpg) no-repeat bottom right;\
}\
#header_top div div img {\
margin:8px 0px 9px 18px;\
vertical-align: middle;\
}\
#header_bottom {\
margin: 0 auto;\
padding: 0.1em 0em 0.3em 0;\
width: 60em;\
min-width: 770px;\
max-width: 45em;\
vertical-align: middle;\
text-align: right;\
background: #eeeeee;\
}\
#location {\
padding: 0 0 0 1.5em;\
text-align: left;\
line-height: normal;\
font-size: 1.1em;\
font-weight:bold;\
float: left;\
}\
#footer {\
width: 100%;\
background-color: #eeeeee;\
padding-top: 12pt;\
padding-bottom: 12pt;\
border-top: #bcbcbc 1px solid;\
margin-top: 12pt;\
}\
#footer_text {\
text-align:center;\
vertical-align: middle;\
}\
</style>";
#endif
#ifndef KIO_MAN_HTML_STYLE_H
#define KIO_MAN_HTML_STYLE_H
/* Copyright (c) 2008 Michael Pyne <michael.pyne@kdemail.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
/*
* The following style sheet is not included in kio_man.css since we need to
* do some post-processing on some file names anyways. If there's a better
* way to point Konq to the right place so that we can just use raw .css files,
* that's probably a better way to do it.
*/
// Stylesheet to use for generated HTML output.
// Remember to use backslashes at the end of a line for continuation.
// CSS adapted from that used on www.kde.org for similar appearance.
// Paths use $DOCPATH. Be sure to replace that with the real deal before
// outputting this.
static const char htmlCss[] = "\
<style>\
body {\
background-color: white;\
color: black;\
padding: 0px;\
}\
#header {\
width: 100%;\
color: #535353;\
background: #eeeeee;\
border-bottom: #bcbcbc 1px solid;\
}\
#header_top {\
margin: 0 auto;\
padding: 0;\
width: 60em;\
min-width: 770px;\
max-width: 45em;\
vertical-align: middle;\
color: #ffffff;\
background: url($DOCPATH/top.jpg) repeat-x bottom;\
background-color: #0057ae;\
}\
#header_top div {\
margin: 0 auto;\
padding: 0;\
background: url($DOCPATH/top-left.jpg) no-repeat bottom left;\
}\
#header_top div div {\
margin: 0 auto;\
padding: 0;\
vertical-align: middle;\
text-align: left;\
font-size: 1.7em;\
font-weight: bold;\
background: url($DOCPATH/top-right.jpg) no-repeat bottom right;\
}\
#header_top div div img {\
margin:8px 0px 9px 18px;\
vertical-align: middle;\
}\
#header_bottom {\
margin: 0 auto;\
padding: 0.1em 0em 0.3em 0;\
width: 60em;\
min-width: 770px;\
max-width: 45em;\
vertical-align: middle;\
text-align: right;\
background: #eeeeee;\
}\
#location {\
padding: 0 0 0 1.5em;\
text-align: left;\
line-height: normal;\
font-size: 1.1em;\
font-weight:bold;\
float: left;\
}\
#footer {\
width: 100%;\
background-color: #eeeeee;\
padding-top: 12pt;\
padding-bottom: 12pt;\
border-top: #bcbcbc 1px solid;\
margin-top: 12pt;\
}\
#footer_text {\
text-align:center;\
vertical-align: middle;\
}\
</style>";
#endif
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic