Skip to content

Commit 5a9245c

Browse files
authored
Merge pull request #368 from dbarzin/dev
Dev
2 parents e908af6 + e7491d8 commit 5a9245c

File tree

9 files changed

+273
-272
lines changed

9 files changed

+273
-272
lines changed

resources/views/controls/create.blade.php

Lines changed: 39 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<div class="grid">
1212

1313
<div class="row">
14-
<div class="cell-1">
14+
<div class="cell-lg-1 cell-md-2">
1515
<strong>{{ trans("cruds.control.fields.clauses") }}</strong>
1616
</div>
17-
<div class="cell-6">
17+
<div class="cell-lg-6 cell-md-8">
1818
<select data-role="select" id="measures" name="measures[]" multiple>
1919
@foreach($all_measures as $measure)
2020
<option value="{{ $measure->id }}"
@@ -27,35 +27,35 @@
2727
</div>
2828

2929
<div class="row">
30-
<div class="cell-1">
30+
<div class="cell-lg-1 cell-md-2">
3131
<strong>{{ trans("cruds.control.fields.name") }}</strong>
3232
</div>
33-
<div class="cell-4">
33+
<div class="cell-lg-4 cell-md-5">
3434
<input type="text" data-role="input" name="name" value="{{ old('name') }}" maxlength="255">
3535
</div>
36-
<div class="cell-1" align="right">
36+
<div class="cell-lg-1 cell-md-1" align="right">
3737
<strong>{{ trans("cruds.control.fields.scope") }}</strong>
3838
</div>
39-
<div class="cell-1">
39+
<div class="cell-lg-1 cell-md-2">
4040
<input type="text" name="scope" data-role="input" autocomplete="off" maxlength="32"
4141
value="{{ old('scope') }}" data-autocomplete=" {{ $scopes->implode(",") }} "/>
4242
</div>
4343
</div>
4444

4545
<div class="row">
46-
<div class="cell-1">
46+
<div class="cell-lg-1 cell-md-2">
4747
<strong>{{ trans("cruds.control.fields.objective") }}</strong>
4848
</div>
49-
<div class="cell-6">
49+
<div class="cell-lg-6 cell-md-8">
5050
<textarea name="objective" class="easymde" id="objective">{{ old('objective') }}</textarea>
5151
</div>
5252
</div>
5353

5454
<div class="row">
55-
<div class="cell-1">
55+
<div class="cell-lg-1 cell-md-2">
5656
<strong>{{ trans('cruds.control.fields.attributes') }}</strong>
5757
</div>
58-
<div class="cell-6">
58+
<div class="cell-lg-6 cell-md-8">
5959
<select data-role="select" id="attributes" name="attributes[]" multiple>
6060
@foreach($attributes as $attribute)
6161
@if (strlen($attribute)>0)
@@ -69,53 +69,53 @@
6969
</div>
7070

7171
<div class="row">
72-
<div class="cell-1">
72+
<div class="cell-lg-1 cell-md-2">
7373
<strong>{{ trans("cruds.control.fields.input") }}</strong>
7474
</div>
75-
<div class="cell-6">
75+
<div class="cell-lg-6 cell-md-8">
7676
<textarea name="input" class="easymde" id="input">{{ old('input') }}</textarea>
7777
</div>
7878
</div>
7979
<div class="row">
80-
<div class="cell-1">
80+
<div class="cell-lg-1 cell-md-2">
8181
<strong>{{ trans('cruds.control.fields.model') }}</strong>
8282
</div>
83-
<div class="cell-6">
83+
<div class="cell-lg-6 cell-md-8">
8484
<textarea class="textarea" name="model" rows="3" data-role="textarea" data-clear-button="false">{{ old('model') }}</textarea>
8585
</div>
8686
</div>
8787

8888
<div class="row">
89-
<div class="cell-1">
89+
<div class="cell-lg-1 cell-md-2">
9090
<strong>{{ trans("cruds.control.fields.plan_date") }}</strong>
9191
</div>
92-
<div class="cell-2">
92+
<div class="cell-lg-2 cell-md-4">
9393
<input
9494
data-role="calendarpicker"
9595
data-format="YYYY-MM-DD"
9696
data-inputFormat="YYYY-MM-DD"
9797
name="plan_date"
9898
value="{{ old('plan_date') }}"/>
9999
</div>
100-
<div class="cell-1">
100+
<div class="cell-lg-1 cell-md-2">
101101
</div>
102102
</div>
103103

104104
<div class="row">
105-
<div class="cell-1">
105+
<div class="cell-lg-1 cell-md-2">
106106
<strong>{{ trans("cruds.control.fields.action_plan") }}</strong>
107107
</div>
108-
<div class="cell-6">
108+
<div class="cell-lg-6 cell-md-8">
109109
<textarea name="action_plan" class="easymde" id="action_plan">{{ old('action_plan') }}</textarea>
110110
</div>
111111
</div>
112112

113113

114114
<div class="row">
115-
<div class="cell-1">
115+
<div class="cell-lg-1 cell-md-2">
116116
<strong>{{ trans('cruds.control.fields.periodicity') }}</strong>
117117
</div>
118-
<div class="cell-2">
118+
<div class="cell-lg-2 cell-md-4">
119119
<select data-role="select" id='periodicity' name="periodicity">
120120
<option value="0" {{ old("periodicity")=="0" ? "selected" : ""}}>{{ trans('common.once') }}</option>
121121
<option value="1" {{ old("periodicity")=="1" ? "selected" : ""}}>{{ trans('common.monthly') }}</option>
@@ -127,10 +127,10 @@
127127
</div>
128128

129129
<div class="row">
130-
<div class="cell-1">
130+
<div class="cell-lg-1 cell-md-2">
131131
<strong>{{ trans('cruds.control.fields.owners') }}</strong>
132132
</div>
133-
<div class="cell-6">
133+
<div class="cell-lg-6 cell-md-8">
134134
<select data-role="select" name="owners[]" id="owners" multiple>
135135
@foreach($users as $user)
136136
<option value="{{ $user->id }}" {{ in_array($user->id, old('owners', [])) ? 'selected' : '' }}>{{ $user->name }}</option>
@@ -140,10 +140,10 @@
140140
</div>
141141

142142
<div class="row">
143-
<div class="cell-1">
143+
<div class="cell-lg-1 cell-md-2">
144144
<strong>{{ trans('cruds.control.fields.groups') }}</strong>
145145
</div>
146-
<div class="cell-6">
146+
<div class="cell-lg-6 cell-md-8">
147147
<select data-role="select" name="groups[]" id="groups" multiple>
148148
@foreach($all_groups as $group)
149149
<option value="{{ $group->id }}" {{ in_array($group->id, old('groups', [])) ? 'selected' : '' }}>{{ $group->name }}</option>
@@ -152,22 +152,20 @@
152152
</div>
153153
</div>
154154

155-
<div class="row-12">
156-
<div><br></div>
157-
</div>
158-
159-
<div class="row-12">
160-
<button type="submit" class="button success">
161-
<span class="mif-floppy-disk2"></span>
162-
&nbsp;
163-
{{ trans("common.save") }}
164-
</button>
165-
&nbsp;
166-
<a class="button cancel" href="/bob/index" role="button">
167-
<span class="mif-cancel"></span>
168-
&nbsp;
169-
{{ trans("common.cancel") }}
170-
</a>
155+
<div class="row">
156+
<div class="cell-lg-12 cell-md-12">
157+
<button type="submit" class="button success">
158+
<span class="mif-floppy-disk2"></span>
159+
&nbsp;
160+
{{ trans("common.save") }}
161+
</button>
162+
&nbsp;
163+
<a class="button cancel" href="/bob/index" role="button">
164+
<span class="mif-cancel"></span>
165+
&nbsp;
166+
{{ trans("common.cancel") }}
167+
</a>
168+
</div>
171169
</div>
172170
</div>
173171
</form>

0 commit comments

Comments
 (0)