Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
141 changes: 73 additions & 68 deletions gsoc_extractor/templates/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,96 +7,101 @@
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css"
integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet"
id="bootstrap-css">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<style>
body,html{
height: 100%;
width: 100%;
margin: 0;
padding: 0;
background: #e74c3c !important;
}
body,
html {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
background: #e74c3c !important;
}

.searchbar{
margin-bottom: auto;
margin-top: auto;
height: 60px;
background-color: #353b48;
border-radius: 30px;
padding: 10px;
}
.searchbar {
margin-bottom: auto;
margin-top: auto;
height: 60px;
background-color: #353b48;
border-radius: 30px;
padding: 10px;
}

.search_input{
color: white;
border: 0;
outline: 0;
background: none;
width: 0;
caret-color:transparent;
line-height: 40px;
transition: width 0.4s linear;
}
.search_input {
color: white;
border: 0;
outline: 0;
background: none;
width: 0;
caret-color: transparent;
line-height: 40px;
transition: width 0.4s linear;
}

.searchbar:hover > .search_input{
padding: 0 10px;
width: 450px;
caret-color:red;
transition: width 0.4s linear;
}
.searchbar:hover>.search_input {
padding: 0 10px;
width: 450px;
caret-color: red;
transition: width 0.4s linear;
}

.searchbar:hover > .search_icon{
background: white;
color: #e74c3c;
}
.searchbar:hover>.search_icon {
background: white;
color: #e74c3c;
}

.search_icon{
height: 40px;
width: 40px;
float: right;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
color:white;
}
.search_icon {
height: 40px;
width: 40px;
float: right;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
color: white;
}

.btn:focus {
outline: none;
}
</style>
</head>

<body>

<div class="container h-100">
<form method="POST">
{{ form.hidden_tag() }}
<div class=" justify-content-center h-100">
<div class="searchbar">
<!-- <form action="{{url_for('home')}}"> -->
<!-- <input class="search_input" type="text" name="" placeholder="Search..."> -->

{{form.search(class="search_input", placeholder="Search..." )}}<br><br><br><br>
<!-- </form> -->
{{ form.hidden_tag() }}
<div class=" justify-content-center h-100">
<div class="searchbar">
<!-- <form action="{{url_for('home')}}"> -->
<!-- <input class="search_input" type="text" name="" placeholder="Search..."> -->

{{form.search(class="search_input", placeholder="Search..." )}}<br><br><br><br>
<!-- </form> -->
</div>
</div>
</div>
<div class="justify-content-center h-100">
<div class="searchbar">
<!-- <form action="{{url_for('home')}}"> -->
<!-- <input class="search_input" type="text" name="" placeholder="Search..."> -->
{{form.search_type(class="search_input", placeholder="Type..." )}}<br>
<!-- </form> -->
<div class="justify-content-center h-100">
<div class="searchbar">
<!-- <form action="{{url_for('home')}}"> -->
<!-- <input class="search_input" type="text" name="" placeholder="Search..."> -->
{{form.search_type(class="search_input", placeholder="Type..." )}}<br>
<!-- </form> -->
</div>
</div>
</div>
<div class="justify-content-center h-100"></div>
<div class="justify-content-center h-100"></div>
<div class="searchbar">
<!-- <form action="{{url_for('home')}}"> -->
<!-- <input class="search_input" type="text" name="" placeholder="Search..."> -->
{{form.submit(class="search_icon")}}
<!-- </form> -->
</div>
</div>
</form>
</div>

</form>
</div>

<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</body>

</html>
</html>