text
stringlengths
14
100k
source
stringclasses
1 value
repo
stringclasses
810 values
language
stringclasses
13 values
<|fim_suffix|> @if($errors->has($name)) <div class="text-neg text-small">{{ $errors->first($name) }}</div> @endif <|fim_prefix|><input type="text" id="{{ $name }}" name="{{ $name }}" @if($errors->has($name)) class="text-neg" @endif @if(isset($placeholder)) placeholder="{{$placeholder}}" @endif ...
fim
BookStackApp/BookStack
php
<|fim_prefix|><textarea id="{{ $name }}" name="{{ $name }}" rows="5" @if($errors->has($name)) class="text-neg" @endif>@if(isset($model) || old($name)){{ old($name) ? <|fim_suffix|>iv class="text-neg text-small">{{ $errors->first($name) }}</div> @endif<|fim_middle|>old($name) : $model->$name}}@endif</textarea>...
fim
BookStackApp/BookStack
php
<|fim_suffix|>="checked" @endif> <span tabindex="0" role="checkbox" aria-checked="{{ $value ? 'true' : 'false' }}" class="custom-checkbox text-primary">@icon('check')</span> <span class="label">{{ $label }}</span> </label><|fim_prefix|><label components="custom-checkbox toggle-switch" class=...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@if($users->isEmpty()) <div class="flex-container-row items-center dropdown-search-item dropdown-search-item text-muted mt-m"> <span>{{ trans('common.no_items') }}</span> </div> @endif @foreach($users as $user) <a href="{{ $user->getProfileUrl() }}" class="flex-container-row items-center d...
fim
BookStackApp/BookStack
php
<|fim_suffix|>>name }}</span> </a> @endforeach<|fim_prefix|><a href="#" class="flex-container-row items-center dropdown-search-item" data-id=""> <span>{{ trans('settings.users_none_selected') }}</span> </a> @foreach($users as $user) <a href="#" class="flex-container-row items-center dropdown-search-item" da...
fim
BookStackApp/BookStack
php
<|fim_suffix|> autocomplete="off" placeholder="{{ trans('common.search') }}" type="text"> </div> <div refs="dropdown-search@loading" class="text-center"> @include('common.loading-icon') </div> <div refs="dropdown-search@listContainer" cla...
fim
BookStackApp/BookStack
php
@extends('layouts.simple') @section('body') <div class="container small"> <div class="my-l">&nbsp;</div> <div class="card content-wrap auto-height"> <h1 class="list-heading">{{ trans('settings.licenses') }}</h1> <p>{{ trans('settings.licenses_desc') }}</p> <...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.plain') @section('document-class', 'bg-white ' . (setting()->getForCurrentUser('dark-mode-enabled') ? 'dark-mode ' : '')) @section('content') <div class="p-m"> <h4 class="mt-s">{{ trans('editor.editor_license') }}</h4> <p> {!! trans('editor.editor_tiny_...
fim
BookStackApp/BookStack
php
<|fim_prefix|><h4>{{ trans('editor.shortcuts') }}</h4> <p>{{ trans('editor.shortcuts_intro') }}</p> <table> <thead> <tr> <th>{{ trans('editor.shortcut') }} {{ trans('editor.windows_linux') }}</th> <th>{{ trans('editor.shortcut') }} {{ trans('editor.mac') }}</th> <th>{{ trans('editor.des...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layout<|fim_suffix|>on-list text-link"> @if(userCan(\BookStack\Permissions\Permission::BookCreateAll)) <a href="{{ url("/create-book") }}" class="icon-list-item"> <span>@icon('add')</span> <span>{{ trans('entities.books_create')...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container px-xl py-s flex-container-row gap-l wrap justify-space-between"> <div class="icon-list inline block"> @include('home.parts.expand-toggle', ['classes' => 'text-muted text-link', 'target' => '.entity-list.compact .en...
fim
BookStackApp/BookStack
php
<|fim_prefix|>{{-- $target - CSS sel<|fim_suffix|>on component="expand-toggle" option:expand-toggle:target-selector="{{ $target }}" option:expand-toggle:update-endpoint="{{ url('/preferences/change-expansion/' . $key) }}" option:expand-toggle:is-open="{{ $isOpen ? 'true' : 'false' }}" ty...
fim
BookStackApp/BookStack
php
<|fim_suffix|>f <div class="mb-xl"> <h5>{{ trans('entities.' . (auth()->check() ? 'my_recently_viewed' : 'books_recent')) }}</h5> @include('entities.list', [ 'entities' => $recents, 'style' => 'compact', 'emptyText' => auth()->check() ? trans('entities.no_pages_viewed') : trans('entitie...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.tri') @section('body') @include('shelves.parts.list', <|fim_suffix|>e('home.parts.expand-toggle', ['classes' => 'text-link', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details']) @include('common.dark-mode-toggle', ['classes' => 'icon-list-it...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.tri') @section(<|fim_suffix|>') <div class="mt-m"> <main class="content-wrap card"> <div component="page-display" option:page-display:page-id="{{ $customHomepage->id }}" class="page-content"> @include('pages.parts...
fim
BookStackApp/BookStack
php
<|fim_prefix|><!DOCTYPE html> <html lang="{{ isset($locale) ? $locale->htmlLang() : config('app.default_locale') }}" dir="{{ isset($locale) ? $locale->htmlDirection() : 'auto' }}" class="{{ setting()->getForCurrentUser('dark-mode-enabled') ? 'dark-mode ' : '' }}"> <head> <title>{{ isset($pageTitle) ? $p...
fim
BookStackApp/BookStack
php
<|fim_prefix|><!doctype html> <html lang="{{ $locale->htmlLang() }}"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>@yield('title')</title> @if($cspContent ?? false) <meta http-equiv="Co<|fim_suffix|>tart') <div class="page-content" dir="auto"> @yield('conte...
fim
BookStackApp/BookStack
php
<|fim_suffix|>. --}}<|fim_prefix|>{<|fim_middle|>{-- This is a placeholder template file provided as a --}} {{-- convenience to users of the visual theme system<|endoftext|>
fim
BookStackApp/BookStack
php
<|fim_prefix|>{{-- T<|fim_suffix|>-- convenience to users of the visual theme system. --}}<|fim_middle|>his is a placeholder template file provided as a --}} {{<|endoftext|>
fim
BookStackApp/BookStack
php
<|fim_suffix|>content --> @endif<|fim_prefix|>@inject('headContent', 'BookStack\Theming\CustomHtmlHeadContentProvider') @if(!request()->routeIs('settings<|fim_middle|>.category')) <!-- Start: custom user content --> {!! $headContent->forWeb() !!} <!-- End: custom user <|endoftext|>
fim
BookStackApp/BookStack
php
<|fim_suffix|>raft: {{ setting('page-draft-color') }}; } :root.dark-mode { --color-primary: {{ setting('app-color-dark') }}; --color-primary-light: {{ setting('app-color-light-dark') }}; --color-link: {{ setting('link-color-dark') }}; --color-bookshelf: {{ setting('bookshelf-colo...
fim
BookStackApp/BookStack
php
<|fim_suffix|>ate file provided as a --}} {{-- convenience to users of the visual theme system. --}}<|fim_prefix|>{<|fim_middle|>{-- This is a placeholder templ<|endoftext|>
fim
BookStackApp/BookStack
php
<|fim_suffix|>visual theme system. --}}<|fim_prefix|>{{-- This is a placeholder template file<|fim_middle|> provided as a --}} {{-- convenience to users of the <|endoftext|>
fim
BookStackApp/BookStack
php
<|fim_prefix|>@if(count(setting('app-footer-links', [])) > 0) <footer class="print-hidden"> @foreach(setting('app-footer-links', []) as $link) <a href="{{ $link['url'] }}" target="_blank" rel="noopener">{{ strpos($link['label'], 'trans::') === 0 ? trans(str_replace('trans::', '', $link['label'])) : $link['l...
fim
BookStackApp/BookStack
php
{{-- This is a placeholder template file provided as a --}} {{-- convenience to users of the visual theme system. --}}<|endoftext|>
fim
BookStackApp/BookStack
php
@include('layouts.parts.header-links-start') @if (user()->hasAppAccess()) <a class="hide-over-l" href="{{ url('/search') }}">@icon('search'){{ trans('common.search') }}</a> @if(userCanOnAny(\BookStack\Permissions\Permission::View, \BookStack\Entities\Models\Bookshelf::class) || userCan(\BookStack\Permissions\P...
fim
BookStackApp/BookStack
php
<|fim_suffix|>ing('app-name') }}</span> @endif </a><|fim_prefix|><a href="{{<|fim_middle|> url('/') }}" data-shortcut="home_view" class="logo"> @if(setting('app-logo', '') !== 'none') <img class="logo-image" src="{{ setting('app-logo', '') === '' ? url('/logo.png') : url(setting('app-logo', '')) }}" alt...
fim
BookStackApp/BookStack
php
<|fim_suffix|> type="submit" aria-label="{{ trans('common.search') }}" tabindex="-1">@icon('search')</button> <input id="header-search-box-input" refs="global-search@input" type="text" name="term" data-shortcut="global_search" autocomp...
fim
BookStackApp/BookStack
php
<|fim_suffix|>" method="post"> {{ csrf_field() }} <button class="icon-item" role="menuitem" data-shortcut="logout"> @icon('logout') <div>{{ trans('auth.logout') }}</div> </button> </form> </li> </ul> </div><|...
fim
BookStackApp/BookStack
php
<|fim_suffix|>> @if(!user()->isGuest()) @include('layouts.parts.header-user-menu', ['user' => user()]) @endif </nav> </header> <|fim_prefix|><header id="header" component="header-mobile-toggle" class="primary-background px-xl grid print-hidden"> <div class="flex-container-row justify...
fim
BookStackApp/BookStack
php
<|fim_prefix|><div component="notification" option:notification:type="success" option:notification:auto-hide="true" option:notification:show="{{ session()->has('success') ? 'true' : 'false' }}" style="display: none;" class="no<|fim_suffix|><div class="dismiss">@icon('close')</div> </div><|fim_m...
fim
BookStackApp/BookStack
php
<|fim_prefix|><a class="px-m<|fim_suffix|>ent-link print-hidden" href="#main-content">{{ trans('common.skip_to_main_content') }}</a><|fim_middle|> py-s skip-to-cont<|endoftext|>
fim
BookStackApp/BookStack
php
<|fim_suffix|></head> <body> @yield('content') </body> </html> <|fim_prefix|><!DOCTYPE html> <html lang="{{ isset($locale) ? $locale->htmlLang() : config('app.d<|fim_middle|>efault_locale') }}" dir="{{ isset($locale) ? $locale->htmlDirection() : 'auto' }}" class="@yield('document-class')"> <head> <t...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.base') @section('content') <div class="flex-fill flex"> <div class="content flex"> <div id="main-content" cl<|fim_suffix|> @stop <|fim_middle|>ass="scroll-body"> @yield('body') </div> </div> </div> <|endoftext|>
fim
BookStackApp/BookStack
php
<|fim_suffix|> data-tab="content" aria-label="{{ trans('common.tab_content_label') }}" aria-selected="true" class="tri-layout-mobile-tab px-m py-m text-link active"> {{ trans('common.tab_content') }} </button> ...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container very-small py-xl"> <div class="card content-wrap auto-height"> <h1 class="list-heading">{{ trans('auth.mfa_gen_backup_codes_title') }}</h1> <p>{{ trans('auth.mfa_gen_backup_codes_desc') }}</p> ...
fim
BookStackApp/BookStack
php
<div class="grid half gap-xl"> <div> <div class="setting-list-label">{{ trans('auth.mfa_option_' . $method . '_title') }}</div> <p class="small"> {{ trans('auth.mfa_option_' . $method . '_desc') }} </p> </div> <div class="pt-m"> @if($userMethods->has($method)) ...
fim
BookStackApp/BookStack
php
<|fim_suffix|>s="mt-s text-right"> <button class="button">{{ trans('common.confirm') }}</button> </div> </form><|fim_prefix|><div class="setting-list-label">{{ trans('auth.mfa_verify_backup_code') }}</div> <p class="small mb-m">{{ trans('auth.mfa_verify_backup_code_desc') }}</p> <form action="{{ url('/mfa...
fim
BookStackApp/BookStack
php
<|fim_suffix|>right"> <button class="button">{{ trans('common.confirm') }}</button> </div> </form> <|fim_prefix|><div class="setting-list-label">{{ trans('auth.mfa_option_totp_title') }}</div> <p class="small mb-m">{{ trans('auth.mfa_verify_totp_desc') }}</p> <form action="{{ url('/mfa/totp/verify') }}" m...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container small py-xl"> <div class="card content-wrap auto-height"> <h1 class="list-heading">{{ trans('auth.mfa_setup') }}</h1> <p class="<|fim_suffix|> @foreach(['totp', 'backup_codes'] as $method) ...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container very-small py-xl"> <div class="card content-wrap auto-height"> <h1 class="list-heading">{{ trans('auth.mfa_gen_totp_title') }}</h1> <p>{{ trans('auth.mfa_gen_totp_desc') }}</p> <|fim_suffix|...
fim
BookStackApp/BookStack
php
<|fim_suffix|>tton outline">{{ trans('common.configure') }}</a> </div> @endif @if($method) <hr class="my-l"> @include('mfa.parts.verify-' . $method) @endif @if(count($otherMethods) > 0) <hr class="my-l"> ...
fim
BookStackApp/BookStack
php
@php echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n"; @endphp <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> <ShortName>{{ mb_strimwidth(setting('app-name'), 0, 16) }}</ShortName> <Description>{{ trans('common.opensearch_description', ['appName' => setting('app-name')]) }}</Description> ...
fim
BookStackApp/BookStack
php
<|fim_suffix|>llow: @else Disallow: / @endif<|fim_prefix|>User-agent: * @if($allowRobo<|fim_middle|>ts) Disa<|endoftext|>
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container small"> <div class="my-s"> @include('entities.breadcrumbs', ['crumbs' => [ $page->book, $page->chapter, $page, $page->getUrl('/copy') => [ ...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container small"> <div class="my-s"> @include('entities.breadcrumbs', ['crumbs' => [ $page->book, $page->chapter, $page, $page->getUrl('/delete') => [ ...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.base') @push('body-class', 'flexbox ') @section('content') <div id="main-content" class="flex-fill flex height-fill"> <form action="{{ $page->getUrl() }}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill"> {{ csrf_field() }}...
fim
BookStackApp/BookStack
php
<|fim_suffix|>" class="button">{{ trans('common.continue') }}</button> </div> </form> </main> </div> @stop<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container small"> <div class="my-s"> @include('entities.breadcrumbs', ['cru...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container small"> <|fim_suffix|> class="button">{{ trans('entities.pages_move') }}</button> </div> </form> </main> </div> @stop <|fim_middle|> <div class="my-s"> @include('entities.b...
fim
BookStackApp/BookStack
php
<|fim_prefix|><div> <div components="popup code-editor" option:code-editor:favourites="{{ setting()->getForCurrentUser('code-language-favourites', '') }}" class="popup-background code-editor"> <div refs="code-editor@container" class="popup-body" tabindex="-1"> <div class="popu...
fim
BookStackApp/BookStack
php
<|fim_prefix|><div class="toolbar page-edit-toolbar py-xs"> <div> <div class="inline block"> <a href="{{ $isDraft ? $page->getParent()->getUrl() : $page->getUrl() }}" class="icon-list-item text-link"><span>@icon('back')</span><span class="hide-under-l">{{ trans('common.back') }}<...
fim
BookStackApp/BookStack
php
<|fim_prefix|><div component="editor-toolbox" class="floating-toolbox"> <div class="tabs flex-container-column justify-flex-start"> <div class="tabs-inner flex-container-column justify-center"> <button type="button" refs="editor-toolbox@toggle" title="{{ trans('entities.toggle_sidebar') }}" ari...
fim
BookStackApp/BookStack
php
<div component="page-editor" class="page-editor page-editor-{{ $editor }} flex-fill flex" option:page-editor:drafts-enabled="{{ $draftsEnabled ? 'true' : 'false' }}" @if(config('services.drawio')) drawio-url="{{ is_string(config('services.drawio')) ? config('services.drawio') : 'https://embed.diagrams...
fim
BookStackApp/BookStack
php
<|fim_suffix|> => $dates->relative($image->created_at)]) }} </div> @if($image->created_at->valueOf() !== $image->updated_at->valueOf()) <div title="{{ $dates->absolute($image->updated_at) }}"> @icon('edit') {{ trans('components.image_updated', ['updateDate' => $dates->relativ...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@if($warning ?? '') <div class="image-manager-list-warning image-manager-warning px-m py-xs flex-container-row gap-xs items-center"> <div>@icon('warning')</div> <div class="flex">{{ $warning }}</div> </div> @endif @foreach($images as $index => $image) <div> <button component="e...
fim
BookStackApp/BookStack
php
<div components="image-manager dropzone" option:dropzone:url="{{ url('/images/gallery?' . http_build_query(['uploaded_to' => $uploaded_to ?? 0])) }}" option:dropzone:success-message="{{ trans('components.image_upload_success') }}" option:dropzone:error-message="{{ trans('errors.image_upload_error') }}" ...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@component('entities.list-item-basic', ['entity' => $page]) <div class="entity-i<|fim_suffix|>t<|fim_middle|>tem-snippet"> <p class="text-muted break-text">{{ $page->getExcerpt() }}</p> </div> @endcomponen<|endoftext|>
fim
BookStackApp/BookStack
php
<|fim_suffix|>u markdown-editor@setting-container" class="dropdown-menu" role="menu"> <div class="px-m"> @include('form.custom-checkbox', ['name' => 'md-showPreview', 'label' => trans('entities.pages_md_show_preview'), 'value' => true, 'checked' => true]) ...
fim
BookStackApp/BookStack
php
<|fim_prefix|><div dir="auto"> <h1 class="break-text" id="bkmrk-page-title">{{$page->name}}</h1> <div style="clear:left;"></div> @if (isset($di<|fim_suffix|> {!! isset($page->renderedHTML) ? $page->renderedHTML : $page->html !!} @endif </div><|fim_middle|>ff) && $diff) {!! $diff !!} @else...
fim
BookStackApp/BookStack
php
<|fim_prefix|> <div component="pointer" option:pointer:page-id="{{ $page->id }}"> <div id="pointer" refs="pointer@pointer" tabindex="-1" aria-label="{{ trans('entities.pages_pointer_label') }}" class="pointer-container"> <div class="pointer flex-container-row items-...
fim
BookStackApp/BookStack
php
<|fim_suffix|></div> </div><|fim_prefix|><div class="item-list-row flex-container-row items-center wrap"> <div class="flex fit-content min-width-xxxxs px-m py-xs"> <span class="hide-over-l">{{ trans('entities.pages_revisions_number') }}</span> {{ $revision->revision_number == 0 ? '' : $revision->rev...
fim
BookStackApp/BookStack
php
<|fim_prefix|><div id="actions" class="actions mb-xl"> <h5>{{ trans('common.actions') }}</h5> <div class="icon-list text-link"> {{--User Actions--}} @if(userCan(\BookStack\Permissions\Permission::PageUpdate, $page)) <a href="{{ $page->getUrl('/edit') }}" data-shortcut="edit" class=...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@if($page->attachments->count() > 0) <div id="page-attachments" class="mb-l"> <h5>{{ trans('entities.pages_attachments') }}</<|fim_suffix|>="body"> @include('attachments.list', ['attachments' => $page->attachments]) </div> </div> @endif<|fim_middle|>h5> <div cla...
fim
BookStackApp/BookStack
php
<|fim_prefix|><div id="page-details" class="entity-details mb-xl"> <h5>{{ trans('common.details') }}</h5> <div class="blended-links"> @include('entities.meta', ['entity' => $page, 'watchOptions' => $watchOptions]) @if($book->hasPermissions()) <div class="active-restriction"> ...
fim
BookStackApp/BookStack
php
<|fim_suffix|> </div> </nav> @endif<|fim_prefix|>@if(isset($pageNav) && count($pageNav)) <nav id="page-navigation" class="mb-xl" aria-label="{{ trans('entities.pages_navigation') }}"> <h5>{{ trans('entities.pages_navigation') }}</h5> <div class="body"> <ul class="sidebar-page-na...
fim
BookStackApp/BookStack
php
@if($page->tags->count() > 0) <section> @include('entities.tag-list', ['entity' => $page]) </section> @endif<|endoftext|>
fim
BookStackApp/BookStack
php
<|fim_suffix|> aria-label="{{ trans('entities.templates_prepend_content') }} - {{ $template->name }}" template-action="prepend">@icon('chevron-up')</button> <button type="button" title="{{ trans('entities.templates_append_content') }}" ...
fim
BookStackApp/BookStack
php
<|fim_prefix|><div component="template-manager"> @if(userCan(\BookStack\Permissions\Permission::TemplatesManage)) <p class="text-muted small mb-none"> {{ trans('entities.templates_explain_set_a<|fim_suffix|> 'label' => trans('entities.templates_set_as_template') ]) <...
fim
BookStackApp/BookStack
php
<|fim_prefix|>{{-- $comments - CommentTree --}} <div refs="editor-toolbox@tab-content" data-tab-content="comments" class="toolbox-tab-content"> <h4>{{ trans('entities.comments') }}</h4> <div class="comment-container-compact px-l"> <p class="text-muted small mb-m"> {{ trans('entities.comment...
fim
BookStackApp/BookStack
php
<|fim_suffix|>.page_contents_info') }}</p> <p class="text-muted small mb-m" refs="toolbox-contents@none" hidden="hidden">{{ trans('entities.page_contents_none') }}</p> <div refs="toolbox-contents@display"></div> </div> </div><|fim_prefix|><div refs="editor-toolbox@tab-content" data-tab-content="cont...
fim
BookStackApp/BookStack
php
<|fim_suffix|>-upload-limit-text="{{ trans('errors.server_upload_limit') }}" class="flex-fill flex"> <textarea id="html-editor" name="html" rows="5" @if($errors->has('html')) class="text-neg" @endif>@if(isset($model) || old('html')){{ old('html') ? old('html') : $model->html }}@endif</textarea> </d...
fim
BookStackApp/BookStack
php
<|fim_prefix|><div component="wysiwyg-editor" option:wysiwyg-editor:language="{{ $locale->htmlLang() }}" option:wysiwyg-editor:page-id="{{ $model->id ?? 0 }}" option:wysiwyg-editor:text-direction="{{ $locale->htmlDirection() }}" option:wysiwyg-editor:image-upload-error-text="{{ trans('errors.image_u...
fim
BookStackApp/BookStack
php
<|fim_suffix|> <main class="card content-wrap auto-height"> @include('form.entity-permissions', ['model' => $page, 'title' => trans('entities.pages_permissions')]) </main> </div> @stop <|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container"> <div class="m...
fim
BookStackApp/BookStack
php
<|fim_suffix|>clude('entities.breadcrumbs', ['crumbs' => [ $page->book, $page->chapter, $page, $page->getUrl('/references') => [ 'text' => trans('entities.references'), 'icon' => 'reference', ] ...
fim
BookStackApp/BookStack
php
<|fim_suffix|> </main> @stop<|fim_prefix|>@extends('layouts.tri') @section('left') <div id="revision-details" class="entity-details mb-xl"> <h5>{{ trans('common.details') }}</h5> <div class="body text-small text-muted"> @include('entities.meta', ['entity' => $revision, 'watchOption...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container"> <div class="my-s"> @include('entities.breadcrumbs', ['crumbs' => [ $page->book, $page->chapter, $page, $page->getUrl('/revisions') => [ ...
fim
BookStackApp/BookStack
php
<|fim_suffix|>mb-l print-hidden"> @include('comments.comments', ['commentTree' => $commentTree, 'page' => $page]) <div class="clearfix"></div> </div> @endif @stop @section('left') @include('pages.parts.show-sidebar-section-tags', ['page' => $page]) @include('pages.parts.show...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container mt-xl" id="search-system"> <div class="grid right-focus reverse-collapse gap-xl"> <div> <div> <h5>{{ trans('entities.search_advanced') }}</h5> @php ...
fim
BookStackApp/BookStack
php
<|fim_suffix|> name="filters[{{ $name }}]" @if (isset($filters[$name]) && (!$value || ($value && $value === $filters[$name]))) checked="checked" @endif value="{{ $value ?: 'true' }}"> {{ $slot }} </label><|fim_prefix|>{{-- $filters - Array of search fil<|fim_middle|>ter values $name...
fim
BookStackApp/BookStack
php
<|fim_suffix|>n="[0-9]{4}-[0-9]{2}-[0-9]{2}"> </td> <td> <button type="button" refs="optional-input@remove" class="text-neg text-button {{ ($filters[$name] ?? false) ? '' : 'hidden' }}"> @icon('close') </button> </td...
fim
BookStackApp/BookStack
php
<|fim_prefix|><div class="entity-list"> @if(count($entities) > 0) @foreach($entities as $index => $entity) @include('entities.list-i<|fim_suffix|>ext-muted text-large p-xl"> {{ trans('common.no_items') }} </p> @endif </div><|fim_middle|>tem', [ 'entity' => $e...
fim
BookStackApp/BookStack
php
<|fim_suffix|> <hr> @endif @endforeach @else <div class="text-muted px-m py-m"> {{ trans('common.no_items') }} </div> @endif </div><|fim_prefix|><div class="entity-list"> @if(count($entities) > 0) @foreach($entities as $index => $entity) ...
fim
BookStackApp/BookStack
php
<|fim_suffix|>move-selector="button.text-neg" option:add-remove-rows:row-selector=".flex-container-row" class="flex-container-column gap-xs"> @foreach(array_merge($currentList, ['']) as $term) <div @if(empty($term)) refs="add-remove-rows@model" @endif class="{{ $term ? '' : 'hidde...
fim
BookStackApp/BookStack
php
<|fim_prefix|>{{-- @che<|fim_suffix|>ype="checkbox" name="types[]" @if($checked) checked @endif value="{{$entity}}">{{ trans('entities.' . $transKey) }} </label><|fim_middle|>cked - If the option should be pre-checked @entity - Entity Name @transKey - Translation Key --}} <label class="inline chec...
fim
BookStackApp/BookStack
php
<|fim_suffix|> <div class="flex-3 px-m py-xxs min-width-l"> @if($activity->loggable instanceof \BookStack\Entities\Models\Entity) @include('entities.icon-link', ['entity' => $activity->loggable]) @elseif($activity->deta...
fim
BookStackApp/BookStack
php
<|fim_suffix|> </div> </div> <div class="grid half gap-xl"> <div> <label class="setting-list-label">{{ trans('settings.app_logo') }}</label> <p class="small">{!! trans('settings.app_logo_desc') !!}</p> </div> ...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('settings.layout') @section('card') <h1 id="features" class="list-heading">{{ trans('settings.app_features_security') }}</h1> <form action="{{ url("/settings/features") }}" method="POST"> {!! csrf_field() !!} <input type="hidden" name="section" value="features"> ...
fim
BookStackApp/BookStack
php
<|fim_suffix|> </form> @endsection<|fim_prefix|>@extends('settings.layout') @section('card') <h1 id="registration" class="list-heading">{{ trans('settings.reg_settings') }}</h1> <form action="{{ url("/settings/registration") }}" method="POST"> {!! csrf_field() !!} <input type="hidden" name="se...
fim
BookStackApp/BookStack
php
@extends('settings.layout') @php $sortRules = \BookStack\Sorting\SortRule::allByName(); @endphp @section('card') <h1 id="sorting" class="list-heading">{{ trans('settings.sorting') }}</h1> <form action="{{ url("/settings/sorting") }}" method="POST"> {{ csrf_field() }} <input type="hidden" n...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container medium"> @include('settings.parts.navbar', ['selected' => 'settings']) <div class="grid gap-xxl right-focus"> <div> <h5>{{ trans('settings.categories') }}</h5> <|fim_suffix|>="_blank"...
fim
BookStackApp/BookStack
php
<|fim_suffix|>ue="{{ session()->getOldInput('ignore_revisions', 'false') }}"> <input type="hidden" name="confirm" value="true"> @else <label class="flex-container-row"> <div class="mr-s"><input type="checkbox...
fim
BookStackApp/BookStack
php
<|fim_prefix|>{{-- $value - Setting value $name - Setting input name --}} <div components="add-remove-rows" option:add-remove-rows:row-selector=".card" option:add-remove-rows:remove-selector="button.text-neg"> <div component="sortable-list" option:sortable-list:handle-selector=".handle"> ...
fim
BookStackApp/BookStack
php
<|fim_prefix|> <nav class="active-link-list py-m flex-container-row justify-center wrap"> @if(userCan(\BookStack\Permissions\Permission::SettingsManage)) <a href="{{ url('/settings') }}" @if($selected == 'settings') class="active" @endif>@icon('settings'){{ trans('settings.settings') }}</a> <a href=...
fim
BookStackApp/BookStack
php
<|fim_suffix|>d">{{ trans('common.reset') }}</button> </div> <div> <input type="color" refs="setting-color-picker@input" value="{{ setting($type . '-color' . $keyAppends) }}" name="setting-{{ $type }}-color{{ $keyAppends }}" id="setting-{{ $typ...
fim
BookStackApp/BookStack
php
<|fim_suffix|>de' => $mode]) </div> </div> <input type="hidden" value="{{ setting('app-color-light' . ($mode === 'dark' ? '-dark' : '')) }}" name="setting-app-color-light{{ $mode === 'dark' ? '-dark' : '' }}"><|fim_prefix|>{{-- @mode - 'light' or 'dark'. --}} <p class="small">{{ trans('settings.u...
fim
BookStackApp/BookStack
php
<|fim_suffix|>er->name }}"></div> <div class="flex">{{ $user->name }}</div> </a><|fim_prefix|>{{-- $user - User to display<|fim_middle|>. --}} <a href="{{ $user->getEditUrl() }}" class="flex-container-row inline gap-s items-center"> <div class="flex-none"><img width="40" height="40" class="avatar block" src="{{...
fim
BookStackApp/BookStack
php
<|fim_suffix|> @include('settings.recycle-bin.parts.deletable-entity-list', ['entity' => $deletion->deletable]) @endif </div> </div> @stop <|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container small"> @include('settings.parts.navbar', ['selected' => 'm...
fim
BookStackApp/BookStack
php
<|fim_prefix|>@extends('layouts.simple') @section('body') <div class="container"> @include('settings.parts.navbar', ['selected' => 'maintenance']) <div class="card content-wrap auto-height"> <h2 class="list-heading">{{ trans('settings.recycle_bin') }}</h2> <div class="fle...
fim
BookStackApp/BookStack
php
@include('settings.recycle-bin.parts.entity-display-item', ['entity' => $entity]) @if($entity->isA('book')) @foreach($entity->chapters()->withTrashed()->get() as $chapter) @include('settings.recycle-bin.parts.entity-display-item', ['entity' => $chapter]) @endforeach @endif @if($entity->isA('book') || $e...
fim
BookStackApp/BookStack
php
<|fim_prefix|><?php $type = $entity->getType(); ?> <div class="{{$type}} {{$type === 'page' && $entity->draft ? 'draft' : ''}} {{$classes ?? ''}} entity-list-item no-hover"> <span role="presentation" class="icon text-{{$type}} {{$type === 'page' && $entity-<|fim_suffix|> <div class="content"> <div class="en...
fim
BookStackApp/BookStack
php