You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand all lines: server/documents/hotfix.html.eco
+52-79Lines changed: 52 additions & 79 deletions
Original file line number
Diff line number
Diff line change
@@ -6,95 +6,68 @@ standalone : true
6
6
title : 'Test Page'
7
7
type : 'Library'
8
8
---
9
-
<div class="ui container">
10
-
<form class="ui form">
11
-
<div class="field">
12
-
<label>Empty</label>
13
-
<input name="empty" type="text">
9
+
<button id='btn1'>
10
+
show modal 1
11
+
</button>
12
+
<button id='btn2'>
13
+
show modal 2
14
+
</button>
15
+
<div class="ui modal" id='modal1'>
16
+
<i class="close icon"></i>
17
+
<div class="header">
18
+
Profile Picture
14
19
</div>
15
-
<div class="field">
16
-
<label>Dropdown</label>
17
-
<select class="ui dropdown" name="dropdown">
18
-
<option value="">Select</option>
19
-
<option value="male">Choice 1</option>
20
-
<option value="female">Choice 2</option>
21
-
</select>
20
+
<div class="image content">
21
+
<div class="ui medium image">
22
+
<img src="/images/avatar/large/chris.jpg">
23
+
</div>
24
+
<div class="description">
25
+
<div class="ui header">We've auto-chosen a profile image for you.</div>
26
+
<p>We've grabbed the following image from the <a href="https://www.gravatar.com" target="_blank">gravatar</a> image associated with your registered e-mail address.</p>
27
+
<p>Is it okay to use this photo?</p>
28
+
</div>
22
29
</div>
23
-
<div class="inline field">
24
-
<div class="ui checkbox">
25
-
<input name="checkbox" type="checkbox">
26
-
<label>Checkbox</label>
30
+
<div class="actions">
31
+
<div class="ui black deny button">
32
+
Nope
27
33
</div>
34
+
<div class="ui positive right labeled icon button">
35
+
Yep, that's me
36
+
<i class="checkmark icon"></i>
37
+
</div>
38
+
</div>
39
+
</div>
40
+
<div class="ui modal" id='modal2'>
41
+
<i class="close icon"></i>
42
+
<div class="header">
43
+
Profile Picture
28
44
</div>
29
-
<div class="inline field">
30
-
<div class="ui radio checkbox">
31
-
<input name="radio" type="radio">
32
-
<label>Radio</label>
45
+
<div class="image content">
46
+
<div class="ui medium image">
47
+
<img src="/images/avatar/large/chris.jpg">
48
+
</div>
49
+
<div class="description">
50
+
<div class="ui header">We've auto-chosen a profile image for you.</div>
51
+
<p>We've grabbed the following image from the <a href="https://www.gravatar.com" target="_blank">gravatar</a> image associated with your registered e-mail address.</p>
52
+
<p>Is it okay to use this photo?</p>
33
53
</div>
34
-
<div class="ui radio checkbox">
35
-
<input name="radio" type="radio">
36
-
<label>Radio</label>
54
+
</div>
55
+
<div class="actions">
56
+
<div class="ui black deny button">
57
+
Nope
37
58
</div>
38
-
<div class="ui radio checkbox">
39
-
<input name="radio" type="radio">
40
-
<label>Radio</label>
59
+
<div class="ui positive right labeled icon button">
60
+
Yep, that's me
61
+
<i class="checkmark icon"></i>
41
62
</div>
42
63
</div>
43
-
<div class="ui submit button">Submit</div>
44
-
<div class="ui error message"></div>
45
-
<p style="color:red;">The radio field is validated, but is not included in onFailure field parameter values.</p>
<p>You may prefer to have the content of your modal scroll itself, you can do this by using the <code>scrolling content</code> variation.</p>
542
+
<div class="code" data-demo="true">
543
+
$('.longer.modal')
544
+
.modal('show')
545
+
;
546
+
</div>
547
+
</div>
548
+
484
549
<div class="no example">
485
550
<h4 class="ui header">Multiple Modals</h4>
486
551
<p>A modal can open a second modal. If you use <code>allowMultiple: true</code> parameter the second modal will be opened on top of the first modal. Otherwise the modal will be closed before the second modal is opened.</p>
0 commit comments