Ver Fonte

no message

Jianghan há 3 anos atrás
pai
commit
0f59802af7

+ 1 - 0
src/front/remark.go

@@ -0,0 +1 @@
+package front

Diff do ficheiro suprimidas por serem muito extensas
+ 10 - 0
src/web/res/dist/css/animate.min.css


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
src/web/res/dist/css/index.css


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
src/web/res/dist/css/normalize.min.css


+ 124 - 0
src/web/res/dist/css/zz.css

@@ -0,0 +1,124 @@
+@charset "UTF-8";
+/*resize*/
+.diy-resize, .content .article, .content .operation { resize: both; overflow-x: hidden; overflow-y: auto; box-shadow: 0 0 1px 1px #a5a5a5; }
+
+/*dialog*/
+.dialog { display: block; position: fixed; width: 100vw; height: 100vh; background-color: rgba(124, 124, 125, 0.65); top: 0; left: 0; border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
+
+.dialog .close { position: fixed; right: 10px; top: 10px; color: #4a513e; font-weight: bold; transition: all 0.4s; transform-origin: 50% 50%; width: 36px; height: 36px; line-height: 36px; display: block; box-sizing: border-box; border-radius: 50%; text-align: center; border: 1px solid #4a513e; }
+
+.dialog .close:hover { transform: rotate(360deg); }
+
+.dialog .pop { width: 100%; height: 100%; background-color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; }
+
+.dialog .pop button { margin-top: 35px; display: block; font-size: 20px; line-height: 35px; padding: 0 50px; transition: all 0.6s; box-shadow: 0 0 8px 3px #757575; }
+
+.dialog .pop button:hover { background-color: #27c564; color: white; border: 0; }
+
+.dialog .pop .con { width: 85vw; height: 70vh; overflow-y: scroll; border: 1px solid #4c4c4c; }
+
+.dialog .pop textarea { display: block; width: 90%; min-height: 70vh; padding: 5px; box-sizing: border-box; }
+
+.dialog .pop .title { display: block; color: #4a513e; font-size: 22px; line-height: 40px; }
+
+/*--edit--*/
+.edit-box { width: 100%; background-color: #e6e6e6; }
+
+.edit-box .edit { font-size: 14px; }
+
+.edit-box .edit .edit-title { border-left: 4px solid royalblue; background-color: #EEEEEE; color: royalblue; font-weight: bold; padding: 0 20px; box-sizing: border-box; width: 100%; height: 30px; line-height: 30px; box-shadow: 0 0 1px 1px #bbbbbb; font-size: 16px; display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
+
+.edit-box .edit .edit-title .button-box { margin-right: 100px; }
+
+.edit-box .edit .edit-title .button-box > button { font-size: 14px; margin-left: 30px; width: 50px; height: 25px; box-sizing: border-box; transition: all 0.6s; border: none; color: royalblue; background-color: #fff; }
+
+.edit-box .edit .edit-title .button-box > button:hover { color: #fff; background-color: royalblue; }
+
+.edit-box .edit .edit-title button { height: 25px; box-sizing: border-box; transition: all 0.6s; border: none; width: 35px; color: royalblue; background-color: #fff; border-radius: 2px; font-size: 20px; font-weight: 700; box-shadow: 0 0 2px 2px #b5b5b5; }
+
+.edit-box .edit .edit-title button:hover { box-shadow: inset 0 0 2px 2px #b5b5b5; }
+
+.edit-box .edit .edit-title button.pass { background-color: royalblue; color: #EEEEEE;}
+
+.edit-box .edit .edit-title button.pass:hover { background-color: #EEEEEE; color: royalblue;}
+
+.edit-box .edit .edit-title button.add { background-color: royalblue; color: #EEEEEE; cursor: cell; }
+
+.edit-box .edit .edit-title button.add:hover { background-color: #EEEEEE; color: royalblue; }
+
+.edit-box .edit .edit-title button.del { background-color: #aa6708; color: white; cursor: no-drop; }
+
+.edit-box .edit .edit-title button.del:hover { background-color: white; color: #aa6708; }
+
+.edit-box .edit .edit-content { border: 1px solid #c6c6c6; border-top: none; }
+
+.edit-box .edit .edit-input { display: flex; flex-direction: row; align-items: center; box-sizing: border-box; justify-content: left; flex-wrap: wrap; padding-top: 15px; }
+
+.edit-box .edit .edit-input .input-box { width: calc(50% - 5px); }
+
+.edit-box .edit .edit-input .label { width: 100%; margin: 4px; display: flex; height: 30px; flex-direction: row; align-items: center; line-height: 30px; box-sizing: border-box; }
+
+.edit-box .edit .edit-input .label > input { flex: 1; width: 50%; }
+
+.edit-box .edit .edit-input .label > input[type='checkbox'] { flex: none; }
+
+.edit-box .edit .edit-input .label > span { display: block; word-break: break-all; max-width: 5rem; min-width: 5rem; text-align: center; height: 30px; line-height: 30px; text-overflow: ellipsis; white-space: pre; }
+
+.edit-box .edit .edit-input input { flex: 1; height: 30px; padding: 3px; box-sizing: border-box; }
+
+.edit-box .edit .edit-input input[type='checkbox'] { flex: none; height: 22px; padding: 0; margin: 4px; margin-right: 0; }
+
+.edit-box .edit .edit-input select { flex: 1; height: 30px; box-sizing: border-box; }
+
+.edit-box .edit.one .edit-content { padding: 30px 15px; }
+
+.edit-box .edit.one .edit-content.t { padding-top: 0; }
+
+.edit-box .edit.two:nth-child(odd) { background: white; }
+
+.edit-box .edit.two:nth-child(odd) .edit-title { background-color: white; }
+
+.edit-box .edit.two .edit-title { font-size: 14px; }
+
+.edit-box .edit.two .edit-content { margin-bottom: 15px; padding: 0; }
+
+.edit-box .edit.three { margin: 15px 30px; }
+
+.edit-box .edit.three .edit-title { padding: 0 15px; }
+
+/*--edit--*/
+/*左右布局*/
+.content { width: 100vw; min-width: 1200px; height: 100vh; display: flex; flex-direction: row; }
+
+.content.mm { filter: blur(2px); }
+
+.content .article { width: 50%; padding-left: 15px; min-width: 200px; background-color: #ffef9c; }
+
+.content .article mark { background-color: red; color: white; }
+.content .article mark.focus { background-color: #09bb07; color: white; }
+
+.content .operation { width: 50%; min-width: 300px; background-color: #e6e6e6; }
+
+.save-box { width: 100%; margin: 40px 0 60px 0; display: flex; flex-direction: row; align-items: center; justify-content: center; }
+
+.save-box button { width: 200px; height: 45px; font-size: 18px; border-radius: 5px; box-sizing: border-box; transition: all 0.6s; border: none; color: royalblue; background-color: #fff; cursor: pointer; }
+
+.save-box button.code { margin-left: 10px; background-color: royalblue; color: white; }
+
+.save-box button:hover { color: #fff; background-color: royalblue; }
+
+.info-box { flex: 1; margin-left: 4px; min-width: 60px; max-width: 60px; height: 22px; display: flex; flex-direction: row; align-items: center; }
+
+.info-box > div { width: 40%; height: 100%; margin: 0; padding: 0; border: 1px solid #ccc; background-color: #fdfdfd; }
+
+.info-box > div:nth-child(1) { width: 20%; border-radius: 15px 0 0 15px; }
+
+.info-box > div:nth-child(2) { border-left: 0; border-right: 0; }
+
+.info-box .default { background-color: #adadad; }
+
+.info-box .ok { background-color: #09bb07; }
+
+.info-box .err { background-color: #f76260; }
+
+/*# sourceMappingURL=zz.css.map */

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
src/web/res/dist/js/index.js


Diff do ficheiro suprimidas por serem muito extensas
+ 5 - 0
src/web/res/dist/js/vue.min.js


+ 10 - 0
src/web/templates/project/remark_detail.html

@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="UTF-8">
+  <title>$Title$</title>
+</head>
+<body>
+$END$
+</body>
+</html>

+ 10 - 0
src/web/templates/project/remark_list.html

@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="UTF-8">
+  <title>$Title$</title>
+</head>
+<body>
+$END$
+</body>
+</html>

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff