diff --git a/aufgabe2/css/main.css b/aufgabe2/css/main.css index 754ccb0..7ab0063 100644 --- a/aufgabe2/css/main.css +++ b/aufgabe2/css/main.css @@ -151,6 +151,31 @@ h1 { overflow-x: scroll; } +.world_table { + width: 100% +} + +.world_table tr:nth-child(odd) { + background-color: lightgrey; +} + +.world_table th { + background-color: #fff; + white-space: nowrap; /* kein umbruch bei schmaler ansicht */ +} + +.world_table th i { + font-size: 0.6em; + color: lightgreen; +} + +.world_table th td { + line-height: 1em; + padding: 11px 0; + font-size: 14px; /* same as section */ +} + +/* table#t01 { width: 100%; } @@ -161,9 +186,9 @@ table#t01 tr:nth-child(odd) { table#t01 th { background-color: #fff; - white-space: nowrap; /* kein umbruch bei schmaler ansicht */ + white-space: nowrap; // kein umbruch bei schmaler ansicht } -/* die sort up sort down icons neben den Spaltennamen */ +// die sort up sort down icons neben den Spaltennamen table#t01 th i { font-size: 0.6em; color: lightgreen; @@ -172,8 +197,9 @@ table#t01 th i { table#t01 th, table#t01 td { line-height: 1em; padding: 11px 0; - font-size: 14px; /* same as section */ + font-size: 14px; // same as section } +*/ @media only screen and (max-width: 1200px) { table#t01 th:nth-child(n+7), table#t01 td:nth-child(n+7) { diff --git a/aufgabe2/main.inc.php b/aufgabe2/main.inc.php index 9317b95..2af7cb2 100644 --- a/aufgabe2/main.inc.php +++ b/aufgabe2/main.inc.php @@ -22,7 +22,7 @@ At solmen va esser necessi far uniform grammatica, pronunciation e plu sommun pa
-
+
diff --git a/aufgabe2/resources/world_data_sheet.xslt b/aufgabe2/resources/world_data_sheet.xslt index 3006df5..9954bdb 100644 --- a/aufgabe2/resources/world_data_sheet.xslt +++ b/aufgabe2/resources/world_data_sheet.xslt @@ -21,41 +21,101 @@

World Data Overview ...

- - - - - - - - - - - - - - - - - - +
idnamebirth_rate_per_1000cell_phones_per_100children_per_womanelectricity_consumption_per_capitagdp_per_capitagdp__per__capita__growthinflation_annualinternet_user_per_100life_expectancymilitary_expenditure_percent_of_gdpgps_latgps_long
+ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + +
+ id +   + + + name +   + + + stringPerToSlash(birth_rate_per_1000) +   + + + stringPerToSlash(cell_phones_per_100) +   + + + stringPerToSlash(children_per_woman) +   + + + stringPerToSlash(electricity_consumption_per_capita) +   + + + stringPerToSlash(gdp_per_capita) +   + + + stringPerToSlash(gdp__per__capita__growth) +   + + + inflation_annual +   + + + stringPerToSlash(internet_user_per_100) +   + + + life_expectancy +   + + + military_expenditure_percent_of_gdp +   + + + gps_lat +   + + + gps_long +   + +