Name: simvascular-gateway-theme
Owner: Science Gateway Platform as a service
Description: Science Gateway theme for Simvascular
Created: 2017-03-08 15:30:18.0
Updated: 2017-03-08 15:36:27.0
Pushed: 2017-09-29 18:08:41.0
Homepage: null
Size: 82
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Steps to create your own theme:
1) First thing first, PGA themes use Bootstrap 3.x and Blade as its templating engine as a base for all UI Development. The capability to let users use another UI framework is being worked upon and would be available in the future. If users still want to use another UI framework, they could add it in theme header/footer and it will act as the overwriting entity on anything which Bootstrap has a hold on.
2) Copy
3) PGA Theme structure:
Below is how all UIs are layered in a theme.
| THEME HEADER |
| PGA HEADER |
| PGA BODY (main content) |
| PGA FOOTER |
| THEME FOOTER |
Folder 'Theme1' contains 4 folders:
This is the space where Theme creaters can add their theme headers which would generally contain styles or links to styles, global navigation for a Scientific gateway having logo/s, links etc which would show across all pages on PGA.
All content for Theme Header can be added in theme1/partials/header.blade.php.
Additional pages other than the landing page can be created and linked to THEME header. The way to do that is add the page content to 'theme1/partials/
<link media=“all” type=“text/css” rel=“stylesheet” href=“{{ URL::to('/') }}/themes/{{Session::get('theme')}}/assets/css/style.css”/>