Produced by Araxis Merge on 9/25/2018 2:34:35 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
# | Location | File | Last Modified |
---|---|---|---|
1 | MHLTH_CLOZ_MOD _SRC.zip\MHLTH_CLOZ_MOD _SRC\Va.Gov.Nccc.Registry\Views\Contacts | Index.cshtml | Tue Aug 14 18:03:20 2018 UTC |
2 | MHLTH_CLOZ_MOD _SRC.zip\MHLTH_CLOZ_MOD _SRC\Va.Gov.Nccc.Registry\Views\Contacts | Index.cshtml | Tue Sep 25 15:36:50 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 5 | 534 |
Changed | 4 | 8 |
Inserted | 0 | 0 |
Removed | 0 | 0 |
Whitespace | |
---|---|
Character case | Differences in character case are significant |
Line endings | Differences in line endings (CR and LF characters) are ignored |
CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
1 | ||
2 | @using Va. Gov.Nccc.R egistry.Mo dels.Conta cts | |
3 | @using Va. Gov.Nccc.D ata.Common .RegistryP ermissions | |
4 | ||
5 | @model Con tactListVi ewModel | |
6 | ||
7 | @{ | |
8 | ViewBa g.Title = "Clozapine Registry - Contacts "; | |
9 | Layout = "~/View s/Shared/_ Layout.csh tml"; | |
10 | ||
11 | var wr iteDisable d = (Model .CurrentUs er.HasPerm ission(Reg istryPermi ssionValue .WriteCont acts)) ? " " : "disab led"; | |
12 | var ed itHidden = (Model.Cu rrentUser. HasPermiss ion(Regist ryPermissi onValue.Wr iteContact s)) ? "" : "hidden"; | |
13 | var de tailsHidde n = (Model .CurrentUs er.HasPerm ission(Reg istryPermi ssionValue .WriteCont acts)) ? " hidden" : ""; | |
14 | var de leteDisabl ed = (Mode l.CurrentU ser.HasPer mission(Re gistryPerm issionValu e.DeleteCo ntacts)) ? "" : "dis abled"; | |
15 | } | |
16 | ||
17 | <div class ="row"> | |
18 | <div c lass="col- md-12 col- lg-12"> | |
19 | <h 1 class="h 3 db-page- header">Co ntacts</h1 > | |
20 | ||
21 | <d iv class=" row"> | |
22 | <div cla ss="col-lg -6 col-md- 6 col-lg-o ffset-3 co l-md-offse t-3"> | |
23 | <div class="pa nel"> | |
24 | <div class ="panel-bo dy"> | |
25 | @using (Html.Beg inForm("In dex", "Con tacts", Fo rmMethod.G et, new { @class = " form-inlin e" })) | |
26 | { | |
27 | @H tml.LabelF or(m => m. SearchLast , new { @c lass = "sr -only" }) | |
28 | @H tml.TextBo xFor(m => m.SearchLa st, new { @class = " form-contr ol", @plac eholder = "Enter Las t Name" }) | |
29 | @H tml.LabelF or(m => m. SearchStat ion, new { @class = "sr-only" }) | |
30 | @H tml.TextBo xFor(m => m.SearchSt ation, new { @class = "form-co ntrol", @p laceholder = "Enter Station Nu mber", @st yle = "mar gin-left: 10px; marg in-right: 5px" }) | |
31 | <b utton type ="submit" title="Cli ck to sear ch" aria-l abel="Clic k to searc h" class=" btn btn-su ccess" dat a-toggle=" tooltip" o nclick=""> <span clas s="fa fa-s earch"></s pan></butt on> | |
32 | } | |
33 | </div> | |
34 | </di v> | |
35 | </div> | |
36 | </ div> | |
37 | ||
38 | <d iv class=" row"> | |
39 | <div cla ss="col-md -12 col-lg -12"> | |
40 | <tab le class=" table tabl e-striped table-db"> | |
41 | <thead> | |
42 | <tr> | |
43 | <t h> | |
44 | Facility | |
45 | </ th> | |
46 | <t h> | |
47 | Name | |
48 | </ th> | |
49 | <t h> | |
50 | Type | |
51 | </ th> | |
52 | <t h> | |
53 | Phone Nu mbers | |
54 | </ th> | |
55 | <t h> | |
56 | ||
57 | </ th> | |
58 | <t h></th> | |
59 | </tr> | |
60 | </thead> | |
61 | <tbody> | |
62 | <tr> | |
63 | <t d>Durango Outpost</t d> | |
64 | <t d>Good, Pe rson</td> | |
65 | <t d>CTT Lead er</td> | |
66 | <t d>office:& nbsp;  ;(877) 555 -1212</td> | |
67 | <t d> PII </td> | |
68 | <t d> | |
69 | <div cla ss="btn-gr oup pull-r ight" role ="group" a ria-label= "User acti ons" style ="width: 6 6px"> | |
70 | <but ton type=" button" cl ass="btn b tn-sm btn- default @e ditHidden" data-togg le="toolti p" title=" Edit the M edication" aria-labe l="Edit th e Medicati on" onclic k="locatio n.href='@U rl.Action( "Edit", ne w { id = " ??" })'"> | |
71 | <span clas s="fa fa-p encil"></s pan> | |
72 | </bu tton> | |
73 | <but ton type=" button" cl ass="btn b tn-sm btn- default @d etailsHidd en" data-t oggle="too ltip" titl e="View Me dication d etails" ar ia-label=" View Medic ation deta ils" oncli ck="locati on.href='@ Url.Action ("Details" , new { id = "??" }) '"> | |
74 | <span clas s="fa fa-e llipsis-h" ></span> | |
75 | </bu tton> | |
76 | <but ton type=" button" cl ass="btn b tn-sm btn- default de lete-btn" @deleteDis abled data -toggle="t ooltip" ti tle="Delet e the Medi cation" ar ia-label=" Delete the Medicatio n" data-id ="??"> | |
77 | <span clas s="fa fa-t imes"></sp an> | |
78 | </bu tton> | |
79 | </div> | |
80 | </ td> | |
81 | </tr> | |
82 | <tr> | |
83 | <t d>Durango Outpost</t d> | |
84 | <t d>Staff, T est</td> | |
85 | <t d>IRMS</td > | |
86 | <t d>office:& nbsp;  ;(822) 555 -3456<br / >mobile:&n bsp; (765) 432- 1098</td> | |
87 | <t d> PII </td> | |
88 | <t d> | |
89 | <div cla ss="btn-gr oup pull-r ight" role ="group" a ria-label= "User acti ons" style ="width: 6 6px"> | |
90 | <but ton type=" button" cl ass="btn b tn-sm btn- default @e ditHidden" data-togg le="toolti p" title=" Edit the M edication" aria-labe l="Edit th e Medicati on" onclic k="locatio n.href='@U rl.Action( "Edit", ne w { id = " ??" })'"> | |
91 | <span clas s="fa fa-p encil"></s pan> | |
92 | </bu tton> | |
93 | <but ton type=" button" cl ass="btn b tn-sm btn- default @d etailsHidd en" data-t oggle="too ltip" titl e="View Me dication d etails" ar ia-label=" View Medic ation deta ils" oncli ck="locati on.href='@ Url.Action ("Details" , new { id = "??" }) '"> | |
94 | <span clas s="fa fa-e llipsis-h" ></span> | |
95 | </bu tton> | |
96 | <but ton type=" button" cl ass="btn b tn-sm btn- default de lete-btn" @deleteDis abled data -toggle="t ooltip" ti tle="Delet e the Medi cation" ar ia-label=" Delete the Medicatio n" data-id ="??"> | |
97 | <span clas s="fa fa-t imes"></sp an> | |
98 | </bu tton> | |
99 | </div> | |
100 | </ td> | |
101 | </tr> | |
102 | <tr> | |
103 | <t d>Rocky Mo untains VA </td> | |
104 | <t d>Some, On e</td> | |
105 | <t d>RN</td> | |
106 | <t d>office:& nbsp;  ;(877) 555 -1212</td> | |
107 | <td> PII </td> | |
108 | <t d> | |
109 | <div cla ss="btn-gr oup pull-r ight" role ="group" a ria-label= "User acti ons" style ="width: 6 6px"> | |
110 | <but ton type=" button" cl ass="btn b tn-sm btn- default @e ditHidden" data-togg le="toolti p" title=" Edit the M edication" aria-labe l="Edit th e Medicati on" onclic k="locatio n.href='@U rl.Action( "Edit", ne w { id = " ??" })'"> | |
111 | <span clas s="fa fa-p encil"></s pan> | |
112 | </bu tton> | |
113 | <but ton type=" button" cl ass="btn b tn-sm btn- default @d etailsHidd en" data-t oggle="too ltip" titl e="View Me dication d etails" ar ia-label=" View Medic ation deta ils" oncli ck="locati on.href='@ Url.Action ("Details" , new { id = "??" }) '"> | |
114 | <span clas s="fa fa-e llipsis-h" ></span> | |
115 | </bu tton> | |
116 | <but ton type=" button" cl ass="btn b tn-sm btn- default de lete-btn" @deleteDis abled data -toggle="t ooltip" ti tle="Delet e the Medi cation" ar ia-label=" Delete the Medicatio n" data-id ="??"> | |
117 | <span clas s="fa fa-t imes"></sp an> | |
118 | </bu tton> | |
119 | </div> | |
120 | </ td> | |
121 | </tr> | |
122 | <tr> | |
123 | <t d>Denver P harmacy</t d> | |
124 | <t d>One, Two </td> | |
125 | <t d>Pharm D< /td> | |
126 | <t d>office:& nbsp;  ;(822) 555 -2222</td> | |
127 | <td> PII </td> | |
128 | <t d> | |
129 | <div cla ss="btn-gr oup pull-r ight" role ="group" a ria-label= "User acti ons" style ="width: 6 6px"> | |
130 | <but ton type=" button" cl ass="btn b tn-sm btn- default @e ditHidden" data-togg le="toolti p" title=" Edit the M edication" aria-labe l="Edit th e Medicati on" onclic k="locatio n.href='@U rl.Action( "Edit", ne w { id = " ??" })'"> | |
131 | <span clas s="fa fa-p encil"></s pan> | |
132 | </bu tton> | |
133 | <but ton type=" button" cl ass="btn b tn-sm btn- default @d etailsHidd en" data-t oggle="too ltip" titl e="View Me dication d etails" ar ia-label=" View Medic ation deta ils" oncli ck="locati on.href='@ Url.Action ("Details" , new { id = "??" }) '"> | |
134 | <span clas s="fa fa-e llipsis-h" ></span> | |
135 | </bu tton> | |
136 | <but ton type=" button" cl ass="btn b tn-sm btn- default de lete-btn" @deleteDis abled data -toggle="t ooltip" ti tle="Delet e the Medi cation" ar ia-label=" Delete the Medicatio n" data-id ="??"> | |
137 | <span clas s="fa fa-t imes"></sp an> | |
138 | </bu tton> | |
139 | </div> | |
140 | </ td> | |
141 | </tr> | |
142 | </tbody> | |
143 | @*@foreach (var item in Model. Medication s) | |
144 | { | |
145 | <tr> | |
146 | <t d> | |
147 | @Html.Di splayFor(m odelItem = > item.Lab elerName) | |
148 | </ td> | |
149 | <t d> | |
150 | @Html.Di splayFor(m odelItem = > item.Ndc PackageCod e) | |
151 | </ td> | |
152 | <t d> | |
153 | @Html.Di splayFor(m odelItem = > item.Pro prietaryNa me) | |
154 | </ td> | |
155 | <t d> | |
156 | @Html.Di splayFor(m odelItem = > item.Str ength) | |
157 | </ td> | |
158 | <t d> | |
159 | @Html.Di splayFor(m odelItem = > item.Dos ageForm) | |
160 | </ td> | |
161 | @i f (item.Ac tive) | |
162 | { | |
163 | <td><spa n class="f a fa-check text-succ ess"></spa n></td> | |
164 | } | |
165 | el se | |
166 | { | |
167 | <td></td > | |
168 | } | |
169 | <t d> | |
170 | <div cla ss="btn-gr oup pull-r ight" role ="group" a ria-label= "User acti ons" style ="width: 6 6px"> | |
171 | @if (item.Impo rted) | |
172 | { | |
173 | editHidden = "hidden "; | |
174 | deleteDisa bled = "di sabled"; | |
175 | if (!strin g.IsNullOr WhiteSpace (detailsHi dden)) | |
176 | { | |
177 | detail sHidden = ""; | |
178 | } | |
179 | } | |
180 | <but ton type=" button" cl ass="btn b tn-sm btn- default @e ditHidden" data-togg le="toolti p" title=" Edit the M edication" aria-labe l="Edit th e Medicati on" onclic k="locatio n.href='@U rl.Action( "Edit", ne w { id = i tem.Id })' "> | |
181 | <span clas s="fa fa-p encil"></s pan> | |
182 | </bu tton> | |
183 | <but ton type=" button" cl ass="btn b tn-sm btn- default @d etailsHidd en" data-t oggle="too ltip" titl e="View Me dication d etails" ar ia-label=" View Medic ation deta ils" oncli ck="locati on.href='@ Url.Action ("Details" , new { id = item.Id })'"> | |
184 | <span clas s="fa fa-e llipsis-h" ></span> | |
185 | </bu tton> | |
186 | <but ton type=" button" cl ass="btn b tn-sm btn- default de lete-btn" @deleteDis abled data -toggle="t ooltip" ti tle="Delet e the Medi cation" ar ia-label=" Delete the Medicatio n" data-id ="@item.Id "> | |
187 | <span clas s="fa fa-t imes"></sp an> | |
188 | </bu tton> | |
189 | </div> | |
190 | </ td> | |
191 | </tr> | |
192 | } | |
193 | @if (Model .Medicatio ns.Count = = 0) | |
194 | { | |
195 | <tr><t d colspan= "5" class= "centered- txt">(No M edications )</td></tr > | |
196 | }*@ | |
197 | </ta ble> | |
198 | </div> | |
199 | </ div> | |
200 | <d iv class=" pull-left" > | |
201 | @{Html.R enderParti al("~/View s/Shared/_ paging.csh tml", Mode l.Paging); } | |
202 | </ div> | |
203 | <d iv class=" pull-right "> | |
204 | <button type="butt on" @write Disabled c lass="btn btn-primar y" style=" margin: 20 px 0px 20p x 0px" onc lick="loca tion.href= '@Url.Acti on("Add")' "><span cl ass="glyph icon glyph icon-plus" > Add </span></b utton> | |
205 | </ div> | |
206 | </div> | |
207 | </div> | |
208 | ||
209 | <!-- Modal --> | |
210 | <div class ="modal fa de" id="de lete-modal " tabindex ="-1" role ="dialog" aria-label ledby="del ete-modalL abel"> | |
211 | <div c lass="moda l-dialog m odal-sm" r ole="docum ent"> | |
212 | <d iv class=" modal-cont ent"> | |
213 | <div cla ss="modal- header"> | |
214 | <but ton type=" button" cl ass="close " data-dis miss="moda l" aria-la bel="Close "><span ar ia-hidden= "true">&ti mes;</span ></button> | |
215 | <h4 class="mod al-title" id="delete -modalLabe l"><span c lass="fa f a-trash-o" ></span>&n bsp; Confirmati on</h4> | |
216 | </div> | |
217 | <div cla ss="modal- body"> | |
218 | Are you sure t hat you wo uld like t o delete t his Contac t? | |
219 | </div> | |
220 | <div cla ss="modal- footer"> | |
221 | ||
222 | @usi ng (@Html. BeginForm( "Delete", "Contacts" , FormMeth od.Post)) | |
223 | { | |
224 | @Html.Anti ForgeryTok en() | |
225 | ||
226 | @Html.Hidd enFor(mode l => model .DeleteId) | |
227 | @Html.Hidd enFor(mode l => model .SearchLas t) | |
228 | @Html.Hidd enFor(mode l => model .SearchSta tion) | |
229 | <button ty pe="button " class="b tn btn-def ault" data -dismiss=" modal">No< /button> | |
230 | <button ty pe="submit " class="b tn btn-dan ger">Yes</ button> | |
231 | } | |
232 | </div> | |
233 | </ div> | |
234 | </div> | |
235 | </div> | |
236 | ||
237 | @section N avigation | |
238 | { | |
239 | @{ | |
240 | Ht ml.RenderP artial("~/ Views/Shar ed/_navhom e.cshtml", Model.Cur rentUser); | |
241 | } | |
242 | ||
243 | } | |
244 | ||
245 | @section S cripts | |
246 | { | |
247 | <scrip t> | |
248 | $( document). ready(func tion () { | |
249 | $('#nav- contacts') .addClass( 'active'). siblings() .removeCla ss('active '); | |
250 | }) ; | |
251 | ||
252 | $( function ( ) { | |
253 | $('[data -toggle="t ooltip"]') .tooltip({ delay: { "show": 10 00, "hide" : 100 }, c ontainer: 'body' }); | |
254 | }) | |
255 | ||
256 | $( ".delete-b tn").click (function () { | |
257 | var id = $(this).a ttr('data- id'); | |
258 | $('#Dele teId').val (id); | |
259 | $('#dele te-modal') .modal(); | |
260 | }) ; | |
261 | ||
262 | $( '#delete-m odal').on( 'hidden.bs .modal', f unction (e ) { | |
263 | // do so mething... | |
264 | console. log('modal hidden') | |
265 | }) | |
266 | ||
267 | </scri pt> | |
268 | } | |
269 | ||
270 | ||
271 |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.