diff --git a/CitySunlight/Account/Login.aspx b/CitySunlight/Account/Login.aspx
index b6004b1..241ba8a 100644
--- a/CitySunlight/Account/Login.aspx
+++ b/CitySunlight/Account/Login.aspx
@@ -2,7 +2,36 @@
diff --git a/CitySunlight/Account/Login.aspx.cs b/CitySunlight/Account/Login.aspx.cs
index 0d2643c..912f95f 100644
--- a/CitySunlight/Account/Login.aspx.cs
+++ b/CitySunlight/Account/Login.aspx.cs
@@ -58,7 +58,10 @@ namespace CitySunlight
public String getAlert(String msg)
{
- return (msg == null || msg == "") ? ("请输入账号密码登录后台") : ("" + msg + "");
+ String html = "
";
+ html += "";
+ html += "{1}
";
+ return (msg == null || msg == "") ? "" : String.Format(html, "danger", msg);
}
protected void register_Click(object sender, EventArgs e)
diff --git a/CitySunlight/Admin.aspx b/CitySunlight/Admin.aspx
index ee71ddc..d922356 100644
--- a/CitySunlight/Admin.aspx
+++ b/CitySunlight/Admin.aspx
@@ -2,7 +2,7 @@