|
3 | 3 | @section('content')
|
4 | 4 |
|
5 | 5 | <div class="page-content">
|
6 |
| - <div class="mdl-grid"> |
| 6 | + <div class="mdl-grid" id="lucid-logs"> |
7 | 7 | <div class="mdl-layout-spacer"></div>
|
8 |
| - <div class="dl-cell mdl-cell--11-col"> |
9 |
| - <table class="mdl-data-table mdl-js-data-table mdl-shadow--2dp full-width" style="word-wrap: break-word; max-width: 200px;"> |
10 |
| - <thead> |
| 8 | + <div class="dl-cell mdl-cell--10-col"> |
| 9 | + <table class="mdl-data-table mdl-js-data-table mdl-shadow--2dp full-width"> |
| 10 | + {{-- <thead> |
11 | 11 | <tr>
|
12 |
| - <th class="mdl-data-table__cell--non-numeric">Level</th> |
13 |
| - <th colspan=2 class="mdl-data-table__cell--non-numeric full-width"> |
| 12 | + <th class="mdl-data-table__cell--non-numeric" style="width: 7%;">Level</th> |
| 13 | + <th class="mdl-data-table__cell--non-numeric" style="width: 60%;"> |
14 | 14 | <button id="lucid-logs-filter" class="mdl-button mdl-js-button mdl-button--icon">
|
15 | 15 | <i class="material-icons">@{{levelIcon}}</i>
|
16 | 16 | </button>
|
|
22 | 22 | <li class="mdl-menu__item" @click="chooseFilterLevel('warning')">Warnings</li>
|
23 | 23 | <li class="mdl-menu__item" @click="chooseFilterLevel('info')">Info</li>
|
24 | 24 | </ul>
|
25 |
| - |
26 | 25 | </th>
|
| 26 | + <th class="mdl-data-table__cell--non-numeric" style="width: 17%;"></th> |
| 27 | + <th class="mdl-data-table__cell--non-numeric"></th> |
| 28 | + <th class="mdl-data-table__cell--non-numeric"></th> |
27 | 29 | </tr>
|
28 |
| - </thead> |
| 30 | + </thead> --}} |
29 | 31 | <thead>
|
30 | 32 | <tr>
|
31 |
| - <th class="mdl-data-table__cell--non-numeric">Type</th> |
32 |
| - <th class="mdl-data-table__cell--non-numeric">Error</th> |
33 |
| - <th class="mdl-data-table__cell--non-numeric">Time</th> |
| 33 | + <th class="mdl-data-table__cell--non-numeric" style="width: 10%;"> |
| 34 | + Level |
| 35 | + <button id="lucid-logs-filter" class="mdl-button mdl-js-button mdl-button--icon"> |
| 36 | + <i class="material-icons">@{{levelIcon}}</i> |
| 37 | + </button> |
| 38 | + |
| 39 | + <ul class="mdl-menu mdl-menu--bottom-left mdl-js-menu mdl-js-ripple-effect" |
| 40 | + for="lucid-logs-filter"> |
| 41 | + <li class="mdl-menu__item mdl-menu__item--full-bleed-divider" @click="chooseFilterLevel('all')">All</li> |
| 42 | + <li class="mdl-menu__item" @click="chooseFilterLevel('error')">Errors</li> |
| 43 | + <li class="mdl-menu__item" @click="chooseFilterLevel('warning')">Warnings</li> |
| 44 | + <li class="mdl-menu__item" @click="chooseFilterLevel('info')">Info</li> |
| 45 | + </ul> |
| 46 | + </th> |
| 47 | + <th class="mdl-data-table__cell--non-numeric" style="width: 60%;">Error</th> |
| 48 | + <th class="mdl-data-table__cell--non-numeric" style="width: 20%;">Time</th> |
34 | 49 | <th class="mdl-data-table__cell--non-numeric">Stack</th>
|
35 | 50 | <th class="mdl-data-table__cell--non-numeric">Read</th>
|
36 | 51 | </tr>
|
|
41 | 56 | <td class="mdl-data-table__cell--non-numeric">
|
42 | 57 | <i :class="['material-icons', 'text-colour-'+entry.level]">@{{entry.level}}</i>
|
43 | 58 | </td>
|
44 |
| - <td class="mdl-data-table__cell--non-numeric lucid-log-slack"> |
45 |
| - <b>@{{entry.header | header | trim | truncate 155}}</b> |
| 59 | + <td class="mdl-data-table__cell--non-numeric"> |
| 60 | + <b>@{{entry.header | header | trim }}</b> |
46 | 61 | </td>
|
47 | 62 | <td class="mdl-data-table__cell--non-numeric">@{{entry.date}}</td>
|
48 | 63 | <td class="mdl-data-table__cell--non-numeric">
|
|
54 | 69 | </tr>
|
55 | 70 | <tr v-if="entry.showStack">
|
56 | 71 | <td colspan="5" class="lucid-logs-stack">
|
57 |
| - <pre>@{{entry.header}}</pre> |
| 72 | + <b><pre style="line-height: 70px;">@{{entry.header}}</pre></b> |
58 | 73 | <hr>
|
59 | 74 | <pre>@{{entry.stack}}</pre>
|
60 | 75 | </td>
|
|
64 | 79 | </table>
|
65 | 80 | </div>
|
66 | 81 | <div class="mdl-layout-spacer"></div>
|
67 |
| - <div class="mdl-layout-spacer"></div> |
68 |
| - <div class="mdl-layout-spacer"></div> |
69 |
| - <div class="mdl-layout-spacer"></div> |
70 | 82 | </div>
|
71 | 83 | </div>
|
72 | 84 | @stop
|
|
0 commit comments