Skip to content

Commit

Permalink
Tugas 6 deploy 3
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinIW committed Oct 11, 2023
1 parent f8bcd40 commit 5d8064e
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions main/templates/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
color : blue;
}

/*

.card {
border: 1px solid #ccc;
border-radius: 5px;
Expand All @@ -46,32 +46,32 @@
width: 1000px;
margin: 0 auto;
}
*/



.custom-table {
#custom-table {
width: 100%;
border-collapse: collapse;
margin-top: 10px;
}

.custom-table th,
.custom-table td {
#custom-table th,
#custom-table td {
padding: 10px;
border: 1px solid #ccc;
text-align: left;
background-color: aquamarine; /* warna isi tablenya*/
}

.custom-table td:last-child{
#custom-table td:last-child{
padding: 10px;
border: 1px solid #ccc;
text-align: left;
background-color: pink;

}

.custom-table th {
#custom-table th {
background-color: red; /*warna isi table headernya*/
}

Expand All @@ -97,7 +97,11 @@ <h5 id = "header">Name: </h5>
<h5 class = "class">Class: </h5>
<p class = "px4">{{ class }}<p>

<table id = "custom-table"> </table>
<div class = "card">
<table id = "custom-table"> </table>
</div>



<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal">Add Item by AJAX</button>

Expand Down

0 comments on commit 5d8064e

Please sign in to comment.