Update: FontAwesome Pass 2
Removal of bitmap icons, replacing with vector based icons from FontAwesome. Includes other UI style changes.
This commit is contained in:
@@ -75,8 +75,7 @@
|
||||
{
|
||||
<div id="dialogRemoveComponent" title="Remove this Component?">
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>
|
||||
Are you sure?
|
||||
<i class="fa fa-exclamation-triangle fa-lg"></i> Are you sure?
|
||||
</p>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -319,13 +319,11 @@ WriteLiteral(" id=\"dialogRemoveComponent\"");
|
||||
|
||||
WriteLiteral(" title=\"Remove this Component?\"");
|
||||
|
||||
WriteLiteral(">\r\n <p>\r\n <span");
|
||||
WriteLiteral(">\r\n <p>\r\n <i");
|
||||
|
||||
WriteLiteral(" class=\"ui-icon ui-icon-alert\"");
|
||||
WriteLiteral(" class=\"fa fa-exclamation-triangle fa-lg\"");
|
||||
|
||||
WriteLiteral(" style=\"float: left; margin: 0 7px 20px 0;\"");
|
||||
|
||||
WriteLiteral("></span>\r\n Are you sure?\r\n </p>\r\n </div>\r\n");
|
||||
WriteLiteral("></i> Are you sure?\r\n </p>\r\n </div>\r\n");
|
||||
|
||||
WriteLiteral(" <script");
|
||||
|
||||
@@ -355,7 +353,7 @@ WriteLiteral(">\r\n $(function () {\r\n var $jobComponents = $
|
||||
" $.ajax({\r\n url: \'");
|
||||
|
||||
|
||||
#line 120 "..\..\Views\Job\JobParts\Components.cshtml"
|
||||
#line 119 "..\..\Views\Job\JobParts\Components.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.ComponentRemove()));
|
||||
|
||||
|
||||
@@ -396,7 +394,7 @@ WriteLiteral("\',\r\n dataType: \'json\',\r\n
|
||||
" url: \'");
|
||||
|
||||
|
||||
#line 177 "..\..\Views\Job\JobParts\Components.cshtml"
|
||||
#line 176 "..\..\Views\Job\JobParts\Components.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.ComponentUpdate()));
|
||||
|
||||
|
||||
@@ -429,7 +427,7 @@ WriteLiteral(@"',
|
||||
url: '");
|
||||
|
||||
|
||||
#line 201 "..\..\Views\Job\JobParts\Components.cshtml"
|
||||
#line 200 "..\..\Views\Job\JobParts\Components.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.ComponentAdd(Model.Job.Id, null, null)));
|
||||
|
||||
|
||||
@@ -462,7 +460,7 @@ WriteLiteral(@"',
|
||||
");
|
||||
|
||||
|
||||
#line 225 "..\..\Views\Job\JobParts\Components.cshtml"
|
||||
#line 224 "..\..\Views\Job\JobParts\Components.cshtml"
|
||||
}
|
||||
|
||||
#line default
|
||||
|
||||
@@ -77,8 +77,7 @@
|
||||
{
|
||||
<div id="dialogRemoveLog" class="hiddenDialog" title="Remove this Comment?">
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>
|
||||
Are you sure?
|
||||
<i class="fa fa-exclamation-triangle fa-lg"></i> Are you sure?
|
||||
</p>
|
||||
</div>
|
||||
}
|
||||
@@ -93,8 +92,7 @@
|
||||
{
|
||||
<div id="dialogRemoveAttachment" class="hiddenDialog" title="Remove this Attachment?">
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>
|
||||
Are you sure?
|
||||
<i class="fa fa-exclamation-triangle fa-lg"></i> Are you sure?
|
||||
</p>
|
||||
</div>
|
||||
}
|
||||
|
||||
@@ -581,23 +581,21 @@ WriteLiteral(" class=\"hiddenDialog\"");
|
||||
|
||||
WriteLiteral(" title=\"Remove this Comment?\"");
|
||||
|
||||
WriteLiteral(">\r\n <p>\r\n <span");
|
||||
WriteLiteral(">\r\n <p>\r\n <i");
|
||||
|
||||
WriteLiteral(" class=\"ui-icon ui-icon-alert\"");
|
||||
WriteLiteral(" class=\"fa fa-exclamation-triangle fa-lg\"");
|
||||
|
||||
WriteLiteral(" style=\"float: left; margin: 0 7px 20px 0;\"");
|
||||
|
||||
WriteLiteral("></span>\r\n Are you sure?\r\n </p>\r\n </div>\r\n");
|
||||
WriteLiteral("></i> Are you sure?\r\n </p>\r\n </div>\r\n");
|
||||
|
||||
|
||||
#line 84 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 83 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 85 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 84 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canShowAttachments && canAddAttachments)
|
||||
{
|
||||
|
||||
@@ -619,14 +617,14 @@ WriteLiteral(" id=\"silverlightHostUploadAttachment\"");
|
||||
WriteLiteral(">\r\n </div>\r\n </div>\r\n");
|
||||
|
||||
|
||||
#line 91 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 90 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 92 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 91 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canShowAttachments && (canRemoveAnyAttachments || canRemoveOwnAttachments))
|
||||
{
|
||||
|
||||
@@ -641,23 +639,21 @@ WriteLiteral(" class=\"hiddenDialog\"");
|
||||
|
||||
WriteLiteral(" title=\"Remove this Attachment?\"");
|
||||
|
||||
WriteLiteral(">\r\n <p>\r\n <span");
|
||||
WriteLiteral(">\r\n <p>\r\n <i");
|
||||
|
||||
WriteLiteral(" class=\"ui-icon ui-icon-alert\"");
|
||||
WriteLiteral(" class=\"fa fa-exclamation-triangle fa-lg\"");
|
||||
|
||||
WriteLiteral(" style=\"float: left; margin: 0 7px 20px 0;\"");
|
||||
|
||||
WriteLiteral("></span>\r\n Are you sure?\r\n </p>\r\n </div>\r\n");
|
||||
WriteLiteral("></i> Are you sure?\r\n </p>\r\n </div>\r\n");
|
||||
|
||||
|
||||
#line 100 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 98 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 101 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 99 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canShowLogs)
|
||||
{
|
||||
|
||||
@@ -669,7 +665,7 @@ WriteLiteral(" <script>\r\n if (!document.DiscoFunctions) {\r\n
|
||||
"arseInt(\'");
|
||||
|
||||
|
||||
#line 109 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 107 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Model.Job.Id);
|
||||
|
||||
|
||||
@@ -694,13 +690,13 @@ WriteLiteral(@"');
|
||||
");
|
||||
|
||||
|
||||
#line 125 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 123 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 125 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 123 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canAddLogs)
|
||||
{
|
||||
|
||||
@@ -727,7 +723,7 @@ WriteLiteral(@"
|
||||
url: '");
|
||||
|
||||
|
||||
#line 144 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 142 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.CommentPost(Model.Job.Id, null)));
|
||||
|
||||
|
||||
@@ -758,7 +754,7 @@ WriteLiteral(@"',
|
||||
");
|
||||
|
||||
|
||||
#line 166 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 164 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -767,7 +763,7 @@ WriteLiteral(@"',
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 167 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 165 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canRemoveAnyLogs || canRemoveOwnLogs)
|
||||
{
|
||||
|
||||
@@ -801,7 +797,7 @@ WriteLiteral(@"
|
||||
url: '");
|
||||
|
||||
|
||||
#line 193 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 191 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.CommentRemove()));
|
||||
|
||||
|
||||
@@ -839,7 +835,7 @@ WriteLiteral(@"',
|
||||
");
|
||||
|
||||
|
||||
#line 222 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 220 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -849,7 +845,7 @@ WriteLiteral("\r\n function loadLiveComment(key) {\r\n
|
||||
"obId) {\r\n $.ajax({\r\n url: \'");
|
||||
|
||||
|
||||
#line 227 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 225 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.Comment()));
|
||||
|
||||
|
||||
@@ -860,13 +856,13 @@ WriteLiteral("\',\r\n dataType: \'json\',\r\n
|
||||
" if (d && d.JobId == jobId) {\r\n");
|
||||
|
||||
|
||||
#line 232 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 230 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 232 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 230 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canRemoveAnyLogs)
|
||||
{
|
||||
|
||||
@@ -875,7 +871,7 @@ WriteLiteral("\',\r\n dataType: \'json\',\r\n
|
||||
WriteLiteral("addComment(d, false, true);");
|
||||
|
||||
|
||||
#line 233 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 231 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
else if (canRemoveOwnLogs)
|
||||
{
|
||||
@@ -885,7 +881,7 @@ WriteLiteral("addComment(d, false, true);");
|
||||
WriteLiteral("addComment(d, false, (d.AuthorId === \'");
|
||||
|
||||
|
||||
#line 235 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 233 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(CurrentUser.Id);
|
||||
|
||||
|
||||
@@ -894,7 +890,7 @@ WriteLiteral("addComment(d, false, (d.AuthorId === \'");
|
||||
WriteLiteral("\'));");
|
||||
|
||||
|
||||
#line 235 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 233 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -904,7 +900,7 @@ WriteLiteral("\'));");
|
||||
WriteLiteral("addComment(d, false, false);");
|
||||
|
||||
|
||||
#line 237 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 235 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -941,7 +937,7 @@ WriteLiteral(@"
|
||||
commentHtml = commentHtml.replace(/\#(\d+)/g, '<a href=""");
|
||||
|
||||
|
||||
#line 266 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 264 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Action(MVC.Job.Show(null)));
|
||||
|
||||
|
||||
@@ -969,14 +965,14 @@ WriteLiteral(@"?id=$1"">#$1</a>');
|
||||
");
|
||||
|
||||
|
||||
#line 285 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 283 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 286 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 284 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canShowAttachments)
|
||||
{
|
||||
|
||||
@@ -997,7 +993,7 @@ WriteLiteral(@" <script>
|
||||
var jobId = parseInt('");
|
||||
|
||||
|
||||
#line 299 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 297 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Model.Job.Id);
|
||||
|
||||
|
||||
@@ -1008,13 +1004,13 @@ WriteLiteral("\');\r\n\r\n //#region Attachments\r\n var $
|
||||
"tput\');\r\n\r\n");
|
||||
|
||||
|
||||
#line 305 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 303 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 305 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 303 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canAddAttachments)
|
||||
{
|
||||
|
||||
@@ -1045,7 +1041,7 @@ WriteLiteral(@"
|
||||
'");
|
||||
|
||||
|
||||
#line 328 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 326 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Links.ClientBin.Disco_Silverlight_AttachmentUpload_xap);
|
||||
|
||||
|
||||
@@ -1066,7 +1062,7 @@ WriteLiteral(@"',
|
||||
'UploadUrl=");
|
||||
|
||||
|
||||
#line 340 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 338 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.AttachmentUpload(Model.Job.Id, null)));
|
||||
|
||||
|
||||
@@ -1101,7 +1097,7 @@ WriteLiteral(@"');
|
||||
");
|
||||
|
||||
|
||||
#line 366 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 364 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -1110,13 +1106,13 @@ WriteLiteral(@"');
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
|
||||
#line 368 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 366 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 368 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 366 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canRemoveAnyAttachments || canRemoveOwnAttachments)
|
||||
{
|
||||
|
||||
@@ -1151,7 +1147,7 @@ WriteLiteral(@"
|
||||
url: '");
|
||||
|
||||
|
||||
#line 395 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 393 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.AttachmentRemove()));
|
||||
|
||||
|
||||
@@ -1179,7 +1175,7 @@ WriteLiteral("\',\r\n dataType: \'json\',\r\n
|
||||
" }\r\n\r\n //#endregion\r\n\r\n ");
|
||||
|
||||
|
||||
#line 428 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 426 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -1190,7 +1186,7 @@ WriteLiteral("\r\n function addAttachment(key, quick) {\r\n\r\n
|
||||
" $.ajax({\r\n url: \'");
|
||||
|
||||
|
||||
#line 436 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 434 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.Attachment()));
|
||||
|
||||
|
||||
@@ -1202,13 +1198,13 @@ WriteLiteral("\',\r\n dataType: \'json\',\r\n
|
||||
"");
|
||||
|
||||
|
||||
#line 442 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 440 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 442 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 440 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canRemoveAnyAttachments)
|
||||
{
|
||||
|
||||
@@ -1222,7 +1218,7 @@ WriteLiteral("buildAttachment(a, true, quick);");
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
|
||||
#line 445 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 443 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
else if (canRemoveOwnAttachments)
|
||||
{
|
||||
@@ -1235,7 +1231,7 @@ WriteLiteral(" ");
|
||||
WriteLiteral("buildAttachment(a, (a.AuthorId === \'");
|
||||
|
||||
|
||||
#line 448 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 446 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(CurrentUser.Id);
|
||||
|
||||
|
||||
@@ -1246,7 +1242,7 @@ WriteLiteral("\'), quick);");
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
|
||||
#line 449 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 447 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1261,7 +1257,7 @@ WriteLiteral("buildAttachment(a, false, quick);");
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
|
||||
#line 453 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 451 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -1289,7 +1285,7 @@ WriteLiteral(@" } else {
|
||||
e.attr('data-attachmentid', a.Id).attr('data-mimetype', a.MimeType).attr('href', '");
|
||||
|
||||
|
||||
#line 473 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 471 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.AttachmentDownload()));
|
||||
|
||||
|
||||
@@ -1298,7 +1294,7 @@ WriteLiteral(@" } else {
|
||||
WriteLiteral("/\' + a.Id);\r\n e.find(\'.icon img\').attr(\'src\', \'");
|
||||
|
||||
|
||||
#line 474 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 472 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Action(MVC.API.Job.AttachmentThumbnail()));
|
||||
|
||||
|
||||
@@ -1331,14 +1327,14 @@ WriteLiteral("/\' + a.Id);\r\n e.find(\'.comments\').text(a.C
|
||||
" </script>\r\n");
|
||||
|
||||
|
||||
#line 520 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 518 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 521 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 519 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
if (canShowLogs && canShowAttachments)
|
||||
{
|
||||
|
||||
@@ -1348,7 +1344,7 @@ WriteLiteral("/\' + a.Id);\r\n e.find(\'.comments\').text(a.C
|
||||
WriteLiteral(" <script>\r\n $(function () {\r\n var jobId = parseInt(\'");
|
||||
|
||||
|
||||
#line 525 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 523 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Model.Job.Id);
|
||||
|
||||
|
||||
@@ -1377,7 +1373,7 @@ WriteLiteral("\');\r\n\r\n //#region LiveEvents\r\n functi
|
||||
" var liveMessagesConnection = $.connection(\'");
|
||||
|
||||
|
||||
#line 558 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 556 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Content("~/API/Repository/Notifications"));
|
||||
|
||||
|
||||
@@ -1396,7 +1392,7 @@ WriteLiteral(@"', { addToGroups: 'JobLog,JobAttachment' })
|
||||
");
|
||||
|
||||
|
||||
#line 568 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 566 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
else if (canShowLogs)
|
||||
{
|
||||
@@ -1407,7 +1403,7 @@ else if (canShowLogs)
|
||||
WriteLiteral(" <script>\r\n $(function () {\r\n var jobId = parseInt(\'");
|
||||
|
||||
|
||||
#line 573 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 571 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Model.Job.Id);
|
||||
|
||||
|
||||
@@ -1435,7 +1431,7 @@ WriteLiteral(@"');
|
||||
var liveMessagesConnection = $.connection('");
|
||||
|
||||
|
||||
#line 592 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 590 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Content("~/API/Repository/Notifications"));
|
||||
|
||||
|
||||
@@ -1454,7 +1450,7 @@ WriteLiteral(@"', { addToGroups: 'JobLog' })
|
||||
");
|
||||
|
||||
|
||||
#line 602 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 600 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
else if (canShowAttachments)
|
||||
{
|
||||
@@ -1465,7 +1461,7 @@ else if (canShowAttachments)
|
||||
WriteLiteral(" <script>\r\n $(function () {\r\n var jobId = parseInt(\'");
|
||||
|
||||
|
||||
#line 607 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 605 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Model.Job.Id);
|
||||
|
||||
|
||||
@@ -1491,7 +1487,7 @@ WriteLiteral(@"');
|
||||
var liveMessagesConnection = $.connection('");
|
||||
|
||||
|
||||
#line 624 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 622 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
Write(Url.Content("~/API/Repository/Notifications"));
|
||||
|
||||
|
||||
@@ -1510,7 +1506,7 @@ WriteLiteral(@"', { addToGroups: 'JobAttachment' })
|
||||
");
|
||||
|
||||
|
||||
#line 634 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
#line 632 "..\..\Views\Job\JobParts\Resources.cshtml"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -118,12 +118,13 @@
|
||||
</tr>
|
||||
@if (Authorization.Has(Claims.Job.Properties.WarrantyProperties.ProviderDetails))
|
||||
{
|
||||
Html.BundleDeferred("~/ClientScripts/Modules/Disco-AjaxHelperIcons");
|
||||
<tr id="jobWarrantyProviderDetailContainer" style="display: none">
|
||||
<th style="width: 200px;">Provider Details
|
||||
</th>
|
||||
<td>
|
||||
<div id="jobWarrantyProviderDetailLoading">
|
||||
<span class="ajaxHelperIcon ajaxLoading" title="Loading..."></span>Loading...
|
||||
<span class="ajaxLoading" title="Loading..."></span>Loading...
|
||||
</div>
|
||||
<div id="jobWarrantyProviderDetailHost" class="clearfix" style="display: none">
|
||||
</div>
|
||||
|
||||
@@ -515,6 +515,7 @@ WriteLiteral(" </td>\r\n </tr>\r\n");
|
||||
#line 119 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
if (Authorization.Has(Claims.Job.Properties.WarrantyProperties.ProviderDetails))
|
||||
{
|
||||
Html.BundleDeferred("~/ClientScripts/Modules/Disco-AjaxHelperIcons");
|
||||
|
||||
|
||||
#line default
|
||||
@@ -536,7 +537,7 @@ WriteLiteral(" id=\"jobWarrantyProviderDetailLoading\"");
|
||||
|
||||
WriteLiteral(">\r\n <span");
|
||||
|
||||
WriteLiteral(" class=\"ajaxHelperIcon ajaxLoading\"");
|
||||
WriteLiteral(" class=\"ajaxLoading\"");
|
||||
|
||||
WriteLiteral(" title=\"Loading...\"");
|
||||
|
||||
@@ -551,7 +552,7 @@ WriteLiteral(" style=\"display: none\"");
|
||||
WriteLiteral(">\r\n </div>\r\n </td>\r\n </tr>\r\n");
|
||||
|
||||
|
||||
#line 132 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
#line 133 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -565,13 +566,13 @@ WriteLiteral(">\r\n $(\'#jobDetailTabItems\').append(\'<li><a href=\"#jobDeta
|
||||
"nty</a></li>\');\r\n");
|
||||
|
||||
|
||||
#line 137 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
#line 138 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 137 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
#line 138 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
if (Authorization.Has(Claims.Job.Properties.WarrantyProperties.ProviderDetails))
|
||||
{
|
||||
|
||||
@@ -598,7 +599,7 @@ WriteLiteral(@"
|
||||
'");
|
||||
|
||||
|
||||
#line 156 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
#line 157 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
Write(Url.Action(MVC.Job.WarrantyProviderJobDetails()));
|
||||
|
||||
|
||||
@@ -607,7 +608,7 @@ WriteLiteral(@"
|
||||
WriteLiteral("\',\r\n { id: \'");
|
||||
|
||||
|
||||
#line 157 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
#line 158 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
Write(Model.Job.Id);
|
||||
|
||||
|
||||
@@ -630,7 +631,7 @@ WriteLiteral(@"' },
|
||||
");
|
||||
|
||||
|
||||
#line 171 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
#line 172 "..\..\Views\Job\JobParts\Warranty.cshtml"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -383,8 +383,7 @@
|
||||
@using (Html.BeginForm(MVC.API.Job.ForceClose(Model.Job.Id, null, true)))
|
||||
{
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>
|
||||
Are you sure?
|
||||
<i class="fa fa-exclamation-triangle fa-lg"></i> Are you sure?
|
||||
</p>
|
||||
<h3>Reason:</h3>
|
||||
<p>
|
||||
@@ -430,8 +429,7 @@
|
||||
@Html.ActionLinkSmallButton("Close Job", MVC.API.Job.Close(Model.Job.Id, true), "Job_Show_Job_Actions_Close_Button")
|
||||
<div id="Job_Show_Job_Actions_Close_Dialog" class="dialog" title="Close this Job?">
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>
|
||||
Are you sure?
|
||||
<i class="fa fa-exclamation-triangle fa-lg"></i> Are you sure?
|
||||
</p>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
@@ -471,8 +469,7 @@
|
||||
@Html.ActionLinkSmallButton("Reopen Job", MVC.API.Job.Reopen(Model.Job.Id, true), "Job_Show_Job_Actions_Reopen_Button")
|
||||
<div id="Job_Show_Job_Actions_Reopen_Dialog" class="dialog" title="Reopen this Job?">
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>
|
||||
Are you sure?
|
||||
<i class="fa fa-exclamation-triangle fa-lg"></i> Are you sure?
|
||||
</p>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
@@ -513,8 +510,7 @@
|
||||
@Html.ActionLinkSmallButton("Delete Job", MVC.API.Job.Delete(Model.Job.Id, true), "Job_Show_Job_Actions_Delete_Button")
|
||||
<div id="Job_Show_Job_Actions_Delete_Dialog" class="dialog" title="Delete this Job?">
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>
|
||||
This item will be permanently deleted and cannot be recovered. Are you sure?
|
||||
<i class="fa fa-exclamation-triangle fa-lg"></i> This item will be permanently deleted and cannot be recovered. Are you sure?
|
||||
</p>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
@@ -624,8 +620,7 @@
|
||||
@Html.ActionLinkSmallButton("Convert to Non-Warranty", MVC.API.Job.ConvertHWarToHNWar(Model.Job.Id, true), "Job_Show_Job_Actions_ConvertToHNWar_Button")
|
||||
<div id="Job_Show_Job_Actions_ConvertToHNWar_Dialog" class="dialog" title="Convert this Job?">
|
||||
<p>
|
||||
<span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>
|
||||
This process is not reversible.<br />
|
||||
<i class="fa fa-exclamation-triangle fa-lg"></i> This process is not reversible.<br />
|
||||
Are you sure?
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -1635,14 +1635,11 @@ WriteLiteral(">\r\n");
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral(" <p>\r\n <span");
|
||||
WriteLiteral(" <p>\r\n <i");
|
||||
|
||||
WriteLiteral(" class=\"ui-icon ui-icon-alert\"");
|
||||
WriteLiteral(" class=\"fa fa-exclamation-triangle fa-lg\"");
|
||||
|
||||
WriteLiteral(" style=\"float: left; margin: 0 7px 20px 0;\"");
|
||||
|
||||
WriteLiteral("></span>\r\n Are you sure?\r\n </p>" +
|
||||
"\r\n");
|
||||
WriteLiteral("></i> Are you sure?\r\n </p>\r\n");
|
||||
|
||||
WriteLiteral(" <h3>Reason:</h3>\r\n");
|
||||
|
||||
@@ -1655,7 +1652,7 @@ WriteLiteral(" class=\"block\"");
|
||||
WriteLiteral("></textarea>\r\n </p>\r\n");
|
||||
|
||||
|
||||
#line 393 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 392 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -1688,7 +1685,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
" });\r\n });\r\n </script>\r\n");
|
||||
|
||||
|
||||
#line 426 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 425 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -1697,13 +1694,13 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
WriteLiteral("\r\n");
|
||||
|
||||
|
||||
#line 428 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 427 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 428 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 427 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanClose())
|
||||
{
|
||||
|
||||
@@ -1711,14 +1708,14 @@ WriteLiteral("\r\n");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 430 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 429 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Close Job", MVC.API.Job.Close(Model.Job.Id, true), "Job_Show_Job_Actions_Close_Button"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 430 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 429 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
|
||||
@@ -1732,14 +1729,11 @@ WriteLiteral(" class=\"dialog\"");
|
||||
|
||||
WriteLiteral(" title=\"Close this Job?\"");
|
||||
|
||||
WriteLiteral(">\r\n <p>\r\n <span");
|
||||
WriteLiteral(">\r\n <p>\r\n <i");
|
||||
|
||||
WriteLiteral(" class=\"ui-icon ui-icon-alert\"");
|
||||
WriteLiteral(" class=\"fa fa-exclamation-triangle fa-lg\"");
|
||||
|
||||
WriteLiteral(" style=\"float: left; margin: 0 7px 20px 0;\"");
|
||||
|
||||
WriteLiteral("></span>\r\n Are you sure?\r\n </p>\r\n " +
|
||||
" </div>\r\n");
|
||||
WriteLiteral("></i> Are you sure?\r\n </p>\r\n </div>\r\n");
|
||||
|
||||
WriteLiteral(" <script");
|
||||
|
||||
@@ -1767,7 +1761,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
" });\r\n });\r\n </script>\r\n");
|
||||
|
||||
|
||||
#line 468 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 466 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -1776,7 +1770,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 469 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 467 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanReopen())
|
||||
{
|
||||
|
||||
@@ -1784,14 +1778,14 @@ WriteLiteral(" ");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 471 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 469 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Reopen Job", MVC.API.Job.Reopen(Model.Job.Id, true), "Job_Show_Job_Actions_Reopen_Button"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 471 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 469 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
|
||||
@@ -1805,14 +1799,11 @@ WriteLiteral(" class=\"dialog\"");
|
||||
|
||||
WriteLiteral(" title=\"Reopen this Job?\"");
|
||||
|
||||
WriteLiteral(">\r\n <p>\r\n <span");
|
||||
WriteLiteral(">\r\n <p>\r\n <i");
|
||||
|
||||
WriteLiteral(" class=\"ui-icon ui-icon-alert\"");
|
||||
WriteLiteral(" class=\"fa fa-exclamation-triangle fa-lg\"");
|
||||
|
||||
WriteLiteral(" style=\"float: left; margin: 0 7px 20px 0;\"");
|
||||
|
||||
WriteLiteral("></span>\r\n Are you sure?\r\n </p>\r\n " +
|
||||
" </div>\r\n");
|
||||
WriteLiteral("></i> Are you sure?\r\n </p>\r\n </div>\r\n");
|
||||
|
||||
WriteLiteral(" <script");
|
||||
|
||||
@@ -1841,7 +1832,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
" });\r\n </script>\r\n");
|
||||
|
||||
|
||||
#line 510 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 507 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -1850,7 +1841,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 511 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 508 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanDelete())
|
||||
{
|
||||
|
||||
@@ -1858,14 +1849,14 @@ WriteLiteral(" ");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 513 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 510 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Delete Job", MVC.API.Job.Delete(Model.Job.Id, true), "Job_Show_Job_Actions_Delete_Button"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 513 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 510 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
|
||||
@@ -1879,15 +1870,12 @@ WriteLiteral(" class=\"dialog\"");
|
||||
|
||||
WriteLiteral(" title=\"Delete this Job?\"");
|
||||
|
||||
WriteLiteral(">\r\n <p>\r\n <span");
|
||||
WriteLiteral(">\r\n <p>\r\n <i");
|
||||
|
||||
WriteLiteral(" class=\"ui-icon ui-icon-alert\"");
|
||||
WriteLiteral(" class=\"fa fa-exclamation-triangle fa-lg\"");
|
||||
|
||||
WriteLiteral(" style=\"float: left; margin: 0 7px 20px 0;\"");
|
||||
|
||||
WriteLiteral("></span>\r\n This item will be permanently deleted and canno" +
|
||||
"t be recovered. Are you sure?\r\n </p>\r\n </div>\r" +
|
||||
"\n");
|
||||
WriteLiteral("></i> This item will be permanently deleted and cannot be recovered. Are you" +
|
||||
" sure?\r\n </p>\r\n </div>\r\n");
|
||||
|
||||
WriteLiteral(" <script");
|
||||
|
||||
@@ -1916,7 +1904,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
" </script>\r\n");
|
||||
|
||||
|
||||
#line 552 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 548 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -1925,7 +1913,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 553 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 549 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanLogWarranty())
|
||||
{
|
||||
|
||||
@@ -1933,14 +1921,14 @@ WriteLiteral(" ");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 555 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 551 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Log Warranty", MVC.Job.LogWarranty(Model.Job.Id, null, null), "Job_Show_Job_Actions_LogWarranty_Button"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 555 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 551 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
}
|
||||
|
||||
@@ -1950,7 +1938,7 @@ WriteLiteral(" ");
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 557 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 553 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanWarrantyCompleted())
|
||||
{
|
||||
|
||||
@@ -1958,14 +1946,14 @@ WriteLiteral(" ");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 559 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 555 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Warranty Complete", MVC.API.Job.UpdateWarrantyExternalCompletedDate(Model.Job.Id, "Now", true), "Job_Show_Job_Actions_WarrantyComplete_Button", "alert"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 559 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 555 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
}
|
||||
|
||||
@@ -1975,7 +1963,7 @@ WriteLiteral(" ");
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 561 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 557 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanInsuranceClaimFormSent())
|
||||
{
|
||||
|
||||
@@ -1983,14 +1971,14 @@ WriteLiteral(" ");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 563 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 559 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Insurance Claim Sent", MVC.API.Job.UpdateInsuranceClaimFormSentDate(Model.Job.Id, "Now", true), "Job_Show_Job_Actions_InsuranceClaimSent_Button", "alert"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 563 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 559 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
}
|
||||
|
||||
@@ -2000,7 +1988,7 @@ WriteLiteral(" ");
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 565 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 561 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanLogRepair())
|
||||
{
|
||||
|
||||
@@ -2008,14 +1996,14 @@ WriteLiteral(" ");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 567 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 563 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Repairs Logged", MVC.API.Job.LogRepair(Model.Job.Id, null, null, true), "Job_Show_Job_Actions_LogRepair_Button"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 567 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 563 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
|
||||
@@ -2032,13 +2020,13 @@ WriteLiteral(" title=\"Repairs Logged\"");
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 569 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 565 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 569 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 565 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
using (Html.BeginForm(MVC.API.Job.LogRepair(Model.Job.Id, null, null, true)))
|
||||
{
|
||||
|
||||
@@ -2070,7 +2058,7 @@ WriteLiteral(" name=\"RepairerReference\"");
|
||||
WriteLiteral(" />\r\n </p>\r\n");
|
||||
|
||||
|
||||
#line 579 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 575 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -2108,7 +2096,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
" });\r\n });\r\n </script>\r\n");
|
||||
|
||||
|
||||
#line 617 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 613 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -2117,7 +2105,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 618 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 614 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanRepairComplete())
|
||||
{
|
||||
|
||||
@@ -2125,14 +2113,14 @@ WriteLiteral(" ");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 620 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 616 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Repairs Complete", MVC.API.Job.UpdateNonWarrantyRepairerCompletedDate(Model.Job.Id, "Now", true), "Job_Show_Job_Actions_RepairComplete_Button", "alert"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 620 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 616 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
}
|
||||
|
||||
@@ -2142,7 +2130,7 @@ WriteLiteral(" ");
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 622 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 618 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanConvertHWarToHNWar())
|
||||
{
|
||||
|
||||
@@ -2150,14 +2138,14 @@ WriteLiteral(" ");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 624 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 620 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Convert to Non-Warranty", MVC.API.Job.ConvertHWarToHNWar(Model.Job.Id, true), "Job_Show_Job_Actions_ConvertToHNWar_Button"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 624 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 620 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
|
||||
@@ -2171,15 +2159,12 @@ WriteLiteral(" class=\"dialog\"");
|
||||
|
||||
WriteLiteral(" title=\"Convert this Job?\"");
|
||||
|
||||
WriteLiteral(">\r\n <p>\r\n <span");
|
||||
WriteLiteral(">\r\n <p>\r\n <i");
|
||||
|
||||
WriteLiteral(" class=\"ui-icon ui-icon-alert\"");
|
||||
WriteLiteral(" class=\"fa fa-exclamation-triangle fa-lg\"");
|
||||
|
||||
WriteLiteral(" style=\"float: left; margin: 0 7px 20px 0;\"");
|
||||
|
||||
WriteLiteral("></span>\r\n This process is not reversible.<br />\r\n " +
|
||||
" Are you sure?\r\n </p>\r\n </div>\r" +
|
||||
"\n");
|
||||
WriteLiteral("></i> This process is not reversible.<br />\r\n Are you" +
|
||||
" sure?\r\n </p>\r\n </div>\r\n");
|
||||
|
||||
WriteLiteral(" <script");
|
||||
|
||||
@@ -2208,7 +2193,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
" \r\n });\r\n </script>\r\n");
|
||||
|
||||
|
||||
#line 665 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 660 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -2217,13 +2202,13 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
WriteLiteral(" </td>\r\n");
|
||||
|
||||
|
||||
#line 667 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 662 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 667 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 662 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.Device != null)
|
||||
{
|
||||
|
||||
@@ -2237,13 +2222,13 @@ WriteLiteral(" id=\"Job_Show_Device_Actions\"");
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 670 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 665 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 670 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 665 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanDeviceHeld())
|
||||
{
|
||||
|
||||
@@ -2251,14 +2236,14 @@ WriteLiteral(">\r\n");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 672 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 667 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Held", MVC.API.Job.DeviceHeld(Model.Job.Id, true), "Job_Show_Device_Actions_Held_Button"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 672 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 667 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
}
|
||||
|
||||
@@ -2268,7 +2253,7 @@ WriteLiteral(">\r\n");
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 674 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 669 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanDeviceReadyForReturn())
|
||||
{
|
||||
|
||||
@@ -2276,14 +2261,14 @@ WriteLiteral(" ");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 676 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 671 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Ready For Return", MVC.API.Job.DeviceReadyForReturn(Model.Job.Id, true), "Job_Show_Device_Actions_DeviceReadyForReturn_Button", "alert"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 676 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 671 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
}
|
||||
|
||||
@@ -2293,7 +2278,7 @@ WriteLiteral(" ");
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 678 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 673 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanDeviceReturned())
|
||||
{
|
||||
|
||||
@@ -2301,14 +2286,14 @@ WriteLiteral(" ");
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 680 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 675 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
Write(Html.ActionLinkSmallButton("Returned", MVC.API.Job.DeviceReturned(Model.Job.Id, true), "Job_Show_Device_Actions_DeviceReturned_Button", Model.Job.CanDeviceReadyForReturn() ? null : "alert"));
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 680 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 675 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
}
|
||||
|
||||
@@ -2318,7 +2303,7 @@ WriteLiteral(" ");
|
||||
WriteLiteral(" </td>\r\n");
|
||||
|
||||
|
||||
#line 683 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 678 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -2327,7 +2312,7 @@ WriteLiteral(" </td>\r\n");
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 684 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 679 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.User != null)
|
||||
{
|
||||
|
||||
@@ -2341,13 +2326,13 @@ WriteLiteral(" id=\"Job_Show_User_Actions\"");
|
||||
WriteLiteral(">\r\n\r\n\r\n");
|
||||
|
||||
|
||||
#line 689 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 684 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 689 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 684 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanWaitingForUserAction())
|
||||
{
|
||||
|
||||
@@ -2375,13 +2360,13 @@ WriteLiteral(" title=\"Waiting for User Action\"");
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 693 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 688 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 693 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 688 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
using (Html.BeginForm(MVC.API.Job.WaitingForUserAction(Model.Job.Id, null, true)))
|
||||
{
|
||||
|
||||
@@ -2399,7 +2384,7 @@ WriteLiteral(" class=\"block\"");
|
||||
WriteLiteral("></textarea>\r\n </p>\r\n");
|
||||
|
||||
|
||||
#line 699 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 694 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -2434,7 +2419,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
" });\r\n </script>\r\n");
|
||||
|
||||
|
||||
#line 732 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 727 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -2443,7 +2428,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 733 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 728 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
if (Model.Job.CanNotWaitingForUserAction())
|
||||
{
|
||||
|
||||
@@ -2471,13 +2456,13 @@ WriteLiteral(" title=\"Not Waiting for User Action\"");
|
||||
WriteLiteral(">\r\n");
|
||||
|
||||
|
||||
#line 737 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 732 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 737 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 732 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
using (Html.BeginForm(MVC.API.Job.NotWaitingForUserAction(Model.Job.Id, null, true)))
|
||||
{
|
||||
|
||||
@@ -2495,7 +2480,7 @@ WriteLiteral(" class=\"block\"");
|
||||
WriteLiteral("></textarea>\r\n </p>\r\n");
|
||||
|
||||
|
||||
#line 743 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 738 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -2531,7 +2516,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
" });\r\n </script>\r\n");
|
||||
|
||||
|
||||
#line 777 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 772 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
@@ -2540,7 +2525,7 @@ WriteLiteral(">\r\n $(function () {\r\n
|
||||
WriteLiteral("\r\n </td>\r\n");
|
||||
|
||||
|
||||
#line 780 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
#line 775 "..\..\Views\Job\JobParts\_Subject.cshtml"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<div id="Job_Show">
|
||||
<div id="Job_Show_Status">
|
||||
@{ var jobStatusInfo = Model.Job.Status();}
|
||||
<span class="icon JobStatus@(jobStatusInfo.Item1)"></span>@jobStatusInfo.Item2 @if (Model.LongRunning.HasValue)
|
||||
<i class="fa fa-square jobStatus @(jobStatusInfo.Item1)"></i> @jobStatusInfo.Item2 @if (Model.LongRunning.HasValue)
|
||||
{<span class="smallMessage">(Long Running: @Model.LongRunning.Value.Humanize(false))</span>}
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
|
||||
@@ -82,25 +82,26 @@ WriteLiteral(">\r\n");
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
WriteLiteral("\r\n <span");
|
||||
WriteLiteral("\r\n <i");
|
||||
|
||||
WriteAttribute("class", Tuple.Create(" class=\"", 552), Tuple.Create("\"", 596)
|
||||
, Tuple.Create(Tuple.Create("", 560), Tuple.Create("icon", 560), true)
|
||||
, Tuple.Create(Tuple.Create(" ", 564), Tuple.Create("JobStatus", 565), true)
|
||||
WriteAttribute("class", Tuple.Create(" class=\"", 549), Tuple.Create("\"", 602)
|
||||
, Tuple.Create(Tuple.Create("", 557), Tuple.Create("fa", 557), true)
|
||||
, Tuple.Create(Tuple.Create(" ", 559), Tuple.Create("fa-square", 560), true)
|
||||
, Tuple.Create(Tuple.Create(" ", 569), Tuple.Create("jobStatus", 570), true)
|
||||
|
||||
#line 17 "..\..\Views\Job\Show.cshtml"
|
||||
, Tuple.Create(Tuple.Create("", 574), Tuple.Create<System.Object, System.Int32>(jobStatusInfo.Item1
|
||||
, Tuple.Create(Tuple.Create(" ", 579), Tuple.Create<System.Object, System.Int32>(jobStatusInfo.Item1
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
, 574), false)
|
||||
, 580), false)
|
||||
);
|
||||
|
||||
WriteLiteral("></span>");
|
||||
WriteLiteral("></i> ");
|
||||
|
||||
|
||||
#line 17 "..\..\Views\Job\Show.cshtml"
|
||||
Write(jobStatusInfo.Item2);
|
||||
Write(jobStatusInfo.Item2);
|
||||
|
||||
|
||||
#line default
|
||||
@@ -109,7 +110,7 @@ WriteLiteral(" ");
|
||||
|
||||
|
||||
#line 17 "..\..\Views\Job\Show.cshtml"
|
||||
if (Model.LongRunning.HasValue)
|
||||
if (Model.LongRunning.HasValue)
|
||||
{
|
||||
|
||||
#line default
|
||||
|
||||
Reference in New Issue
Block a user