Skip to content
Permalink
1544322e8f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
71 lines (51 sloc) 2.04 KB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Home Page</title>
<link href = "myfiles.css" type = "text/css" rel = "stylesheet"/>
<link href="https://fonts.googleapis.com/css?family=Public+Sans&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/b99047f185.js" crossorigin="anonymous"></script>
</head>
<body>
<header>
<a href='/'><img id='logo' src='images/logo.png' alt='Share Drive logo' /></a>
<section>
<form class="search" action="" method="get">
<input class="search-txt" type="text" name="q" value="{{query}}" placeholder="Search Files"/>
<input class="search-btn" type="image" src='images/loupe.png' border='0' alt='Submit' value="Search">
</form>
{{!-- TODO: button that clears search --}}
</section>
<nav id='nav1'>
<a href=""><img class='avatar'src='images/user.png'/></a>
<ul>
<li id='nav1Top'><a href="#"><img class='navImg'src="images/profile.png"><span>Profile</span></a></li>
<li><a href="/logout"><img class='navImg' src="images/signout.png"><span>Sign out</span></a></li>
</ul>
</nav>
</header>
<nav id='nav2'>
<ul>
<li ><a class='active' href="#">My Files</a></li>
<li><a href="#">Shared with me</a></li>
<li><a href="#">Deleted</a></li>
</ul>
</nav>
<section id='fileTree'>
<section id="treeHeader">
<h1>My Files</h1>
<form action="/upload" enctype="multipart/form-data" method="post">
<input type="file" name = "_file" id='bigButton' class='button'><img class='navImg ' src='images/upload.png'/><span>Upload</span></input>
<input type= "submit" value="Upload">
</form>
<span id='twoButtons'>
<button type="button" class='button' ><img class='smlImg' src='images/gridFull.png' /></button>
<button type="button" class='button'><img class='smlImg' src='images/sort.png' /></button>
</span>
<script src="./modules/upload.js"></script>
</section>
{{!-- TODO: images for files --}}
</section>
</body>
</html>