Powershell
Powershell ile Html Formatı için css dosyası
Powershell ile html formatı için aşağıdaki css kodlarını kullanıyorum.
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
<style> .Stopped { color: red; } .Running { color: green; } h1 { font-family: Arial, Helvetica, sans-serif; color: #e68a00; font-size: 28px; } h2 { font-family: Arial, Helvetica, sans-serif; color: #000099; font-size: 16px; } table { font-size: 12px; border: 0px; font-family: Arial, Helvetica, sans-serif; } td { padding: 4px; margin: 0px; border: 0; } th { background: #395870; background: linear-gradient(#49708f, #293f50); color: #fff; font-size: 11px; text-transform: uppercase; padding: 10px 15px; vertical-align: middle; } tbody tr:nth-child(even) { background: #f0f0f2; } </style> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>HtmlConvert</title> </head><body> <table> <colgroup><col/><col/><col/></colgroup> <tr><th>Status</th><th>Name</th><th>DisplayName</th></tr> <tr><td><div class="Running"> Running </div></td><td>ZoomCptService</td><td>Zoom Sharing Service</td></tr> <tr><td><div class="Running"> Running </div></td><td>ZSAService</td><td>ZSAService</td></tr> <tr><td><div class="Running"> Running </div></td><td>ZSATrayManager</td><td>ZSATrayManager</td></tr></div> <tr><td><div class="Running"> Running </div></td><td>ZSATunnel</td><td>ZSATunnel</td></tr> <tr><td><div class="Stopped">Stopped</div></td><td>ZSAUpdater</td><td>ZSAUpdater</td></tr></div> </table> </body></html> |