Skip to content

Commit

Permalink
Added age as a sceondary option in New Visitor Screen
Browse files Browse the repository at this point in the history
  • Loading branch information
iamKunal committed May 4, 2017
1 parent 163a42a commit 71fed24
Show file tree
Hide file tree
Showing 4 changed files with 408 additions and 355 deletions.
12 changes: 6 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/bin/
/bin/

temp*
/imgdb/
/src/visMan/Demo*
/reportlogs/
/binaries/
temp*
/imgdb/
/src/visMan/Demo*
/reportlogs/
/binaries*
68 changes: 34 additions & 34 deletions .project
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Visitor-Management-Sys</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>1491739059796</id>
<name></name>
<type>10</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-binaries</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Visitor-Management-Sys</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>1493907958161</id>
<name></name>
<type>10</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-binaries*</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
22 changes: 20 additions & 2 deletions src/visMan/NewUser.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,29 @@
<RadioButton mnemonicParsing="false" text="Female" toggleGroup="$gender" />
</children>
</HBox>
<DatePicker fx:id="dateOfBirth" maxWidth="1.7976931348623157E308" promptText="01/01/1990" GridPane.columnIndex="2" GridPane.rowIndex="2" />
<Label text="Date of Birth" GridPane.rowIndex="2">
<Label text="Age" GridPane.rowIndex="2">
<font>
<Font name="System Bold" size="15.0" />
</font></Label>
<HBox alignment="CENTER" nodeOrientation="LEFT_TO_RIGHT" prefHeight="100.0" prefWidth="200.0" spacing="10.0" GridPane.columnIndex="2" GridPane.rowIndex="2">
<children>
<RadioButton mnemonicParsing="false" prefHeight="21.0" prefWidth="0.0" text="dob" textFill="TRANSPARENT">
<HBox.margin>
<Insets right="-22.0" />
</HBox.margin>
<toggleGroup>
<ToggleGroup fx:id="dobToggle" />
</toggleGroup>
</RadioButton>
<DatePicker fx:id="dateOfBirth" minWidth="0.0" promptText="01/01/1990" />
<RadioButton mnemonicParsing="false" prefHeight="21.0" prefWidth="0.0" text="age" textFill="TRANSPARENT" toggleGroup="$dobToggle">
<HBox.margin>
<Insets right="-22.0" />
</HBox.margin>
</RadioButton>
<TextField fx:id="ageBox" minWidth="0.0" promptText="Age in Years..." />
</children>
</HBox>
<Label text="Contact Number" GridPane.rowIndex="3">
<font>
<Font name="System Bold" size="15.0" />
Expand Down
Loading

0 comments on commit 71fed24

Please sign in to comment.