Removed old ng tags, Fixed header spacing

Also prevent pointer error on custom home page
This commit is contained in:
Dan Brown 2018-05-28 10:33:38 +01:00
parent f399e60910
commit d886c6a32e
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
31 changed files with 33 additions and 29 deletions

View File

@ -35,6 +35,7 @@ class PageDisplay {
}
setupPointer() {
if (document.getElementById('pointer') === null) return;
// Set up pointer
let $pointer = $('#pointer').detach();
let pointerShowing = false;

View File

@ -40,6 +40,9 @@
margin: 0 auto;
margin-top: $-xxl;
overflow-wrap: break-word;
&.flex {
margin-top: $-m;
}
.align-left {
text-align: left;
}

View File

@ -33,7 +33,7 @@
<header id="header">
<div class="container fluid">
<div class="row">
<div class="col-sm-4" ng-non-bindable>
<div class="col-sm-4">
<a href="{{ baseUrl('/') }}" class="logo">
@if(setting('app-logo', '') !== 'none')
<img class="logo-image" src="{{ setting('app-logo', '') === '' ? baseUrl('/logo.png') : baseUrl(setting('app-logo', '')) }}" alt="Logo">

View File

@ -12,7 +12,7 @@
@section('body')
<div ng-non-bindable class="container small">
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('add') {{ trans('entities.books_create') }}</h3>

View File

@ -8,7 +8,7 @@
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('delete') {{ trans('entities.books_delete') }}</h3>

View File

@ -8,7 +8,7 @@
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('edit') {{ trans('entities.books_edit') }}</h3>

View File

@ -8,7 +8,7 @@
@section('body')
<div class="container" ng-non-bindable>
<div class="container">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('lock') {{ trans('entities.books_permissions') }}</h3>

View File

@ -1,4 +1,4 @@
<div class="sort-box" data-type="book" data-id="{{ $book->id }}" ng-non-bindable>
<div class="sort-box" data-type="book" data-id="{{ $book->id }}">
<h3 class="text-book">@icon('book'){{ $book->name }}</h3>
<ul class="sortable-page-list sort-list">
@foreach($bookChildren as $bookChild)

View File

@ -8,7 +8,7 @@
@section('body')
<div class="container" ng-non-bindable>
<div class="container">
<div class="row">
<div class="col-md-8">

View File

@ -12,7 +12,7 @@
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<div class="card">
<h3>@icon('add') {{ trans('entities.chapters_create') }}</h3>
<div class="body">

View File

@ -8,7 +8,7 @@
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('delete') {{ trans('entities.chapters_delete') }}</h3>

View File

@ -8,7 +8,7 @@
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('edit') {{ trans('entities.chapters_edit') }}</h3>

View File

@ -8,7 +8,7 @@
@section('body')
<div class="container" ng-non-bindable>
<div class="container">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('lock') {{ trans('entities.chapters_permissions') }}</h3>

View File

@ -1,4 +1,4 @@
<div page-comments page-id="{{ $page->id }}" ng-non-bindable class="comments-list">
<div page-comments page-id="{{ $page->id }}" class="comments-list">
<h5 comments-title class="float left">{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}</h5>
<div class="comment-container" comment-container>

View File

@ -10,7 +10,7 @@
@section('body')
<div class="container" ng-non-bindable>
<div class="container">
<div class="row">
<div class="col-sm-4">

View File

@ -8,7 +8,7 @@
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('delete') {{ $page->draft ? trans('entities.pages_delete_draft') : trans('entities.pages_delete') }}</h3>

View File

@ -2,7 +2,7 @@
@section('content')
<div class="container small" ng-non-bindable>
<div class="container small">
<h1>{{ trans('entities.pages_new') }}</h1>
<form action="{{ $parent->getUrl('/create-guest-page') }}" method="POST">

View File

@ -1,4 +1,4 @@
<div ng-non-bindable>
<div>
<h1 class="break-text" v-pre id="bkmrk-page-title">{{$page->name}}</h1>

View File

@ -7,7 +7,7 @@
@stop
@section('body')
<div class="container" ng-non-bindable>
<div class="container">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('lock') {{ trans('entities.pages_permissions') }}</h3>

View File

@ -11,7 +11,7 @@
@section('body')
<div class="container" ng-non-bindable>
<div class="container">
<div class="row">
<div class="col-md-9">
<div class="page-content">

View File

@ -7,7 +7,7 @@
@stop
@section('body')
<div class="container" ng-non-bindable>
<div class="container">
<p>&nbsp;</p>
<div class="card">

View File

@ -1,7 +1,7 @@
<div class="dropdown-container" dropdown>
<span class="user-name" dropdown-toggle>
<img class="avatar" src="{{$currentUser->getAvatar(30)}}" alt="{{ $currentUser->name }}">
<span class="name" ng-non-bindable>{{ $currentUser->getShortName(9) }}</span> @icon('caret-down')
<span class="name">{{ $currentUser->getShortName(9) }}</span> @icon('caret-down')
</span>
<ul>
<li>

View File

@ -1,5 +1,5 @@
<div class="entity-list @if(isset($style)){{ $style }}@endif" ng-non-bindable>
<div class="entity-list @if(isset($style)){{ $style }}@endif">
@if(count($entities) > 0)
@foreach($entities as $index => $entity)
@if($entity->isA('page'))

View File

@ -10,7 +10,7 @@
@section('container-attrs')
id="search-system"
ng-non-bindable=""
=""
@stop
@section('sidebar')

View File

@ -1,4 +1,4 @@
<div class="entity-list @if(isset($style)){{ $style }}@endif" ng-non-bindable>
<div class="entity-list @if(isset($style)){{ $style }}@endif">
@if(count($entities) > 0)
@foreach($entities as $index => $entity)
@if($entity->isA('page'))

View File

@ -5,7 +5,7 @@
@stop
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('delete') {{ trans('settings.role_delete') }}</h3>

View File

@ -6,7 +6,7 @@
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('users-add') {{ trans('settings.users_add_new') }}</h3>

View File

@ -6,7 +6,7 @@
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('delete') {{ trans('settings.users_delete') }}</h3>

View File

@ -13,7 +13,7 @@
<div class="body">
<form action="{{ baseUrl("/settings/users/{$user->id}") }}" method="post">
<div class="row">
<div class="col-sm-6" ng-non-bindable>
<div class="col-sm-6">
{!! csrf_field() !!}
<input type="hidden" name="_method" value="put">
@include('users.forms.' . $authMethod, ['model' => $user])

View File

@ -5,7 +5,7 @@
@stop
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<p>&nbsp;</p>
<div class="card">
<h3>@icon('users') {{ trans('settings.users') }}</h3>

View File

@ -17,7 +17,7 @@
@section('body')
<div class="container small" ng-non-bindable>
<div class="container small">
<div class="padded-top large"></div>