Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dan Brown
2015-11-30 22:23:48 +0000
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
b97d5704e1f4e51bda9e6c22e8fd4ff90e5414ea
b97d5704
1 parent
b912eb9f
Fixed some lib paths and seperated out duplicated notifications
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
24 deletions
resources/views/base.blade.php
resources/views/partials/notifications.blade.php
resources/views/public.blade.php
resources/views/base.blade.php
View file @
b97d570
...
...
@@ -3,7 +3,7 @@
<head>
<title>
BookStack
</title>
<!-- Meta-->
<!-- Meta
-->
<meta
name=
"viewport"
content=
"width=device-width"
>
<meta
name=
"token"
content=
"{{ csrf_token() }}"
>
<meta
charset=
"utf-8"
>
...
...
@@ -21,17 +21,7 @@
</head>
<body
class=
"@yield('body-class')"
id=
"app"
>
@if(Session::has('success'))
<div
class=
"notification anim pos"
>
<i
class=
"zmdi zmdi-mood"
></i>
<span>
{{ Session::get('success') }}
</span>
</div>
@endif
@if(Session::has('error'))
<div
class=
"notification anim neg stopped"
>
<i
class=
"zmdi zmdi-alert-circle"
></i>
<span>
{{ Session::get('error') }}
</span>
</div>
@endif
@include('partials/notifications')
<header
id=
"header"
>
<div
class=
"container"
>
...
...
resources/views/partials/notifications.blade.php
0 → 100644
View file @
b97d570
@if(Session::has('success'))
<div
class=
"notification anim pos"
>
<i
class=
"zmdi zmdi-mood"
></i>
<span>
{{ Session::get('success') }}
</span>
</div>
@endif
@if(Session::has('error'))
<div
class=
"notification anim neg stopped"
>
<i
class=
"zmdi zmdi-alert-circle"
></i>
<span>
{{ Session::get('error') }}
</span>
</div>
@endif
\ No newline at end of file
resources/views/public.blade.php
View file @
b97d570
...
...
@@ -2,27 +2,24 @@
<html>
<head>
<title>
BookStack
</title>
<!-- Meta -->
<meta
name=
"viewport"
content=
"width=device-width"
>
<meta
charset=
"utf-8"
>
<!-- Styles and Fonts -->
<link
rel=
"stylesheet"
href=
"{{ elixir('css/styles.css') }}"
>
<link
rel=
"stylesheet"
media=
"print"
href=
"{{ elixir('css/print-styles.css') }}"
>
<link
href=
'//fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,300italic,100,300'
rel=
'stylesheet'
type=
'text/css'
>
<link
rel=
"stylesheet"
href=
"/
bower/material-design-iconic-font/dis
t/css/material-design-iconic-font.min.css"
>
<link
rel=
"stylesheet"
href=
"/
libs/material-design-iconic-fon
t/css/material-design-iconic-font.min.css"
>
<!-- Scripts -->
<script
src=
"https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"
></script>
</head>
<body
class=
"@yield('body-class')"
id=
"app"
>
@if(Session::has('success'))
<div
class=
"notification anim pos"
>
<i
class=
"zmdi zmdi-mood"
></i>
<span>
{{ Session::get('success') }}
</span>
</div>
@endif
@if(Session::has('error'))
<div
class=
"notification anim neg stopped"
>
<i
class=
"zmdi zmdi-alert-circle"
></i>
<span>
{{ Session::get('error') }}
</span>
</div>
@endif
@include('partials/notifications')
<header
id=
"header"
>
<div
class=
"container"
>
...
...
Please
register
or
sign in
to post a comment