我希望有人可以帮助我编写下面的代码。
目前我对 Windows Azure Pack 有一点问题,我想自定义 MgmtSvc-AuthSite 和 MgmtSvc-TenantSite 来更改文本,但例如使用 Chrome/Firefox,我可以在 HTML 中看到代码,例如:
<div class="kt-introduction">
<h1>Unlimited Possibilities</h1>
<div class="kt-offering-value">
<span>The future of cloud computing is @ your fingertips!</span>
<ul>
<li>Rich and powerful services</li>
<li>Effortless management experience</li>
<li>Open and flexible plataform</li>
<li>Quickly build, deploy and manage applications across a global network</li>
</ul>
</div>
但是当我想改变这个文本时,我只看到这个:
@using Microsoft.WindowsAzure.Server.CommonPortalStrings;
<div class="kt-hero">
<img src="/Content/Images/hero.png" alt="Hero"/>
</div>
<div class="kt-main-content-area">
<div class="kt-introduction">
<h1>@TenantPortalControllerResources.UnlimitedPossibilities</h1>
<div class="kt-offering-value">
<span>@TenantPortalControllerResources.CloudComputingWelcomeMessage</span>
<ul>
<li>@TenantPortalControllerResources.CloudServicesBenefits</li>
<li>@TenantPortalControllerResources.CloudManagementWelcomeMessage</li>
<li>@TenantPortalControllerResources.FlexiblePlatformBenefit</li>
<li>@TenantPortalControllerResources.DeployApplicationQuickly</li>
</ul>
</div>
</div>
所以...我花了好几个小时试图找到更改代码的源,但我失败了...在 MSDN 中我认为使用 powershell 命令
Unprotect-MgmtSvcConfiguration -namespace AuthSite
Unprotect-MgmtSvcConfiguration -namespace TenantSite
但它不起作用,所以我没有想法!...