Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WS23 EWA Praktikum Pizzaservice
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Omar Ibrahim Arfa
WS23 EWA Praktikum Pizzaservice
Commits
c0c3dc8c
Commit
c0c3dc8c
authored
1 year ago
by
Omar Ibrahim Arfa
Browse files
Options
Downloads
Patches
Plain Diff
change Label text placement for radio elements
parent
a3f71259
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Praktikum/Prak4/Baecker.php
+3
-3
3 additions, 3 deletions
src/Praktikum/Prak4/Baecker.php
src/Praktikum/Prak4/JS/Kunde.js
+1
-1
1 addition, 1 deletion
src/Praktikum/Prak4/JS/Kunde.js
with
4 additions
and
4 deletions
src/Praktikum/Prak4/Baecker.php
+
3
−
3
View file @
c0c3dc8c
...
@@ -126,18 +126,18 @@ HTML;
...
@@ -126,18 +126,18 @@ HTML;
<
legend
>
Bestellung
{
$order
->
getOrderingId
()}
Pizza
{
$pizzaName
}
</
legend
>
<
legend
>
Bestellung
{
$order
->
getOrderingId
()}
Pizza
{
$pizzaName
}
</
legend
>
Status
:
<
br
>
Status
:
<
br
>
<
label
>
<
label
>
Bestellt
<
input
type
=
"radio"
name
=
"
{
$orderedArticleId
}
"
value
=
"0"
{
$statusArray
[
0
]}
onclick
=
"document.forms['formBaecker'].submit();"
>
<
input
type
=
"radio"
name
=
"
{
$orderedArticleId
}
"
value
=
"0"
{
$statusArray
[
0
]}
onclick
=
"document.forms['formBaecker'].submit();"
>
Bestellt
</
label
>
<
br
>
</
label
>
<
br
>
<
label
>
<
label
>
Im
Ofen
<
input
type
=
"radio"
name
=
"
{
$orderedArticleId
}
"
value
=
"1"
{
$statusArray
[
1
]}
onclick
=
"document.forms['formBaecker'].submit();"
>
<
input
type
=
"radio"
name
=
"
{
$orderedArticleId
}
"
value
=
"1"
{
$statusArray
[
1
]}
onclick
=
"document.forms['formBaecker'].submit();"
>
Im
Ofen
</
label
>
<
br
>
</
label
>
<
br
>
<
label
>
<
label
>
Fertig
<
input
type
=
"radio"
name
=
"
{
$orderedArticleId
}
"
value
=
"2"
{
$statusArray
[
2
]}
onclick
=
"document.forms['formBaecker'].submit();"
>
<
input
type
=
"radio"
name
=
"
{
$orderedArticleId
}
"
value
=
"2"
{
$statusArray
[
2
]}
onclick
=
"document.forms['formBaecker'].submit();"
>
Fertig
</
label
>
</
label
>
</
fieldset
>
\n
</
fieldset
>
\n
HTML
;
HTML
;
...
...
This diff is collapsed.
Click to expand it.
src/Praktikum/Prak4/JS/Kunde.js
+
1
−
1
View file @
c0c3dc8c
...
@@ -135,9 +135,9 @@ function buildInputs(pizzaNode, orderedArticleID, status) {
...
@@ -135,9 +135,9 @@ function buildInputs(pizzaNode, orderedArticleID, status) {
for
(
let
value
=
0
;
value
<
5
;
value
++
)
{
for
(
let
value
=
0
;
value
<
5
;
value
++
)
{
let
inputLabel
=
document
.
createElement
(
"
label
"
);
let
inputLabel
=
document
.
createElement
(
"
label
"
);
pizzaNode
.
append
(
inputLabel
);
pizzaNode
.
append
(
inputLabel
);
inputLabel
.
innerText
=
statusArray
[
value
];
let
inputRadio
=
document
.
createElement
(
"
input
"
);
let
inputRadio
=
document
.
createElement
(
"
input
"
);
inputLabel
.
append
(
inputRadio
);
inputLabel
.
append
(
inputRadio
);
inputLabel
.
innerText
=
statusArray
[
value
];
inputRadio
.
type
=
"
radio
"
;
inputRadio
.
type
=
"
radio
"
;
inputRadio
.
name
=
orderedArticleID
;
inputRadio
.
name
=
orderedArticleID
;
inputRadio
.
value
=
value
.
toString
();
inputRadio
.
value
=
value
.
toString
();
...
...
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