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-08-08 21:38:11 +0100
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
a4f21e9482c682936b840faf19f0fcb9dfa6dace
a4f21e94
1 parent
52033f3a
Standardized form button layout/colors
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
5 deletions
resources/views/books/form.blade.php
resources/views/chapters/delete.blade.php
resources/views/chapters/form.blade.php
resources/views/pages/delete.blade.php
resources/views/pages/form.blade.php
resources/views/pages/sort.blade.php
resources/views/books/form.blade.php
View file @
a4f21e9
...
...
@@ -4,8 +4,13 @@
<label
for=
"name"
>
Book Name
</label>
@include('form/text', ['name' => 'name'])
</div>
<div
class=
"form-group description-input"
>
<label
for=
"description"
>
Description
</label>
@include('form/textarea', ['name' => 'description'])
</div>
<button
type=
"submit"
class=
"button pos"
>
Save
</button>
\ No newline at end of file
<div
class=
"form-group"
>
<a
href=
"/books"
class=
"button muted"
>
Cancel
</a>
<button
type=
"submit"
class=
"button pos"
>
Save Book
</button>
</div>
\ No newline at end of file
...
...
resources/views/chapters/delete.blade.php
View file @
a4f21e9
...
...
@@ -11,8 +11,8 @@
<form
action=
"{{$chapter->getUrl()}}"
method=
"POST"
>
{!! csrf_field() !!}
<input
type=
"hidden"
name=
"_method"
value=
"DELETE"
>
<a
href=
"{{$chapter->getUrl()}}"
class=
"button muted"
>
Cancel
</a>
<button
type=
"submit"
class=
"button neg"
>
Confirm
</button>
<a
href=
"{{$chapter->getUrl()}}"
class=
"button"
>
Cancel
</a>
</form>
</div>
...
...
resources/views/chapters/form.blade.php
View file @
a4f21e9
{{ csrf_field() }}
{!! csrf_field() !!}
<div
class=
"form-group title-input"
>
<label
for=
"name"
>
Chapter Name
</label>
@include('form/text', ['name' => 'name'])
</div>
<div
class=
"form-group description-input"
>
<label
for=
"description"
>
Description
</label>
@include('form/textarea', ['name' => 'description'])
</div>
<button
type=
"submit"
class=
"button pos"
>
Save
</button>
\ No newline at end of file
<div
class=
"form-group"
>
<a
onclick=
"window.history.back();"
class=
"button muted"
>
Cancel
</a>
<button
type=
"submit"
class=
"button pos"
>
Save
</button>
</div>
...
...
resources/views/pages/delete.blade.php
View file @
a4f21e9
...
...
@@ -9,8 +9,8 @@
<form
action=
"{{$page->getUrl()}}"
method=
"POST"
>
{!! csrf_field() !!}
<input
type=
"hidden"
name=
"_method"
value=
"DELETE"
>
<a
href=
"{{$page->getUrl()}}"
class=
"button muted"
>
Cancel
</a>
<button
type=
"submit"
class=
"button neg"
>
Confirm
</button>
<a
href=
"{{$page->getUrl()}}"
class=
"button"
>
Cancel
</a>
</form>
</div>
...
...
resources/views/pages/form.blade.php
View file @
a4f21e9
...
...
@@ -13,6 +13,7 @@
@include('form/textarea', ['name' => 'html'])
</div>
<div
class=
"margin-top large"
>
<a
onclick=
"window.history.back();"
class=
"button muted"
>
Cancel
</a>
<button
type=
"submit"
class=
"button pos"
>
Save Page
</button>
</div>
</div>
...
...
resources/views/pages/sort.blade.php
View file @
a4f21e9
...
...
@@ -27,6 +27,7 @@
<input
type=
"hidden"
name=
"_method"
value=
"PUT"
>
<input
type=
"hidden"
id=
"sort-tree-input"
name=
"sort-tree"
>
<div
class=
"list"
>
<a
href=
"{{$book->getUrl()}}"
class=
"button muted"
>
Cancel
</a>
<button
class=
"button pos"
type=
"submit"
>
Save Ordering
</button>
</div>
</form>
...
...
Please
register
or
sign in
to post a comment