Skip to content

Commit 253dcb6

Browse files
committed
add css and language files
1 parent 8a6d6f9 commit 253dcb6

File tree

4 files changed

+168
-0
lines changed

4 files changed

+168
-0
lines changed

.idea/.gitignore

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/languages.json

Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
{
2+
"mainInfo": "language Settings",
3+
"sections": {
4+
"main": {
5+
"title": "Main Title",
6+
"labels": {
7+
"title": {
8+
"title": "Title",
9+
"defaultValue": "Mortgage Calculator",
10+
"required": false,
11+
"inputType": "text",
12+
"toolTip": "Title on top of the screen"
13+
}
14+
}
15+
},
16+
"homeValue": {
17+
"title": "Home Value",
18+
"labels": {
19+
"label": {
20+
"title": "Label",
21+
"defaultValue": "Home Value",
22+
"required": true,
23+
"inputType": "text",
24+
"toolTip": "Label for Home Value"
25+
},
26+
"placeHolder": {
27+
"title": "PlaceHolder",
28+
"defaultValue": "Enter home value",
29+
"inputType": "text",
30+
"toolTip": "This is the text in the input control that is shown when empty"
31+
}
32+
}
33+
},
34+
"downPaymentValue": {
35+
"title": "Down Payment",
36+
"labels": {
37+
"label": {
38+
"title": "Down Payment Label",
39+
"defaultValue": "Down Payment",
40+
"required": true,
41+
"inputType": "text",
42+
"toolTip": "Label for Down Payment"
43+
},
44+
"amountLabel": {
45+
"title": "Amount Label",
46+
"defaultValue": "Amount",
47+
"required": true,
48+
"inputType": "text",
49+
"toolTip": "Label for Amount"
50+
},
51+
"amountPlaceHolder": {
52+
"title": "Amount PlaceHolder",
53+
"defaultValue": "Enter down payment amount",
54+
"inputType": "text",
55+
"toolTip": "This is the text in the input control that is shown when empty"
56+
},
57+
"percentageLabel": {
58+
"title": "Percentage Label",
59+
"defaultValue": "Percentage",
60+
"required": true,
61+
"inputType": "text",
62+
"toolTip": "Label for Percentage"
63+
},
64+
"percentagePlaceHolder": {
65+
"title": "Percentage PlaceHolder",
66+
"defaultValue": "Enter down payment percentage",
67+
"inputType": "text",
68+
"toolTip": "This is the text in the input control that is shown when empty"
69+
}
70+
}
71+
},
72+
"interest": {
73+
"title": "Interest Rate",
74+
"labels": {
75+
"label": {
76+
"title": "Label",
77+
"defaultValue": "Interest Rate",
78+
"required": true,
79+
"inputType": "text",
80+
"toolTip": "Label for Interest Rate"
81+
},
82+
"placeHolder": {
83+
"title": "PlaceHolder",
84+
"defaultValue": "Enter annual interest rate",
85+
"inputType": "text",
86+
"toolTip": "This is the text in the input control that is shown when empty"
87+
}
88+
}
89+
},
90+
"loanTerm": {
91+
"title": "Loan Term",
92+
"labels": {
93+
"label": {
94+
"title": "Label",
95+
"defaultValue": "Loan Term",
96+
"required": true,
97+
"inputType": "text",
98+
"toolTip": "Label for Loan Term"
99+
},
100+
"placeHolder": {
101+
"title": "PlaceHolder",
102+
"defaultValue": "Enter loan term in years",
103+
"inputType": "text",
104+
"toolTip": "This is the text in the input control that is shown when empty"
105+
}
106+
}
107+
},
108+
"propertyTax": {
109+
"title": "Property Tax",
110+
"labels": {
111+
"label": {
112+
"title": "Property Tax",
113+
"defaultValue": "Include Property Tax",
114+
"required": true,
115+
"inputType": "text",
116+
"toolTip": "Label for Property Tax"
117+
},
118+
"rateLabel": {
119+
"title": "Rate Label",
120+
"defaultValue": "Property Tax Rate (%)",
121+
"required": true,
122+
"inputType": "text",
123+
"toolTip": "Label for Property Tax Rate"
124+
},
125+
"ratePlaceHolder": {
126+
"title": "Rate PlaceHolder",
127+
"defaultValue": "Enter property tax rate",
128+
"inputType": "text",
129+
"toolTip": "This is the text in the input control that is shown when empty"
130+
}
131+
}
132+
},
133+
"calculate": {
134+
"title": "Calculate",
135+
"labels": {
136+
"button": {
137+
"title": "Button",
138+
"defaultValue": "Calculate",
139+
"required": true,
140+
"inputType": "text",
141+
"toolTip": "Button text"
142+
},
143+
"payment": {
144+
"title": "Payment label",
145+
"defaultValue": "Monthly Payment:",
146+
"required": true,
147+
"inputType": "text",
148+
"toolTip": "Monthly payment text"
149+
}
150+
}
151+
}
152+
}
153+
}

resources/layouts_img/layout1.png

91.8 KB
Loading

widget/layouts/layout1.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.calculator-container {
2+
max-width: 600px;
3+
margin: 0px auto;
4+
padding: 2rem;
5+
}
6+
7+
.form-group label, h1 {
8+
display: block;
9+
font-weight: bold;
10+
}

0 commit comments

Comments
 (0)