Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub committed Jan 22, 2025
1 parent cc80f07 commit 5b29a8e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
6 changes: 5 additions & 1 deletion public/assets/backend/css/dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -515,5 +515,9 @@
.dark-theme .page-aside.app .navbar-toggle {
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.dark-theme .alert-white{
background-image: linear-gradient(to bottom,#201f1f,#090909);
border-color: #000;
color: #eee;
}
.dark-theme img#captchaImage{filter: invert(1);margin-left: 1px;}
2 changes: 1 addition & 1 deletion public/assets/backend/css/dark.min.css

Large diffs are not rendered by default.

14 changes: 6 additions & 8 deletions public/assets/backend/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -6158,17 +6158,15 @@ details[open] summary {
border-bottom: 1px solid #ccc;
margin-bottom: 0.5em;
}
.license-info-container{margin:10px 0 0 0;padding-top:10px;padding-bottom:10px;padding-right:10px;}
.license-info-container{margin:10px 0 0 0;padding:0;position:relative}
.license-info-container dl{margin:0;}
.license-info-container dl dt{font-weight:350;}
.license-info-container dl dt::after{content:": "}
.license-info-container dl dt,.license-info-container dl dd{display:inline;}
.license-info-container .icon{width:auto;padding:0 5px;line-height:40px;display:flex;align-items:center;justify-content:center;}
@media (max-width: 992px) {
.license-info-container .icon {
width:50px;line-height:25px;
}
}
.license-info-container dl dt,.license-info-container dl dd{display:inline;line-height:40px;}
.license-info-container > .icon{width:auto;padding:0 5px;line-height:40px;margin:-1px;position:relative;left:0;top:0;border-radius:3px !important;-webkit-border-radius:3px !important;}
.license-info-container > .icon::after{display:none;}
.license-info-container > .icon > span{white-space:nowrap;}
.license-info-container > .row{width:100%;margin:0;}
.table-toolbar{position:relative;}
.table-toolbar.row,
.table-toolbar.row .row:first-child{
Expand Down
2 changes: 1 addition & 1 deletion public/assets/backend/css/style.lite.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/assets/backend/css/style.min.css

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions template/backend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,12 @@ <h3>{{"欢迎回来"|$.T}}</h3>
<div class="well no-margin no-padding sm-padding-top">
<ul class="wrap"><li>{{"欢迎使用"|$.T}} {{Version}}</li><li>BUILD: {{BuildTime}}</li><li>COMMIT: {{CommitID}}</li><li>{{"现在是"|$.T}} {{Now.Format "2006-01-02 15:04"}} {{Now.Weekday}}</li></ul>
</div>
{{- if $.Stored.license.Key -}}
{{- if or true $.Stored.license.Key -}}
<div class="alert alert-success alert-white rounded license-info-container{{if $.Stored.license.Info.LicenseID}} license-items-1{{end}}">
<div class="icon"><span class="text-white">{{"授权信息"|$.T}}</span></div>
<div class="row no-margin">
<div class="row">
<dl class="col-md-3"><dt>{{"授权用户"|$.T}}</dt><dd>{{$.Stored.license.Info.Name}}</dd></dl>
{{- if $.Stored.license.Info.LicenseID -}}
<dl class="col-md-3"><dt>{{"证书编号"|$.T}}</dt><dd>{{$.Stored.license.Info.LicenseID}}</dd></dl>
{{- end -}}
{{- if $.Stored.license.Info.Domain -}}
<dl class="col-md-3"><dt>{{"授权域名"|$.T}}</dt><dd>{{$.Stored.license.Info.Domain}}</dd></dl>
{{- else -}}
Expand Down

0 comments on commit 5b29a8e

Please sign in to comment.