Skip to content
Snippets Groups Projects
Commit 33b25b8e authored by Djamel ALI's avatar Djamel ALI
Browse files

fix: delete checkbox next to the login/logout button

parent 8186baef
No related branches found
No related tags found
1 merge request!49fix: delete checkbox next to the login/logout button
Pipeline #19115 failed
.component {
display: flex;
vscode-button {
display: inline-block;
flex-direction: row;
align-items: center;
justify-content: left;
margin-top: 0.8em;
}
vscode-button {
margin-left: 0.6em;
justify-content: center;
}
\ No newline at end of file
vscode-checkbox {
justify-content: center;
vertical-align: middle;
}
\ No newline at end of file
......@@ -71,13 +71,10 @@ export default class AuthenticationView implements WebviewViewProvider {
const js = getUri(webview, ['resources', 'js', 'authenticationView.js']);
const html =
`<div class="component">
<vscode-checkbox ${this._isAlreadyConnected ? 'checked ' : ''} readonly></vscode-checkbox>
<vscode-button onclick="${
`<vscode-button onclick="${
this._isAlreadyConnected ? 'disconnectUserAction' : 'openAuthenticationPageAction'
}()">${this._isAlreadyConnected ? 'Déconnexion de' : 'Connexion à'} Deadlock
</vscode-button>
</div>`;
</vscode-button>`;
return `<!DOCTYPE html>
<html lang="en">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment