summaryrefslogtreecommitdiff
path: root/Authentication
diff options
context:
space:
mode:
Diffstat (limited to 'Authentication')
-rw-r--r--Authentication/SignIn.ui.qml21
-rw-r--r--Authentication/SignUp.ui.qml31
2 files changed, 7 insertions, 45 deletions
diff --git a/Authentication/SignIn.ui.qml b/Authentication/SignIn.ui.qml
index cb634a1..f36f61d 100644
--- a/Authentication/SignIn.ui.qml
+++ b/Authentication/SignIn.ui.qml
@@ -4,6 +4,7 @@ import QtQuick.Layouts 1.15
import Bootstrap 5.3
import Eduport 1.4
import "../Label" as Lbl
+import "../TextField" as TxtFld
import "../Button" as BsBtn
Flickable {
@@ -74,19 +75,11 @@ Flickable {
Layout.margins: 16
}
- TextField {
+ TxtFld.Input {
id: email
placeholderText: qsTr("E-mail")
- font {
- family: Bootstrap.bodyFont.family
- weight: Bootstrap.bodyFont.weight
- pointSize: Eduport.formControlFontSize
- }
Layout.fillWidth: true
Layout.fillHeight: true
- background: Rectangle {
- color: "transparent"
- }
}
}
}
@@ -114,20 +107,12 @@ Flickable {
Layout.margins: 16
}
- TextField {
+ TxtFld.Input {
id: password
placeholderText: qsTr("password")
echoMode: TextInput.Password
- font {
- family: Bootstrap.bodyFont.family
- weight: Bootstrap.bodyFont.weight
- pointSize: Eduport.formControlFontSize
- }
Layout.fillWidth: true
Layout.fillHeight: true
- background: Rectangle {
- color: "transparent"
- }
}
}
}
diff --git a/Authentication/SignUp.ui.qml b/Authentication/SignUp.ui.qml
index 8367fbf..683ee7b 100644
--- a/Authentication/SignUp.ui.qml
+++ b/Authentication/SignUp.ui.qml
@@ -4,6 +4,7 @@ import QtQuick.Layouts 1.15
import Bootstrap 5.3
import Eduport 1.4
import "../Label" as Lbl
+import "../TextField" as TxtFld
import "../Button" as BsBtn
Flickable {
@@ -77,19 +78,11 @@ Flickable {
Layout.margins: 16
}
- TextField {
+ TxtFld.Input {
id: email
placeholderText: qsTr("E-mail")
- font {
- family: Bootstrap.bodyFont.family
- weight: Bootstrap.bodyFont.weight
- pointSize: Eduport.formControlFontSize
- }
Layout.fillWidth: true
Layout.fillHeight: true
- background: Rectangle {
- color: "transparent"
- }
}
}
}
@@ -118,20 +111,12 @@ Flickable {
Layout.margins: 16
}
- TextField {
+ TxtFld.Input {
id: password
placeholderText: "*********"
echoMode: TextInput.Password
- font {
- family: Bootstrap.bodyFont.family
- weight: Bootstrap.bodyFont.weight
- pointSize: Eduport.formControlFontSize
- }
Layout.fillWidth: true
Layout.fillHeight: true
- background: Rectangle {
- color: "transparent"
- }
}
}
}
@@ -160,20 +145,12 @@ Flickable {
Layout.margins: 16
}
- TextField {
+ TxtFld.Input {
id: confirmPassword
placeholderText: "*********"
echoMode: TextInput.Password
- font {
- family: Bootstrap.bodyFont.family
- weight: Bootstrap.bodyFont.weight
- pointSize: Eduport.formControlFontSize
- }
Layout.fillWidth: true
Layout.fillHeight: true
- background: Rectangle {
- color: "transparent"
- }
}
}
}