-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdrools-popover.html
74 lines (61 loc) · 2.95 KB
/
drools-popover.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jBPM Suite</title>
<link href="css/kie-main.css" rel="stylesheet" media="screen, print">
<!-- debugging tool -->
<link rel="stylesheet" href="https://cdn.rawgit.com/srambach/classbxr/5456df40/css/classbxr.css">
<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!-- Bootstrap JS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.4/js/bootstrap.min.js"></script>
<!-- Bootstrap Select -->
<script src="https//:cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.12.2/js/bootstrap-select.min.js"></script>
<!-- For the graphs -->
<script src="https//:cdnjs.cloudflare.com/ajax/libs/c3/0.4.11/c3.min.js"></script>
<script src="https//:cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/patternfly/3.23.1/js/patternfly.min.js"></script>
</head>
<body>
<div style="margin: 1em; padding: 1em;">
<a href="#" class="" data-toggle="popover" data-html="true" title="Edit Decision" data-content="Put #DecisionForm in here" data-close="true">
Decision-1 (string)
</a>
</div>
<form id="#DecisionForm">
<label for="kieName">Name</label>
<input class="form-control pf-c-form-control" type="text" aria-label="Name text input" id="kieName" placeholder="Name" aria-placeholder="Name">
<br/>
<label for="kieDataType">Data Type</label>
<div class="pull-right">
<a href="#0"><!-- Links to the manage modal? -->
<span class="fa fa-gear"></span> Manage
</a>
</div>
<div class="btn-group bootstrap-select form-control pf-c-form-control">
<button class="dropdown-toggle btn btn-default" type="button" id="dropdownMenu1" data-toggle="dropdown">
<span class="pull-left">Select</span>
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
<li role="presentation"><input role="menuitem" class="form-control pf-c-form-control" type="text" aria-label="Data type text input" id="kieSelectTypeIn" placeholder="Data type" aria-placeholder="Data type"></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">any</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">boolean</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">date</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">applicant</a></li>
</ul>
</div>
</form>
<script>
// Initialize Popovers
$(document).ready(function() {
$('[data-toggle=popover]').popovers()
.on('hidden.bs.popover', function (e) {
$(e.target).data('bs.popover').inState.click = false;
});
});
</script>
</body>
</html>