Skip to content

Commit 6180c2c

Browse files
committed
FIX: Responsive layout for editing of the formalizations
1 parent 0be3bf0 commit 6180c2c

File tree

1 file changed

+29
-33
lines changed

1 file changed

+29
-33
lines changed

hanfor/templates/formalization.html

Lines changed: 29 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -34,58 +34,54 @@ <h6>ID: __formal_id__</h6>
3434
<h6>Edit formalization:</h6>
3535
<div class="form-group">
3636
<div class="row form-inline row-spacing">
37-
<div class="form-group col-12">
37+
<div class="form-group col-12 col-lg-4 col-xl-2 gx-1">
3838
<label for="requirement_scope">Scope</label>
3939
<select
4040
id="requirement_scope__formal_id__"
41-
class="form-control formalization_selector scope_selector mb-3"
41+
class="form-control formalization_selector scope_selector mb-3 select-wrap"
4242
style="width: 100%"
4343
title="__formal_id__"
4444
>
4545
__scope_options__
4646
</select>
4747
</div>
48-
<div class="form-group col-12">
48+
<div class="form-group col-12 col-lg-8 col-xl-8 gx-1">
4949
<label for="requirement_pattern">Pattern</label>
5050
<select
5151
id="requirement_pattern__formal_id__"
52-
class="form-select formalization_selector pattern_selector select-wrap"
52+
class="form-control formalization_selector pattern_selector select-wrap"
5353
title="__formal_id__"
5454
>
5555
__pattern__options__
5656
</select>
5757
</div>
58-
<div class="d-flex col-12 justify-content-center gap-2">
59-
<div class="form-group m-0">
60-
<label></label>
61-
<button
62-
name="__formal_id__"
63-
class="copy_formalization btn btn-large btn-success"
64-
style="width: 100%"
65-
title="Copy me"
66-
>
67-
Copy
68-
</button>
58+
<div class="form-group m-0 col-12 col-xl-1 gx-1">
59+
<label></label>
60+
<button
61+
name="__formal_id__"
62+
class="copy_formalization btn btn-large btn-success w-100 fs-6 fs-lg-6 fs-xl-6"
63+
title="Copy me"
64+
>
65+
Copy
66+
</button>
6967
</div>
70-
<div class="form-group m-0">
71-
<label></label>
72-
<button
73-
name="__formal_id__"
74-
class="delete_formalization btn btn-large btn-danger"
75-
data-bs-toggle="confirmation"
76-
data-btn-ok-label="Yes"
77-
data-btn-ok-class="btn-success"
78-
data-btn-cancel-label="Nooo Stoooop!"
79-
data-btn-cancel-class="btn-danger"
80-
data-title="Sure?"
81-
data-content="Delete this Formalization?"
82-
style="width: 100%"
83-
title="Delete me"
84-
>
85-
Delete
86-
</button>
68+
<div class="form-group m-0 col-12 col-xl-1 gx-1">
69+
<label></label>
70+
<button
71+
name="__formal_id__"
72+
class="delete_formalization btn btn-large btn-danger w-100 fs-6 fs-lg-6 fs-xl-6"
73+
data-bs-toggle="confirmation"
74+
data-btn-ok-label="Yes"
75+
data-btn-ok-class="btn-success"
76+
data-btn-cancel-label="Nooo Stoooop!"
77+
data-btn-cancel-class="btn-danger"
78+
data-title="Sure?"
79+
data-content="Delete this Formalization?"
80+
title="Delete me"
81+
>
82+
Delete
83+
</button>
8784
</div>
88-
</div>
8985
</div>
9086
</div>
9187
<div id="requirement_var_group_p__formal_id__" class="form-group requirement_var_group">

0 commit comments

Comments
 (0)