Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SIS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Valentin Zarli
SIS
Compare revisions
master to 71-interoperabilite-recuperation-de-bd-de-sis
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
zarliv/SIS
Select target project
No results found
71-interoperabilite-recuperation-de-bd-de-sis
Select Git revision
Swap
Target
zarliv/SIS
Select target project
zarliv/SIS
1 result
master
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
View open merge request
Commits on Source (1)
boutoon entrer
· d0ad5c68
valen
authored
2 weeks ago
d0ad5c68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/ui/Controller/ConnexionPageController.java
+3
-3
3 additions, 3 deletions
src/ui/Controller/ConnexionPageController.java
src/ui/fxml/connexionPage.fxml
+2
-2
2 additions, 2 deletions
src/ui/fxml/connexionPage.fxml
with
5 additions
and
5 deletions
src/ui/Controller/ConnexionPageController.java
Edit
View file @
d0ad5c68
...
...
@@ -13,7 +13,7 @@ import fc.model.Radiologue;
import
fc.model.Administration
;
import
fc.model.Manipulateur
;
import
fc.MessageDErreur
;
import
java
.awt.even
t.KeyEvent
;
import
java
fx.scene.inpu
t.KeyEvent
;
import
java.io.FileInputStream
;
import
java.io.FileNotFoundException
;
import
java.io.IOException
;
...
...
@@ -111,9 +111,9 @@ public class ConnexionPageController implements Initializable {
}
@FXML
p
ublic
void
toucheEntrer
(
KeyEvent
event
)
{
p
rivate
void
toucheEntrer
(
KeyEvent
event
)
{
// Vérifier si la touche appuyée est la touche "Entrée"
if
(
event
.
get
Key
Code
()
==
KeyCode
.
ENTER
.
getCode
()
)
{
if
(
event
.
getCode
()==
KeyCode
.
ENTER
)
{
handleButtonValider
();
// Effectuer l'action désirée lorsque la touche Entrée est pressée
}
...
...
This diff is collapsed.
Click to expand it.
src/ui/fxml/connexionPage.fxml
Edit
View file @
d0ad5c68
...
...
@@ -14,7 +14,7 @@
<!-- Contenu principal au centre -->
<center>
<HBox
alignment=
"CENTER"
spacing=
"50"
style=
"-fx-padding: 50;"
>
<HBox
alignment=
"CENTER"
onTouchPressed=
"#handleButtonValider"
spacing=
"50"
style=
"-fx-padding: 50;"
>
<!-- Colonne de gauche - Logo -->
<VBox
alignment=
"CENTER"
prefWidth=
"350"
spacing=
"20"
>
<ImageView
fx:id=
"image"
fitHeight=
"150"
fitWidth=
"300"
preserveRatio=
"true"
smooth=
"true"
/>
...
...
@@ -45,7 +45,7 @@
<VBox
alignment=
"CENTER_LEFT"
spacing=
"5"
>
<Label
style=
"-fx-text-fill: #2c3e50; -fx-font-weight: bold;"
text=
"Mot de passe"
/>
<PasswordField
fx:id=
"passwordField"
promptText=
"Entrez votre mot de passe"
style=
"-fx-pref-width: 280; -fx-pref-height: 40; -fx-background-radius: 5; -fx-border-radius: 5; -fx-border-color: #bdc3c7; -fx-border-width: 1;"
/>
<PasswordField
fx:id=
"passwordField"
onKeyPressed=
"#toucheEntrer"
promptText=
"Entrez votre mot de passe"
style=
"-fx-pref-width: 280; -fx-pref-height: 40; -fx-background-radius: 5; -fx-border-radius: 5; -fx-border-color: #bdc3c7; -fx-border-width: 1;"
/>
</VBox>
<Label
fx:id=
"errorLabel"
style=
"-fx-text-fill: #e74c3c; -fx-wrap-text: true; -fx-max-width: 280;"
/>
...
...
This diff is collapsed.
Click to expand it.