| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE> | |
| 2 <html> | |
| 3 <head> | |
| 4 <meta charset="utf8"> | |
| 5 <style type="text/css"> | |
| 6 body { | |
| 7 font-family: helvetica; | |
| 8 } | |
| 9 h2 { | |
| 10 font-size: 14pt; | |
| 11 } | |
| 12 header, footer { | |
| 13 margin: 50px; | |
| 14 text-align: center; | |
| 15 } | |
| 16 #results { | |
| 17 margin: auto; | |
| 18 width: 750px; | |
| 19 } | |
| 20 div { | |
| 21 margin: 20px; | |
| 22 } | |
| 23 .clear { | |
| 24 clear: both; | |
| 25 } | |
| 26 .result { | |
| 27 margin: 10px; | |
| 28 padding: 10px; | |
| 29 height: 158px; | |
| 30 width: 208px; | |
| 31 float: left; | |
| 32 border: 1px solid gray; | |
| 33 border-radius: 4px; | |
| 34 font-size: 10pt; | |
| 35 } | |
| 36 </style> | |
| 37 </head> | |
| 38 <body> | |
| 39 <header> | |
| 40 <h1>Search the Web for Dart</h1> | |
| 41 <div>Search StackOverflow and GitHub for Dart-related topics and | |
| 42 repositories.</div> | |
| 43 <input type="search" placeholder="Search" value="" id="q" disabled /> | |
| 44 <div id="status"></div> | |
| 45 </header> | |
| 46 <div id="results"></div> | |
| 47 <div class="clear"></div> | |
| 48 <footer>This app sends your search request to a server-side Dart application
, | |
| 49 which forwards the request to StackOverflow and GitHub.</footer> | |
| 50 | |
| 51 <script type="application/dart" src="client.dart"></script> | |
| 52 <script src="packages/browser/dart.js"></script> | |
| 53 </body> | |
| 54 </html> | |
| OLD | NEW |