Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Side by Side Diff: pkg/analysis_server/lib/src/status/diagnostics.dart

Issue 2937623005: Minor tweaks to the diagnostics page. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:convert'; 6 import 'dart:convert';
7 import 'dart:io'; 7 import 'dart:io';
8 8
9 import 'package:analysis_server/protocol/protocol_generated.dart'; 9 import 'package:analysis_server/protocol/protocol_generated.dart';
10 import 'package:analysis_server/src/analysis_server.dart'; 10 import 'package:analysis_server/src/analysis_server.dart';
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 background-color: #4078c0; 53 background-color: #4078c0;
54 } 54 }
55 55
56 .masthead .masthead-logo { 56 .masthead .masthead-logo {
57 display: inline-block; 57 display: inline-block;
58 font-size: 1.5rem; 58 font-size: 1.5rem;
59 color: #fff; 59 color: #fff;
60 float: left; 60 float: left;
61 } 61 }
62 62
63 .masthead .mega-octicon {
64 font-size: 1.5rem;
65 }
66
63 .masthead-nav { 67 .masthead-nav {
64 float: right; 68 float: right;
65 margin-top: .5rem; 69 margin-top: .5rem;
66 } 70 }
67 71
68 .masthead-nav a:not(:last-child) { 72 .masthead-nav a:not(:last-child) {
69 margin-right: 1.25rem; 73 margin-right: 1.25rem;
70 } 74 }
71 75
72 .masthead a { 76 .masthead a {
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 Dart ${site.title} <span style="float:right">SDK ${_sdkVersion}</span> 579 Dart ${site.title} <span style="float:right">SDK ${_sdkVersion}</span>
576 </footer> 580 </footer>
577 '''); 581 ''');
578 } 582 }
579 583
580 void generateHeader() { 584 void generateHeader() {
581 buf.writeln(''' 585 buf.writeln('''
582 <header class="masthead"> 586 <header class="masthead">
583 <div class="container"> 587 <div class="container">
584 <span class="masthead-logo"> 588 <span class="masthead-logo">
585 <span class="mega-octicon octicon-database"></span> 589 <span class="mega-octicon octicon-dashboard"></span>
586 ${site.title} Diagnostics 590 ${site.title} Diagnostics
587 </span> 591 </span>
588 592
589 <nav class="masthead-nav"> 593 <nav class="masthead-nav">
590 <a href="/status" ${isNavPage ? ' class="active"' : ''}>Diagnostics</a> 594 <a href="/status" ${isNavPage ? ' class="active"' : ''}>Diagnostics</a>
591 <a href="/feedback" ${isCurrentPage('/feedback') ? ' class="active"' : ' '}>Feedback</a> 595 <a href="/feedback" ${isCurrentPage('/feedback') ? ' class="active"' : ' '}>Feedback</a>
592 <a href="https://www.dartlang.org/tools/analyzer" target="_blank">Docs</ a> 596 <a href="https://www.dartlang.org/tools/analyzer" target="_blank">Docs</ a>
593 <a href="https://htmlpreview.github.io/?https://github.com/dart-lang/sdk /blob/master/pkg/analysis_server/doc/api.html" target="_blank">Spec</a> 597 <a href="https://htmlpreview.github.io/?https://github.com/dart-lang/sdk /blob/master/pkg/analysis_server/doc/api.html" target="_blank">Spec</a>
594 </nav> 598 </nav>
595 </div> 599 </div>
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 h3('Execution domain'); 1132 h3('Execution domain');
1129 ul(ExecutionService.VALUES, (item) { 1133 ul(ExecutionService.VALUES, (item) {
1130 if (domain.onFileAnalyzed != null) { 1134 if (domain.onFileAnalyzed != null) {
1131 buf.write('$item (has subscriptions)'); 1135 buf.write('$item (has subscriptions)');
1132 } else { 1136 } else {
1133 buf.write('$item (no subscriptions)'); 1137 buf.write('$item (no subscriptions)');
1134 } 1138 }
1135 }); 1139 });
1136 } 1140 }
1137 } 1141 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698