-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
basic fixes, some jbot overrides, styling
- Loading branch information
1 parent
30bd111
commit 000717f
Showing
7 changed files
with
135 additions
and
3 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
src/plonetheme/munich/browser/overrides/plone.app.layout.viewlets.footer.pt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div class="page-footer text-white bg-secondary"> | ||
|
||
<div class="text-center py-3"> | ||
Munich Theme for Plone | ||
</div> | ||
|
||
</div> |
3 changes: 3 additions & 0 deletions
3
src/plonetheme/munich/browser/overrides/plone.app.layout.viewlets.portal_header.pt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div id="portal-header" class="d-flex justify-content-between"> | ||
<div tal:replace="structure provider:plone.portalheader" /> | ||
</div> |
23 changes: 23 additions & 0 deletions
23
src/plonetheme/munich/browser/overrides/plone.app.layout.viewlets.searchbox.pt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<div id="portal-searchbox" class="align-self-center" i18n:domain="plone" tal:define="navigation_root_url view/navigation_root_url;"> | ||
|
||
<form id="searchGadget_form" action="@@search" role="search" tal:attributes="action string:${navigation_root_url}/@@search; | ||
data-pat-livesearch string:ajaxUrl:${navigation_root_url}/@@ajax-search; | ||
class python: view.livesearch and 'pat-livesearch row gy-2 gx-3 align-items-center' or 'row gy-2 gx-3 align-items-center'"> | ||
|
||
<div class="LSBox"></div> | ||
|
||
<label class="visually-hidden" for="autoSizingInputGroup">Username</label> | ||
<div class="input-group"> | ||
<div class="input-group-text"> | ||
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-search" fill="currentColor" xmlns="http://www.w3.org/2000/svg"> | ||
<path fill-rule="evenodd" d="M10.442 10.442a1 1 0 0 1 1.415 0l3.85 3.85a1 1 0 0 1-1.414 1.415l-3.85-3.85a1 1 0 0 1 0-1.415z"/> | ||
<path fill-rule="evenodd" d="M6.5 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11zM13 6.5a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0z"/> | ||
</svg> | ||
</div> | ||
<input type="text" class="form-control" id="autoSizingInputGroup" value="" placeholder="Search Site" i18n:attributes="placeholder title_search_site" tal:attributes="value request/form/SearchableText|nothing;"> | ||
<button type="submit" class="btn btn-primary text-light" value="Search" i18n:attributes="value label_search;">Search</button> | ||
</div> | ||
|
||
</form> | ||
|
||
</div> |
29 changes: 29 additions & 0 deletions
29
src/plonetheme/munich/browser/overrides/plone.app.layout.viewlets.sections.pt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<tal:sections | ||
xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal" | ||
xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
tal:define="portal_tabs view/portal_tabs" | ||
tal:condition="portal_tabs" | ||
i18n:domain="plone"> | ||
|
||
<div class="bg-primary"> | ||
|
||
<div class="container"> | ||
|
||
<nav class="navbar navbar-expand navbar-dark bg-primary"> | ||
|
||
<div class="collapse navbar-collapse" id="navbarSupportedContent"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item" tal:repeat="item portal_tabs"> | ||
<a class="nav-link" href="${item/url}">${item/name}</a> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
</nav> | ||
|
||
</div> | ||
|
||
</div> | ||
|
||
</tal:sections> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters