| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
package dr.util; |
| 27 |
|
| 28 |
public class HTMLOutput { |
| 29 |
|
| 30 |
|
| 31 |
public static final String HTML_OPEN = "<html>\n"; |
| 32 |
|
| 33 |
public static final String HTML_HEAD = |
| 34 |
" <head>\n" + |
| 35 |
" <style type=\"text/css\">\n" + |
| 36 |
" body { \n" + |
| 37 |
" margin-left: 10%; \n" + |
| 38 |
" margin-right: 10%; \n" + |
| 39 |
" font-family: sans-serif\n" + |
| 40 |
" }\n" + |
| 41 |
" h2 { margin-top: 1em }\n" + |
| 42 |
" h2,h3,h4,h5,h6 { \n" + |
| 43 |
" margin-left: -3%;\n" + |
| 44 |
" font-family:Optima;\n" + |
| 45 |
" }\n" + |
| 46 |
" pre {\n" + |
| 47 |
" color: green; font-weight: bold;\n" + |
| 48 |
" white-space: pre; font-family: \"Courier New\", monospace;\n" + |
| 49 |
" }\n" + |
| 50 |
" tt { color: green }\n" + |
| 51 |
" em { font-style: normal; font-weight: bold }\n" + |
| 52 |
" strong { text-transform: uppercase; font-weight: bold }\n" + |
| 53 |
" table {\n" + |
| 54 |
" margin-left: -4%;\n" + |
| 55 |
" font-family: sans-serif;\n" + |
| 56 |
" background: white;\n" + |
| 57 |
" border-width: 1px;\n" + |
| 58 |
" border-color: white;\n" + |
| 59 |
" }\n" + |
| 60 |
" </style>\n" + |
| 61 |
" </head>\n"; |
| 62 |
} |