diff --git a/Site/Security/Login.aspx b/Site/Security/Login.aspx index e948966b..3c182e14 100644 --- a/Site/Security/Login.aspx +++ b/Site/Security/Login.aspx @@ -114,10 +114,10 @@ success: function(msg) { if (msg.d == "Success") { // Good credentials. TODO: Add manual 2FA challenge if applicable. - $('#TextLogin, #TextPass').css('background-image', "url('/Security/Images/iconshock-greentick-16px.png')").css('background-position', 'right center').css('background-repeat', 'no-repeat'); + $('#TextLogin, #TextPass').css('background-image', "url('/Images/Icons/iconshock-green-tick-128x96px.png')").css('background-position', 'right center').css('background-repeat', 'no-repeat').css('background-size', '16px 12px'); } else if (msg.d == "Fail") { // inform user of bad credentials by means of a red cross on _both_ boxes - $('#TextLogin, #TextPass').css('background-image', "url('/Security/Images/iconshock-cross-12px.png')").css('background-position', 'right center').css('background-repeat', 'no-repeat'); + $('#TextLogin, #TextPass').css('background-image', "url('/Images/Icons/iconshock-red-cross-128x96px.png')").css('background-position', 'right center').css('background-repeat', 'no-repeat').css('background-size', '16px 12px'); } else if (msg.d == "BitIdRequired") { alertify.alert(SwarmopsJS.unescape('<%=this.Localized_BitIdRequired_Dialog%>')); } else { diff --git a/Site/Security/RequestPasswordReset.aspx b/Site/Security/RequestPasswordReset.aspx index 765d3bb7..45d31836 100644 --- a/Site/Security/RequestPasswordReset.aspx +++ b/Site/Security/RequestPasswordReset.aspx @@ -81,43 +81,28 @@
-
|
| 
| 
-
-
-
-
+ + -
-
-
-

-
-
- ​
- -
- +
+
+

+
+
+ ​
+
-
-
-

+
-
- -
- diff --git a/Site/Security/RequestPasswordReset.aspx.cs b/Site/Security/RequestPasswordReset.aspx.cs index 6bedf2cb..c4160e8e 100644 --- a/Site/Security/RequestPasswordReset.aspx.cs +++ b/Site/Security/RequestPasswordReset.aspx.cs @@ -21,8 +21,6 @@ namespace Swarmops.Pages.Security protected void Page_Load(object sender, EventArgs e) { this.Title = Resources.Pages.Security.ResetPassword_PageTitle; - this.ImageCultureIndicator.Style[HtmlTextWriterStyle.MarginTop] = "-3px"; - this.ImageCultureIndicator.Style[HtmlTextWriterStyle.MarginRight] = "3px"; if (!Page.IsPostBack) { @@ -34,14 +32,6 @@ namespace Swarmops.Pages.Security private void Localize() { - // Normal template - this.LabelSidebarInfoContent.Text = Resources.Pages.Security.ResetPassword_InfoRequest; - this.LabelSidebarInfoHeader.Text = Resources.Global.Sidebar_Information; - this.LabelCurrentOrganizationName.Text = Resources.Global.Global_Organization; - this.LabelCurrentUserName.Text = Resources.Global.Global_NoOwner; - this.LabelPreferences.Text = Resources.Global.CurrentUserInfo_Preferences; - - // Page specific this.LabelContentTitle.Text = Resources.Pages.Security.ResetPassword_PageTitle; this.LabelMail.Text = Resources.Pages.Security.ResetPassword_Mail1; this.LabelSuccessMaybe.Text = Resources.Pages.Security.ResetPassword_TicketSentMaybe; diff --git a/Site/Security/RequestPasswordReset.aspx.designer.cs b/Site/Security/RequestPasswordReset.aspx.designer.cs index 8630058a..c32404fb 100644 --- a/Site/Security/RequestPasswordReset.aspx.designer.cs +++ b/Site/Security/RequestPasswordReset.aspx.designer.cs @@ -40,49 +40,13 @@ namespace Swarmops.Pages.Security { protected global::System.Web.UI.ScriptManager ScriptManagerBlahblah; /// - /// LabelCurrentUserName control. + /// Image1 control. /// /// /// Auto-generated field. /// To modify move field declaration from designer file to code-behind file. /// - protected global::System.Web.UI.WebControls.Label LabelCurrentUserName; - - /// - /// LabelCurrentOrganizationName control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label LabelCurrentOrganizationName; - - /// - /// LabelPreferences control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label LabelPreferences; - - /// - /// ImageCultureIndicator control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Image ImageCultureIndicator; - - /// - /// ImageLogo control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Image ImageLogo; + protected global::System.Web.UI.WebControls.Image Image1; /// /// LabelContentTitle control. @@ -128,23 +92,5 @@ namespace Swarmops.Pages.Security { /// To modify move field declaration from designer file to code-behind file. /// protected global::System.Web.UI.WebControls.Label LabelSuccessMaybe; - - /// - /// LabelSidebarInfoHeader control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label LabelSidebarInfoHeader; - - /// - /// LabelSidebarInfoContent control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Label LabelSidebarInfoContent; } } diff --git a/Site/Site.csproj b/Site/Site.csproj index 36e94c28..81feff0d 100644 --- a/Site/Site.csproj +++ b/Site/Site.csproj @@ -1586,7 +1586,6 @@ - @@ -1669,43 +1668,20 @@ - - - - - - - - - - - - - - - - - - - - - - - @@ -1716,7 +1692,6 @@ - @@ -1735,14 +1710,11 @@ - - -