demo20230512/Views/Account/Version.cshtml

168 lines
5.6 KiB
Plaintext
Raw Normal View History

2023-05-12 10:20:28 +08:00
@model Weee.ViewModels.LoginViewModel
@{
ViewBag.Title = Resource.Login;
Layout = "~/Views/Shared/_LoginLayout.cshtml";
}
@*<style>
a:link {
color: white;
text-decoration: none;
}
a:visited {
color: white;
text-decoration: none;
}
a:hover {
color: white;
text-decoration: none;
}
a:active {
color: white;
text-decoration: none;
}
</style>*@
@* 非逢甲區 *@
@if (Model == null || Model.SiteInfo == null || string.IsNullOrWhiteSpace(Model.SiteInfo.loginImagePath))
{
<div class="login-item left-wrapper">
@if (Model != null && Model.SiteInfo != null && !string.IsNullOrWhiteSpace(Model.SiteInfo.loginImagePath))
{
<div class="login-img-logo" style="background-color:@(string.IsNullOrWhiteSpace(Model.SiteInfo.loginImageBackGroundColor) ? "#ffffff" : Model.SiteInfo.loginImageBackGroundColor)">
<a href="~/account/version">
<img src="~/Browser_Local/WebFilesRoot/WebSiteInfo/@(Model.SiteInfo.loginImagePath)"
style="@(string.IsNullOrWhiteSpace(Model.SiteInfo.loginImageStyle) ? "width:50%;" : Model.SiteInfo.loginImageStyle)" />
</a>
</div>
}
else
{
<div class="login-img-logo">
<img src="~/Browser_Local/img/Q-Carbon-logo-02.svg" style="padding-left: 1rem;" />
</div>
<div class="login-img">
<img src="~/Browser_Local/img/Q-Carbon-02.svg" />
</div>
}
<div class="login-title">
<div style="font-size: 3rem">
@((Model==null || Model.SiteInfo==null || Model.SiteInfo.text1welcome==null ) ? "Welcome to" : Model.SiteInfo.text1welcome)
</div>
<div style="font-size: 4.5rem">
<a href="~/account/version" style="color: white; text-decoration: none;">
<b>@((Model == null || Model.SiteInfo == null || Model.SiteInfo.text1welcome == null) ? "Q-Carbon!" : Model.SiteInfo.text2Qcarbon)</b>
</a>
</div>
</div>
</div>
}
else
{
<div style="background-color:@(string.IsNullOrWhiteSpace(Model.SiteInfo.loginImageBackGroundColor) ? "#ffffff" : Model.SiteInfo.loginImageBackGroundColor)">
<a href="~/account/version">
<img src="~/Browser_Local/WebFilesRoot/WebSiteInfo/@(Model.SiteInfo.loginImagePath)"
style="@(string.IsNullOrWhiteSpace(Model.SiteInfo.loginImageStyle) ? "width:50%;" : Model.SiteInfo.loginImageStyle)" />
</a>
</div>
}
@* 逢甲區 *@
@*<img src="~/Browser_Local/img/119775.jpg" style="margin:100px"/>*@
<div class="login-item right-wrapper">
@*<div class="login-item right-wrapper">*@
<div>
@*<div style="transform: translateY(75%);">*@
<div class="docs-login-header">
<h1>版本資訊</h1>
</div>
<div class="docs-login-header row">
<h1></h1>
</div>
<div class="form-group docs-form-group row">
版本1.1.30509
</div>
<div class="form-group docs-form-group row">
@if (!string.IsNullOrWhiteSpace(Model.SiteInfo.footerCopyright))
{
<text>
Copyright &copy; @Model.SiteInfo.footerCopyright
</text>
}
else
{
<text>
Copyright &copy; © 佳典管理顧問有限公司
</text>
}
</div>
<div class="form-group docs-form-group row">
@if (!string.IsNullOrWhiteSpace(Model.SiteInfo.footerAddress))
{
<text>
@Resource.StaticLabelAddress: @Model.SiteInfo.footerAddress
</text>
}
else
{
<text>
@Resource.StaticLabelAddress: 新北市新店區安興路105號8樓之七
</text>
}
</div>
<div class="form-group docs-form-group row">
@if (!string.IsNullOrWhiteSpace(Model.SiteInfo.footerPhone))
{
<text>
@(string.IsNullOrWhiteSpace(Model.SiteInfo.footerPhone) ? "": (Resource.UserPhoneNumber + ": "+ Model.SiteInfo.footerPhone))
</text>
}
else
{
<text>
@Resource.UserPhoneNumber: (02)7728-9341
</text>
}
</div>
<div class="form-group docs-form-group row">
@if (!string.IsNullOrWhiteSpace(Model.SiteInfo.footerFax))
{
<text>
@(string.IsNullOrWhiteSpace(Model.SiteInfo.footerFax) ? "": (Resource.Fax + ": "+ Model.SiteInfo.footerFax))
</text>
}
else
{
<text>
@Resource.Fax: (02)2243-2586
</text>
}
</div>
<div class="form-group docs-form-group row">
@if (!string.IsNullOrWhiteSpace(Model.SiteInfo.footerEmail))
{
<text>
E-mail: @Model.SiteInfo.footerEmail
</text>
}
else
{
<text>
E-mail: netzeropro.service@netzero.com.tw
</text>
}
</div>
<div class="form-group docs-form-group row">
<a href="~/account/login">回登入頁</a>
</div>
</div>
</div>