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

Side by Side Diff: build/android/pylib/results/presentation/template/main.html

Issue 2888723002: Make the table cells clickable, instead of the strings inside. (Closed)
Patch Set: address Yoland's comments Created 3 years, 7 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <link rel="stylesheet" href="https://storage.googleapis.com/chromium-result- details/css/default.css" type="text/css"> 5 <link rel="stylesheet" href="https://storage.googleapis.com/chromium-result- details/css/default.css" type="text/css">
6 <style> 6 <style>
7 table, th, td { 7 table, th, td {
8 border: 1px solid black; 8 border: 1px solid black;
9 border-collapse: collapse; 9 border-collapse: collapse;
10 } 10 }
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 showSuiteTableOnlyWithReplaceState(); 56 showSuiteTableOnlyWithReplaceState();
57 // Enable sorting for each column of tables. 57 // Enable sorting for each column of tables.
58 Array.prototype.slice.call(document.getElementsByTagName('th')) 58 Array.prototype.slice.call(document.getElementsByTagName('th'))
59 .forEach(function(head) { 59 .forEach(function(head) {
60 head.addEventListener( 60 head.addEventListener(
61 "click", 61 "click",
62 function() { sortByColumn(head); }); 62 function() { sortByColumn(head); });
63 } 63 }
64 ); 64 );
65 setBrowserBackButtonLogic(); 65 setBrowserBackButtonLogic();
66 setTableCellsAsClickable();
66 </script> 67 </script>
67 </html> 68 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698