Skip to content

Commit

Permalink
plumb5
Browse files Browse the repository at this point in the history
  • Loading branch information
Plumb5 authored and Plumb5 committed Aug 24, 2024
1 parent b6ac524 commit 13d45c2
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 1 deletion.
17 changes: 17 additions & 0 deletions Plumb5/Areas/UCP/Controllers/UsersJourneyController.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using Microsoft.AspNetCore.Mvc;
using Plumb5.Controllers;

namespace Plumb5.Areas.UCP.Controllers
{
[Area("UCP")]
public class UsersJourneyController : BaseController
{
public UsersJourneyController(IConfiguration _configuration) : base(_configuration)
{ }
public ActionResult Index()
{
return View("UsersJourney");
}

}
}
30 changes: 30 additions & 0 deletions Plumb5/Areas/UCP/Views/UsersJourney/UsersJourney.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
@{
ViewBag.Title = "UsersJourney";
Layout = "~/Views/Shared/PlumbAccountMaster.cshtml";
}

<section class="sheet">
<div class="pageheader">
<h6 class="pagetitle">Contact UCP</h6>
<div class="contactUcpbread">
<ol class="breadcrumb slim-breadcrumb">
<li class="breadcrumb-item">
<a href="#">Contacts</a>
</li>
<li class="breadcrumb-item active" aria-current="page">Contacts UCP</li>
</ol>
</div>
</div>
<div class="container-UCP" style="height:300px">
<div class="row">
<label id="urlid"> Please Enter a proper url values in following format https://dashboard.plumb5.com/ucp/usersJourney?aid=0&cid=0&mid=0 </label>

</div>
</div>
</section>


@{
Html.RenderPartial("_ContactUCP");
}
<script src="~/js/UsersJourney.js"></script>
6 changes: 5 additions & 1 deletion Plumb5/Plumb5.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@

<Folder Include="Areas\Revenue\Data\" />

<Folder Include="Areas\UCP\Data\" />

<Folder Include="Areas\UCP\Models\" />

<Folder Include="Views\ForgotPassword\" />

<Folder Include="wwwroot\js\DataManagement\dist\i18n\" />
Expand All @@ -77,7 +81,7 @@
<ItemGroup>
<PackageReference Include="FirebaseAdmin" Version="3.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Http" Version="2.2.2" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.3" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="8.0.4" />
<PackageReference Include="Microsoft.Web.Administration" Version="11.1.0" />
<PackageReference Include="System.Drawing.Common" Version="8.0.6" />
<PackageReference Include="System.Runtime.Caching" Version="8.0.0" />
Expand Down
21 changes: 21 additions & 0 deletions Plumb5/wwwroot/js/UsersJourney.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
$(document).ready(() => {
$('#ui_divContactUCPScreen').css('margin-top', '76px');
$('#ui_divCloseUCP').css('display', 'none');
$('.sidebar,.barMenu').css('display', 'none');
$('.dropdown-item').css('display', 'none');
$('a[href="/Login/SignOut"]').css('display', 'block');

const aid = $.urlParam("aid")
const mid = $.urlParam("mid");
const cid = $.urlParam("cid")
const label = document.getElementById("urlid");
if (mid == 0 && cid == 0) {
label.style.display = "inline";
}
else {
label.style.display = "None";
ShowContactUCP($.urlParam("mid"), "", $.urlParam("cid"));
}


});

0 comments on commit 13d45c2

Please sign in to comment.