| OLD | NEW |
| 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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 }, classes: 'markdown-body'); | 569 }, classes: 'markdown-body'); |
| 570 buf.writeln('</div>'); | 570 buf.writeln('</div>'); |
| 571 buf.writeln('</div>'); | 571 buf.writeln('</div>'); |
| 572 } | 572 } |
| 573 | 573 |
| 574 void generateContent(Map<String, String> params); | 574 void generateContent(Map<String, String> params); |
| 575 | 575 |
| 576 void generateFooter() { | 576 void generateFooter() { |
| 577 buf.writeln(''' | 577 buf.writeln(''' |
| 578 <footer class="footer"> | 578 <footer class="footer"> |
| 579 Dart ${site.title} <span style="float:right">SDK ${_sdkVersion}</span> | 579 Dart ${site.title} <span style="float:right">SDK $_sdkVersion</span> |
| 580 </footer> | 580 </footer> |
| 581 '''); | 581 '''); |
| 582 } | 582 } |
| 583 | 583 |
| 584 void generateHeader() { | 584 void generateHeader() { |
| 585 buf.writeln(''' | 585 buf.writeln(''' |
| 586 <header class="masthead"> | 586 <header class="masthead"> |
| 587 <div class="container"> | 587 <div class="container"> |
| 588 <span class="masthead-logo"> | 588 <span class="masthead-logo"> |
| 589 <span class="mega-octicon octicon-dashboard"></span> | 589 <span class="mega-octicon octicon-dashboard"></span> |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1130 h3('Execution domain'); | 1130 h3('Execution domain'); |
| 1131 ul(ExecutionService.VALUES, (item) { | 1131 ul(ExecutionService.VALUES, (item) { |
| 1132 if (domain.onFileAnalyzed != null) { | 1132 if (domain.onFileAnalyzed != null) { |
| 1133 buf.write('$item (has subscriptions)'); | 1133 buf.write('$item (has subscriptions)'); |
| 1134 } else { | 1134 } else { |
| 1135 buf.write('$item (no subscriptions)'); | 1135 buf.write('$item (no subscriptions)'); |
| 1136 } | 1136 } |
| 1137 }); | 1137 }); |
| 1138 } | 1138 } |
| 1139 } | 1139 } |
| OLD | NEW |