-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(website): Manually request certificates using a custom nameserver. #7840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,47 +6,18 @@ html { | |
| align-items: center; | ||
| justify-content: center; | ||
| } | ||
| .flx-justify-between { | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| } | ||
|
|
||
| .flx-align-center { | ||
| display: flex; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .flx-wrap { | ||
| display: flex; | ||
| flex-wrap: wrap; | ||
| } | ||
|
|
||
| .clearfix::after { | ||
| display: block; | ||
| height: 0; | ||
| overflow: hidden; | ||
| clear: both; | ||
| content: ''; | ||
| } | ||
|
|
||
| .sle { | ||
| overflow: hidden; | ||
| text-overflow: ellipsis; | ||
| white-space: nowrap; | ||
| } | ||
|
|
||
| .mle { | ||
| display: -webkit-box; | ||
| overflow: hidden; | ||
| -webkit-box-orient: vertical; | ||
| -webkit-line-clamp: 2; | ||
| } | ||
|
|
||
| .break-word { | ||
| word-break: break-all; | ||
| word-wrap: break-word; | ||
| } | ||
|
|
||
| .fade-transform-leave-active, | ||
| .fade-transform-enter-active { | ||
| transition: all 0.2s; | ||
|
|
@@ -87,18 +58,6 @@ html { | |
| border-radius: 20px; | ||
| box-shadow: inset 0 0 0 white; | ||
| } | ||
| .content-box { | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| height: 100%; | ||
| .text { | ||
| margin: 30px 0; | ||
| font-size: 23px; | ||
| font-weight: bold; | ||
| color: rgb(88 88 88); | ||
| } | ||
| } | ||
|
|
||
| #nprogress { | ||
| .bar { | ||
|
|
@@ -113,10 +72,6 @@ html { | |
| } | ||
| } | ||
|
|
||
| .inline-block { | ||
| display: inline-block; | ||
| } | ||
|
|
||
| .form-button { | ||
| float: right; | ||
| } | ||
|
|
@@ -141,37 +96,6 @@ html { | |
| white-space: normal; | ||
| } | ||
|
|
||
| .myTable { | ||
| border-collapse: collapse; | ||
| font-size: 12px; | ||
| table-layout: fixed; | ||
| td { | ||
| width: 35%; | ||
| padding: 8px; | ||
| height: 23px; | ||
| border: 1px solid #383c42; | ||
| word-wrap: break-word; | ||
| div { | ||
| margin-top: 2px; | ||
| } | ||
| th { | ||
| border: 0; | ||
| height: 30px; | ||
| } | ||
| tr { | ||
| &:hover { | ||
| background-color: #d9dde2; | ||
| } | ||
| &:first-child:hover { | ||
| background-color: transparent !important; | ||
| } | ||
| td:nth-child(even) { | ||
| color: #85888e; | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| .mask { | ||
| width: 100%; | ||
| height: 100%; | ||
|
|
@@ -195,48 +119,6 @@ html { | |
| } | ||
| } | ||
|
|
||
| .table-button { | ||
| display: inline; | ||
| margin-right: 5px; | ||
| } | ||
|
|
||
| .button-left { | ||
| float: left; | ||
| } | ||
|
|
||
| .topRouterCard { | ||
| .el-card__body { | ||
| --el-card-border-color: var(--el-border-color-light); | ||
| --el-card-border-radius: 4px; | ||
| --el-card-padding: 0px; | ||
| --el-card-bg-color: var(--el-fill-color-blank); | ||
| } | ||
| } | ||
| .topRouterButton { | ||
| .el-radio-button__inner { | ||
| display: inline-block; | ||
| line-height: 1; | ||
| white-space: nowrap; | ||
| vertical-align: middle; | ||
| background: var(--el-button-bg-color, var(--el-fill-color-blank)); | ||
| border: 0; | ||
| font-weight: 350; | ||
| color: var(--el-button-text-color, var(--el-text-color-regular)); | ||
| text-align: center; | ||
| box-sizing: border-box; | ||
| outline: 0; | ||
| margin: 0; | ||
| position: relative; | ||
| cursor: pointer; | ||
| transition: var(--el-transition-all); | ||
| -webkit-user-select: none; | ||
| user-select: none; | ||
| padding: 8px 15px; | ||
| font-size: var(--el-font-size-base); | ||
| border-radius: 0; | ||
| } | ||
| } | ||
|
|
||
| .sidebar-container-popper { | ||
| .el-menu--popup-right-start { | ||
| background-color: rgba(0, 94, 235, 0.1); | ||
|
|
@@ -247,7 +129,6 @@ html { | |
| width: 250px; | ||
| } | ||
|
|
||
| // drawer头部增加按钮 | ||
| .drawer-header-button { | ||
| span { | ||
| color: currentColor !important; | ||
|
|
@@ -288,9 +169,6 @@ html { | |
| background-color: #000000; | ||
| } | ||
|
|
||
| .middle-center { | ||
| vertical-align: middle; | ||
| } | ||
| .status-count { | ||
| font-size: 24px; | ||
| } | ||
|
|
@@ -338,10 +216,6 @@ html { | |
| width: 40% !important; | ||
| } | ||
|
|
||
| .left-button { | ||
| margin-left: 10px; | ||
| } | ||
|
|
||
| .pre-select { | ||
| width: 85px !important; | ||
| } | ||
|
|
@@ -377,12 +251,6 @@ html { | |
| margin-right: 20px; | ||
| } | ||
|
|
||
| .text-parent { | ||
| display: flex; | ||
| width: 100%; | ||
| margin-left: 2px; | ||
| } | ||
|
|
||
| .text-ellipsis { | ||
| overflow: hidden; | ||
| text-overflow: ellipsis; | ||
|
|
@@ -399,10 +267,6 @@ html { | |
| margin-left: 5px !important; | ||
| } | ||
|
|
||
| .p-mb-5 { | ||
| margin-bottom: 5px !important; | ||
| } | ||
|
|
||
| .p-w-200 { | ||
| width: 200px !important; | ||
| } | ||
|
|
@@ -469,7 +333,6 @@ html { | |
| } | ||
| } | ||
|
|
||
|
|
||
| .el-descriptions { | ||
| overflow: hidden; | ||
| text-overflow: ellipsis; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No regularity detected. The code seems to be in good shape, with no syntax errors, missing or extra braces/brackets/etc. For optimization/suggestion:
If you need specific optimizations on certain aspects of this example please specify so I can further help you out! |
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -233,25 +233,18 @@ | |
| <div | ||
| class="d-description flex flex-wrap items-center justify-start gap-1.5" | ||
| > | ||
| <el-button class="tagMargin" plain size="small"> | ||
| <el-button class="mr-1" plain size="small"> | ||
| {{ $t('app.version') }}:{{ installed.version }} | ||
| </el-button> | ||
|
|
||
| <el-button | ||
| v-if="installed.httpPort > 0" | ||
| class="tagMargin" | ||
| class="mr-1" | ||
| plain | ||
| size="small" | ||
| > | ||
| {{ $t('app.busPort') }}:{{ installed.httpPort }} | ||
| </el-button> | ||
|
|
||
| <el-button | ||
| v-if="installed.httpsPort > 0" | ||
| class="tagMargin" | ||
| plain | ||
| size="small" | ||
| > | ||
| <el-button v-if="installed.httpsPort > 0" plain size="small"> | ||
| {{ $t('app.busPort') }}:{{ installed.httpsPort }} | ||
| </el-button> | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No obvious issues were found with the provided code. It appears to be functioning as expected and there are no areas that can be modified or improved for efficiency, functionality, or readability. There is no room for improvement at this point. |
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There appears to be a minor typo at line 135 where it's supposed to say:
Please update accordingly. Also consider optimizing the DNS provider selection logic with conditional checks that will directly use
clouddnsordns01based onDNS_TYPE, which improves performance and readability.I also recommend adding more comments to explain each function's purpose and what it does if not already present. This provides clarity for the users of the code.