Commit 97428dbb authored by Van's avatar Van

fix #12944

parent c696eb21
This diff is collapsed.
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* *
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a> * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a> * @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 1.1.2.6, Mar 3, 2019 * @version 1.2.0.0, Nov 12, 2019
*/ */
/* user-list 相关操作 */ /* user-list 相关操作 */
...@@ -97,7 +97,9 @@ admin.userList = { ...@@ -97,7 +97,9 @@ admin.userList = {
for (var i = 0; i < users.length; i++) { for (var i = 0; i < users.length; i++) {
userData[i] = {} userData[i] = {}
userData[i].userName = users[i].userName userData[i].userName = `${users[i].userName}
&nbsp; <a target="_blank" href="https://hacpai.com/member/${users[i].userName}"><span class="icon-hacpai"></span></a>
&nbsp; <a target="_blank" href="https://github.com/${users[i].userName}"><span class="icon-github"></span></a>`
if ('adminRole' === users[i].userRole) { if ('adminRole' === users[i].userRole) {
userData[i].isAdmin = '&nbsp;' + Label.administratorLabel userData[i].isAdmin = '&nbsp;' + Label.administratorLabel
...@@ -296,10 +298,10 @@ admin.userList = { ...@@ -296,10 +298,10 @@ admin.userList = {
} }
/* /*
* 注册到 admin 进行管理 * 注册到 admin 进行管理
*/ */
admin.register['user-list'] = { admin.register['user-list'] = {
'obj': admin.userList, 'obj': admin.userList,
'init': admin.userList.init, 'init': admin.userList.init,
'refresh': admin.userList.getList, 'refresh': admin.userList.getList,
} }
\ No newline at end of file
This diff is collapsed.
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* *
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a> * @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://88250.b3log.org">Liang Ding</a> * @author <a href="http://88250.b3log.org">Liang Ding</a>
* @version 3.2.0.0, Jul 17, 2019 * @version 3.3.0.0, Nov 12, 2019
*/ */
@import "reset"; @import "reset";
@import "function"; @import "function";
...@@ -87,13 +87,14 @@ button:hover { ...@@ -87,13 +87,14 @@ button:hover {
/* start ico */ /* start ico */
@font-face { @font-face {
font-family: 'icomoon'; font-family: 'icomoon';
src: url('fonts/icomoon.eot?pmeuih'); src: url('fonts/icomoon.eot?2e0ylc');
src: url('fonts/icomoon.eot?pmeuih#iefix') format('embedded-opentype'), src: url('fonts/icomoon.eot?2e0ylc#iefix') format('embedded-opentype'),
url('fonts/icomoon.ttf?pmeuih') format('truetype'), url('fonts/icomoon.ttf?2e0ylc') format('truetype'),
url('fonts/icomoon.woff?pmeuih') format('woff'), url('fonts/icomoon.woff?2e0ylc') format('woff'),
url('fonts/icomoon.svg?pmeuih#icomoon') format('svg'); url('fonts/icomoon.svg?2e0ylc#icomoon') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
font-display: block;
} }
[class^="icon-"], [class*=" icon-"] { [class^="icon-"], [class*=" icon-"] {
...@@ -111,6 +112,14 @@ button:hover { ...@@ -111,6 +112,14 @@ button:hover {
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
.icon-github:before {
content: "\e900";
}
.icon-hacpai:before {
content: "\e901";
}
.icon-close:before { .icon-close:before {
content: "\e909"; content: "\e909";
} }
...@@ -856,6 +865,14 @@ button#submitArticle:hover { ...@@ -856,6 +865,14 @@ button#submitArticle:hover {
border-bottom: 0px; border-bottom: 0px;
} }
.table-hasExpend a {
color: #3b3e43;
&:hover {
text-decoration: none;
color: #1fb5ad;
}
}
.table-heiglight td, .table-lineHover td { .table-heiglight td, .table-lineHover td {
background-color: #fafafa; background-color: #fafafa;
border-right-color: #fafafa; border-right-color: #fafafa;
...@@ -1050,4 +1067,4 @@ button#submitArticle:hover { ...@@ -1050,4 +1067,4 @@ button#submitArticle:hover {
top: 0; top: 0;
z-index: 78; z-index: 78;
} }
} }
\ No newline at end of file
No preview for this file type
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
<glyph unicode="&#xe618;" glyph-name="chevron-down" horiz-adv-x="640" d="M512 640l-192-192-192 192-128-128 320-320 320 320-128 128z" /> <glyph unicode="&#xe618;" glyph-name="chevron-down" horiz-adv-x="640" d="M512 640l-192-192-192 192-128-128 320-320 320 320-128 128z" />
<glyph unicode="&#xe619;" glyph-name="chevron-up" horiz-adv-x="640" d="M320 704l-320-320 128-128 192 192 192-192 128 128-320 320z" /> <glyph unicode="&#xe619;" glyph-name="chevron-up" horiz-adv-x="640" d="M320 704l-320-320 128-128 192 192 192-192 128 128-320 320z" />
<glyph unicode="&#xe61d;" glyph-name="article" d="M928 760h-832v104h832zM616 552h-520v104h520zM928 240h-832v104h832zM720 32h-624v104h624zM928 84c0-28.73-23.322-52-51.948-52-28.808 0-52.052 23.27-52.052 52s23.244 52 52.052 52c28.626 0 51.948-23.27 51.948-52z" /> <glyph unicode="&#xe61d;" glyph-name="article" d="M928 760h-832v104h832zM616 552h-520v104h520zM928 240h-832v104h832zM720 32h-624v104h624zM928 84c0-28.73-23.322-52-51.948-52-28.808 0-52.052 23.27-52.052 52s23.244 52 52.052 52c28.626 0 51.948-23.27 51.948-52z" />
<glyph unicode="&#xe900;" glyph-name="github" d="M510.008 947.357c-282.738 0-512.008-229.218-512.008-511.998 0-226.214 146.704-418.132 350.136-485.836 25.586-4.738 34.992 11.11 34.992 24.632 0 12.204-0.48 52.542-0.696 95.324-142.448-30.976-172.504 60.41-172.504 60.41-23.282 59.176-56.848 74.916-56.848 74.916-46.452 31.778 3.51 31.124 3.51 31.124 51.4-3.61 78.476-52.766 78.476-52.766 45.672-78.27 119.776-55.64 149.004-42.558 4.588 33.086 17.852 55.68 32.506 68.464-113.73 12.942-233.276 56.85-233.276 253.032 0 55.898 20.004 101.574 52.76 137.428-5.316 12.9-22.854 64.972 4.952 135.5 0 0 43.006 13.752 140.84-52.49 40.836 11.348 84.636 17.036 128.154 17.234 43.502-0.198 87.336-5.886 128.256-17.234 97.734 66.244 140.656 52.49 140.656 52.49 27.872-70.528 10.35-122.6 5.036-135.5 32.82-35.856 52.694-81.532 52.694-137.428 0-196.654-119.778-239.95-233.79-252.624 18.364-15.89 34.724-47.046 34.724-94.812 0-68.508-0.596-123.644-0.596-140.508 0-13.628 9.222-29.594 35.172-24.566 203.322 67.776 349.842 259.626 349.842 485.768 0 282.78-229.234 511.998-511.992 511.998z" />
<glyph unicode="&#xe901;" glyph-name="hacpai" d="M185.184 408.768h545.056l190.528-304.896c15.040-24.064 0.096-43.552-33.344-43.552h-484.512zM343.68 834.336h545.056c33.44 0 48.384-19.488 33.344-43.552l-190.528-304.896h-635.904l204.128 326.688c7.52 12.032 27.168 21.792 43.904 21.792zM94.496 408.768h90.848l217.728-348.448h-60.544c-16.736 0-36.384 9.76-43.904 21.792z" />
<glyph unicode="&#xe909;" glyph-name="close" d="M1002.667 839.876l-391.876-391.876 391.876-391.876-98.791-98.791-391.876 391.876-391.876-391.876-98.791 98.791 391.876 391.876-391.876 391.876 98.791 98.791 391.876-391.876 391.876 391.876z" /> <glyph unicode="&#xe909;" glyph-name="close" d="M1002.667 839.876l-391.876-391.876 391.876-391.876-98.791-98.791-391.876 391.876-391.876-391.876-98.791 98.791 391.876 391.876-391.876 391.876 98.791 98.791 391.876-391.876 391.876 391.876z" />
<glyph unicode="&#xe90a;" glyph-name="move-down" d="M832 640h-192v320h-256v-320h-192l320-384 320 384zM192-64h640v192h-640v-192z" /> <glyph unicode="&#xe90a;" glyph-name="move-down" d="M832 640h-192v320h-256v-320h-192l320-384 320 384zM192-64h640v192h-640v-192z" />
<glyph unicode="&#xe90b;" glyph-name="move-up" d="M192 256h192v-320h256v320h192l-320 384-320-384zM192 960v-192h640v192h-640z" /> <glyph unicode="&#xe90b;" glyph-name="move-up" d="M192 256h192v-320h256v320h192l-320 384-320-384zM192 960v-192h640v192h-640z" />
......
No preview for this file type
No preview for this file type
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment