feature: add clipboard link to various identifiers (resolves #148)
This commit is contained in:
1 parent
7a336e699a
commit
b640e51874
17 files changed
+1156
-877
No files matched your search
@@ -58540,7 +58540,7 @@ jQuery.fn.DataTable.defaults.aLengthMenu = [[10, 20, 50, 100, 200, -1], [10, 20,
|
|||||||
.append(template)
|
.append(template)
|
||||||
.appendTo(ul);
|
.appendTo(ul);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
quickSearchInited = true;
|
quickSearchInited = true;
|
||||||
}
|
}
|
||||||
@@ -58665,5 +58665,41 @@ jQuery.fn.DataTable.defaults.aLengthMenu = [[10, 20, 50, 100, 200, -1], [10, 20,
|
|||||||
$(window).resize(function () {
|
$(window).resize(function () {
|
||||||
$('.ui-dialog-content').filter(':visible').dialog('option', 'position', 'center');
|
$('.ui-dialog-content').filter(':visible').dialog('option', 'position', 'center');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (navigator.clipboard) {
|
||||||
|
window.setTimeout(() => {
|
||||||
|
$('[data-clipboard]')
|
||||||
|
.on('mouseenter', e => {
|
||||||
|
const $this = $(e.currentTarget);
|
||||||
|
const previousPosition = $this.css('position');
|
||||||
|
$this.css('position', 'relative');
|
||||||
|
const link = $('<i class="clipboard-link fa fa-clipboard fa-fw">');
|
||||||
|
link.appendTo($this)
|
||||||
|
link.on('click', e => {
|
||||||
|
e.preventDefault();
|
||||||
|
let value = $this.attr('data-clipboard');
|
||||||
|
if (!value) {
|
||||||
|
value = $this.text().trim();
|
||||||
|
}
|
||||||
|
navigator.clipboard.writeText(value).then(() => {
|
||||||
|
link.removeClass('fa-clipboard').addClass('fa-check');
|
||||||
|
})
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
$this.data('clipboard', {
|
||||||
|
previousPosition: previousPosition,
|
||||||
|
link: link
|
||||||
|
})
|
||||||
|
}).on('mouseleave', e => {
|
||||||
|
const $this = $(e.currentTarget);
|
||||||
|
const data = $this.data('clipboard');
|
||||||
|
if (data) {
|
||||||
|
data.link.remove();
|
||||||
|
$this.css('position', data.previousPosition);
|
||||||
|
$this.removeData('clipboard');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}, 100);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
})(jQuery, window, document, Modernizr);
|
})(jQuery, window, document, Modernizr);
|
||||||
+1
-1
@@ -325,4 +325,4 @@ n.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月
|
|||||||
//! moment.js locale configuration
|
//! moment.js locale configuration
|
||||||
n.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="凌晨"||t==="早上"||t==="上午")?n:t==="中午"?n>=11?n:n+12:t==="下午"||t==="晚上"?n+12:void 0},meridiem:function(n,t){var i=n*100+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"週";default:return n}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});
|
n.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="凌晨"||t==="早上"||t==="上午")?n:t==="中午"?n>=11?n:n+12:t==="下午"||t==="晚上"?n+12:void 0},meridiem:function(n,t){var i=n*100+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"週";default:return n}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}});
|
||||||
//! moment.js locale configuration
|
//! moment.js locale configuration
|
||||||
return n.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="凌晨"||t==="早上"||t==="上午")?n:t==="中午"?n>=11?n:n+12:t==="下午"||t==="晚上"?n+12:void 0},meridiem:function(n,t){var i=n*100+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"週";default:return n}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),n.locale("en"),n}),moment.locale("en-au"),function(n){typeof define=="function"&&define.amd?define(["jquery","moment"],n):n(jQuery,moment)}(function(n,t){var u=3e4,f=!1,i=n([]),h=function(){r.resume()},e=function(r,u){var e=r.data("livestampdata"),f;r.removeAttr("data-livestamp").removeData("livestamp");u=t(u);t.isMoment(u)&&!isNaN(+u)&&(f=n.extend({},{original:r.contents()},e),f.moment=t(u),f.fromNowWithoutSuffix=r.hasClass("noMomentSuffix"),r.data("livestampdata",f).empty(),i.push(r[0]))},o=function(){f||(r.update(),setTimeout(o,u))},r={update:function(){n("[data-livestamp]").each(function(){var t=n(this);e(t,t.data("livestamp"))});var r=[];i.each(function(){var i=n(this),u=i.data("livestampdata"),e,f,o;u===undefined?r.push(this):t.isMoment(u.moment)&&(e=i.html(),f=u.moment.fromNow(u.fromNowWithoutSuffix),e!=f&&(o=n.Event("change.livestamp"),i.trigger(o,[e,f]),o.isDefaultPrevented()||i.html(f)))});i=i.not(r);delete i.prevObject},pause:function(){f=!0},resume:function(){f=!1;o()},interval:function(n){if(n===undefined)return u;u=n}},s={add:function(i,u){return u=t(u),t.isMoment(u)&&!isNaN(+u)&&(i.each(function(){e(n(this),u)}),r.update()),i},destroy:function(t){return i=i.not(t),t.each(function(){var r=n(this),i=r.data("livestampdata");if(i===undefined)return t;r.html(i.original?i.original:"").removeData("livestampdata")}),t},isLivestamp:function(n){return n.data("livestampdata")!==undefined}};n.livestamp=r;n(h);n.fn.livestamp=function(n,t){return s[n]||(t=n,n="add"),s[n](this,t)}}),jQuery.fn.dataTableExt.afnSortData.text=function(n,t){var i=[];return $("td:eq("+t+")",n.oApi._fnGetTrNodes(n)).each(function(){i.push(jQuery.trim($(this).text()))}),i},jQuery.fn.dataTableExt.afnSortData.disco_datetime=function(n,t){var i=[];return $("td:eq("+t+")",n.oApi._fnGetTrNodes(n)).each(function(){var n=$(this).children("span.date");n.length>0?n.is("[data-livestamp]")?i.push(n.attr("data-livestamp")*1):n.data("livestampdata")!==undefined?i.push(n.data("livestampdata").moment.valueOf()):i.push(-1):i.push(-1)}),i},jQuery.fn.dataTableExt.oSort["au_date-pre"]=function(n){var t=n.split("/");return(t[2]+t[1]+t[0])*1},jQuery.fn.dataTableExt.oSort["au_date-asc"]=function(n,t){return n<t?-1:n>t?1:0},jQuery.fn.dataTableExt.oSort["au_date-desc"]=function(n,t){return n<t?1:n>t?-1:0},jQuery.fn.dataTableExt.oSort["disco_datetime-asc"]=function(n,t){return n<t?-1:n>t?1:0},jQuery.fn.dataTableExt.oSort["disco_datetime-desc"]=function(n,t){return n<t?1:n>t?-1:0},jQuery.fn.DataTable.defaults.iDisplayLength=20,window.localStorage){var length=20,lengthString=window.localStorage.getItem("datatable_default_length");!lengthString||(length=parseInt(lengthString));jQuery.fn.DataTable.defaults.iDisplayLength=parseInt(length);jQuery.fn.DataTable.defaults.fnPreDrawCallback=function(n){var t=n._iDisplayLength;length!==t&&window.localStorage.setItem("datatable_default_length",t)}}jQuery.fn.DataTable.defaults.aLengthMenu=[[10,20,50,100,200,-1],[10,20,50,100,200,"All"]],function(n,t,i,r){n(function(){var s=!1,u;if(n("#SearchQuery").watermark("Search").keypress(function(t){if(t.keyCode==13)return n(this).closest("form").submit(),!1}).focus(function(){if($this=n(this),$this.select(),!s){var t=$this.attr("data-quicksearchurl");t&&($this.autocomplete({source:t,minLength:2,select:function(n,t){$this.val(t.item.tag);$this.closest("form").submit()},response:function(n,t){for(var i,r=0;r<t.content.length;r++){i=t.content[r];switch(Line truncated
|
return n.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(n,t){return(n===12&&(n=0),t==="凌晨"||t==="早上"||t==="上午")?n:t==="中午"?n>=11?n:n+12:t==="下午"||t==="晚上"?n+12:void 0},meridiem:function(n,t){var i=n*100+t;return i<600?"凌晨":i<900?"早上":i<1130?"上午":i<1230?"中午":i<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(n,t){switch(t){case"d":case"D":case"DDD":return n+"日";case"M":return n+"月";case"w":case"W":return n+"週";default:return n}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}}),n.locale("en"),n}),moment.locale("en-au"),function(n){typeof define=="function"&&define.amd?define(["jquery","moment"],n):n(jQuery,moment)}(function(n,t){var u=3e4,f=!1,i=n([]),h=function(){r.resume()},e=function(r,u){var e=r.data("livestampdata"),f;r.removeAttr("data-livestamp").removeData("livestamp");u=t(u);t.isMoment(u)&&!isNaN(+u)&&(f=n.extend({},{original:r.contents()},e),f.moment=t(u),f.fromNowWithoutSuffix=r.hasClass("noMomentSuffix"),r.data("livestampdata",f).empty(),i.push(r[0]))},o=function(){f||(r.update(),setTimeout(o,u))},r={update:function(){n("[data-livestamp]").each(function(){var t=n(this);e(t,t.data("livestamp"))});var r=[];i.each(function(){var i=n(this),u=i.data("livestampdata"),e,f,o;u===undefined?r.push(this):t.isMoment(u.moment)&&(e=i.html(),f=u.moment.fromNow(u.fromNowWithoutSuffix),e!=f&&(o=n.Event("change.livestamp"),i.trigger(o,[e,f]),o.isDefaultPrevented()||i.html(f)))});i=i.not(r);delete i.prevObject},pause:function(){f=!0},resume:function(){f=!1;o()},interval:function(n){if(n===undefined)return u;u=n}},s={add:function(i,u){return u=t(u),t.isMoment(u)&&!isNaN(+u)&&(i.each(function(){e(n(this),u)}),r.update()),i},destroy:function(t){return i=i.not(t),t.each(function(){var r=n(this),i=r.data("livestampdata");if(i===undefined)return t;r.html(i.original?i.original:"").removeData("livestampdata")}),t},isLivestamp:function(n){return n.data("livestampdata")!==undefined}};n.livestamp=r;n(h);n.fn.livestamp=function(n,t){return s[n]||(t=n,n="add"),s[n](this,t)}}),jQuery.fn.dataTableExt.afnSortData.text=function(n,t){var i=[];return $("td:eq("+t+")",n.oApi._fnGetTrNodes(n)).each(function(){i.push(jQuery.trim($(this).text()))}),i},jQuery.fn.dataTableExt.afnSortData.disco_datetime=function(n,t){var i=[];return $("td:eq("+t+")",n.oApi._fnGetTrNodes(n)).each(function(){var n=$(this).children("span.date");n.length>0?n.is("[data-livestamp]")?i.push(n.attr("data-livestamp")*1):n.data("livestampdata")!==undefined?i.push(n.data("livestampdata").moment.valueOf()):i.push(-1):i.push(-1)}),i},jQuery.fn.dataTableExt.oSort["au_date-pre"]=function(n){var t=n.split("/");return(t[2]+t[1]+t[0])*1},jQuery.fn.dataTableExt.oSort["au_date-asc"]=function(n,t){return n<t?-1:n>t?1:0},jQuery.fn.dataTableExt.oSort["au_date-desc"]=function(n,t){return n<t?1:n>t?-1:0},jQuery.fn.dataTableExt.oSort["disco_datetime-asc"]=function(n,t){return n<t?-1:n>t?1:0},jQuery.fn.dataTableExt.oSort["disco_datetime-desc"]=function(n,t){return n<t?1:n>t?-1:0},jQuery.fn.DataTable.defaults.iDisplayLength=20,window.localStorage){var length=20,lengthString=window.localStorage.getItem("datatable_default_length");!lengthString||(length=parseInt(lengthString));jQuery.fn.DataTable.defaults.iDisplayLength=parseInt(length);jQuery.fn.DataTable.defaults.fnPreDrawCallback=function(n){var t=n._iDisplayLength;length!==t&&window.localStorage.setItem("datatable_default_length",t)}}jQuery.fn.DataTable.defaults.aLengthMenu=[[10,20,50,100,200,-1],[10,20,50,100,200,"All"]],function(n,t,i,r){n(function(){var f=!1,u;if(n("#SearchQuery").watermark("Search").keypress(function(t){if(t.keyCode==13)return n(this).closest("form").submit(),!1}).focus(function(){if($this=n(this),$this.select(),!f){var t=$this.attr("data-quicksearchurl");t&&($this.autocomplete({source:t,minLength:2,select:function(n,t){$this.val(t.item.tag);$this.closest("form").submit()},response:function(n,t){for(var i,r=0;r<t.content.length;r++){i=t.content[r];switch(Line truncated
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
.append(template)
|
.append(template)
|
||||||
.appendTo(ul);
|
.appendTo(ul);
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
quickSearchInited = true;
|
quickSearchInited = true;
|
||||||
}
|
}
|
||||||
@@ -195,5 +195,41 @@
|
|||||||
$(window).resize(function () {
|
$(window).resize(function () {
|
||||||
$('.ui-dialog-content').filter(':visible').dialog('option', 'position', 'center');
|
$('.ui-dialog-content').filter(':visible').dialog('option', 'position', 'center');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (navigator.clipboard) {
|
||||||
|
window.setTimeout(() => {
|
||||||
|
$('[data-clipboard]')
|
||||||
|
.on('mouseenter', e => {
|
||||||
|
const $this = $(e.currentTarget);
|
||||||
|
const previousPosition = $this.css('position');
|
||||||
|
$this.css('position', 'relative');
|
||||||
|
const link = $('<i class="clipboard-link fa fa-clipboard fa-fw">');
|
||||||
|
link.appendTo($this)
|
||||||
|
link.on('click', e => {
|
||||||
|
e.preventDefault();
|
||||||
|
let value = $this.attr('data-clipboard');
|
||||||
|
if (!value) {
|
||||||
|
value = $this.text().trim();
|
||||||
|
}
|
||||||
|
navigator.clipboard.writeText(value).then(() => {
|
||||||
|
link.removeClass('fa-clipboard').addClass('fa-check');
|
||||||
|
})
|
||||||
|
return false;
|
||||||
|
});
|
||||||
|
$this.data('clipboard', {
|
||||||
|
previousPosition: previousPosition,
|
||||||
|
link: link
|
||||||
|
})
|
||||||
|
}).on('mouseleave', e => {
|
||||||
|
const $this = $(e.currentTarget);
|
||||||
|
const data = $this.data('clipboard');
|
||||||
|
if (data) {
|
||||||
|
data.link.remove();
|
||||||
|
$this.css('position', data.previousPosition);
|
||||||
|
$this.removeData('clipboard');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}, 100);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
})(jQuery, window, document, Modernizr);
|
})(jQuery, window, document, Modernizr);
|
||||||
@@ -6013,4 +6013,17 @@ ul.list-group li:not(:first-child) {
|
|||||||
}
|
}
|
||||||
.whitespace-pre-wrap {
|
.whitespace-pre-wrap {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
i.clipboard-link {
|
||||||
|
cursor: pointer;
|
||||||
|
position: absolute;
|
||||||
|
padding-left: 4px;
|
||||||
|
right: calc(-1.28571429em - 4px);
|
||||||
|
top: calc(100% - 14px);
|
||||||
|
z-index: 100;
|
||||||
|
color: #D1D1D1;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
i.clipboard-link:hover {
|
||||||
|
color: #333;
|
||||||
}
|
}
|
||||||
+1
-1
@@ -9,4 +9,4 @@ html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:1
|
|||||||
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
||||||
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||||
*/
|
*/
|
||||||
@font-face{font-family:'FontAwesome';src:url('/ClientSource/Style/FontAwesome/fontawesome-webfont.eot?v=4.7.0');src:url('/ClientSource/Style/FontAwesome/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('/ClientSource/Style/FontAwesome/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('/ClientSource/Style/FontAwesome/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('/ClientSource/Style/FontAwesome/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('/ClientSource/Style/FontAwesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal;}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%;}.fa-2x{font-size:2em;}.fa-3x{font-size:3em;}.fa-4x{font-size:4em;}.fa-5x{font-size:5em;}.fa-fw{width:1.28571429em;text-align:center;}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none;}.fa-ul>li{position:relative;}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center;}.fa-li.fa-lg{left:-1.85714286em;}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em;}.fa-pull-left{float:left;}.fa-pull-right{float:right;}.fa.fa-pull-left{margin-right:.3em;}.fa.fa-pull-right{margin-left:.3em;}.pull-right{float:right;}.pull-left{float:left;}.fa.pull-left{margin-right:.3em;}.fa.pull-right{margin-left:.3em;}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear;}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8);}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg);}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg);}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg);}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1);}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1);}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none;}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle;}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center;}.fa-stack-1x{line-height:inherit;}.fa-stack-2x{font-size:2em;}.fa-inverse{color:#fff;}.fa-glass:before{content:"";}.fa-music:before{content:"";}.fa-search:before{content:"";}.fa-envelope-o:before{content:"";}.fa-heart:before{content:"";}.fa-star:before{content:"";}.fa-star-o:before{content:"";}.fa-user:before{content:"";}.fa-film:before{content:"";}.fa-th-large:before{content:"";}.fa-th:before{content:"";}.fa-th-list:before{content:"";}.fa-check:before{content:"";}.fa-remove:before,.fa-close:before,.fa-times:before{content:"";}.fa-search-plus:before{content:"";}.fa-search-minus:before{content:"";}.fa-power-off:before{content:"";}.fa-signal:before{content:"";}.fa-gear:before,.fa-cog:before{content:"";}.fa-trash-o:before{content:"";}.fa-home:before{content:"";}.fa-file-o:before{content:"";}.fa-clock-o:before{content:"";}.fa-road:before{content:"";}.fa-download:before{content:"";}.fa-arrow-circle-o-down:before{content:"";}.fa-arrow-circle-o-up:before{content:"";}.fa-inbox:before{content:"";}.fa-play-circle-o:before{content:"";}.fa-rotate-right:before,.fa-repeat:before{content:"";}.fa-refresh:before{content:"";}.fa-list-alt:before{content:"";}.fa-lock:before{content:"";}.fa-flag:before{content:"";}.fa-headphones:before{content:"";}.fa-volume-off:before{content:"";}.fa-volume-down:before{content:"";}.fa-volume-up:before{content:"";}.fa-qrcode:before{content:"";}.fa-barcode:before{content:"";}.fa-tag:before{content:"";}.fa-tags:before{content:"";}.fa-book:before{content:"";}.fa-bookmark:before{content:"";}.fa-print:before{content:"";}.fa-camera:before{content:"";}.fa-font:before{content:"";}.fa-bold:before{contLine truncated
|
@font-face{font-family:'FontAwesome';src:url('/ClientSource/Style/FontAwesome/fontawesome-webfont.eot?v=4.7.0');src:url('/ClientSource/Style/FontAwesome/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('/ClientSource/Style/FontAwesome/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('/ClientSource/Style/FontAwesome/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('/ClientSource/Style/FontAwesome/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('/ClientSource/Style/FontAwesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal;}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%;}.fa-2x{font-size:2em;}.fa-3x{font-size:3em;}.fa-4x{font-size:4em;}.fa-5x{font-size:5em;}.fa-fw{width:1.28571429em;text-align:center;}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none;}.fa-ul>li{position:relative;}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center;}.fa-li.fa-lg{left:-1.85714286em;}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em;}.fa-pull-left{float:left;}.fa-pull-right{float:right;}.fa.fa-pull-left{margin-right:.3em;}.fa.fa-pull-right{margin-left:.3em;}.pull-right{float:right;}.pull-left{float:left;}.fa.pull-left{margin-right:.3em;}.fa.pull-right{margin-left:.3em;}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear;}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8);}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg);}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg);}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg);}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1);}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1);}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none;}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle;}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center;}.fa-stack-1x{line-height:inherit;}.fa-stack-2x{font-size:2em;}.fa-inverse{color:#fff;}.fa-glass:before{content:"";}.fa-music:before{content:"";}.fa-search:before{content:"";}.fa-envelope-o:before{content:"";}.fa-heart:before{content:"";}.fa-star:before{content:"";}.fa-star-o:before{content:"";}.fa-user:before{content:"";}.fa-film:before{content:"";}.fa-th-large:before{content:"";}.fa-th:before{content:"";}.fa-th-list:before{content:"";}.fa-check:before{content:"";}.fa-remove:before,.fa-close:before,.fa-times:before{content:"";}.fa-search-plus:before{content:"";}.fa-search-minus:before{content:"";}.fa-power-off:before{content:"";}.fa-signal:before{content:"";}.fa-gear:before,.fa-cog:before{content:"";}.fa-trash-o:before{content:"";}.fa-home:before{content:"";}.fa-file-o:before{content:"";}.fa-clock-o:before{content:"";}.fa-road:before{content:"";}.fa-download:before{content:"";}.fa-arrow-circle-o-down:before{content:"";}.fa-arrow-circle-o-up:before{content:"";}.fa-inbox:before{content:"";}.fa-play-circle-o:before{content:"";}.fa-rotate-right:before,.fa-repeat:before{content:"";}.fa-refresh:before{content:"";}.fa-list-alt:before{content:"";}.fa-lock:before{content:"";}.fa-flag:before{content:"";}.fa-headphones:before{content:"";}.fa-volume-off:before{content:"";}.fa-volume-down:before{content:"";}.fa-volume-up:before{content:"";}.fa-qrcode:before{content:"";}.fa-barcode:before{content:"";}.fa-tag:before{content:"";}.fa-tags:before{content:"";}.fa-book:before{content:"";}.fa-bookmark:before{content:"";}.fa-print:before{content:"";}.fa-camera:before{content:"";}.fa-font:before{content:"";}.fa-bold:before{contLine truncated
|
||||||
@@ -983,9 +983,9 @@
|
|||||||
border-bottom: 1px dashed #ccc;
|
border-bottom: 1px dashed #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.createJob_Component:last-child {
|
.createJob_Component:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#createJob_Type {
|
#createJob_Type {
|
||||||
@@ -1006,34 +1006,34 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#createJob_Type li, #createJob_SubTypes li {
|
#createJob_Type li, #createJob_SubTypes li {
|
||||||
margin: 2px 0;
|
margin: 2px 0;
|
||||||
padding: 0 0 0 4px;
|
padding: 0 0 0 4px;
|
||||||
|
|
||||||
|
i {
|
||||||
|
display: none;
|
||||||
|
cursor: default;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover i {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.highlight {
|
||||||
|
background-color: @HighlightColour;
|
||||||
|
font-weight: 600;
|
||||||
|
color: @black;
|
||||||
|
|
||||||
i {
|
i {
|
||||||
display: none;
|
|
||||||
cursor: default;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover i {
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.highlight {
|
|
||||||
background-color: @HighlightColour;
|
|
||||||
font-weight: 600;
|
|
||||||
color: @black;
|
|
||||||
|
|
||||||
i {
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#createJob_SubTypes.isQuickLog li i {
|
#createJob_SubTypes.isQuickLog li i {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#createJob_CommentsContainer {
|
#createJob_CommentsContainer {
|
||||||
|
|||||||
@@ -1581,4 +1581,17 @@ ul.list-group li:not(:first-child) {
|
|||||||
}
|
}
|
||||||
.whitespace-pre-wrap {
|
.whitespace-pre-wrap {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
i.clipboard-link {
|
||||||
|
cursor: pointer;
|
||||||
|
position: absolute;
|
||||||
|
padding-left: 4px;
|
||||||
|
right: calc(-1.28571429em - 4px);
|
||||||
|
top: calc(100% - 14px);
|
||||||
|
z-index: 100;
|
||||||
|
color: #D1D1D1;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
i.clipboard-link:hover {
|
||||||
|
color: #333;
|
||||||
}
|
}
|
||||||
@@ -1681,3 +1681,18 @@ ul.list-group {
|
|||||||
.whitespace-pre-wrap {
|
.whitespace-pre-wrap {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
i.clipboard-link {
|
||||||
|
cursor: pointer;
|
||||||
|
position: absolute;
|
||||||
|
padding-left: 4px;
|
||||||
|
right: calc(-1.28571429em - 4px);
|
||||||
|
top: calc(100% - 14px);
|
||||||
|
z-index: 100;
|
||||||
|
color: @BackgroundColour;
|
||||||
|
background-color: #fff;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: @HeaderBackgroundColour;
|
||||||
|
}
|
||||||
|
}
|
||||||
+1
-1
@@ -1 +1 @@
|
|||||||
.tableData{border:solid 1px #f4f4f4;border-collapse:collapse;}.tableData>tbody>tr>td{border:solid 1px #f4f4f4;background-color:#fff;}.tableData>tbody>tr:nth-child(odd)>td{background-color:hsl(0,0%,98.5%);}.tableData>thead>tr>th,.tableData>tbody>tr>th{background-color:#f4f4f4;border:solid 1px #f4f4f4;}.tableData>tbody>tr:hover>td{background-color:hsl(0,0%,97.5%);}.tableData>tfoot>tr>th,.tableData>tfoot>tr>td{background-color:#f4f4f4;}.tableDataDark{border:solid 1px #d8d8d8;border-collapse:collapse;}.tableDataDark td{border:solid 1px #d8d8d8;background-color:#fff;}.tableDataDark th{background-color:#eee;border:solid 1px #d8d8d8;}.tableDataContainer{background-color:#fff;}.tableDataVertical{border:solid 1px #f4f4f4;border-collapse:collapse;}.tableDataVertical>tbody>tr:nth-child(odd){background-color:#f4f4f4;margin:0;padding:0;}.tableDataVertical>tbody>tr>th.name{width:170px;text-align:right;}.tableDataVertical table.sub>tbody>tr:not(:first-child)>th,.tableDataVertical table.sub>tbody>tr:not(:first-child)>td{border-top:1px dashed #aaa;}.tableDataVertical table.sub>tbody>tr>th{font-weight:normal;text-align:right;}.tableDataVertical table.sub>tbody>tr>th.name{text-align:right;}.icon16{display:inline-block;height:16px;width:16px;margin-left:2px;cursor:pointer;}.subtleUntilHover{-moz-opacity:.3;opacity:.3;}.subtleUntilHover:hover{-moz-opacity:1;opacity:1;}body{font-size:12px;font-family:"Segoe UI",Arial,Verdana,Tahoma,sans-serif;margin:0;padding:0;color:#333;}body.layout{background:url(data:image/png;base64,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) left top repeat-x #d1d1d1;background:linear-gradient(to bottom,#f2f2f2 0,#d1d1d1 370px) left top repeat-x #d1d1d1;min-height:370px;}.page{max-width:1232px;min-width:768px;margin-left:auto;margin-right:auto;}header,#header{position:relative;background-color:#333;margin:0;padding:0;height:34px;}header #heading,#header #heading{float:left;height:34px;}header #heading i,#header #heading i{display:block;height:Line truncated
|
.tableData{border:solid 1px #f4f4f4;border-collapse:collapse;}.tableData>tbody>tr>td{border:solid 1px #f4f4f4;background-color:#fff;}.tableData>tbody>tr:nth-child(odd)>td{background-color:hsl(0,0%,98.5%);}.tableData>thead>tr>th,.tableData>tbody>tr>th{background-color:#f4f4f4;border:solid 1px #f4f4f4;}.tableData>tbody>tr:hover>td{background-color:hsl(0,0%,97.5%);}.tableData>tfoot>tr>th,.tableData>tfoot>tr>td{background-color:#f4f4f4;}.tableDataDark{border:solid 1px #d8d8d8;border-collapse:collapse;}.tableDataDark td{border:solid 1px #d8d8d8;background-color:#fff;}.tableDataDark th{background-color:#eee;border:solid 1px #d8d8d8;}.tableDataContainer{background-color:#fff;}.tableDataVertical{border:solid 1px #f4f4f4;border-collapse:collapse;}.tableDataVertical>tbody>tr:nth-child(odd){background-color:#f4f4f4;margin:0;padding:0;}.tableDataVertical>tbody>tr>th.name{width:170px;text-align:right;}.tableDataVertical table.sub>tbody>tr:not(:first-child)>th,.tableDataVertical table.sub>tbody>tr:not(:first-child)>td{border-top:1px dashed #aaa;}.tableDataVertical table.sub>tbody>tr>th{font-weight:normal;text-align:right;}.tableDataVertical table.sub>tbody>tr>th.name{text-align:right;}.icon16{display:inline-block;height:16px;width:16px;margin-left:2px;cursor:pointer;}.subtleUntilHover{-moz-opacity:.3;opacity:.3;}.subtleUntilHover:hover{-moz-opacity:1;opacity:1;}body{font-size:12px;font-family:"Segoe UI",Arial,Verdana,Tahoma,sans-serif;margin:0;padding:0;color:#333;}body.layout{background:url(data:image/png;base64,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) left top repeat-x #d1d1d1;background:linear-gradient(to bottom,#f2f2f2 0,#d1d1d1 370px) left top repeat-x #d1d1d1;min-height:370px;}.page{max-width:1232px;min-width:768px;margin-left:auto;margin-right:auto;}header,#header{position:relative;background-color:#333;margin:0;padding:0;height:34px;}header #heading,#header #heading{float:left;height:34px;}header #heading i,#header #heading i{display:block;height:Line truncated
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<h4 id="Device_Show_Details_Asset_Name" title="Computer Name">@Model.Device.ComputerName</h4>
|
<h4 id="Device_Show_Details_Asset_Name" title="Computer Name"><span data-clipboard>@Model.Device.ComputerName</span></h4>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<h4 id="Device_Show_Details_Asset_Domain" title="Computer Domain">@Model.Device.ComputerDomainName</h4>
|
<h4 id="Device_Show_Details_Asset_Domain" title="Computer Domain"><span data-clipboard>@Model.Device.ComputerDomainName</span></h4>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<span class="small discreet">@(Model.Device.AssetNumber ?? "Unknown")</span>
|
<span class="small discreet" data-clipboard>@(Model.Device.AssetNumber ?? "Unknown")</span>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -63,7 +63,7 @@
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<span class="small discreet">@(Model.Device.Location ?? "Unknown")</span>
|
<span class="small discreet" data-clipboard>@(Model.Device.Location ?? "Unknown")</span>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -207,25 +207,27 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
<div id="Device_Show_User_DisplayName" title="Display Name">
|
<div id="Device_Show_User_DisplayName" title="Display Name">
|
||||||
@if (Authorization.Has(Claims.User.Show))
|
<span data-clipboard>
|
||||||
{
|
@if (Authorization.Has(Claims.User.Show))
|
||||||
@Html.ActionLink(assignedUser.DisplayName, MVC.User.Show(assignedUser.UserId))
|
{
|
||||||
}
|
@Html.ActionLink(assignedUser.DisplayName, MVC.User.Show(assignedUser.UserId))
|
||||||
else
|
}
|
||||||
{
|
else
|
||||||
@assignedUser.DisplayName
|
{
|
||||||
}
|
@assignedUser.DisplayName
|
||||||
|
}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div id="Device_Show_User_Id" title="Id">@assignedUser.FriendlyId()</div>
|
<div id="Device_Show_User_Id" title="Id"><span data-clipboard>@assignedUser.FriendlyId()</span></div>
|
||||||
@if (Authorization.Has(Claims.User.ShowDetails))
|
@if (Authorization.Has(Claims.User.ShowDetails))
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrWhiteSpace(assignedUser.PhoneNumber))
|
if (!string.IsNullOrWhiteSpace(assignedUser.PhoneNumber))
|
||||||
{
|
{
|
||||||
<div id="Device_Show_User_PhoneNumber" title="Phone Number"><a href="tel:@assignedUser.PhoneNumber">@assignedUser.PhoneNumber</a></div>
|
<div id="Device_Show_User_PhoneNumber" title="Phone Number"><a href="tel:@assignedUser.PhoneNumber" data-clipboard>@assignedUser.PhoneNumber</a></div>
|
||||||
}
|
}
|
||||||
if (!string.IsNullOrWhiteSpace(assignedUser.EmailAddress))
|
if (!string.IsNullOrWhiteSpace(assignedUser.EmailAddress))
|
||||||
{
|
{
|
||||||
<div id="Device_Show_User_EmailAddress" title="Email Address"><a href="mailto:@(Model.Device.AssignedUser.EmailAddress)">@assignedUser.EmailAddress</a></div>
|
<div id="Device_Show_User_EmailAddress" title="Email Address"><a href="mailto:@(Model.Device.AssignedUser.EmailAddress)" data-clipboard="@assignedUser.DisplayName <@assignedUser.EmailAddress>">@assignedUser.EmailAddress</a></div>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@if (Authorization.Has(Claims.User.ShowFlagAssignments))
|
@if (Authorization.Has(Claims.User.ShowFlagAssignments))
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -177,15 +177,17 @@
|
|||||||
<td id="Job_Show_Device">
|
<td id="Job_Show_Device">
|
||||||
<div>
|
<div>
|
||||||
<h2 id="Job_Show_Device_SerialNumber" title="Serial Number">
|
<h2 id="Job_Show_Device_SerialNumber" title="Serial Number">
|
||||||
@if (Authorization.Has(Claims.Device.Show))
|
<span data-clipboard>
|
||||||
{@Html.ActionLink(Model.Job.DeviceSerialNumber, MVC.Device.Show(Model.Job.DeviceSerialNumber))}
|
@if (Authorization.Has(Claims.Device.Show))
|
||||||
else
|
{@Html.ActionLink(Model.Job.DeviceSerialNumber, MVC.Device.Show(Model.Job.DeviceSerialNumber))}
|
||||||
{@Model.Job.DeviceSerialNumber}
|
else
|
||||||
|
{@Model.Job.DeviceSerialNumber}
|
||||||
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="clearfix">
|
<div class="clearfix">
|
||||||
<div id="Job_Show_Device_Details">
|
<div id="Job_Show_Device_Details">
|
||||||
<img id="Job_Show_Device_Model_Image" alt="Model Image" src="@Url.Action(MVC.API.DeviceModel.Image(Model.Job.Device.DeviceModelId, Model.Job.Device.DeviceModel.ImageHash()))" />
|
<img id="Job_Show_Device_Model_Image" alt="Model Image" src="@Url.Action(MVC.API.DeviceModel.Image(Model.Job.Device.DeviceModelId, Model.Job.Device.DeviceModel.ImageHash()))" />
|
||||||
<div id="Job_Show_Device_ComputerName" title="Computer Name">@Model.Job.Device.ComputerName</div>
|
<div id="Job_Show_Device_ComputerName" title="Computer Name"><span data-clipboard>@Model.Job.Device.ComputerName</span></div>
|
||||||
<div id="Job_Show_Device_Model" title="Model">@Html.ActionLink(Model.Job.Device.DeviceModel.ToString(), MVC.Config.DeviceModel.Index(Model.Job.Device.DeviceModelId))</div>
|
<div id="Job_Show_Device_Model" title="Model">@Html.ActionLink(Model.Job.Device.DeviceModel.ToString(), MVC.Config.DeviceModel.Index(Model.Job.Device.DeviceModelId))</div>
|
||||||
@if (Model.Job.Device.DeviceBatch != null)
|
@if (Model.Job.Device.DeviceBatch != null)
|
||||||
{
|
{
|
||||||
@@ -482,18 +484,20 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
<h2 id="Job_Show_User_DisplayName" title="Display Name">
|
<h2 id="Job_Show_User_DisplayName" title="Display Name">
|
||||||
@if (Authorization.Has(Claims.User.Show))
|
<span data-clipboard>
|
||||||
{@Html.ActionLink(Model.Job.User.DisplayName, MVC.User.Show(Model.Job.UserId))}
|
@if (Authorization.Has(Claims.User.Show))
|
||||||
else
|
{@Html.ActionLink(Model.Job.User.DisplayName, MVC.User.Show(Model.Job.UserId))}
|
||||||
{@Model.Job.User.DisplayName}
|
else
|
||||||
|
{@Model.Job.User.DisplayName}
|
||||||
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
<div id="Job_Show_User_Id" title="Id">@Model.Job.User.FriendlyId()</div>
|
<div id="Job_Show_User_Id" title="Id"><span data-clipboard>@Model.Job.User.FriendlyId()</span></div>
|
||||||
@if (Authorization.Has(Claims.User.ShowDetails))
|
@if (Authorization.Has(Claims.User.ShowDetails))
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrWhiteSpace(Model.Job.User.PhoneNumber))
|
if (!string.IsNullOrWhiteSpace(Model.Job.User.PhoneNumber))
|
||||||
{<div id="Job_Show_User_PhoneNumber" title="Phone Number">Phone: <a href="tel:@Model.Job.User.PhoneNumber">@Model.Job.User.PhoneNumber</a></div>}
|
{<div id="Job_Show_User_PhoneNumber" title="Phone Number">Phone: <a href="tel:@Model.Job.User.PhoneNumber" data-clipboard>@Model.Job.User.PhoneNumber</a></div>}
|
||||||
if (!string.IsNullOrWhiteSpace(Model.Job.User.EmailAddress))
|
if (!string.IsNullOrWhiteSpace(Model.Job.User.EmailAddress))
|
||||||
{<div id="Job_Show_User_EmailAddress" title="Email Address">Email: <a href="mailto:@(Model.Job.User.EmailAddress)">@Model.Job.User.EmailAddress</a></div>}
|
{<div id="Job_Show_User_EmailAddress" title="Email Address">Email: <a href="mailto:@(Model.Job.User.EmailAddress)" data-clipboard="@Model.Job.User.DisplayName <@Model.Job.User.EmailAddress>">@Model.Job.User.EmailAddress</a></div>}
|
||||||
}
|
}
|
||||||
@if (Authorization.Has(Claims.User.ShowFlagAssignments))
|
@if (Authorization.Has(Claims.User.ShowFlagAssignments))
|
||||||
{
|
{
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -1,23 +1,29 @@
|
|||||||
@model System.Collections.Generic.KeyValuePair<string, string>
|
@model System.Collections.Generic.KeyValuePair<string, string>
|
||||||
@using System.Text.RegularExpressions
|
@using Disco.Models.Services.Users.Contact
|
||||||
@{
|
@{
|
||||||
var emailMatch = Regex.Match(Model.Value, @"^(?<name>.+)\s?<(?<address>.+@.+)>$");
|
UserContactEmail email;
|
||||||
if (!emailMatch.Success)
|
if (UserContactEmail.TryParse(null, null, Model.Value, out email))
|
||||||
{
|
{
|
||||||
emailMatch = Regex.Match(Model.Value, @"^(?<address>.+@.+)$");
|
<a href="mailto:@email.EmailAddress" data-clipboard="@email.ToString()">@(string.IsNullOrWhiteSpace(email.Name) ? email.EmailAddress : email.Name)</a>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
UserContactAustralianPhone phone;
|
||||||
|
if (UserContactAustralianPhone.TryParse(null, null, Model.Value, out phone))
|
||||||
|
{
|
||||||
|
<a href="tel:@phone.PhoneNumber" data-clipboard="@phone.ToString()">@(string.IsNullOrWhiteSpace(phone.Name) ? phone.PhoneNumber : phone.Name)</a>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
UserContactAustralianPhone mobile;
|
||||||
|
if (UserContactAustralianPhone.TryParse(null, null, Model.Value, out mobile))
|
||||||
|
{
|
||||||
|
<a href="tel:@mobile.PhoneNumber" data-clipboard="@mobile.ToString()">@(string.IsNullOrWhiteSpace(mobile.Name) ? mobile.PhoneNumber : mobile.Name)</a>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
<span data-clipboard>@Model.Value</span>
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@if (emailMatch.Success)
|
|
||||||
{
|
|
||||||
var emailAddress = emailMatch.Groups["address"].Value;
|
|
||||||
var emailName = emailAddress;
|
|
||||||
if (emailMatch.Groups["name"].Success)
|
|
||||||
{
|
|
||||||
emailName = emailMatch.Groups["name"].Value;
|
|
||||||
}
|
|
||||||
<a href="mailto:@emailAddress">@emailName</a>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
<span>@Model.Value</span>
|
|
||||||
}
|
|
||||||
@@ -17,12 +17,6 @@ namespace Disco.Web.Views.Shared
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
#line 2 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
|
|
||||||
#line default
|
|
||||||
#line hidden
|
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.Helpers;
|
using System.Web.Helpers;
|
||||||
using System.Web.Mvc;
|
using System.Web.Mvc;
|
||||||
@@ -34,6 +28,12 @@ namespace Disco.Web.Views.Shared
|
|||||||
using System.Web.WebPages;
|
using System.Web.WebPages;
|
||||||
using Disco;
|
using Disco;
|
||||||
using Disco.Models.Repository;
|
using Disco.Models.Repository;
|
||||||
|
|
||||||
|
#line 2 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
using Disco.Models.Services.Users.Contact;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
using Disco.Services;
|
using Disco.Services;
|
||||||
using Disco.Services.Authorization;
|
using Disco.Services.Authorization;
|
||||||
using Disco.Services.Web;
|
using Disco.Services.Web;
|
||||||
@@ -52,49 +52,42 @@ namespace Disco.Web.Views.Shared
|
|||||||
|
|
||||||
#line 3 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
#line 3 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
|
||||||
var emailMatch = Regex.Match(Model.Value, @"^(?<name>.+)\s?<(?<address>.+@.+)>$");
|
UserContactEmail email;
|
||||||
if (!emailMatch.Success)
|
if (UserContactEmail.TryParse(null, null, Model.Value, out email))
|
||||||
{
|
{
|
||||||
emailMatch = Regex.Match(Model.Value, @"^(?<address>.+@.+)$");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
WriteLiteral("\r\n");
|
WriteLiteral(" <a");
|
||||||
|
|
||||||
|
WriteAttribute("href", Tuple.Create(" href=\"", 230), Tuple.Create("\"", 263)
|
||||||
|
, Tuple.Create(Tuple.Create("", 237), Tuple.Create("mailto:", 237), true)
|
||||||
|
|
||||||
#line 10 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
#line 7 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
if (emailMatch.Success)
|
, Tuple.Create(Tuple.Create("", 244), Tuple.Create<System.Object, System.Int32>(email.EmailAddress
|
||||||
{
|
|
||||||
var emailAddress = emailMatch.Groups["address"].Value;
|
|
||||||
var emailName = emailAddress;
|
|
||||||
if (emailMatch.Groups["name"].Success)
|
|
||||||
{
|
|
||||||
emailName = emailMatch.Groups["name"].Value;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
WriteLiteral(" <a");
|
, 244), false)
|
||||||
|
|
||||||
WriteAttribute("href", Tuple.Create(" href=\"", 556), Tuple.Create("\"", 583)
|
|
||||||
, Tuple.Create(Tuple.Create("", 563), Tuple.Create("mailto:", 563), true)
|
|
||||||
|
|
||||||
#line 18 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
|
||||||
, Tuple.Create(Tuple.Create("", 570), Tuple.Create<System.Object, System.Int32>(emailAddress
|
|
||||||
|
|
||||||
#line default
|
|
||||||
#line hidden
|
|
||||||
, 570), false)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
WriteLiteral(" data-clipboard=\"");
|
||||||
|
|
||||||
|
|
||||||
|
#line 7 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
Write(email.ToString());
|
||||||
|
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
WriteLiteral("\"");
|
||||||
|
|
||||||
WriteLiteral(">");
|
WriteLiteral(">");
|
||||||
|
|
||||||
|
|
||||||
#line 18 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
#line 7 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
Write(emailName);
|
Write(string.IsNullOrWhiteSpace(email.Name) ? email.EmailAddress : email.Name);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -102,19 +95,113 @@ WriteLiteral(">");
|
|||||||
WriteLiteral("</a>\r\n");
|
WriteLiteral("</a>\r\n");
|
||||||
|
|
||||||
|
|
||||||
#line 19 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
#line 8 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
UserContactAustralianPhone phone;
|
||||||
|
if (UserContactAustralianPhone.TryParse(null, null, Model.Value, out phone))
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
WriteLiteral(" <span>");
|
WriteLiteral(" <a");
|
||||||
|
|
||||||
|
WriteAttribute("href", Tuple.Create(" href=\"", 558), Tuple.Create("\"", 587)
|
||||||
|
, Tuple.Create(Tuple.Create("", 565), Tuple.Create("tel:", 565), true)
|
||||||
|
|
||||||
|
#line 14 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
, Tuple.Create(Tuple.Create("", 569), Tuple.Create<System.Object, System.Int32>(phone.PhoneNumber
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
, 569), false)
|
||||||
|
);
|
||||||
|
|
||||||
|
WriteLiteral(" data-clipboard=\"");
|
||||||
|
|
||||||
|
|
||||||
|
#line 14 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
Write(phone.ToString());
|
||||||
|
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
WriteLiteral("\"");
|
||||||
|
|
||||||
|
WriteLiteral(">");
|
||||||
|
|
||||||
|
|
||||||
|
#line 14 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
Write(string.IsNullOrWhiteSpace(phone.Name) ? phone.PhoneNumber : phone.Name);
|
||||||
|
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
WriteLiteral("</a>\r\n");
|
||||||
|
|
||||||
|
|
||||||
|
#line 15 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
UserContactAustralianPhone mobile;
|
||||||
|
if (UserContactAustralianPhone.TryParse(null, null, Model.Value, out mobile))
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
WriteLiteral(" <a");
|
||||||
|
|
||||||
|
WriteAttribute("href", Tuple.Create(" href=\"", 911), Tuple.Create("\"", 941)
|
||||||
|
, Tuple.Create(Tuple.Create("", 918), Tuple.Create("tel:", 918), true)
|
||||||
|
|
||||||
|
#line 21 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
, Tuple.Create(Tuple.Create("", 922), Tuple.Create<System.Object, System.Int32>(mobile.PhoneNumber
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
, 922), false)
|
||||||
|
);
|
||||||
|
|
||||||
|
WriteLiteral(" data-clipboard=\"");
|
||||||
|
|
||||||
|
|
||||||
|
#line 21 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
Write(mobile.ToString());
|
||||||
|
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
WriteLiteral("\"");
|
||||||
|
|
||||||
|
WriteLiteral(">");
|
||||||
|
|
||||||
|
|
||||||
|
#line 21 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
Write(string.IsNullOrWhiteSpace(mobile.Name) ? mobile.PhoneNumber : mobile.Name);
|
||||||
|
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
WriteLiteral("</a>\r\n");
|
||||||
|
|
||||||
|
|
||||||
#line 22 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
#line 22 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
Write(Model.Value);
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
WriteLiteral(" <span data-clipboard>");
|
||||||
|
|
||||||
|
|
||||||
|
#line 25 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
|
Write(Model.Value);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -122,11 +209,16 @@ WriteLiteral(" <span>");
|
|||||||
WriteLiteral("</span>\r\n");
|
WriteLiteral("</span>\r\n");
|
||||||
|
|
||||||
|
|
||||||
#line 23 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
#line 26 "..\..\Views\Shared\_CustomDetailValueRender.cshtml"
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
WriteLiteral("\r\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,20 +23,20 @@
|
|||||||
<span>Username (Id):</span>
|
<span>Username (Id):</span>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<h4 id="User_Show_Details_Identity_Id" title="Username">@Model.User.UserId</h4>
|
<h4 id="User_Show_Details_Identity_Id" title="Username" data-clipboard>@Model.User.UserId</h4>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Display Name:</td>
|
<td>Display Name:</td>
|
||||||
<td><span id="User_Show_Details_Identity_DisplayName" title="Display Name">@Model.User.DisplayName</span></td>
|
<td><span id="User_Show_Details_Identity_DisplayName" title="Display Name" data-clipboard>@Model.User.DisplayName</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Given Name:</td>
|
<td>Given Name:</td>
|
||||||
<td><span id="User_Show_Details_Identity_GivenName" title="Given Name">@Model.User.GivenName</span></td>
|
<td><span id="User_Show_Details_Identity_GivenName" title="Given Name" data-clipboard>@Model.User.GivenName</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Surname:</td>
|
<td>Surname:</td>
|
||||||
<td><span id="User_Show_Details_Identity_Surname" title="Surname">@Model.User.Surname</span></td>
|
<td><span id="User_Show_Details_Identity_Surname" title="Surname" data-clipboard>@Model.User.Surname</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
<td>
|
<td>
|
||||||
@if (!string.IsNullOrEmpty(Model.User.EmailAddress))
|
@if (!string.IsNullOrEmpty(Model.User.EmailAddress))
|
||||||
{
|
{
|
||||||
<span id="User_Show_Details_Attributes_Email" title="Email Address [Update in Active Directory]"><a href="mailto:@Model.User.EmailAddress">@Model.User.EmailAddress</a></span>
|
<span id="User_Show_Details_Attributes_Email" title="Email Address [Update in Active Directory]"><a href="mailto:@Model.User.EmailAddress" data-clipboard="@Model.User.DisplayName <@Model.User.EmailAddress>">@Model.User.EmailAddress</a></span>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
<td>
|
<td>
|
||||||
@if (!string.IsNullOrEmpty(Model.User.PhoneNumber))
|
@if (!string.IsNullOrEmpty(Model.User.PhoneNumber))
|
||||||
{
|
{
|
||||||
<span id="User_Show_Details_Attributes_Phone" title="Phone Number [Update in Active Directory]"><a href="tel:@Model.User.PhoneNumber">@Model.User.PhoneNumber</a></span>
|
<span id="User_Show_Details_Attributes_Phone" title="Phone Number [Update in Active Directory]"><a href="tel:@Model.User.PhoneNumber" data-clipboard>@Model.User.PhoneNumber</a></span>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -358,7 +358,7 @@
|
|||||||
Serial Number:
|
Serial Number:
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="User_Show_AssignedDevices_CurrentAssignment_SerialNumber">
|
<span class="User_Show_AssignedDevices_CurrentAssignment_SerialNumber" data-clipboard>
|
||||||
@if (Authorization.Has(Claims.Device.Show))
|
@if (Authorization.Has(Claims.Device.Show))
|
||||||
{
|
{
|
||||||
@Html.ActionLink(assignment.Device.SerialNumber, MVC.Device.Show(assignment.Device.SerialNumber))
|
@Html.ActionLink(assignment.Device.SerialNumber, MVC.Device.Show(assignment.Device.SerialNumber))
|
||||||
@@ -370,7 +370,7 @@
|
|||||||
</span>
|
</span>
|
||||||
@if (!string.IsNullOrWhiteSpace(assignment.Device.ComputerName))
|
@if (!string.IsNullOrWhiteSpace(assignment.Device.ComputerName))
|
||||||
{
|
{
|
||||||
<text>(<span class="User_Show_AssignedDevices_CurrentAssignment_ComputerName">@assignment.Device.ComputerName</span>)</text>
|
<text>(<span class="User_Show_AssignedDevices_CurrentAssignment_ComputerName" data-clipboard>@assignment.Device.ComputerName</span>)</text>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -379,7 +379,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>Asset:</td>
|
<td>Asset:</td>
|
||||||
<td>
|
<td>
|
||||||
<span class="User_Show_AssignedDevices_CurrentAssignment_Asset">@assignment.Device.AssetNumber</span>
|
<span class="User_Show_AssignedDevices_CurrentAssignment_Asset" data-clipboard>@assignment.Device.AssetNumber</span>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -141,11 +141,11 @@ WriteLiteral(" id=\"User_Show_Details_Identity_Id\"");
|
|||||||
|
|
||||||
WriteLiteral(" title=\"Username\"");
|
WriteLiteral(" title=\"Username\"");
|
||||||
|
|
||||||
WriteLiteral(">");
|
WriteLiteral(" data-clipboard>");
|
||||||
|
|
||||||
|
|
||||||
#line 26 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 26 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
Write(Model.User.UserId);
|
Write(Model.User.UserId);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -158,11 +158,11 @@ WriteLiteral(" id=\"User_Show_Details_Identity_DisplayName\"");
|
|||||||
|
|
||||||
WriteLiteral(" title=\"Display Name\"");
|
WriteLiteral(" title=\"Display Name\"");
|
||||||
|
|
||||||
WriteLiteral(">");
|
WriteLiteral(" data-clipboard>");
|
||||||
|
|
||||||
|
|
||||||
#line 31 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 31 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
Write(Model.User.DisplayName);
|
Write(Model.User.DisplayName);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -175,11 +175,11 @@ WriteLiteral(" id=\"User_Show_Details_Identity_GivenName\"");
|
|||||||
|
|
||||||
WriteLiteral(" title=\"Given Name\"");
|
WriteLiteral(" title=\"Given Name\"");
|
||||||
|
|
||||||
WriteLiteral(">");
|
WriteLiteral(" data-clipboard>");
|
||||||
|
|
||||||
|
|
||||||
#line 35 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 35 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
Write(Model.User.GivenName);
|
Write(Model.User.GivenName);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -192,11 +192,11 @@ WriteLiteral(" id=\"User_Show_Details_Identity_Surname\"");
|
|||||||
|
|
||||||
WriteLiteral(" title=\"Surname\"");
|
WriteLiteral(" title=\"Surname\"");
|
||||||
|
|
||||||
WriteLiteral(">");
|
WriteLiteral(" data-clipboard>");
|
||||||
|
|
||||||
|
|
||||||
#line 39 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 39 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
Write(Model.User.Surname);
|
Write(Model.User.Surname);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -253,22 +253,42 @@ WriteLiteral(" title=\"Email Address [Update in Active Directory]\"");
|
|||||||
|
|
||||||
WriteLiteral("><a");
|
WriteLiteral("><a");
|
||||||
|
|
||||||
WriteAttribute("href", Tuple.Create(" href=\"", 2808), Tuple.Create("\"", 2846)
|
WriteAttribute("href", Tuple.Create(" href=\"", 2868), Tuple.Create("\"", 2906)
|
||||||
, Tuple.Create(Tuple.Create("", 2815), Tuple.Create("mailto:", 2815), true)
|
, Tuple.Create(Tuple.Create("", 2875), Tuple.Create("mailto:", 2875), true)
|
||||||
|
|
||||||
#line 52 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 52 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 2822), Tuple.Create<System.Object, System.Int32>(Model.User.EmailAddress
|
, Tuple.Create(Tuple.Create("", 2882), Tuple.Create<System.Object, System.Int32>(Model.User.EmailAddress
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 2822), false)
|
, 2882), false)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
WriteLiteral(" data-clipboard=\"");
|
||||||
|
|
||||||
|
|
||||||
|
#line 52 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
|
Write(Model.User.DisplayName);
|
||||||
|
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
WriteLiteral(" <");
|
||||||
|
|
||||||
|
|
||||||
|
#line 52 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
|
Write(Model.User.EmailAddress);
|
||||||
|
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
WriteLiteral(">\"");
|
||||||
|
|
||||||
WriteLiteral(">");
|
WriteLiteral(">");
|
||||||
|
|
||||||
|
|
||||||
#line 52 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 52 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
Write(Model.User.EmailAddress);
|
Write(Model.User.EmailAddress);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -323,22 +343,22 @@ WriteLiteral(" title=\"Phone Number [Update in Active Directory]\"");
|
|||||||
|
|
||||||
WriteLiteral("><a");
|
WriteLiteral("><a");
|
||||||
|
|
||||||
WriteAttribute("href", Tuple.Create(" href=\"", 3640), Tuple.Create("\"", 3674)
|
WriteAttribute("href", Tuple.Create(" href=\"", 3774), Tuple.Create("\"", 3808)
|
||||||
, Tuple.Create(Tuple.Create("", 3647), Tuple.Create("tel:", 3647), true)
|
, Tuple.Create(Tuple.Create("", 3781), Tuple.Create("tel:", 3781), true)
|
||||||
|
|
||||||
#line 65 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 65 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 3651), Tuple.Create<System.Object, System.Int32>(Model.User.PhoneNumber
|
, Tuple.Create(Tuple.Create("", 3785), Tuple.Create<System.Object, System.Int32>(Model.User.PhoneNumber
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 3651), false)
|
, 3785), false)
|
||||||
);
|
);
|
||||||
|
|
||||||
WriteLiteral(">");
|
WriteLiteral(" data-clipboard>");
|
||||||
|
|
||||||
|
|
||||||
#line 65 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 65 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
Write(Model.User.PhoneNumber);
|
Write(Model.User.PhoneNumber);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -670,14 +690,14 @@ WriteLiteral(" class=\"CreateJob_Assignment_Image\"");
|
|||||||
|
|
||||||
WriteLiteral(" alt=\"Model Image\"");
|
WriteLiteral(" alt=\"Model Image\"");
|
||||||
|
|
||||||
WriteAttribute("src", Tuple.Create(" src=\"", 8673), Tuple.Create("\"", 8794)
|
WriteAttribute("src", Tuple.Create(" src=\"", 8822), Tuple.Create("\"", 8943)
|
||||||
|
|
||||||
#line 141 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 141 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 8679), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.API.DeviceModel.Image(assignment.Device.DeviceModel.Id, assignment.Device.DeviceModel.ImageHash()))
|
, Tuple.Create(Tuple.Create("", 8828), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.API.DeviceModel.Image(assignment.Device.DeviceModel.Id, assignment.Device.DeviceModel.ImageHash()))
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 8679), false)
|
, 8828), false)
|
||||||
);
|
);
|
||||||
|
|
||||||
WriteLiteral(@" />
|
WriteLiteral(@" />
|
||||||
@@ -935,14 +955,14 @@ WriteLiteral(" type=\"hidden\"");
|
|||||||
|
|
||||||
WriteLiteral(" name=\"UserId\"");
|
WriteLiteral(" name=\"UserId\"");
|
||||||
|
|
||||||
WriteAttribute("value", Tuple.Create(" value=\"", 15859), Tuple.Create("\"", 15885)
|
WriteAttribute("value", Tuple.Create(" value=\"", 16008), Tuple.Create("\"", 16034)
|
||||||
|
|
||||||
#line 246 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 246 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 15867), Tuple.Create<System.Object, System.Int32>(Model.User.UserId
|
, Tuple.Create(Tuple.Create("", 16016), Tuple.Create<System.Object, System.Int32>(Model.User.UserId
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 15867), false)
|
, 16016), false)
|
||||||
);
|
);
|
||||||
|
|
||||||
WriteLiteral(" />\r\n");
|
WriteLiteral(" />\r\n");
|
||||||
@@ -984,26 +1004,26 @@ WriteLiteral("\"");
|
|||||||
|
|
||||||
WriteLiteral(">\r\n <i");
|
WriteLiteral(">\r\n <i");
|
||||||
|
|
||||||
WriteAttribute("class", Tuple.Create(" class=\"", 16259), Tuple.Create("\"", 16326)
|
WriteAttribute("class", Tuple.Create(" class=\"", 16408), Tuple.Create("\"", 16475)
|
||||||
, Tuple.Create(Tuple.Create("", 16267), Tuple.Create("fa", 16267), true)
|
, Tuple.Create(Tuple.Create("", 16416), Tuple.Create("fa", 16416), true)
|
||||||
, Tuple.Create(Tuple.Create(" ", 16269), Tuple.Create("fa-", 16270), true)
|
, Tuple.Create(Tuple.Create(" ", 16418), Tuple.Create("fa-", 16419), true)
|
||||||
|
|
||||||
#line 251 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 251 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 16273), Tuple.Create<System.Object, System.Int32>(userFlag.Icon
|
, Tuple.Create(Tuple.Create("", 16422), Tuple.Create<System.Object, System.Int32>(userFlag.Icon
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 16273), false)
|
, 16422), false)
|
||||||
, Tuple.Create(Tuple.Create(" ", 16289), Tuple.Create("fa-fw", 16290), true)
|
, Tuple.Create(Tuple.Create(" ", 16438), Tuple.Create("fa-fw", 16439), true)
|
||||||
, Tuple.Create(Tuple.Create(" ", 16295), Tuple.Create("fa-lg", 16296), true)
|
, Tuple.Create(Tuple.Create(" ", 16444), Tuple.Create("fa-lg", 16445), true)
|
||||||
, Tuple.Create(Tuple.Create(" ", 16301), Tuple.Create("d-", 16302), true)
|
, Tuple.Create(Tuple.Create(" ", 16450), Tuple.Create("d-", 16451), true)
|
||||||
|
|
||||||
#line 251 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 251 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 16304), Tuple.Create<System.Object, System.Int32>(userFlag.IconColour
|
, Tuple.Create(Tuple.Create("", 16453), Tuple.Create<System.Object, System.Int32>(userFlag.IconColour
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 16304), false)
|
, 16453), false)
|
||||||
);
|
);
|
||||||
|
|
||||||
WriteLiteral("></i>");
|
WriteLiteral("></i>");
|
||||||
@@ -1184,14 +1204,14 @@ WriteLiteral(">\r\n");
|
|||||||
#line hidden
|
#line hidden
|
||||||
WriteLiteral(" <a");
|
WriteLiteral(" <a");
|
||||||
|
|
||||||
WriteAttribute("href", Tuple.Create(" href=\"", 21724), Tuple.Create("\"", 21791)
|
WriteAttribute("href", Tuple.Create(" href=\"", 21873), Tuple.Create("\"", 21940)
|
||||||
|
|
||||||
#line 345 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 345 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 21731), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Device.Show(assignment.Device.SerialNumber))
|
, Tuple.Create(Tuple.Create("", 21880), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.Device.Show(assignment.Device.SerialNumber))
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 21731), false)
|
, 21880), false)
|
||||||
);
|
);
|
||||||
|
|
||||||
WriteLiteral(">\r\n <img");
|
WriteLiteral(">\r\n <img");
|
||||||
@@ -1200,14 +1220,14 @@ WriteLiteral(" class=\"User_Show_AssignedDevices_CurrentAssignment_Image\"");
|
|||||||
|
|
||||||
WriteLiteral(" alt=\"Model Image\"");
|
WriteLiteral(" alt=\"Model Image\"");
|
||||||
|
|
||||||
WriteAttribute("src", Tuple.Create(" src=\"", 21923), Tuple.Create("\"", 22044)
|
WriteAttribute("src", Tuple.Create(" src=\"", 22072), Tuple.Create("\"", 22193)
|
||||||
|
|
||||||
#line 346 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 346 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 21929), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.API.DeviceModel.Image(assignment.Device.DeviceModel.Id, assignment.Device.DeviceModel.ImageHash()))
|
, Tuple.Create(Tuple.Create("", 22078), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.API.DeviceModel.Image(assignment.Device.DeviceModel.Id, assignment.Device.DeviceModel.ImageHash()))
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 21929), false)
|
, 22078), false)
|
||||||
);
|
);
|
||||||
|
|
||||||
WriteLiteral(" />\r\n </a>\r\n");
|
WriteLiteral(" />\r\n </a>\r\n");
|
||||||
@@ -1227,14 +1247,14 @@ WriteLiteral(" class=\"User_Show_AssignedDevices_CurrentAssignment_Image\"");
|
|||||||
|
|
||||||
WriteLiteral(" alt=\"Model Image\"");
|
WriteLiteral(" alt=\"Model Image\"");
|
||||||
|
|
||||||
WriteAttribute("src", Tuple.Create(" src=\"", 22356), Tuple.Create("\"", 22477)
|
WriteAttribute("src", Tuple.Create(" src=\"", 22505), Tuple.Create("\"", 22626)
|
||||||
|
|
||||||
#line 351 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 351 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 22362), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.API.DeviceModel.Image(assignment.Device.DeviceModel.Id, assignment.Device.DeviceModel.ImageHash()))
|
, Tuple.Create(Tuple.Create("", 22511), Tuple.Create<System.Object, System.Int32>(Url.Action(MVC.API.DeviceModel.Image(assignment.Device.DeviceModel.Id, assignment.Device.DeviceModel.ImageHash()))
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 22362), false)
|
, 22511), false)
|
||||||
);
|
);
|
||||||
|
|
||||||
WriteLiteral(" />\r\n");
|
WriteLiteral(" />\r\n");
|
||||||
@@ -1265,7 +1285,7 @@ WriteLiteral(@">
|
|||||||
|
|
||||||
WriteLiteral(" class=\"User_Show_AssignedDevices_CurrentAssignment_SerialNumber\"");
|
WriteLiteral(" class=\"User_Show_AssignedDevices_CurrentAssignment_SerialNumber\"");
|
||||||
|
|
||||||
WriteLiteral(">\r\n");
|
WriteLiteral(" data-clipboard>\r\n");
|
||||||
|
|
||||||
|
|
||||||
#line 362 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 362 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
@@ -1335,11 +1355,11 @@ WriteLiteral("(<span");
|
|||||||
|
|
||||||
WriteLiteral(" class=\"User_Show_AssignedDevices_CurrentAssignment_ComputerName\"");
|
WriteLiteral(" class=\"User_Show_AssignedDevices_CurrentAssignment_ComputerName\"");
|
||||||
|
|
||||||
WriteLiteral(">");
|
WriteLiteral(" data-clipboard>");
|
||||||
|
|
||||||
|
|
||||||
#line 373 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 373 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
Write(assignment.Device.ComputerName);
|
Write(assignment.Device.ComputerName);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -1379,11 +1399,11 @@ WriteLiteral(@" <tr>
|
|||||||
|
|
||||||
WriteLiteral(" class=\"User_Show_AssignedDevices_CurrentAssignment_Asset\"");
|
WriteLiteral(" class=\"User_Show_AssignedDevices_CurrentAssignment_Asset\"");
|
||||||
|
|
||||||
WriteLiteral(">");
|
WriteLiteral(" data-clipboard>");
|
||||||
|
|
||||||
|
|
||||||
#line 382 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 382 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
Write(assignment.Device.AssetNumber);
|
Write(assignment.Device.AssetNumber);
|
||||||
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
@@ -1560,26 +1580,26 @@ WriteLiteral(">\r\n");
|
|||||||
#line hidden
|
#line hidden
|
||||||
WriteLiteral(" <i");
|
WriteLiteral(" <i");
|
||||||
|
|
||||||
WriteAttribute("class", Tuple.Create(" class=\"", 29066), Tuple.Create("\"", 29136)
|
WriteAttribute("class", Tuple.Create(" class=\"", 29260), Tuple.Create("\"", 29330)
|
||||||
, Tuple.Create(Tuple.Create("", 29074), Tuple.Create("flag", 29074), true)
|
, Tuple.Create(Tuple.Create("", 29268), Tuple.Create("flag", 29268), true)
|
||||||
, Tuple.Create(Tuple.Create(" ", 29078), Tuple.Create("fa", 29079), true)
|
, Tuple.Create(Tuple.Create(" ", 29272), Tuple.Create("fa", 29273), true)
|
||||||
, Tuple.Create(Tuple.Create(" ", 29081), Tuple.Create("fa-", 29082), true)
|
, Tuple.Create(Tuple.Create(" ", 29275), Tuple.Create("fa-", 29276), true)
|
||||||
|
|
||||||
#line 430 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 430 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 29085), Tuple.Create<System.Object, System.Int32>(flag.Item2.Icon
|
, Tuple.Create(Tuple.Create("", 29279), Tuple.Create<System.Object, System.Int32>(flag.Item2.Icon
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 29085), false)
|
, 29279), false)
|
||||||
, Tuple.Create(Tuple.Create(" ", 29103), Tuple.Create("fa-fw", 29104), true)
|
, Tuple.Create(Tuple.Create(" ", 29297), Tuple.Create("fa-fw", 29298), true)
|
||||||
, Tuple.Create(Tuple.Create(" ", 29109), Tuple.Create("d-", 29110), true)
|
, Tuple.Create(Tuple.Create(" ", 29303), Tuple.Create("d-", 29304), true)
|
||||||
|
|
||||||
#line 430 "..\..\Views\User\UserParts\_Subject.cshtml"
|
#line 430 "..\..\Views\User\UserParts\_Subject.cshtml"
|
||||||
, Tuple.Create(Tuple.Create("", 29112), Tuple.Create<System.Object, System.Int32>(flag.Item2.IconColour
|
, Tuple.Create(Tuple.Create("", 29306), Tuple.Create<System.Object, System.Int32>(flag.Item2.IconColour
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
, 29112), false)
|
, 29306), false)
|
||||||
);
|
);
|
||||||
|
|
||||||
WriteLiteral(">\r\n <s" +
|
WriteLiteral(">\r\n <s" +
|
||||||
|
|||||||
Reference in new issue
Block a user