Skip to content

Commit

Permalink
some layout
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Aug 23, 2023
1 parent dc14013 commit 81d9ff8
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 21 deletions.
7 changes: 5 additions & 2 deletions resources/views/attributes/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<div class="p-3">
<div data-role="panel" data-title-caption="{{ trans('cruds.attribute.add') }}" data-collapsible="true" data-title-icon="<span class='mif-chart-line'></span>">
@if (count($errors))
<div class= “form-group”>
<div class= “alert alert-danger”>
<div class="grid">
<div class="cell-3 bg-red fg-white">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Expand Down Expand Up @@ -33,6 +33,9 @@
</div>
<div class="cell-5">
<textarea name="values" rows="5" cols="80">{{ old('values') }}</textarea>
<br>
format: #tag #tag #tag ...
<br><br>
</div>
</div>

Expand Down
7 changes: 5 additions & 2 deletions resources/views/attributes/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<div class="p-3">
<div data-role="panel" data-title-caption="{{ trans('cruds.attribute.edit') }}" data-collapsible="true" data-title-icon="<span class='mif-chart-line'></span>">
@if (count($errors))
<div class= “form-group”>
<div class= “alert alert-danger”>
<div class="grid">
<div class="cell-3 bg-red fg-white">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Expand All @@ -32,6 +32,9 @@
</div>
<div class="cell-8">
<textarea name="values" rows="5" cols="80">{{ $errors->has('values') ? old('values') : $attribute->values }}</textarea>
<br>
format: #tag #tag #tag ...
<br><br>
</div>
</div>
</div>
Expand Down
5 changes: 2 additions & 3 deletions resources/views/controls/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
@section("content")
<div class="p-3">
<div data-role="panel" data-title-caption='{{ trans("cruds.control.edit")}}' data-collapsible="true" data-title-icon="<span class='mif-chart-line'></span>">

@if (count($errors))
<div class= “form-group”>
<div class= “alert alert-danger”>
<div class="grid">
<div class="cell-3 bg-red fg-white">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/controls/plan.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<div data-role="panel" data-title-caption="{{ trans('cruds.control.plan') }}" data-collapsible="true" data-title-icon="<span class='mif-chart-line'></span>">

@if (count($errors))
<div class= “form-group”>
<div class= “alert alert-danger”>
<div class="grid">
<div class="cell-3 bg-red fg-white">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/domains/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<div class="p-3">
<div data-role="panel" data-title-caption="{{ trans('cruds.domain.add') }}" data-collapsible="true" data-title-icon="<span class='mif-chart-line'></span>">
@if (count($errors))
<div class= “form-group”>
<div class= “remark alert”>
<div class="grid">
<div class="cell-3 bg-red fg-white">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/domains/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<div class="p-3">
<div data-role="panel" data-title-caption="{{ trans('cruds.domain.edit') }}" data-collapsible="true" data-title-icon="<span class='mif-chart-line'></span>">
@if (count($errors))
<div class= “form-group”>
<div class= “remark alert”>
<div class="grid">
<div class="cell-3 bg-red fg-white">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/measures/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<div class="p-3">
<div data-role="panel" data-title-caption="{{ trans('cruds.measure.create') }}" data-collapsible="true" data-title-icon="<span class='mif-chart-line'></span>">
@if (count($errors))
<div class= “form-group”>
<div class= “remark alert alert-danger”>
<div class="grid">
<div class="cell-3 bg-red fg-white">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/measures/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<div data-role="panel" data-title-caption="{{ trans('cruds.measure.edit') }}" data-collapsible="true" data-title-icon="<span class='mif-chart-line'></span>">

@if (count($errors))
<div class="form-group">
<div class= "remark alert alert-danger">
<div class="grid">
<div class="cell-3 bg-red fg-white">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/users/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<div data-role="panel" data-title-caption="{{ trans('cruds.user.add') }}" data-collapsible="true" data-title-icon="<span class='mif-chart-line'></span>">

@if (count($errors))
<div class= “form-group”>
<div class= “alert alert-danger”>
<div class="grid">
<div class="cell-3 bg-red fg-white">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/users/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<div data-role="panel" data-title-caption="{{ trans('cruds.user.edit') }}" data-collapsible="true" data-title-icon="<span class='mif-chart-line'></span>">

@if (count($errors))
<div class= “form-group”>
<div class= “alert alert-danger”>
<div class="grid">
<div class="cell-3 bg-red fg-white">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
Expand Down

0 comments on commit 81d9ff8

Please sign in to comment.