thai.scala.html 906 Bytes
Newer Older
sumet's avatar
sumet committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
@(thai:List[models.Thai])
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Country Database</title>
    <link rel="stylesheet" href="/assets/stylesheets/Sumet.css">
</head>
<body class="background-info">
<nav class="navbar navbar-dark bg-dark">
    <a class="navbar-brand" href="#">Country Database</a>
</nav>
<br>
<center><h1>จำนวนจังหวัดทั้งหมด @thai.size จังหวัด</h1></center>

<table border="1" width="600" class="table table-borderless table-dark" align="center">
    <thead class="thead color">
    <tr align="center">
        <th>ID</th>
        <th>PROVINCE</th>
        <th>COUNTRY</th>
    </tr>
    </thead>
    <tbody>
    @for(t <- thai){
        <tr align="center">
            <td>@t.id</td>
            <td>@t.Prov</td>
            <td>@t.Coun</td>
        </tr>
    }
    </tbody>
</table>

</body>
</html>