Skip to content

Commit

Permalink
Added bika log to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejmets committed Jun 2, 2021
1 parent 4bbd2a2 commit 92ff0f1
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/bika/ui/profiles/default/registry.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<registry xmlns:i18n="http://xml.zope.org/namespaces/i18n" i18n:domain="senaite.core">

<!-- Site Title -->
<record name="plone.site_title" interface="Products.CMFPlone.interfaces.controlpanel.ISiteSchema" field="site_title">
<field type="plone.registry.field.TextLine">
<default>SENAITE LIMS</default>
<description xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">This shows up in the title bar of browsers and in syndication feeds.</description>
<title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">Site title</title>
</field>
<value>Bika LIMS</value>
</record>

<!-- Toolbar Logo -->
<record name="senaite.toolbar_logo" interface="Products.CMFPlone.interfaces.controlpanel.ISiteSchema" field="toolbar_logo">
<field type="plone.registry.field.TextLine">
<default>/++resource++bika.lims.images/bikalimslogo.png</default>
<description xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">This must be a URL relative to the site root.</description>
<required>False</required>
<title xmlns:ns0="http://xml.zope.org/namespaces/i18n" ns0:domain="plone" ns0:translate="">Relative URL for the SENAITE toolbar logo</title>
</field>
<value>/++resource++bika.lims.images/bikalimslogo.png</value>
</record>

<!-- Toolbar CSS Styles -->
<record name="senaite.toolbar_logo_styles" interface="Products.CMFPlone.interfaces.controlpanel.ISiteSchema" field="toolbar_logo_styles">
<field type="plone.registry.field.Dict">
<title>Toolbar CSS</title>
<description>CSS styles for the toolbar logo</description>
<key_type type="plone.registry.field.ASCIILine" />
<value_type type="plone.registry.field.ASCIILine" />
</field>
<value>
<element key="height">50px</element>
</value>
</record>

</registry>
Binary file added src/bika/ui/static/lims/images/bikalimslogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 92ff0f1

Please sign in to comment.