Pārlūkot izejas kodu

socialsignon png

Crystal.Sea 4 gadi atpakaļ
vecāks
revīzija
ec13e0af21

+ 2 - 2
maxkey-web-maxkey/src/main/resources/maxkey.properties

@@ -166,7 +166,7 @@ config.saml.v20.metadata.telephoneNumber=4008981111
 #sina weibo
 config.socialsignon.sinaweibo.provider=sinaweibo
 config.socialsignon.sinaweibo.provider.name=\u65b0\u6d6a\u5fae\u535a
-config.socialsignon.sinaweibo.icon=images/social/sinaweibo.png
+config.socialsignon.sinaweibo.icon=images/social/weibo.png
 config.socialsignon.sinaweibo.client.id=3379757634
 config.socialsignon.sinaweibo.client.secret=1adfdf9800299037bcab9d1c238664ba
 config.socialsignon.sinaweibo.account.id=id
@@ -202,7 +202,7 @@ config.socialsignon.dingtalk.sortorder=5
 #Microsoft
 config.socialsignon.microsoft.provider=microsoft
 config.socialsignon.microsoft.provider.name=Microsoft
-config.socialsignon.microsoft.icon=images/social/live.png
+config.socialsignon.microsoft.icon=images/social/microsoft.png
 config.socialsignon.microsoft.client.id=24aa73b6-7928-4e64-bd64-d8682e650f95
 config.socialsignon.microsoft.client.secret=PF[_AthtjVrtWVO2mNy@CJxY1@Z8FNf5
 config.socialsignon.microsoft.account.id=id

+ 11 - 0
maxkey-web-maxkey/src/main/resources/static/css/base.css

@@ -91,6 +91,17 @@ body{
 	margin-bottom: 10px;
 }
 
+#otherlogins a {
+    /* color: #007bff; */
+    text-decoration: none; 
+    background-color: transparent; 
+}
+
+#otherlogins a:hover {
+    /* color: #0056b3; **/
+   text-decoration: none; 
+}
+
 #tool_box {
 	margin-bottom: 10px;
 	border: 1px solid #e5e5e5;

+ 2 - 2
maxkey-web-maxkey/src/main/resources/templates/views/login.ftl

@@ -358,7 +358,7 @@
 					<tr>
 						<td>
 							
-					      	<table width="100%" frame="void" cellpadding="8px;" cellspacing="8px;">
+					      	<table id="otherlogins" width="100%">
 					      		<tr>
 					      			<td colspan="3" align="left"><@locale code="login.text.otherlogins"/>:</td>
 					      		</tr>
@@ -367,7 +367,7 @@
 					      			<#if (ssop_index)%3==0>
 						      			<tr>
 						      		</#if>
-						      			<td align="center" nowrap>
+						      			<td align="center" nowrap style="height: 40px;">
 								      			<a href="<@base />/logon/oauth20/authorize/${ssop.provider}"  title="${ssop.providerName}" >
 								      				<img src="<@base />/static/${ssop.icon}" title="${ssop.providerName}"  style="width=:32px;height:32px;border:0;"/>
 								      			</a>&nbsp;&nbsp;