Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bosch_test
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
david31415
bosch_test
Commits
b0fb2167
Commit
b0fb2167
authored
4 years ago
by
david31415
Browse files
Options
Downloads
Patches
Plain Diff
Hozzáadás felület létrehozása kliens oldalon
parent
3c1d28c3
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
feladat1/form.php
+63
-4
63 additions, 4 deletions
feladat1/form.php
with
63 additions
and
4 deletions
feladat1/form.php
+
63
−
4
View file @
b0fb2167
...
@@ -2,10 +2,69 @@
...
@@ -2,10 +2,69 @@
<html>
<html>
<head>
<head>
<meta
charset=
"UTF-8"
/>
<meta
charset=
"UTF-8"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<!--- Bootstrap CSS --->
<link
rel=
"stylesheet"
href=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity=
"sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin=
"anonymous"
>
<title>
Hozzáadás felület
</title>
<title>
Hozzáadás felület
</title>
</head>
</head>
<body>
<body>
Form helye
<script
src=
"https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity=
"sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin=
"anonymous"
></script>
</table>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity=
"sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin=
"anonymous"
></script>
<script
src=
"https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity=
"sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin=
"anonymous"
></script>
<!--- NOTE: a feladat leírásánban card szerepel, de szerintem ez elírás mert a form való erre. -->
<form>
<div
class=
"form-group"
>
<label
for=
"tulajInput"
>
Tulajdonos
</label>
<input
type=
"email"
class=
"form-control"
id=
"tulajInput"
required
>
</div>
<div
class=
"form-group"
>
<label
for=
"autoType"
>
Autó típus
</label>
<select
class=
"form-control"
id=
"autoType"
>
<!--- TODO: A típusokat dinamikusan kell lekérni az auto táblából. -->
<option
value=
"1"
>
Típus1
</option>
<option
value=
"2"
>
Típus2
</option>
<option
value=
"3"
>
Típus3
</option>
</select>
</div>
<div
class=
"form-check"
>
<input
type=
"checkbox"
class=
"form-check-input"
id=
"garancia"
>
<label
class=
"garancia"
for=
"exampleCheck1"
>
Garanciális?
</label>
</div>
<!--- TODO: Ezt is adatbázisból kéne szedni -->
<!--- NOTE: Tisztázni az értékeket, mert így az 5 éves autó nem egyértelmű hova kerül -->
<div
class=
"form-check"
>
<input
class=
"form-check-input"
type=
"radio"
name=
"eletkor"
id=
"exampleRadios1"
value=
"1"
>
<label
class=
"form-check-label"
for=
"exampleRadios1"
>
0-5
</label>
</div>
<div
class=
"form-check"
>
<input
class=
"form-check-input"
type=
"radio"
name=
"eletkor"
id=
"exampleRadios2"
value=
"2"
>
<label
class=
"form-check-label"
for=
"exampleRadios2"
>
5-10
</label>
</div>
<div
class=
"form-check"
>
<input
class=
"form-check-input"
type=
"radio"
name=
"eletkor"
id=
"exampleRadios3"
value=
"3"
>
<label
class=
"form-check-label"
for=
"exampleRadios3"
>
10+
</label>
</div>
<!--- TODO: Date picker -->
<button
type=
"submit"
class=
"btn btn-primary"
>
Submit
</button>
</form>
</body>
</body>
</html>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment