server version, minor css fixes and other visual upgrades mostly to standard layout -> glitch css

This commit is contained in:
noxy
2020-01-02 11:51:29 +00:00
parent 55be581dac
commit 1399b95004
40 changed files with 1086 additions and 85 deletions

View File

@@ -38,7 +38,7 @@
</div>
<div class="form-group terms">
<div style="text-align: center;">
<p><input type="checkbox" checked required name="terms"> I am at least 18 years or older and I have read and understand the <a href="/rules">Rules</a></p>
<p><input type="checkbox" required name="terms"> I am at least 18 years or older and I have read and understand the <a href="/rules">Rules</a></p>
</div>
<div class="">
<button type="submit" class="btn btn-primary">Register</button>

View File

@@ -4,12 +4,16 @@
<h3>IRC</h3>
</div>
<div class="box">
<img src="/irccat.gif" alt="irc cat" style="float: right; width: 25%; height: 25%;">
<h5>IRC</h5>
<div class="irc-content">
<div class="webchat">
<iframe src="https://webirc.n0xy.net?nick={{Auth::user()->username}}&join=%23w0bm&username={{Auth::user()->username}}"></iframe>
</div>
<div class="irc-info">
<h5>IRC</h5>
<h6>irc.n0xy.net +6697 (ssl only) #w0bm</h6>
<p>Don't have a desktop client? Why not join our Network via webirc? <a href="https://webirc.n0xy.net/?join=%23w0bm" target="about_blank">>>webirc.n0xy.net</a></p>
<p>More information: <a href="https://n0xy.net">n0xy.net</a></p>
</div>
</div>
@endsection

View File

@@ -70,7 +70,7 @@
<div class="wrapper">
@yield('aside')
<div style="width: auto; overflow: hidden; position: relative;">
<div class="LooLOut" style="width: auto; overflow: hidden; position: relative;">
<noscript><div class="no-js-mode" style="position: fixed;bottom: 0;right: 0;">nojs</div></noscript>
<div class=" container">
@yield('content')

View File

@@ -13,6 +13,7 @@
{!! csrf_field() !!}
<input type="text" name="identifier" placeholder="Username" class="form-control usernamelogin"><br>
<input type="password" name="password" placeholder="Password" class="form-control passwordlogin"><br>
{{-- {!!captcha_img('login')!!} <input class="form-control" type="text" name="captcha" placeholder="Verify Captcha"> --}}
<button type="submit" class="btn btn-primary">Login</button> <input id="rememberme" checked type="checkbox" name="remember"> <span id="rember">Remember me?</span>
</form>
</div>

View File

@@ -1,5 +1,5 @@
<div class="page-header">
<h3 class="{{ $user->username }}">{!! rtrim(e($user->username) . ' ' . $user->activeIcon()) !!} @if($user->disabled && isset($user->banend) && (Carbon\Carbon::now() <= $user->banend || 1 >= $user->banend->timestamp))<span style="color: grey; font-size: 15px;">(@if(Carbon\Carbon::now() <= $user->banend)Ban expires in <time class="timeago" data-toggle="tooltip" title="{{ $user->banend }}+0000" datetime="{{ $user->banend }}+0000"></time>@else permanently banned @endif)</span>@endif</h3>
<h3 class="{{ $user->username }}">{!! rtrim(e($user->username) . ' ' . $user->activeIcon()) !!} <small>ID: {{ $user->id }}</small> @if($user->disabled && isset($user->banend) && (Carbon\Carbon::now() <= $user->banend || 1 >= $user->banend->timestamp)) <span style="color: grey; font-size: 15px;">(@if(Carbon\Carbon::now() <= $user->banend)Ban expires in <time class="timeago" data-toggle="tooltip" title="{{ $user->banend }}+0000" datetime="{{ $user->banend }}+0000"></time>@else permanently banned @endif)</span>@endif</h3>
<div class="admin-settings">
@if(auth()->check() && auth()->user()->can('edit_user'))<span id="pannade"><a href="#" data-toggle="modal" data-target="#banmenumodal"><i style="color:red;" class=""></i>[ban user]</a></span>
@endif

View File

@@ -13,12 +13,10 @@
</ul>
<input type="checkbox" id="tag-add-toggle">
<div id="tag-add">
<div class="input-group" style="margin-top: 4px;">
<div class="input-group tag-input-open" style="margin-top: 4px;">
{{--<select multiple name="tags[]" data-role="tagsinput" class="form-control"></select>--}}
<input id="tags" type="text" class="form-control" placeholder="Input tags…" name="tags" data-role="tagsinput">
<span class="input-group-btn">
<button href="/{{$video->id}}/tag" id="submittags" type="submit" class="form-control btn-primary">Submit</button>
</span>
<input id="tags" type="text" class="" placeholder="Add new tag" name="tags" data-role="tagsinput">
<button href="/{{$video->id}}/tag" id="submittags" type="submit" class="">Submit</button>
</div>
</div>
@else
@@ -42,5 +40,6 @@
No tags yet ...
@endif
</div>
<br>
</div>
</div>

View File

@@ -1,9 +1,9 @@
@extends('profilelayout')
@section('content')
@include('partials.profileheader')
<div class="profilheader">
<a href="/{{$user->baseurl()}}/">View {{ $title }}</a>
</div>
<fieldset>
<legend><a href="/{{$user->baseurl()}}/">View {{ $title }}</a></legend>
<table class="table table-hover table-condensed">
<thead>
<tr>
@@ -32,4 +32,5 @@
</tbody>
</table>
{!! $videos->render() !!}
</fieldset>
@endsection

View File

@@ -7,12 +7,10 @@
@foreach($categories as $category)
<div id="category_box_{{$category->shortname}}" class="category-box">
<div class="thumbnail">
<img src="{{ asset('/images/cat/' . $category->shortname . '.webp') }}" alt="{{$category->name}}">
<a href="{{$category->shortname}}"><img src="{{ asset('/images/cat/' . $category->shortname . '.webp') }}" alt="{{$category->name}}"></a>
<div class="caption">
<h5>{{$category->name}} <small><b>{{$category->videos()->count()}}</b></small></h5>
<span class="cat-desc"><i>{{$category->description}}</i></span>
<br>
<span class="cat-button"><a href="{{$category->shortname}}" class="btn btn-dark" role="button">View</a></span>
</div>
</div>
</div>

View File

@@ -1,8 +1,6 @@
<div class="panel @if($del = !is_null($comment->deleted_at)) panel-danger @else panel-default @endif" data-id="{{$comment->id}}" author="{{$comment->user->username}}">
<div class="comment panel-body" author="{{$comment->user->username}}">
@simplemd($comment->content)
</div>
<div class="panel-footer">by <a class="{{$comment->user->username}}" href="/user/{{$comment->user->username}}">{!! $comment->user->displayName() !!}</a> <small><time class="timeago" data-toggle="tooltip" data-placement="top" datetime="{{$comment->created_at}}+0000" title="{{$comment->created_at}}+0000"></time>
<div class="panel @if($del = !is_null($comment->deleted_at)) panel-danger @else @endif video-comment-wrapper" data-id="{{$comment->id}}" author="{{$comment->user->username}}">
<div class="umrandung_name">
<div class="comment_header"><a class="{{$comment->user->username}} user_color" href="/user/{{$comment->user->username}}">{!! $comment->user->displayName() !!}</a> <time class="timeago" data-toggle="tooltip" data-placement="top" datetime="{{$comment->created_at}}+0000" title="{{$comment->created_at}}+0000"></time> No. <a href="#{{ $comment->id }}">{{ $comment->id }}</a>
<div class="dingz">
@if($mod)
@if($del)
@@ -13,6 +11,9 @@
@endif
@endif
</div>
</small>
</div>
</div>
<div class="comment panel-body video-comment-body" author="{{$comment->user->username}}">
@simplemd($comment->content)
</div>
</div>

View File

@@ -13,4 +13,4 @@
</div>
</form>
</div>
</div>
</div>

View File

@@ -12,4 +12,7 @@
<span id="favs-user"><a href="/user/{{$user->username}}/favs/index"><i class="fa fa-heart"></i> {{ $user->favs()->countScoped()->count() }} Favorites</a></span>
</div>
@if($user->isOnline())
user is online!!
@endif
</div>

View File

@@ -12,7 +12,7 @@
<strong>Songtitle:</strong> {{$video->songtitle}}
</div>@endif
@if($video->imgsource) <div class="source">
<strong>Video Source:</strong> {{$video->imgsource}}
<strong>Video Source:</strong> @simplemd($video->imgsource)
</div>@endif
<div class="category">
<strong>Category:</strong> <a class="text-white" href="/index?q={{$video->category->name}}">{{$video->category->name}}</a>

View File

@@ -79,14 +79,12 @@
@include('partials.flash')
@include('partials.comments')
</div>
<div class="col-sm scrollable p-0"></div>
<div class="col-sm p-0"></div>
</div>
<wip>
</wip>
<div class="col-sm scrollable hidden-xs p-0"></div>
</div>
This page took {{ (microtime(true) - LARAVEL_START) }} seconds to render
</body>
<script type="text/javascript" defer src="/z0mb/js/jquery.min.js"></script>
<script type="text/javascript" defer src="/zßmb/js/jquery.timeago.js"></script>

View File

@@ -0,0 +1,18 @@
@extends('profilelayout')
@section('novidcontent')
<div class="page-header">
<h3>IRC</h3>
</div>
<div class="irc-content">
<div class="webchat">
<iframe src="https://webirc.n0xy.net?nick={{Auth::user()->username}}&join=%23w0bm&username={{Auth::user()->username}}"></iframe>
</div>
<div class="irc-info">
<h5>IRC</h5>
<h6>irc.n0xy.net +6697 (ssl only) #w0bm</h6>
<p>Don't have a desktop client? Why not join our Network via webirc? <a href="https://webirc.n0xy.net/?join=%23w0bm" target="about_blank">>>webirc.n0xy.net</a></p>
<p>More information: <a href="https://n0xy.net">n0xy.net</a></p>
</div>
</div>
@endsection

View File

@@ -10,6 +10,7 @@
<link rel="stylesheet" type="text/css" href="/z0mb/css/bootstrap-dark.css?v={{ filemtime("z0mb/css/bootstrap-dark.css") }}">
<link rel="stylesheet" type="text/css" href="/z0mb/css/cstms.css?v={{ filemtime("z0mb/css/cstms.css") }}">
<link rel="stylesheet" type="text/css" href="/z0mb/css/z0mb.css?v={{ filemtime("z0mb/css/z0mb.css") }}">
<link rel="stylesheet" type="text/css" href="/nojs/custom.css?v={{ filemtime("nojs/custom.css") }}">
</head>
<body>
<div data-simplebar class="container-fluid">

View File

@@ -20,7 +20,9 @@
<div class="added">
<strong>Added</strong> <a id="timestamp" title="{{$video->created_at->toIso8601String()}}">{{$video->created_at->diffForHumans()}}</a> <time class="timeago" data-toggle="tooltip" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time>
</div>
<div class="tags">
</div>
</div>
<div class="tags">
@if(count($video->tags))
@foreach($video->tags as $tag)
@if($tag == 'sfw')
@@ -34,6 +36,4 @@
@else
No tags yet ...
@endif
</div>
</div>
</div>

View File

@@ -1,28 +1,8 @@
@extends('profilelayout')
@section('content')
<style>
.sf-reset .block > pre {
background-color: #000000;
padding: 10px 28px;
margin-bottom: 20px;
-webkit-border-bottom-right-radius: 0;
-webkit-border-bottom-left-radius: 0;
-moz-border-radius-bottomright: 0;
-moz-border-radius-bottomleft: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
border-bottom: 1px solid #1faeac;
border-right: 1px solid #1faeac;
border-left: 1px solid #1faeac;
border-top: 1px solid #1faeac;
word-wrap: break-word;
color: green;
}
</style>
<h5>Oh shit! Something went wrong!</h5>
<div id="sf-resetcontent" class="sf-reset box">
<h6>Please don't send this fucking text to an admin, we have other problems.</h6>
<div id="sf-resetcontent" class="sf-reset box">ihfit
<h6>Please don't send this fucking text to an admin, we have other problems.f fdfd</h6>
<?php
$iv = openssl_random_pseudo_bytes(16);
?>
@@ -38,5 +18,4 @@
@endif
</div>
@include('footer')
@endsection