mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-23 19:32:29 +01:00
Standardized form button layout/colors
This commit is contained in:
parent
52033f3a6f
commit
a4f21e9482
@ -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>
|
||||
|
||||
<div class="form-group">
|
||||
<a href="/books" class="button muted">Cancel</a>
|
||||
<button type="submit" class="button pos">Save Book</button>
|
||||
</div>
|
@ -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>
|
||||
|
||||
|
@ -1,11 +1,17 @@
|
||||
|
||||
{{ 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>
|
||||
|
||||
<div class="form-group">
|
||||
<a onclick="window.history.back();" class="button muted">Cancel</a>
|
||||
<button type="submit" class="button pos">Save</button>
|
||||
</div>
|
||||
|
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user