Fixing various problems. Search is now positioned in a saner way, designs have been fixed (only layout1)
This commit is contained in:
39
resources/views/layout1/partials/searchmodal.blade.php
Normal file
39
resources/views/layout1/partials/searchmodal.blade.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<div class="modal fade" id="searchmodal" tabindex="-1" role="dialog" aria-labelledby="Login">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
|
||||
<div class="random_blah">
|
||||
<?php
|
||||
function random_array_picker($array) {
|
||||
$count = count($array);
|
||||
$random_index = rand(0, $count - 1);
|
||||
return $array[$random_index];
|
||||
}
|
||||
$array = [
|
||||
'We have the 👀',
|
||||
'😂 We have funny videos',
|
||||
'💎 We got gemmies',
|
||||
'🤔 We dont even know man',
|
||||
'🤮 we got this too',
|
||||
'😎 we got the cool',
|
||||
];
|
||||
$random_element = random_array_picker($array);
|
||||
echo "<h4 class='modal-title' id='filterModalTitle'>$random_element</h4>";
|
||||
|
||||
?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="searchbar">
|
||||
<form method="get" action="/main">
|
||||
{!! Form::text('q', null, ['class' => 'suchleiste_video', 'placeholder' => 'Search w0bm.com']) !!}
|
||||
<button type="submit" class="suchbutton_video"><i style="color:white;" class="fa fa-search"></i></button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<i>& find some… </i>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user