<style type="text/css">
.assplogline {
padding-left:100px;
text-indent:-100px;
}
</style>
>My css solution
>then put each log line in a <div class="assplogline"> </div> wrapper.
A "nine line" solution !?
>I've attached a sample. This should be really simple to implement.
Just do it, if you've finished, send me the code and if it realy works
much better, I'll implement it!
Thomas
K Post <[email protected]>
20.10.2009 21:22
Bitte antworten an
ASSP development mailing list <[email protected]>
An
ASSP development mailing list <[email protected]>
Kopie
Thema
Re: [Assp-test] Antwort: Re: v5 log UI problems
Thomas, I know I brought this using css for this up a couple days ago,
and you said:
>No, css will not help. The wrap is done by assp, because the wrap is some
>times done content depended.
I still respectfully disagree, although I don't know what you mean by
"content depended."
Can we revisit? I think this is a realy good idea, with no downside,
and no need to run logWrap on every line, so it's slightly less
processor intensive too.
My css solution will AUTOMATICALLY wrap the lines, regardless of
browser width or any wrap setting. For those who want no wrapping,
there's an option for that too.
Consider this:
Style header:
<style type="text/css">
.assplogline {
padding-left:100px;
text-indent:-100px;
}
</style>
then put each log line in a <div class="assplogline"> </div> wrapper.
I've attached a sample. This should be really simple to implement.
If no wrapping is desired, put:
white-space:nowrap;
in the style header, and poof, no wrapping. We could have a simple
yes/no wrap option instead of a number that currently exists.
This will also wrap filenames, breaking them at a space or other
breakable character (including / in Firefox, but not IE) where
necessary. If there's a really long line, with no breakable
characters that can't fit inside the browser window they'll extend out
the right side, no different from what I long file name would do now.
This also would remove the need to change your wrapping setting for
different machines with different resolutions and would also adjust on
demand as you resize the window, without needing to search again.
While you're at it, do you think that you could trim off the leading
base directory (c:/assp/messages in my case)? We'd still want this in
the href, but it doesn't need to be displayed in the log. This will
make file listings shorter when displayed, and cut down on file names
being too long to wrap. This would work with my css idea or the
original wrapping implementation. Maybe put something like:
file: spam/FWD_Cardholder_Advocates_Strike_Fear_into_Capital_--28652.txt;
instead of
->
c:/assp/messages/spam/FWD_Cardholder_Advocates_Strike_Fear_into_Capital_--28652.txt;
For those people that have the installation in a longer path, like
e:/servers/email/antispam/ass
On Mon, Oct 19, 2009 at 3:02 PM, Thomas Eckardt/eck
<[email protected]> wrote:
> This is by design - we can not wrap inside a filename! so we wrap after
> the -> .
>
> Thomas
>
>
>
>
> Trevor Jacques <[email protected]>
> 19.10.2009 20:55
> Bitte antworten an
> ASSP development mailing list <[email protected]>
>
>
> An
> ASSP development mailing list <[email protected]>
> Kopie
>
> Thema
> Re: [Assp-test] v5 log UI problems
>
>
>
>
>
>
>> 1) the connection log line continues to wrap when it should not:
>>
>> Oct-19-09 14:06:22 [Worker_1] Connected: 187.40.129.121:1028 ->
> 999.999.999.999:25 ->
>> 127.0.0.1:xxx
>
> Here are a couple of others, from different sources:
>
> Oct-19-09 14:23:53 id-76622-02710 [Worker_1] [Whitelisted] 209.196.3.80
> <[email protected]> to: [email protected] whitelisted (no
> bad attachments) [Re Customer Entered Webtext] ->
> ./notspam/Re_Customer_Entered_Webtext--42529.eml
> Oct-19-09 14:23:53 id-76622-02710 [Worker_1] [MessageOK] 209.196.3.80
> <[email protected]> to: [email protected] message ok [Re
> Customer Entered Webtext] ->
> ./notspam/Re_Customer_Entered_Webtext--42529.eml
>
> T.
>
------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and
stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Assp-test mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
>
>
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential,
legally
> privileged and protected in law and are intended solely for the use of
the
>
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no
> known virus in this email!
> *******************************************************
>
>
>
------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and
stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Assp-test mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-test
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test
DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally
privileged and protected in law and are intended solely for the use of the
individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no
known virus in this email!
*******************************************************
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test