mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 02:16:00 +02:00
too many issues
This commit is contained in:
parent
cf13957b45
commit
e86d0a0fc1
6 changed files with 97 additions and 141 deletions
|
@ -1,8 +1,8 @@
|
|||
import { PasswordComponent } from "./common";
|
||||
import {$,$$} from "@sciter"; //TEST $$ import
|
||||
const view = Window.this;
|
||||
var type, title, text, getParams, remember, retry, callback, contentStyle;
|
||||
var my_translate; // TEST
|
||||
|
||||
function updateParams(params) {
|
||||
type = params.type;
|
||||
title = params.title;
|
||||
|
@ -59,7 +59,6 @@ class Body extends Element {
|
|||
|
||||
getInputPasswordContent() {
|
||||
var ts = remember ? { checked: true } : {};
|
||||
// TODO <button type="checkbox" ...
|
||||
// <div><button|checkbox(remember) {ts}>{my_translate('Remember password')}</button></div>
|
||||
return <div class="form">
|
||||
<div>{my_translate('Please enter your password')}</div>
|
||||
|
@ -100,8 +99,7 @@ class Body extends Element {
|
|||
let hasOk = type != "connecting" && type.indexOf("nook") < 0;
|
||||
let hasClose = type.indexOf("hasclose") >= 0;
|
||||
let show_progress = type == "connecting";
|
||||
this.style.setProperty("border",(color + " solid 1px"));
|
||||
console.log(content)
|
||||
document.body.style.setProperty("border",(color + " solid 1px"));
|
||||
setTimeout(()=>this.$("#content").content(my_translate(content)),1);
|
||||
return (
|
||||
<div style="size: *">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue