Skip to content

Commit

Permalink
chore: add dummy content for demo purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Jan 29, 2024
1 parent 6063223 commit ea38914
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions js/src/forum/components/Poll.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export default class IndexPolls extends Component {
<PollImage />
</div>
<div className="Poll-wrapper">
<PollTitle text="Welche Art von zukünftigen Entscheidungen der SBB würden Sie gerne mehr einbezogen sehen?" />
<PollDescription text="Ihre Meinung ist uns wichtig! Welche SBB-Entscheidungen möchten Sie mehr einbezogen sehen? Teilen Sie uns mit, welche Themen für Sie besonders relevant sind. Vielen Dank für Ihre Teilnahme!" />
<PollTitle text="Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy?" />
<PollDescription text="At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet!" />

<form>
<fieldset>
Expand Down
3 changes: 2 additions & 1 deletion js/src/forum/components/Poll/PollOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ export default class PollOptions extends Component {
const items = new ItemList<Mithril.Children>();

items.add('test1', <PollOption />);
items.add('test5', <PollResult />);
items.add('test2', <PollOption />);
items.add('test3', <PollOption />);
items.add('test4', <PollOption />);

items.add('test5', <PollResult />);

return items;
}
}
3 changes: 2 additions & 1 deletion resources/less/forum.less
Original file line number Diff line number Diff line change
Expand Up @@ -451,9 +451,10 @@
accent-color: var(--poll-option-accent-color);
}

.PollResults-input {
.PollResult-input {
pointer-events: none;
}

.PollOption-information {
display: flex;
margin-left: 10px;
Expand Down

0 comments on commit ea38914

Please sign in to comment.