💄 Add comments plug-in loading style.
This commit is contained in:
3
layouts/partials/_thirdparty/comment/comm_loading.html
vendored
Normal file
3
layouts/partials/_thirdparty/comment/comm_loading.html
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="comment-loading">
|
||||
<i class="fa fa-sync fa-spin"></i>
|
||||
</div>
|
||||
@@ -15,7 +15,8 @@
|
||||
wordLimit: {{ .wordLimit }},
|
||||
requiredMeta: {{ .requiredMeta }},
|
||||
serverURL: "{{ .serverURL }}",
|
||||
lang: "{{ $.Lang }}"
|
||||
lang: "{{ $.Lang }}",
|
||||
dark: "auto"
|
||||
});
|
||||
</script>
|
||||
{{- end }}
|
||||
@@ -28,11 +28,15 @@
|
||||
{{- if $tc }}
|
||||
{{- range $sn }}
|
||||
<div>
|
||||
{{- partial "_thirdparty/comment/comm_loading.html" . }}
|
||||
{{- partial (printf $cp (lower .name)) $root }}
|
||||
</div>
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
<div>{{- partial (printf $cp $fc) $root }}</div>
|
||||
<div>
|
||||
{{- partial "_thirdparty/comment/comm_loading.html" . }}
|
||||
{{- partial (printf $cp $fc) $root }}
|
||||
</div>
|
||||
{{- end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user