* Style refactoring 1
This commit is contained in:
parent
b79618c6b9
commit
fa64f98f6c
7 changed files with 681 additions and 705 deletions
|
@ -30,8 +30,8 @@ class Statistics extends Admin
|
|||
function($match) {
|
||||
$result = \array_map(
|
||||
function($val) {
|
||||
$val = \str_replace('body', '.f-phpinfo-div', $val, $count);
|
||||
return $count ? $val : '.f-phpinfo-div ' . $val;
|
||||
$val = \str_replace('body', '#id-phpinfo-div', $val, $count);
|
||||
return $count ? $val : '#id-phpinfo-div ' . $val;
|
||||
},
|
||||
\explode(',', $match[1])
|
||||
);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@extends ('layouts/admin')
|
||||
<section class="f-admin f-phpinfo">
|
||||
<h2>phpinfo()</h2>
|
||||
<div class="f-phpinfo-div">
|
||||
<div id="id-phpinfo-div">
|
||||
{!! $p->phpinfo !!}
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<section class="f-debug">
|
||||
<section id="fork-debug">
|
||||
<h2>{!! __('Debug table') !!}</h2>
|
||||
<p class="f-debugtime">[ {!! __('Querytime', num($p->time, 3), $p->numQueries) !!} - {!! __('Memory usage', size($p->memory)) !!} {!! __('Peak usage', size($p->peak)) !!} ]</p>
|
||||
<p id="id-fdebugtime">[ {!! __('Querytime', num($p->time, 3), $p->numQueries) !!} - {!! __('Memory usage', size($p->memory)) !!} {!! __('Peak usage', size($p->peak)) !!} ]</p>
|
||||
@if ($p->queries)
|
||||
<table>
|
||||
<thead>
|
||||
|
|
|
@ -13,11 +13,11 @@
|
|||
@endforeach
|
||||
</head>
|
||||
<body>
|
||||
<div class="f-wrap">
|
||||
<header class="f-header">
|
||||
<div class="f-title">
|
||||
<h1>{!! __('ForkBB Installation') !!}</h1>
|
||||
<p class="f-description">{!! __('Welcome') !!}</p>
|
||||
<div id="fork">
|
||||
<header id="fork-header">
|
||||
<div id="id-fhtitle">
|
||||
<<h1 id="id-fhth1">{!! __('ForkBB Installation') !!}</h1>
|
||||
<p id="id-fhtdesc">{!! __('Welcome') !!}</p>
|
||||
</div>
|
||||
</header>
|
||||
@if ($iswev = $p->fIswev)
|
||||
|
|
|
@ -13,16 +13,16 @@
|
|||
@endforeach
|
||||
</head>
|
||||
<body>
|
||||
<div class="f-wrap">
|
||||
<header class="f-header">
|
||||
<div class="f-title">
|
||||
<h1><a href="{!! $p->fRootLink !!}">{{ $p->fTitle }}</a></h1>
|
||||
<div id="fork">
|
||||
<header id="fork-header">
|
||||
<div id="id-fhtitle">
|
||||
<h1 id="id-fhth1"><a id="id-fhtha" href="{!! $p->fRootLink !!}">{{ $p->fTitle }}</a></h1>
|
||||
@if ($p->fDescription)
|
||||
<p class="f-description">{!! $p->fDescription !!}</p>
|
||||
<p id="id-fhtdesc">{!! $p->fDescription !!}</p>
|
||||
@endif
|
||||
</div>
|
||||
@if ($p->fNavigation)
|
||||
<nav class="f-main-nav f-menu @if ($p->fNavigation['search']) f-main-nav-search @endif">
|
||||
<nav id="fork-nav" class="f-menu @if ($p->fNavigation['search']) f-main-nav-search @endif">
|
||||
<input id="id-mn-checkbox" class="f-menu-checkbox" type="checkbox">
|
||||
<label id="id-mn-label" class="f-menu-toggle" for="id-mn-checkbox"></label>
|
||||
<ul class="f-menu-items">
|
||||
|
@ -49,19 +49,19 @@
|
|||
@endif
|
||||
</header>
|
||||
@if ($p->fAnnounce)
|
||||
<section class="f-announce">
|
||||
<section id="fork-announce">
|
||||
<h2>{!! __('Announcement') !!}</h2>
|
||||
<p class="f-ancontent">{!! $p->fAnnounce !!}</p>
|
||||
<p id="id-facontent">{!! $p->fAnnounce !!}</p>
|
||||
</section>
|
||||
@endif
|
||||
@if ($iswev = $p->fIswev)
|
||||
@include ('layouts/iswev')
|
||||
@endif
|
||||
@yield ('content')
|
||||
<footer class="f-footer">
|
||||
<footer id="fork-footer">
|
||||
<h2>{!! __('Board footer') !!}</h2>
|
||||
<div></div>
|
||||
<div><p class="poweredby">{!! __('Powered by') !!}</p></div>
|
||||
<div><p id="id-fpoweredby">{!! __('Powered by') !!}</p></div>
|
||||
</footer>
|
||||
<!-- debuginfo -->
|
||||
</div>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
@endforeach
|
||||
</head>
|
||||
<body>
|
||||
<div class="f-wrap">
|
||||
<div id="fork">
|
||||
<section class="f-main f-redirect">
|
||||
<h2>{!! __('Redirecting') !!}</h2>
|
||||
<p>{!! $p->message !!}</p>
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue