mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 13:10:26 +08:00 
			
		
		
		
	优化日志显示
This commit is contained in:
		@@ -116,6 +116,9 @@ pre.red {
 | 
			
		||||
span.blue {
 | 
			
		||||
  color: #4183c4;
 | 
			
		||||
}
 | 
			
		||||
span.orange {
 | 
			
		||||
  color: #ff851b;
 | 
			
		||||
}
 | 
			
		||||
pre:not(.CodeMirror-line) {
 | 
			
		||||
  font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif !important;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -37,6 +37,10 @@ span.blue {
 | 
			
		||||
	color: #4183c4;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
span.orange {
 | 
			
		||||
	color: #ff851b;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
pre:not(.CodeMirror-line) {
 | 
			
		||||
	font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif !important;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
		</thead>
 | 
			
		||||
		<tr v-for="log in logs">
 | 
			
		||||
			<td>
 | 
			
		||||
				<pre class="log-box"><span :class="{red:log.level == 'error', yellow:log.level == 'warning'}"><span v-if="!log.isToday">[{{log.createdTime}}]</span><strong v-if="log.isToday">[{{log.createdTime}}]</strong>[{{log.tag}}]{{log.description}}</span></pre>
 | 
			
		||||
				<pre class="log-box"><span :class="{red:log.level == 'error', orange:log.level == 'warning'}"><span v-if="!log.isToday">[{{log.createdTime}}]</span><strong v-if="log.isToday">[{{log.createdTime}}]</strong>[{{log.tag}}]{{log.description}}</span></pre>
 | 
			
		||||
			</td>
 | 
			
		||||
		</tr>
 | 
			
		||||
	</table>
 | 
			
		||||
 
 | 
			
		||||
@@ -50,7 +50,7 @@
 | 
			
		||||
    </thead>
 | 
			
		||||
    <tr v-for="log in logs">
 | 
			
		||||
        <td>
 | 
			
		||||
            <pre class="log-box"><span :class="{red:log.level == 'error', yellow:log.level == 'warning'}"><span v-if="!log.isToday">[{{log.createdTime}}]</span><strong v-if="log.isToday">[{{log.createdTime}}]</strong>[{{log.tag}}]{{log.description}}</span>   <span v-if="log.count > 0" class="ui label tiny red">共{{log.count}}条</span></pre>
 | 
			
		||||
            <pre class="log-box"><span :class="{red:log.level == 'error', orange:log.level == 'warning'}"><span v-if="!log.isToday">[{{log.createdTime}}]</span><strong v-if="log.isToday">[{{log.createdTime}}]</strong>[{{log.tag}}]{{log.description}}</span>   <span v-if="log.count > 0" class="ui label tiny" :class="{red:log.level == 'error', orange:log.level == 'warning'}">共{{log.count}}条</span></pre>
 | 
			
		||||
        </td>
 | 
			
		||||
    </tr>
 | 
			
		||||
</table>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user