update: minor updates to gui
This commit is contained in:
parent
b91085ab10
commit
552fd7952b
1 changed files with 5 additions and 11 deletions
|
|
@ -1685,7 +1685,6 @@ class MenuPage(Page):
|
|||
("Operator Name", "operator_name"),
|
||||
("Nostr Key", "nostr_public_key"),
|
||||
("HydraVeil Key", "hydraveil_public_key"),
|
||||
("Nostr Verification", "nostr_attestation_event_reference"),
|
||||
]
|
||||
|
||||
for label, key in info_items:
|
||||
|
|
@ -1712,9 +1711,6 @@ class MenuPage(Page):
|
|||
elif key == "hydraveil_public_key":
|
||||
value = operator.public_key or "N/A"
|
||||
value = self.truncate_key(value) if value != "N/A" else value
|
||||
elif key == "nostr_attestation_event_reference":
|
||||
value = operator.nostr_attestation_event_reference or "N/A"
|
||||
value = self.truncate_key(value) if value != "N/A" else value
|
||||
else:
|
||||
value = "N/A"
|
||||
else:
|
||||
|
|
@ -1767,8 +1763,6 @@ class MenuPage(Page):
|
|||
full_value = operator.nostr_public_key or "N/A"
|
||||
elif key == "hydraveil_public_key":
|
||||
full_value = operator.public_key or "N/A"
|
||||
elif key == "nostr_attestation_event_reference":
|
||||
full_value = operator.nostr_attestation_event_reference or "N/A"
|
||||
else:
|
||||
full_value = "N/A"
|
||||
else:
|
||||
|
|
@ -1862,7 +1856,7 @@ class MenuPage(Page):
|
|||
if protocol.lower() == "wireguard" and ConfigurationController.get_endpoint_verification_enabled():
|
||||
if is_profile_enabled and profile_obj and profile_obj.connection and profile_obj.connection.code == 'wireguard':
|
||||
verified_icon = QLabel(self)
|
||||
verified_icon.setGeometry(20, 60, 100, 60)
|
||||
verified_icon.setGeometry(20, 50, 100, 80)
|
||||
verified_pixmap = QPixmap(os.path.join(self.btn_path, "verified_profile.png"))
|
||||
verified_icon.setPixmap(verified_pixmap)
|
||||
verified_icon.setScaledContents(True)
|
||||
|
|
@ -3397,8 +3391,8 @@ class LocationPage(Page):
|
|||
self.initial_display.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
||||
self.initial_display.setWordWrap(True)
|
||||
|
||||
self.verification_button = QPushButton("Verification", self)
|
||||
self.verification_button.setGeometry(280, 40, 180, 40)
|
||||
self.verification_button = QPushButton("More Info", self)
|
||||
self.verification_button.setGeometry(0, 50, 160, 40)
|
||||
self.verification_button.setStyleSheet(f"""
|
||||
QPushButton {{
|
||||
background-color: rgba(60, 80, 120, 1.0);
|
||||
|
|
@ -8456,8 +8450,8 @@ class FastRegistrationPage(Page):
|
|||
self.buttons.append(next_button)
|
||||
|
||||
def create_location_section(self):
|
||||
info_label = QLabel("Click the location for more info", self)
|
||||
info_label.setGeometry(500, 80, 280, 20)
|
||||
info_label = QLabel("Click on the location for more info", self)
|
||||
info_label.setGeometry(480, 80, 300, 20)
|
||||
info_label.setStyleSheet("color: #888888; font-size: 14px; font-style: italic;")
|
||||
info_label.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight)
|
||||
info_label.show()
|
||||
|
|
|
|||
Loading…
Reference in a new issue