Skip to content

Commit

Permalink
stub out UI for disabling root dataverse theme IQSS#4197
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Nov 15, 2017
1 parent 1f938e9 commit b9c3c56
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/main/webapp/themeAndWidgetsFragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,24 @@
</div>
</div>
</div>
<div class="form-group" jsf:rendered="#{themeWidgetFragment.editDv.owner == null}">
<label class="col-sm-3 control-label">
<span data-toggle="tooltip" data-placement="auto right" class="tooltiplabel text-info" data-original-title="Only for the root dataverse, you can disable the theme.">
Disable Theme
</span>
</label>
<div class="col-sm-9">
<p class="help-block"><span class="glyphicon glyphicon-info-sign"/> The theme for the root dataverse can be disabled to allow for easier site-wide branding if you choose to set up custom navbar and header as described under <a href="http://guides.dataverse.org/en/latest/installation/config.html#branding-your-installation">Branding Your Installation</a> in the Installation Guide.</p>
<div class="checkbox">
<label class="metadata-blocks-default" for="disableRootTheme">
<h:selectBooleanCheckbox id="disableRootTheme" tabindex="7" styleClass="metadata-blocks-default" value="#{themeWidgetFragment.inheritCustomization}" >
</h:selectBooleanCheckbox>
<h:outputFormat value="Disable Root Theme">
</h:outputFormat>
</label>
</div>
</div>
</div>
<div class="form-group" jsf:rendered="#{themeWidgetFragment.editDv.themeRoot}">
<label class="col-sm-3 control-label" for="logoFormat">
<span data-toggle="tooltip" data-placement="auto right" class="tooltiplabel text-info" data-original-title="#{bundle['dataverse.theme.logo.image.title']}">
Expand Down

0 comments on commit b9c3c56

Please sign in to comment.