This commit is contained in:
2018-06-29 19:47:36 +00:00
commit be7f501333
3769 changed files with 1425961 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
@using ri.util;
@model RIIntegrationData
@{
ViewBag.Title = "Customer portal settings";
}
@using (Html.BeginForm())
{
<div class="row">
@ay.edSelectGroup("Workorder report for client view", "ClientWorkorderReportID", ay.ClientPortalServiceWorkorderReportList(), Model.ClientWorkorderReportID.ToString(), ViewBag)
@ay.edTextAreaGroup("Client service request info text", "CSRInfoText", Model.CSRInfoText, ViewBag)
@ay.edCheckGroup("Client can view their workorder wiki page", "ClientViewWorkorderWiki", Model.ClientViewWorkorderWiki, ViewBag)
</div>
<div class="row">
@ay.saveBackButtonGroup(ViewBag)
</div>
}
@ay.jsAreYouSure()

View File

@@ -0,0 +1,38 @@
@using ri.util;
@using (Html.BeginForm())
{
<hr />
<div class="row">
<label for="nativeDateTimeLocal">Use native date time picker:</label>
<input type="checkbox" name="nativeDateTimeLocal" id="nativeDateTimeLocal" />
</div>
<hr />
<div class="row">
@ay.formBackButton()
</div>
}
<script>
$(document).ready(function () {
$("#nativeDateTimeLocal").prop("checked", !ayShimDateTime());
$("#nativeDateTimeLocal").change(function (ev) {
debugger;
var shim = !this.checked;
if (sessionStorage) {
if (shim) {
sessionStorage.ayShimDateTime = true;
}
else {
sessionStorage.removeItem('ayShimDateTime')
}
} else {
alert('This browser does not support session storage, local settings can not be made!');
}
});
});
</script>

View File

@@ -0,0 +1,15 @@
@using ri.util;
@using (Html.BeginForm())
{
<div class="row">
@ay.edNumberGroup("User.Label.TimeZoneOffset", "TimeZoneOffset", ViewBag.offset.ToString(), true, ViewBag)
</div>
<a href="http://en.wikipedia.org/wiki/List_of_UTC_time_offsets"><small>(i.e. California "-8", Arizona "-7", New York "-5", Uruguay "-3", Ireland "0", Finland "2", Samoa "13")</small></a>
<div class="row">
@ay.saveBackButtonGroup(ViewBag)
</div>
}
@ay.jsAreYouSure()