Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add presentation use case #75

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,7 @@ <h1 class="micro-panel-main">
[is=listling-item] .micro-ol-handle {
padding: calc(1.5em / 4);
width: calc(1.5em / 2 + 1.5em / 2);
min-width: calc(1.5em / 2 + 1.5em / 2);
height: calc(1.5em + 1.5em / 2);
background:
radial-gradient(circle closest-side, #888 0%, #888 50%, transparent 50%) content-box
Expand Down
1 change: 1 addition & 0 deletions client/listling/components/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ listling.components.start.getUseCases = function() {
{id: "meeting-agenda", title: "Meeting agenda", icon: "handshake"},
{id: "playlist", title: "Playlist", icon: "play"},
...ui.mapServiceKey ? [{id: "map", title: "Map", icon: "map"}] : [],
{id: "presentation", title: "Presentation", icon: "comment-dots"},
{id: "simple", title: "Simple list", icon: "list"}
];
};
Expand Down
21 changes: 20 additions & 1 deletion listling/listling.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
'shopping': {'title': 'New shopping list', 'features': ['check']},
'meeting-agenda': {'title': 'New meeting agenda', 'features': []},
'playlist': {'title': 'New playlist', 'features': ['play']},
'map': {'title': 'New map', 'features': ['location']}
'map': {'title': 'New map', 'features': ['location']},
'presentation': {'title': 'New presentation', 'features': []}
}

_EXAMPLE_DATA = {
Expand Down Expand Up @@ -114,6 +115,24 @@
(52.497561, 13.430773))
}
]
),
'presentation': (
'Brief résumé of my work experience',
'Max Mustermann \n\n *You will find in the menu the button to activate the presentation mode.*',
[
{
'title': 'My job as a programmer',
'text': 'I wrote a 2D MMORPG for Star Wars fans.'
},
{
'title': 'My job as a manager',
'text': 'I was responsible for an EDEKA supermarket in Berlin.'
},
{
'title': 'My job as a pilot',
'text': 'I flew commercial airplanes for 5 years.'
}
]
)
}

Expand Down