Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
8f4b0aad
Unverified
Commit
8f4b0aad
authored
Feb 11, 2019
by
Liang Ding
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
💚
修复单元测试
parent
8955cf12
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
15 deletions
+17
-15
src/test/resources/admin/admin-article.ftl
src/test/resources/admin/admin-article.ftl
+1
-1
src/test/resources/admin/admin-index.ftl
src/test/resources/admin/admin-index.ftl
+2
-2
src/test/resources/admin/admin-label.ftl
src/test/resources/admin/admin-label.ftl
+9
-5
src/test/resources/admin/admin-preference.ftl
src/test/resources/admin/admin-preference.ftl
+1
-6
src/test/resources/admin/admin-user-list.ftl
src/test/resources/admin/admin-user-list.ftl
+4
-1
No files found.
src/test/resources/admin/admin-article.ftl
View file @
8f4b0aad
...
...
@@ -79,7 +79,7 @@
<span id="postToCommunityPanel">
<label class="checkbox">
<input id="postToCommunity" type="checkbox" />
<input id="postToCommunity" type="checkbox"
checked="checked"
/>
<a href="https://hacpai.com/article/1546941897596" target="_blank">${syncToCommunityLabel}</a>
</label>
</span>
...
...
src/test/resources/admin/admin-index.ftl
View file @
8f4b0aad
...
...
@@ -31,7 +31,7 @@
<title>
${adminConsoleLabel} - ${blogTitle}
</title>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/css/default-base${miniPostfix}.css?${staticResourceVersion}"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/css/default-admin${miniPostfix}.css?${staticResourceVersion}"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"https://vditor.b3log.org/0.1.
5
/index.classic.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"https://vditor.b3log.org/0.1.
7
/index.classic.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"${staticServePath}/js/lib/highlight-9.13.1/styles/github.css?${staticResourceVersion}"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"${staticServePath}/favicon.png"
/>
<link
rel=
"manifest"
href=
"${servePath}/manifest.json"
>
...
...
@@ -169,7 +169,7 @@
</div>
</div>
<script
src=
"${staticServePath}/js/lib/compress/admin-lib.min.js"
></script>
<script
src=
"http
://vditor.b3log.org/0.1.5
/index.min.js"
></script>
<script
src=
"http
s://vditor.b3log.org/0.1.7
/index.min.js"
></script>
<script
src=
"${staticServePath}/js/common${miniPostfix}.js"
></script>
<
#if
""
==
miniPostfix
>
<script
src=
"${staticServePath}/js/admin/admin.js"
></script>
...
...
src/test/resources/admin/admin-label.ftl
View file @
8f4b0aad
...
...
@@ -23,8 +23,13 @@
"servePath": "${servePath}",
"isLoggedIn": "true"
};
var Label = {
"pushSuccLabel": '${pushSuccLabel}',
"pushToHacpaiLabel": '${pushToHacpaiLabel}',
"uploadMsg": '${uploadMsg}',
"uploadToken": "${uploadToken}",
"uploadURL": "${uploadURL}",
"markedAvailable": ${markedAvailable?c},
"skinDirName": "${skinDirName}",
"userRole": "${userRole}",
...
...
@@ -74,9 +79,8 @@
"statusLabel": "${statusLabel}",
"versionLabel": "${versionLabel}",
"userNameLabel": "${userNameLabel}",
"commentNameLabel": "${commentNameLabel}",
"commentEmailLabel": "${commentEmailLabel}",
"roleLabel": "${roleLabel}",
"roleLabel": "${roleLabel}",
"administratorLabel": "${administratorLabel}",
"duplicatedEmailLabel": "${duplicatedEmailLabel}",
"mailInvalidLabel": "${mailInvalidLabel}",
...
...
@@ -153,7 +157,7 @@
"helpLabel": '${helpLabel}',
"fullscreenLabel": '${fullscreenLabel}',
"uploadFilesLabel": '${uploadFilesLabel}'
};
};
admin.init();
</script>
\ No newline at end of file
src/test/resources/admin/admin-preference.ftl
View file @
8f4b0aad
...
...
@@ -39,11 +39,6 @@
<a href="#tools/preference/setting">${paramSettingsLabel}</a>
</div>
</li>
<li>
<div id="tabPreference_solo">
<a href="#tools/preference/solo">B3log</a>
</div>
</li>
</ul>
</div>
<div id="tabPreferencePanel" class="sub-tabs-main">
...
...
@@ -79,7 +74,7 @@
</select>
<label for="timeZoneId">${timeZoneId1Label}</label>
<select id="timeZoneId">
${timeZoneIdOptions}
${timeZoneIdOptions}
</select>
<label for="articleListDisplay">${articleListDisplay1Label}</label>
<select id="articleListDisplay">
...
...
src/test/resources/admin/admin-user-list.ftl
View file @
8f4b0aad
...
...
@@ -31,7 +31,10 @@
<label for="userURLUpdate">${userURL1Label}</label>
<input id="userURLUpdate" type="text"/>
<label for="userAvatarUpdate">${userAvatar1Label}</label>
<input id="userAvatarUpdate" type="text"/> <br><br>
<input id="userAvatarUpdate" type="text"/>
<label for="userB3KeyUpdate">B3 Key</label>
<input id="userB3KeyUpdate" type="text"/>
<br><br>
<button onclick="admin.userList.update();" class="right">${updateLabel}</button>
<div class="clear"></div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment