mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #16561
[Bug 1271779] Re: Resume layout on mobile devices
Hi Aaron,
Thanks for the additional information. I can see the templates and can
see how they're used. So a follow up question would be.
Is it possible to load a template dependent on device detection?
For example if the client is using a desktop browser load this template:
htdocs/artefact/resume/theme/raw/fragments/educationhistory.tpl
And if the client is using a mobile browser load this template:
htdocs/artefact/resume/theme/mobile/fragments/educationhistory.tpl
If this is possible, how would you do it?
With thanks.
-Corey
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1271779
Title:
Resume layout on mobile devices
Status in Mahara ePortfolio:
New
Bug description:
Hi,
We are using a Mahara theme that adapts to screen resolutions / sizes,
which especially targets mobile devices. The main content of the page
is rendered within a narrow column.
The current layout of information in the resume page contains
information that is rendered within a table. This table is too wide to
fit in a narrow column when viewed on mobile devices. You can see this
in the attached screenshot.
While the use of a table for the layout of information works on
desktop and larger devices in a narrow column the rows are too long.
Is there any way to have a mobile specific template which could render
the information in a narrow column friendly format? Perhaps as a
series of lists rather than table rows?
If so where in the code would be a good place to start looking to
implement such a template?
With thanks.
-Corey
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1271779/+subscriptions
References