16 |
19 |
23 |
24 |
25 |
Billing Profile
26 |
27 | @Html.DisplayFor(item => item.BillingProfile.FirstName) @Html.DisplayFor(item => item.BillingProfile.LastName)
28 |
29 | @Html.DisplayFor(item => item.BillingProfile.Email)
30 |
31 | @Html.DisplayFor(item => item.BillingProfile.DefaultAddress.AddressLine1)
32 |
33 | @Html.DisplayFor(item => item.BillingProfile.DefaultAddress.City),
34 | @Html.DisplayFor(item => item.BillingProfile.DefaultAddress.State)
35 | @Html.DisplayFor(item => item.BillingProfile.DefaultAddress.PostalCode)
36 |
37 |
38 |
Company Profile
39 |
40 | @Html.DisplayFor(item => item.CompanyProfile.CompanyName)
41 |
42 | Domain Name: @Html.DisplayFor(item => item.CompanyProfile.Domain)
43 |
44 | Microsoft ID: @Html.DisplayFor(item => item.CompanyProfile.TenantId)
45 |
46 |
47 |
Subscriptions
48 |
49 |
54 |
55 |
56 |
57 | @section Scripts {
58 |
80 | }
--------------------------------------------------------------------------------
/src/Explorer/Views/Domains/ConfigurationRecords.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.ConfigurationRecordsModel
2 | @using Microsoft.Graph
3 |
4 |
2 |
3 |
4 |
5 |
6 | Identifier
7 | Name
8 | Provision State
9 | Timestamp
10 |
11 |
12 | @Html.EditorForModel()
13 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Manage/NewDeployment.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.NewDeploymentModel
2 |
3 | @{
4 | Layout = null;
5 | }
6 |
7 |
11 | @using (Ajax.BeginForm("NewDeployment", "Manage", new AjaxOptions { HttpMethod = "POST", OnSuccess = "OnSuccessCallback", UpdateTargetId = "deployments" }))
12 | {
13 |
14 |
15 |
16 |
17 |
18 |
19 | @Html.LabelFor(item => Model.TemplateUri)
20 |
21 |
22 | @Html.TextBoxFor(item => Model.TemplateUri, new { @class = "form-control" })
23 |
24 |
25 | @Html.ValidationMessageFor(item => Model.TemplateUri)
26 |
27 |
28 |
29 |
30 | @Html.LabelFor(item => Model.ParametersUri)
31 |
32 |
33 | @Html.TextBoxFor(item => Model.ParametersUri, new { @class = "form-control" })
34 |
35 |
36 | @Html.ValidationMessageFor(item => item.ParametersUri)
37 |
38 |
39 |
40 | @Html.HiddenFor(item => item.CustomerId)
41 | @Html.HiddenFor(item => item.ResourceGroupName)
42 | @Html.HiddenFor(item => item.SubscriptionId)
43 |
44 |
45 |
46 |
48 | Cancel
49 |
50 |
52 | Deploy
53 |
54 |
55 |
56 |
57 | }
58 |
59 | @Scripts.Render("~/bundles/jqueryval")
--------------------------------------------------------------------------------
/src/Explorer/Views/Offer/Offers.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.OffersModel
2 |
3 | @{
4 | Layout = null;
5 | }
6 |
7 |
11 |
12 |
13 |
14 |
15 |
16 | @Html.DropDownListFor(item => item.AvailableOffers,
17 | Model.AvailableOffers.Select(x => new SelectListItem() { Text = x.Name, Value = x.Id }),
18 | new { @class = "form-control", OnChange = "UpdateDialog()" })
19 |
20 |
21 | @Html.Label("Description")
22 |
23 |
24 |
25 | @Html.Label("Quantity")
26 |
27 |
28 |
29 |
31 | Cancel
32 |
33 |
35 | Add
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/src/Explorer/Views/ServiceRequests/Index.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.ServiceRequestsModel
2 |
3 | @{
4 | ViewBag.Title = "Service Requests";
5 | Layout = "~/Views/Shared/_Layout.cshtml";
6 | }
7 |
8 | @section Breadcrumbs{
9 |
10 | Service Requests
11 |
12 | }
13 |
14 |
17 |
18 | @section Scripts {
19 |
26 | }
--------------------------------------------------------------------------------
/src/Explorer/Views/ServiceRequests/List.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.ServiceRequestsModel
2 |
3 |
4 |
5 |
6 | Identifier
7 | Created Date
8 | Title
9 | Status
10 | Organization
11 | Product Name
12 |
13 |
14 | @Html.EditorFor(item => item.ServiceRequests)
15 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Shared/EditorTemplates/CustomerModel.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.CustomerModel
2 |
3 |
4 |
5 | @Html.ActionLink(Model.CompanyProfile.CompanyName, $"{Model.CustomerId}/Show", "Customers")
6 |
7 |
8 | @Html.DisplayFor(item => item.CompanyProfile.Domain)
9 |
10 |
11 | @Html.DisplayFor(item => item.RelationshipToPartner)
12 |
13 | @if (false)
14 | {
15 |
16 | @Ajax.RouteLink("Delete", new { action = "Delete", controller = "Customers", customerId = Model.CustomerId },
17 | new AjaxOptions()
18 | {
19 | HttpMethod = "Delete",
20 | Confirm = $"Are you sure you want to delete {Model.CompanyProfile.CompanyName}?",
21 | OnComplete = $"OnSuccessCallback('{Model.CustomerId}')"
22 | })
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Shared/EditorTemplates/DeploymentModel.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.DeploymentModel
2 |
3 |
4 |
5 | @Html.DisplayFor(item => item.Id)
6 |
7 |
8 | @Html.DisplayFor(item => item.Name)
9 |
10 |
11 | @Html.DisplayFor(item => item.ProvisioningState)
12 |
13 |
14 | @Html.DisplayFor(item => item.Timestamp)
15 |
16 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Shared/EditorTemplates/LicenseModel.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.LicenseModel
2 |
3 |
4 |
5 | @Html.DisplayFor(item => item.Name)
6 |
7 |
8 | @Html.CheckBoxFor(item => item.IsAssigned)
9 |
10 |
11 | @Html.Label(Model.ConsumedUnits.ToString()) of @Html.Label(Model.TotalUnits.ToString())
12 |
13 |
14 | @Html.HiddenFor(item => item.Id)
15 | @Html.HiddenFor(item => item.SkuPartNumber)
16 | @Html.HiddenFor(item => item.TargetType)
17 |
18 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Shared/EditorTemplates/OfferModel.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.OfferModel
2 |
3 |
4 |
5 | @Html.DisplayFor(item => item.Name)
6 |
7 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Shared/EditorTemplates/ServiceRequestModel.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.ServiceRequestModel
2 |
3 |
4 |
5 | @Html.DisplayFor(item => item.Id)
6 |
7 |
8 | @Html.DisplayFor(item => item.CreatedDate)
9 |
10 |
11 | @Html.DisplayFor(item => item.Title)
12 |
13 |
14 | @Html.DisplayFor(item => item.Status)
15 |
16 |
17 | @Html.DisplayFor(item => item.Organization)
18 |
19 |
20 | @Html.DisplayFor(item => item.PrimaryContact)
21 |
22 |
23 | @Html.DisplayFor(item => item.ProductName)
24 |
25 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Shared/EditorTemplates/SubscriptionModel.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.SubscriptionModel
2 |
3 |
4 |
5 | @Html.ActionLink(
6 | Model.FriendlyName,
7 | $"Subscriptions/{Model.Id}/Show",
8 | $"Customers/{Model.CustomerId}")
9 |
10 |
11 |
12 | @Html.DisplayFor(item => item.Id)
13 |
14 |
15 | @Html.DisplayFor(item => item.Status)
16 |
17 |
18 | @Html.ActionLink(
19 | "Health",
20 | $"Health/{Model.Id}/",
21 | $"Customers/{Model.CustomerId}")
22 |
23 |
24 | @Html.ActionLink(
25 | "Manage",
26 | $"Manage/{Model.Id}/",
27 | $"Customers/{Model.CustomerId}")
28 |
29 | @if (Model.BillingType == Microsoft.Store.PartnerCenter.Models.Invoices.BillingType.Usage)
30 | {
31 |
32 | @Html.ActionLink(
33 | "Usage",
34 | $"Usage/{Model.Id}/",
35 | $"Customers/{Model.CustomerId}")
36 |
37 | }
38 | else
39 | {
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Shared/EditorTemplates/UserModel.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.UserModel
2 |
3 |
4 |
5 | @Html.DisplayFor(item => item.DisplayName)
6 |
7 |
8 | @Html.DisplayFor(item => item.FirstName)
9 |
10 |
11 | @Html.DisplayFor(item => item.LastName)
12 |
13 |
14 | @Html.DisplayFor(item => item.LastDirectorySyncTime)
15 |
16 |
17 | @Html.DisplayFor(item => item.UsageLocation)
18 |
19 |
20 | @Html.DisplayFor(item => item.UserPrincipalName)
21 |
22 |
23 | Edit
24 |
25 |
26 | @Ajax.RouteLink("Delete", new { action = "Delete", controller = "Users", customerId = Model.CustomerId, userId = Model.Id },
27 | new AjaxOptions()
28 | {
29 | HttpMethod = "Delete",
30 | Confirm = $"Are you sure you want to delete the user {Model.DisplayName}?",
31 | OnSuccess = $"OnUserDeleteCallback('{Model.Id}')",
32 | })
33 |
34 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Shared/_LoginPartial.cshtml:
--------------------------------------------------------------------------------
1 | @using System.Security.Claims;
2 |
3 | @if (Request.IsAuthenticated)
4 | {
5 |
6 | string name = ((ClaimsIdentity)User.Identity).FindFirst("Name").Value;
7 | @name
8 |
19 | }
20 | else
21 | {
22 |
23 | @Html.ActionLink("Sign in", "SignIn", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })
24 |
25 | }
--------------------------------------------------------------------------------
/src/Explorer/Views/Subscriptions/List.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.SubscriptionsModel
2 |
3 |
4 |
5 |
6 | Name
7 | Identifier
8 | Status
9 |
10 |
11 |
12 |
13 | @Html.EditorFor(item => item.Subscriptions)
14 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Usage/ViewUsage.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.UsageModel
2 |
3 | @{
4 | ViewBag.Title = "View Usage";
5 | Layout = "~/Views/Shared/_Layout.cshtml";
6 | }
7 |
8 | @section Breadcrumbs{
9 |
10 | Customers
11 | @Model.CompanyName
12 | Subscription
13 | @Model.SubscriptionFriendlyName
14 | Usage
15 |
16 | }
17 |
18 |
19 |
20 |
21 |
22 | Name
23 | Location
24 | Resource URI
25 | Tags
26 | Start Time
27 | End Time
28 | Quantity
29 | Unit
30 |
31 |
32 | @foreach (Microsoft.Store.PartnerCenter.Models.Utilizations.AzureUtilizationRecord record in Model.Usage)
33 | {
34 |
35 |
36 | @Html.DisplayFor(item => record.Resource.Name)
37 |
38 |
39 | @Html.DisplayFor(item => record.InstanceData.Location)
40 |
41 |
42 | @Html.DisplayFor(item => record.InstanceData.ResourceUri)
43 |
44 |
45 | @Html.DisplayFor(item => record.InstanceData.Tags)
46 |
47 |
48 | @Html.DisplayFor(item => record.UsageStartTime)
49 |
50 |
51 | @Html.DisplayFor(item => record.UsageEndTime)
52 |
53 |
54 | @Html.DisplayFor(item => record.Quantity)
55 |
56 |
57 | @Html.DisplayFor(item => record.Unit)
58 |
59 |
60 | }
61 |
62 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Users/List.cshtml:
--------------------------------------------------------------------------------
1 | @model Microsoft.Store.PartnerCenter.Explorer.Models.UsersModel
2 |
3 |
4 |
5 |
6 | Display Name
7 | First Name
8 | Last Name
9 | Last Directory Sync Time
10 | Usage Location
11 | User Principal Name
12 |
13 |
14 |
15 |
16 | @Html.EditorFor(item => item.Users)
17 |
18 |
19 |
--------------------------------------------------------------------------------
/src/Explorer/Views/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
9 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/src/Explorer/Views/_ViewStart.cshtml:
--------------------------------------------------------------------------------
1 | @{
2 | Layout = "~/Views/Shared/_Layout.cshtml";
3 | }
--------------------------------------------------------------------------------
/src/Explorer/Web.Debug.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
29 |
30 |
--------------------------------------------------------------------------------
/src/Explorer/Web.Release.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
17 |
18 |
19 |
30 |
31 |
--------------------------------------------------------------------------------
/src/Explorer/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Partner-Center-Explorer/43a7c1c342749a35a83d285e8c2ae93d8b3a5ae8/src/Explorer/favicon.ico
--------------------------------------------------------------------------------
/src/Explorer/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Partner-Center-Explorer/43a7c1c342749a35a83d285e8c2ae93d8b3a5ae8/src/Explorer/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/src/Explorer/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Partner-Center-Explorer/43a7c1c342749a35a83d285e8c2ae93d8b3a5ae8/src/Explorer/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/src/Explorer/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Partner-Center-Explorer/43a7c1c342749a35a83d285e8c2ae93d8b3a5ae8/src/Explorer/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/src/Explorer/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Partner-Center-Explorer/43a7c1c342749a35a83d285e8c2ae93d8b3a5ae8/src/Explorer/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/src/Explorer/fonts/fontawesome-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Partner-Center-Explorer/43a7c1c342749a35a83d285e8c2ae93d8b3a5ae8/src/Explorer/fonts/fontawesome-webfont.woff2
--------------------------------------------------------------------------------
/src/Explorer/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Partner-Center-Explorer/43a7c1c342749a35a83d285e8c2ae93d8b3a5ae8/src/Explorer/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/src/Explorer/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Partner-Center-Explorer/43a7c1c342749a35a83d285e8c2ae93d8b3a5ae8/src/Explorer/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/src/Explorer/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Partner-Center-Explorer/43a7c1c342749a35a83d285e8c2ae93d8b3a5ae8/src/Explorer/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/src/Explorer/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/microsoft/Partner-Center-Explorer/43a7c1c342749a35a83d285e8c2ae93d8b3a5ae8/src/Explorer/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------