-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9f64e4
commit baefc08
Showing
2 changed files
with
82 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,9 @@ export function init(ctx, payload) { | |
ctx.importCSS( | ||
"https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" | ||
); | ||
ctx.importCSS( | ||
"https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.min.css" | ||
); | ||
ctx.importCSS("main.css"); | ||
|
||
const BaseInput = { | ||
|
@@ -211,6 +214,12 @@ export function init(ctx, payload) { | |
inputClass="input input--xs" | ||
:inline | ||
/> | ||
<button type="button" @click="toggleHelpBox" class="icon-button grow"> | ||
<i class="ri ri-questionnaire-line" aria-hidden="true"></i> | ||
</button> | ||
</div> | ||
<div class="help-section" v-if="showHelpBox"> | ||
<p>The Erlang/OTP version of both nodes need to match.</p> | ||
</div> | ||
</form> | ||
</div> | ||
|
@@ -219,6 +228,7 @@ export function init(ctx, payload) { | |
data() { | ||
return { | ||
fields: payload.fields, | ||
showHelpBox: false, | ||
}; | ||
}, | ||
|
||
|
@@ -238,6 +248,9 @@ export function init(ctx, payload) { | |
: this.fields["cookie"]; | ||
ctx.setSmartCellEditorIntellisenseNode(node, cookie); | ||
}, | ||
toggleHelpBox() { | ||
this.showHelpBox = !this.showHelpBox; | ||
}, | ||
}, | ||
|
||
mounted() { | ||
|