Add routing basics

Add jquery
This commit is contained in:
2019-05-21 19:37:11 +05:30
parent 17f8fd3500
commit 4f01ee8cb8
7 changed files with 74 additions and 12 deletions

View File

@@ -83,6 +83,22 @@ body{
margin-top:0.5rem;
}
table#files-details{
width:100%;
}
table{
border-collapse: collapse;
}
table tr{
border-bottom: 1px #c5c0c0 solid;
}
table td{
padding:0.25em;
}
tbody tr:last-child{
border:0;
}
.box-shadow-1{
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);

8
static/base.js Normal file
View File

@@ -0,0 +1,8 @@
let currDir = '/';
//set table details
function setList(){
}

View File

@@ -4,6 +4,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>FM</title>
<link rel="stylesheet" href="base.css" />
<script src="jquery/jquery.min.js"></script>
<script src="base.js"></script>
</head>
<body>
<div class="navbar-container box-shadow-1">
@@ -15,14 +17,20 @@
<div class="container">
<div class="content box-shadow-1">
<table id="files-details">
<thead>
<tr>
<td>File Name</td>
<td>Actions</td>
</tr>
</thead>
<tbody>
<tr>
<td>TEST1</td>
<td>TEST2</td>
<td class="file-handlers">TEST2</td>
</tr>
<tr>
<td>TEST3</td>
<td>TEST4</td>
<td class="file-handlers">TEST4</td>
</tr>
</tbody>
</table>