Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | |
| 2 <link rel="import" href="code_ref.html"> | |
| 3 <link rel="import" href="function_ref.html"> | |
| 4 <link rel="import" href="nav_bar.html"> | |
| 5 <link rel="import" href="observatory_element.html"> | |
| 6 <link rel="import" href="sliding_checkbox.html"> | |
| 7 <link rel="import" href="view_footer.html"> | |
| 8 | |
| 9 <polymer-element name="logging-page" extends="observatory-element"> | |
| 10 <template> | |
| 11 <link rel="stylesheet" href="css/shared.css"> | |
| 12 <style> | |
| 13 .outlined { | |
| 14 -webkit-box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.75); | |
| 15 -moz-box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.75); | |
| 16 box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.75); | |
| 17 margin: 4px; | |
| 18 } | |
| 19 .logItem { | |
| 20 font: normal 14px consolas, courier, monospace; | |
| 21 white-space: pre; | |
| 22 line-height: 125%; | |
| 23 width: 100%; | |
| 24 } | |
| 25 .FINEST { | |
| 26 background-color: #FAFAFA; | |
| 27 } | |
| 28 .FINER { | |
| 29 background-color: #ECEFF1; | |
| 30 } | |
| 31 .FINE { | |
| 32 background-color: #EFEBE9; | |
| 33 } | |
| 34 .CONFIG { | |
| 35 background-color: #FFF3E0; | |
| 36 } | |
| 37 .INFO { | |
| 38 background-color: #F1F8E9; | |
| 39 } | |
| 40 .WARNING { | |
| 41 background-color: #FFE0B2; | |
| 42 } | |
| 43 .SEVERE { | |
| 44 background-color: #FFCCBC; | |
| 45 } | |
| 46 .SHOUT { | |
| 47 background-color: #FFCDD2; | |
| 48 } | |
| 49 #log { | |
| 50 height: 100%; | |
| 51 width: 100%; | |
| 52 overflow-y: auto; | |
| 53 padding: 8px; | |
| 54 } | |
| 55 </style> | |
| 56 <nav-bar> | |
| 57 <top-nav-menu></top-nav-menu> | |
| 58 <vm-nav-menu vm="{{ isolate.vm }}"></vm-nav-menu> | |
| 59 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu> | |
| 60 <nav-menu link="{{ makeLink('/logging', isolate) }}" anchor="logging" last ="{{ true }}"></nav-menu> | |
| 61 <nav-refresh callback="{{ clear }}" label="Clear"></nav-refresh> | |
| 62 </nav-bar> | |
| 63 <div id="page" class="content-centered-big flex-row"> | |
| 64 <select id="severityLevelSelector" value="{{ severityLevel }}"></select> | |
|
rmacnak
2015/07/22 00:29:26
This results in a very-vertically-stretched box le
Cutch
2015/07/22 21:33:32
Done.
| |
| 65 <div id="log" class="outlined"></div> | |
| 66 </div> | |
| 67 </template> | |
| 68 </polymer-element> | |
| 69 | |
| 70 <script type="application/dart" src="logging.dart"></script> | |
| OLD | NEW |