浏览代码

Add missing save icon

Kailash Nadh 5 年之前
父节点
当前提交
412e016614
共有 5 个文件被更改,包括 18 次插入17 次删除
  1. 14 14
      frontend/fontello/config.json
  2. 2 1
      frontend/src/assets/icons/fontello.css
  3. 二进制
      frontend/src/assets/icons/fontello.woff2
  4. 1 1
      frontend/src/views/Campaign.vue
  5. 1 1
      media.go

+ 14 - 14
frontend/fontello/config.json

@@ -426,6 +426,20 @@
         "chevron-left"
       ]
     },
+    {
+      "uid": "b1f680726c5ff5a4b55a4e2701aaedd6",
+      "css": "content-save-outline",
+      "code": 59422,
+      "src": "custom_icons",
+      "selected": true,
+      "svg": {
+        "path": "M709 125H209Q173.8 125 149.4 149.4T125 209V791Q125 826.2 149.4 850.6T209 875H791Q826.2 875 850.6 850.6T875 791V291ZM791 791H209V209H673.8L791 326.2V791ZM500 500Q447.3 500 411.1 536.1T375 625 411.1 713.9 500 750 588.9 713.9 625 625 588.9 536.1 500 500ZM250 250H625V416H250V250Z",
+        "width": 1000
+      },
+      "search": [
+        "content-save-outline"
+      ]
+    },
     {
       "uid": "f4ad3f6d071a0bfb3a8452b514ed0892",
       "css": "vector-square",
@@ -29266,20 +29280,6 @@
         "comment-question"
       ]
     },
-    {
-      "uid": "b1f680726c5ff5a4b55a4e2701aaedd6",
-      "css": "content-save-outline",
-      "code": 985112,
-      "src": "custom_icons",
-      "selected": false,
-      "svg": {
-        "path": "M709 125H209Q173.8 125 149.4 149.4T125 209V791Q125 826.2 149.4 850.6T209 875H791Q826.2 875 850.6 850.6T875 791V291ZM791 791H209V209H673.8L791 326.2V791ZM500 500Q447.3 500 411.1 536.1T375 625 411.1 713.9 500 750 588.9 713.9 625 625 588.9 536.1 500 500ZM250 250H625V416H250V250Z",
-        "width": 1000
-      },
-      "search": [
-        "content-save-outline"
-      ]
-    },
     {
       "uid": "2d26a0691a6419907d872e549e8c9bc9",
       "css": "delete-restore",

+ 2 - 1
frontend/src/assets/icons/fontello.css

@@ -39,7 +39,7 @@
   /* Uncomment for 3D effect */
   /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
 }
- 
+
 .mdi-view-dashboard-variant-outline:before { content: '\e800'; } /* '' */
 .mdi-format-list-bulleted-square:before { content: '\e801'; } /* '' */
 .mdi-newspaper-variant-outline:before { content: '\e802'; } /* '' */
@@ -70,3 +70,4 @@
 .mdi-account-off-outline:before { content: '\e81b'; } /* '' */
 .mdi-chevron-right:before { content: '\e81c'; } /* '' */
 .mdi-chevron-left:before { content: '\e81d'; } /* '' */
+.mdi-content-save-outline:before { content: '\e81e'; } /* '' */

二进制
frontend/src/assets/icons/fontello.woff2


+ 1 - 1
frontend/src/views/Campaign.vue

@@ -71,7 +71,7 @@
 
                 <b-field label="Tags">
                   <b-taginput v-model="form.tags" :disabled="!canEdit"
-                    ellipsis icon="tag" placeholder="Tags"></b-taginput>
+                    ellipsis icon="tag-outline" placeholder="Tags"></b-taginput>
                 </b-field>
                 <hr />
 

+ 1 - 1
media.go

@@ -112,7 +112,7 @@ func handleUploadMedia(c echo.Context) error {
 func handleGetMedia(c echo.Context) error {
 	var (
 		app = c.Get("app").(*App)
-		out []media.Media
+		out = []media.Media{}
 	)
 
 	if err := app.queries.GetMedia.Select(&out); err != nil {