Fixing various problems. Search is now positioned in a saner way, designs have been fixed (only layout1)

This commit is contained in:
w0bm
2023-08-07 22:01:54 +00:00
parent 5ddd7f915a
commit f2e9408074
63 changed files with 513 additions and 37 deletions

View File

@@ -29,6 +29,8 @@
@if(Auth::check())
@include('partials.layoutchanger')
@endif
@include('partials.searchmodal')
<li><a href="#" data-toggle="modal" data-target="#searchmodal"><i class="fa fa-search"></i><span class="hidden-sm"> Find shit</span></a></li>
</ul>
@if(Auth::check())
<ul class="nav navbar-nav navbar-right">

View File

@@ -1,3 +1,6 @@
<div style="background:black;text-align:center;">
<span><a href="/blog">w0bm will turn 8 years old in a few months, thanks for all the great years!</a></span>
</div>
<div class="searchbar">
<form method="get" action="/main">
{!! Form::text('q', null, ['class' => 'suchleiste_video', 'placeholder' => 'Search w0bm.com']) !!}

View 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">&times;</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>

View File

@@ -10,6 +10,7 @@
<li class="addtagsy"><a href="/contact">Contact </a></li>
<li class="addtagsy"><a href="/rules">Rules </a></li>
<li class="addtagsy"><a href="/stats">Stats</a></li>
<li class="addtagsy"><a href="/marderchen"></a></li>
</ul>
<input type="checkbox" id="tag-add-toggle">
<div id="tag-add">
@@ -26,6 +27,7 @@
<li class="addtagsy"><a href="/contact">Contact </a></li>
<li class="addtagsy"><a href="/rules">Rules </a></li>
<li class="addtagsy"><a href="/stats">Stats</a></li>
<li class="addtagsy"><a href="/marderchen"></a></li>
</ul>
@endif
@@ -40,7 +42,13 @@
No tags yet ...
@endif
</div>
<span class="hidden-sm" id="w0bm_version">v.1.{{ filemtime("css/w0bmcustom.css") }} // 2023</span>
<br class="hidden-sm">
<div class="git">
<?php
$latestCommit = shell_exec('git log -n 1');
$getcommitID = substr($latestCommit,0,48);
$commitID = substr($getcommitID, 7);
echo "<a class='latestCommit' target='_blank' href='/git'>$commitID</a>"
?>
</div>
</div>
</div>