Bhikkhu-Kosalla 5 роки тому
батько
коміт
fc47adf5f0

Різницю між файлами не показано, бо вона завелика
+ 2388 - 2388
app/admin/cs6_para.csv


+ 0 - 3
app/article/mobile.css

@@ -39,7 +39,4 @@
 	margin-top: 5px;
 }
 note:hover .ref {
-	margin-left: -60vw;
-	width: 60vw;
-	max-width: 60vw;
 }

+ 32 - 13
app/article/my_article.js

@@ -21,36 +21,55 @@ function my_article_list() {
 					//表头
 					html += '<div class="file_list_row" style="padding:5px;">';
 					html += '<div style="max-width:2em;flex:1;"><input type="checkbox" /></div>';
-					html += "<div style='flex:0.5;'>" + key++ + "</div>";
-					html += "<div style='flex:2;'>" + gLocal.gui.title + "</div>";
+					html += "<div style='flex:0.5;'>No.</div>";
+					html += "<div style='flex:4;'>" + gLocal.gui.title + "</div>";
 					html += "<div style='flex:2;'>" + gLocal.gui.privacy + "</div>";
-					html += "<div style='flex:1;'>" + gLocal.gui.copy_link + "</div>";
 					html += "<div style='flex:1;'>" + gLocal.gui.edit + "</a></div>";
+					html += "<div style='flex:1;'>" + gLocal.gui.copy_link + "</div>";
 					html += "<div style='flex:1;'>" + gLocal.gui.preview + "</a></div>";
-					html += "<div style='flex:1;'></div>";
+					html += "<div style='flex:1;'>" + gLocal.gui.share_to + "</div>";
 					html += "</div>";
 					//列表
 					for (const iterator of result) {
 						html += '<div class="file_list_row" style="padding:5px;">';
 						html += '<div style="max-width:2em;flex:1;"><input type="checkbox" /></div>';
 						html += "<div style='flex:0.5;'>" + key++ + "</div>";
-						html += "<div style='flex:2;'>" + iterator.title + "</div>";
+						html += "<div style='flex:4;'>" + iterator.title + "</div>";
 						html += "<div style='flex:2;'>" + render_status(iterator.status) + "</div>";
-						html += "<div style='flex:1;'>" + gLocal.gui.copy_link + "</div>";
 						html +=
 							"<div style='flex:1;'><a href='../article/my_article_edit.php?id=" +
 							iterator.id +
-							"'>" +
-							gLocal.gui.edit +
-							"</a></div>";
+							"' title='"+gLocal.gui.edit+"'>";
+						html += "<button class='icon_btn'>";
+						html += "<svg class='icon'>";
+						html += "<use xlink:href='../studio/svg/icon.svg#ic_mode_edit'></use>"
+						html += "</svg>";
+						html += "</button>";
+
+						html += "</a></div>";
 						html +=
 							"<div style='flex:1;'><a href='../article/?id=" +
 							iterator.id +
-							"' target='_blank'>" +
-							gLocal.gui.preview +
-							"</a></div>";
+							"' target='_blank' title='"+gLocal.gui.preview+"' >";
+						html += "<button class='icon_btn'>";
+						html += "<svg class='icon'>";
+						html += "<use xlink:href='../studio/svg/icon.svg#preview'></use>"
+						html += "</svg>";
+						html += "</button>";
+						html += "</a></div>";
+						html += "<div style='flex:1;'>"
+						html += "<button class='icon_btn' onclick=\"copy_to_clipboard('www.wikipali.org/mint/app/article/?id="+iterator.id+"')\" title='"+gLocal.gui.copy_link+"'>";
+						html += "<svg class='icon'>";
+						html += "<use xlink:href='../studio/svg/icon.svg#copy'></use>"
+						html += "</svg>";
+						html += "</button>";
+						html += "</div>";
 						html += "<div style='flex:1;'>";
-						html += "<a onclick=\"article_share('" + iterator.id + "')\">share</a>";
+						html += "<button title='"+gLocal.gui.share_to+"' class='icon_btn' onclick=\"article_share('" + iterator.id + "')\">";
+						html += "<svg class='icon'>";
+						html += "<use xlink:href='../studio/svg/icon.svg#share_to'></use>"
+						html += "</svg>";
+						html += "</button>";
 						html += "</div>";
 						html += "</div>";
 					}

+ 3 - 5
app/group/group.js

@@ -284,17 +284,15 @@ function member_list(id) {
 								html += "拥有者";
 							}
 							html += "</div>";
-							html += "<div style='flex:1;'><div class='hover_button'>";
+							html += "<div style='position: absolute;margin-top: -1.5em;right: 1em;'><div class='hover_button'>";
 							//if (iterator.owner == getCookie("userid"))
 							{
 								html +=
-									"<button onclick=\"member_del('" +
+									"<button style='background: var(--bg-color);' onclick=\"member_del('" +
 									id +
 									"','" +
 									iterator.user_id +
-									"')\">" +
-									gLocal.gui.delete +
-									"</button>";
+									"')\">❌</button>";
 							}
 							html += "</div></div>";
 							html += "</div>";

+ 1 - 0
app/public/lang/default.json

@@ -626,6 +626,7 @@
 		"year_ago": "year ago",
 		"years_ago": "years ago",
 		"similar": "similar",
+		"suggest": "suggest",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 0
app/public/lang/en.json

@@ -625,6 +625,7 @@
 		"year_ago": "&nbsp;year&nbsp;ago",
 		"years_ago": "&nbsp;years&nbsp;ago",
 		"similar": "similar",
+		"suggest": "suggest",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 0
app/public/lang/my.json

@@ -625,6 +625,7 @@
 		"year_ago": "&nbsp;year ago",
 		"years_ago": "&nbsp;years ago",
 		"similar": "similar",
+		"suggest": "suggest",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 0
app/public/lang/si.json

@@ -630,6 +630,7 @@
 		"year_ago": "&nbsp;year ago",
 		"years_ago": "&nbsp;years ago",
 		"similar": "similar",
+		"suggest": "suggest",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 0
app/public/lang/zh-cn.json

@@ -628,6 +628,7 @@
 		"year_ago": "年前",
 		"years_ago": "年前",
 		"similar": "相似",
+		"suggest": "建议",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 0
app/public/lang/zh-tw.json

@@ -627,6 +627,7 @@
 		"year_ago": "年前",
 		"years_ago": "年前",
 		"similar": "相似",
+		"suggest": "建議",
 		"": ""
 	},
 	"grammastr": [

+ 1 - 1
app/studio/pc_get_pali_text.php

@@ -25,7 +25,7 @@ if ($iFetch > 0) {
         echo "<div class=\"wizard_par_tools\">";
         echo "<div class=\"wizard_par_tools_title\">";
         echo "<input id='par_enable_$parNumber' onclick='par_enable_change($parNumber,this)' type=\"checkbox\" checked/>";
-        echo "<a href='../reader/?view=para&book={$get_book}&para={$parNumber}' name='pali_text_par_$parNumber' target='_blank'>$parNumber</a><span id='par_level_$parNumber' class='par_level'></span>";
+        echo "<a href='../reader/?view=chapter&book={$get_book}&para={$parNumber}' name='pali_text_par_$parNumber' target='_blank'>$parNumber</a><span id='par_level_$parNumber' class='par_level'></span>";
         echo "</div>";
         echo "</div>";
         echo "<div id=\"wizard_pali_par_text_$parNumber\">" . $Fetch[$i]["html"] . "</div>";

Різницю між файлами не показано, бо вона завелика
+ 18 - 15
app/studio/svg/icon.svg


+ 1 - 1
app/term/note.js

@@ -739,7 +739,7 @@ function render_one_sent_tran_a(iterator) {
 		html += "</svg>";
 		html += "<span class='tooltiptext tooltip-top'>";
 		if (parseInt(iterator.mypower) < 20) {
-			html += "建议";
+			html += gLocal.gui.suggest;
 		} else {
 			html += gLocal.gui.edit;
 		}

+ 5 - 8
app/term/term.css

@@ -295,7 +295,7 @@ note .ref {
 	font-size: 75%;
 	white-space: nowrap;
 	overflow-x: scroll;
-	max-width: 100%;
+	max-width: 45%;
 	white-space: nowrap;
 	position: absolute;
 	right: 1em;
@@ -303,9 +303,6 @@ note .ref {
 note:hover .ref {
 	/*border-top: solid 1px var(--border-line-color);*/
 	position: absolute;
-	margin-left: -45vw;
-	width: 45vw;
-	max-width: 45vw;
 	overflow: hidden;
 	white-space: nowrap;
 	overflow-x: scroll;
@@ -433,16 +430,16 @@ note:hover .add_new {
 	background-color: #ebebeb66;
 }
 .bg_color_2 {
-	background: linear-gradient(to right, #6afdb033, #ebebeb66);
+	background: linear-gradient(to left, #6afdb033, #ebebeb66);
 }
 .bg_color_3 {
-	background: linear-gradient(to right, #6a95fd26, #ebebeb66);
+	background: linear-gradient(to left, #6a95fd26, #ebebeb66);
 }
 .bg_color_4 {
-	background: linear-gradient(to right, #f9e7911c, #ebebeb66);
+	background: linear-gradient(to left, #f9e7911c, #ebebeb66);
 }
 .bg_color_5 {
-	background: linear-gradient(to right, #fe99b91c, #ebebeb66);
+	background: linear-gradient(to left, #fe99b91c, #ebebeb66);
 }
 
 pre {

Різницю між файлами не показано, бо вона завелика
+ 17 - 0
documents/图标.md


Деякі файли не було показано, через те що забагато файлів було змінено