Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Formatting in Web Interface Print Log #239

Merged
merged 1 commit into from
Jul 28, 2013

Conversation

krkeegan
Copy link
Collaborator

Changed the web interface print log to a monospaced or fix width font and formatting. This allows the nice formatting that relies on consistent spacing that has been visible in the text based logs, to be viewable online. I realize that fixed width fonts are not always the prettiest, but I did the best I could. If anyone has any suggestions for how to make it prettier, I am open to additional changes.

I had to work around one oddity. The web code converts all \n characters to \n\r when formatting the html. This is a blind conversion without any regard as to whether the \n character is within a

 tag.

Changed the web interface print log to a monospaced or fix width font and formatting.  This allows the nice formatting that relies on consistent spacing that has been visible in the text based logs, to be viewable online.  I realize that fixed width fonts are not always the prettiest, but I did the best I could.  If anyone has any suggestions for how to make it prettier, I am open to additional changes.

I had to work around one oddity.  The web code converts all \n characters to \n\r when formatting the html.  This is a blind conversion without any regard as to whether the \n character is within a <pre> tag.
@krkeegan
Copy link
Collaborator Author

Sorry for the initial poor description, I fixed it.

krkeegan added a commit that referenced this pull request Jul 28, 2013
Better Formatting in Web Interface Print Log
@krkeegan krkeegan merged commit b649d09 into hollie:master Jul 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant