-
Notifications
You must be signed in to change notification settings - Fork 0
/
Stuff.txt
260 lines (198 loc) · 8.32 KB
/
Stuff.txt
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<div class="alert alert-warning alert-dismissible">
<button type="button" class="close" data-dismiss="alert">×</button>
<strong>Warning!</strong> This alert box could indicate a warning that might need attention.
</div>
$('#alertPlaceHolder').append('<div class="alert alert-warning alert-dismissible"><button type="button" class="close" data-dismiss="alert">×</button><strong>Warning!</strong> Your claim will expire in two weeks</div>')
$OedStepOperations.Calculate();
==================================================================================================================================================================
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Claims tracker demo</title>
<link href="Content/bootstrap.css" rel="stylesheet" />
<script src="Scripts/jquery-3.0.0.js"></script>
<script src="Scripts/jquery.collapser.js"></script>
<script src="Scripts/bootstrap.js"></script>
<style>
/* advisory show more link style to similar button*/
.morelink {
display: block;
width: 125px;
height: 35px;
background: #4E9CAF;
padding-top: 8px;
margin-bottom: 10px;
text-align: center;
border-radius: 5px;
color: white;
font-weight: bold;
margin-top: 10px;
}
/*
* advisory show more link style to keep consistent color
* show-class and hide-class ensure links in read more
* do not appear like links in a button, instead these
* style display a link as a button.
*/
.show-class a {
color: white;
}
.show-class a:link {
color: white;
}
.show-class a:visited {
color: white;
}
.hide-class a {
color: white;
}
.hide-class a:link {
color: white;
}
.hide-class a:visited {
color: white;
}
.nextButton {
margin-left: -6px;
padding-right: 0 !important;
margin-right: 0 !important;
width: 100%;
}
.pagehead {
font-size: 2em;
font-weight: 500;
margin: auto;
text-align: center;
}
.center {
margin: auto;
text-align: center;
padding: 10px;
}
#confirmButton {
display: inline-block;
}
form {
text-align: center;
}
.btn-space {
margin-right: 25px;
}
.success {
width: 40%;
background-color: white !important;
/*font-weight: bold;*/
text-align: right;
}
.table-disable-hover.table tbody tr:hover td,
.table-disable-hover.table tbody tr:hover th {
background-color: inherit;
}
.table-disable-hover.table-striped tbody tr:nth-child(odd):hover td,
.table-disable-hover.table-striped tbody tr:nth-child(odd):hover th {
background-color: #f9f9f9;
}
table.table-bordered {
border: 2px solid black;
margin-bottom: 0px;
}
table.table-bordered>thead>tr>th {
border: 2px solid black;
}
table.table-bordered>tbody>tr>td {
border: 1px solid black;
label {
font-weight: normal !important;
}
.form-group {
margin-right: -1 !important;
padding-right: -1 !important;
margin-left: -8px !important;
}
.cancelBar {
height: 55px !important;
background: #0f506f;
text-align: center;
padding-top: 1.2em;
box-shadow: 0 2px 3px #323232;
margin-top: 6px;
font-size: 17px;
margin-left: 6px !important;
margin-right: 5px;
}
/*
Karen 3/12/2021 for determine issues only, remove for production
*/
.collapseCharacters {
color: red;
}
</style>
</head>
<body>
<div class="aNoticeText">
<p class="collapseCharacters">#1 Lorem <i>ipsum dolor</i> sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
<p class="collapseWords">#2 Lorem <strong>ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt</strong> ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
<p class="collapseLines">#3 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
<div class="<div class=" container">
<div class="row ml-4">
<div class="col">
<button type="button" class="btn btn-primary">Dummy</button>
</div>
</div>
</div>
<div class="<div class=" container">
<div class="aNoticeText">
</div>
</div>
</body>
<script>
$(document).ready(function () {
// Collapse by number of characters
$('.collapseCharacters').collapser({
mode: 'chars', truncate: 11 // Shows only 11 characters
});
// Collapse by number of words
$('.collapseWords').collapser({
mode: 'words', truncate: 20 // Shows only 20 words
});
// Collapse by number of lines
$('.collapseLines').collapser({
mode: 'lines', truncate: 2 // Shows only 2 lines
});
// Collapse the block element
$('.heading').collapser({
mode: 'block', blockTarget: 'next'
});
// Default options
$('myElement').collapser({
mode: 'words',
speed: 'slow',
truncate: 10,
ellipsis: ' ... ',
controlBtn: '',
showText: 'Show more',
hideText: 'Hide text',
showClass: 'show-class',
hideClass: 'hide-class',
atStart: 'hide',
blockTarget: 'next',
blockEffect: 'fade',
lockHide: false,
changeText: false,
beforeShow: null,
afterShow: null,
beforeHide: null,
afterHide: null
});
$('.aNoticeText').collapser({
mode: 'words',
truncate: 35,
controlBtn: 'morelink',
dynamic: true,
showText: 'Show more',
hideText: 'Hide text',
});
});
</script>
</html>