diff --git a/views/friend.html b/views/friend.html index 979b7f9..ee74506 100644 --- a/views/friend.html +++ b/views/friend.html @@ -21,87 +21,79 @@
- - - - - - - - - - - - - +
    {{ range .friends }} -
- - - - - - - - + +
+
指令
+
+ {{ template "command" . }} +
+
+ + + {{ end }} - -
- 微信Id - - 微信号 - 昵称 - - 最后活跃时间 - - 是否在通讯录 - - 是否启用AI - - 是否启用指令 -
- {{ .Wxid }} - {{ - .CustomAccount }} - {{ - .Nickname }} - - {{ if eq .LastActive.IsNil true }} - 无数据 - {{ else }} - {{ .LastActive }} - {{ end }} - - {{ if eq .IsOk true }} - - {{ else }} - - {{ end }} - - {{ template "ai" . }} - - {{ if eq .EnableAi true }} - + + +
+
+
原始微信Id
微信号
+
+
{{ .Wxid }}
+ {{ if not (eq .CustomAccount "") }} +
{{ .CustomAccount }}
+ {{end}} +
+
+
+
最后活跃时间
+
+
+ {{ if eq .LastActive.IsNil true }} + 无数据 + {{ else }} + + {{ end }} +
+
+
+ +
+
AI
+
+ {{ template "ai" . }} +
+
+ {{ if eq .EnableAi true }} +
+
AI模型
+
+ +
+
{{ end }} -
- {{ template "command" . }} -
+ +
diff --git a/views/static/img/status-fail.png b/views/static/img/status-fail.png new file mode 100644 index 0000000..1576c01 Binary files /dev/null and b/views/static/img/status-fail.png differ diff --git a/views/static/img/status-ok.png b/views/static/img/status-ok.png new file mode 100644 index 0000000..5806d9a Binary files /dev/null and b/views/static/img/status-ok.png differ