mirror of
https://github.com/Cyrix126/gupaxx.git
synced 2024-12-22 14:49:21 +00:00
fix: wrong name log from proxy tab
Some checks are pending
CI / ci (macos-12) (push) Waiting to run
CI / ci (ubuntu-latest) (push) Waiting to run
Rust / fmt (push) Waiting to run
Rust / test (macos-latest) (push) Waiting to run
Rust / test (ubuntu-latest) (push) Waiting to run
Rust / typo (push) Waiting to run
Rust / clippy (macos-latest) (push) Waiting to run
Rust / clippy (ubuntu-latest) (push) Waiting to run
Rust / check (macos-latest) (push) Waiting to run
Rust / check (ubuntu-latest) (push) Waiting to run
Rust / doc (macos-latest) (push) Waiting to run
Rust / doc (ubuntu-latest) (push) Waiting to run
Typo / typo (push) Waiting to run
Some checks are pending
CI / ci (macos-12) (push) Waiting to run
CI / ci (ubuntu-latest) (push) Waiting to run
Rust / fmt (push) Waiting to run
Rust / test (macos-latest) (push) Waiting to run
Rust / test (ubuntu-latest) (push) Waiting to run
Rust / typo (push) Waiting to run
Rust / clippy (macos-latest) (push) Waiting to run
Rust / clippy (ubuntu-latest) (push) Waiting to run
Rust / check (macos-latest) (push) Waiting to run
Rust / check (ubuntu-latest) (push) Waiting to run
Rust / doc (macos-latest) (push) Waiting to run
Rust / doc (ubuntu-latest) (push) Waiting to run
Typo / typo (push) Waiting to run
This commit is contained in:
parent
e06f16ea45
commit
7c906ef529
1 changed files with 6 additions and 6 deletions
|
@ -42,7 +42,7 @@ impl XmrigProxy {
|
||||||
ui.add_space(space_h);
|
ui.add_space(space_h);
|
||||||
});
|
});
|
||||||
// console output for log
|
// console output for log
|
||||||
debug!("XvB Tab | Rendering [Console]");
|
debug!("Xmrig-Proxy Tab | Rendering [Console]");
|
||||||
ui.group(|ui| {
|
ui.group(|ui| {
|
||||||
let text = &lock!(api).output;
|
let text = &lock!(api).output;
|
||||||
let nb_lines = num_lines(text);
|
let nb_lines = num_lines(text);
|
||||||
|
@ -93,7 +93,7 @@ impl XmrigProxy {
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------- Arguments
|
//---------------------------------------------------------------------------------------------------- Arguments
|
||||||
debug!("XMRig Tab | Rendering [Arguments]");
|
debug!("XMRig-Proxy Tab | Rendering [Arguments]");
|
||||||
ui.group(|ui| {
|
ui.group(|ui| {
|
||||||
ui.horizontal(|ui| {
|
ui.horizontal(|ui| {
|
||||||
let width = (size.x / 10.0) - SPACE;
|
let width = (size.x / 10.0) - SPACE;
|
||||||
|
@ -128,7 +128,7 @@ impl XmrigProxy {
|
||||||
// need to show local ip address
|
// need to show local ip address
|
||||||
// need to show public ip
|
// need to show public ip
|
||||||
|
|
||||||
debug!("XMRig Tab | Rendering [Pool List] elements");
|
debug!("XMRig-Proxy Tab | Rendering [Pool List] elements");
|
||||||
let width = ui.available_width() - 10.0;
|
let width = ui.available_width() - 10.0;
|
||||||
let mut incorrect_input = false; // This will disable [Add/Delete] on bad input
|
let mut incorrect_input = false; // This will disable [Add/Delete] on bad input
|
||||||
// [Pool IP/Port]
|
// [Pool IP/Port]
|
||||||
|
@ -225,7 +225,7 @@ impl XmrigProxy {
|
||||||
ui.spacing_mut().slider_width = width - 8.0;
|
ui.spacing_mut().slider_width = width - 8.0;
|
||||||
ui.spacing_mut().icon_width = width / 25.0;
|
ui.spacing_mut().icon_width = width / 25.0;
|
||||||
// [Node List]
|
// [Node List]
|
||||||
debug!("XMRig Tab | Rendering [Node List] ComboBox");
|
debug!("XMRig-Proxy Tab | Rendering [Node List] ComboBox");
|
||||||
let text = RichText::new(format!("{}. {}", self.selected_index+1, self.selected_name));
|
let text = RichText::new(format!("{}. {}", self.selected_index+1, self.selected_name));
|
||||||
ComboBox::from_id_salt("manual_pool").selected_text(text).width(width).show_ui(ui, |ui| {
|
ComboBox::from_id_salt("manual_pool").selected_text(text).width(width).show_ui(ui, |ui| {
|
||||||
for (n, (name, pool)) in pool_vec.iter().enumerate() {
|
for (n, (name, pool)) in pool_vec.iter().enumerate() {
|
||||||
|
@ -348,7 +348,7 @@ impl XmrigProxy {
|
||||||
});
|
});
|
||||||
ui.add_space(5.0);
|
ui.add_space(5.0);
|
||||||
|
|
||||||
debug!("XMRig Tab | Rendering [API] TextEdits");
|
debug!("XMRig-Proxy Tab | Rendering [API] TextEdits");
|
||||||
// [HTTP API IP/Port]
|
// [HTTP API IP/Port]
|
||||||
ui.group(|ui| {
|
ui.group(|ui| {
|
||||||
ui.horizontal(|ui| {
|
ui.horizontal(|ui| {
|
||||||
|
@ -411,7 +411,7 @@ impl XmrigProxy {
|
||||||
|
|
||||||
ui.separator();
|
ui.separator();
|
||||||
|
|
||||||
debug!("XMRig Tab | Rendering [TLS/Keepalive] buttons");
|
debug!("XMRig-Proxy Tab | Rendering [TLS/Keepalive] buttons");
|
||||||
ui.vertical(|ui| {
|
ui.vertical(|ui| {
|
||||||
// TLS/Keepalive
|
// TLS/Keepalive
|
||||||
ui.horizontal(|ui| {
|
ui.horizontal(|ui| {
|
||||||
|
|
Loading…
Reference in a new issue