@ -21,8 +21,8 @@
< div class = "form-group" >
< div class = "form-group" >
< label for = "applicationurl" class = "control-label" > Application URL< / label >
< label for = "applicationurl" class = "control-label" > Application URL< / label >
< div >
< div >
< input type = "text" [ ( ngModel ) ] = " settings . applicationUrl " class = "form-control form-control-custom " id = "applicationurl" name = "applicationurl"
< input type = "text" [ ( ngModel ) ] = " settings . applicationUrl " class = "form-control form-control-custom " id = "applicationurl"
placeholder="http://ombi.io/" value="{{settings.applicationUrl}}">
name="applicationurl" placeholder="http://ombi.io/" value="{{settings.applicationUrl}}">
< / div >
< / div >
< / div >
< / div >
@ -36,8 +36,8 @@
< div class = "form-group" >
< div class = "form-group" >
< label for = "logo" class = "control-label" > Custom Logo< / label >
< label for = "logo" class = "control-label" > Custom Logo< / label >
< div >
< div >
< input type = "text" [ ( ngModel ) ] = " settings . logo " class = "form-control form-control-custom " id = "logo" name = "logo" value = "{{settings.logo}}"
< input type = "text" [ ( ngModel ) ] = " settings . logo " class = "form-control form-control-custom " id = "logo" name = "logo"
tooltipPosition="top" pTooltip="Use a URL e.g. www.google.com/logo.png">
value="{{settings.logo}}" tooltipPosition="top" pTooltip="Use a URL e.g. www.google.com/logo.png">
< / div >
< / div >
< / div >
< / div >
< div * ngIf = "settings.logo" class = "form-group" >
< div * ngIf = "settings.logo" class = "form-group" >
@ -50,14 +50,16 @@
< div class = "form-group" >
< div class = "form-group" >
< div class = "checkbox" >
< div class = "checkbox" >
< input type = "checkbox" id = "enableCustomDonations" name = "enableCustomDonations" [ ( ngModel ) ] = " settings . enableCustomDonations " >
< input type = "checkbox" id = "enableCustomDonations" name = "enableCustomDonations" [ ( ngModel ) ] = " settings . enableCustomDonations " >
< label for = "enableCustomDonations" tooltipPosition = "top" pTooltip = "Enable to show a custom donation link in the navigation bar" > Enable custom donation link< / label >
< label for = "enableCustomDonations" tooltipPosition = "top" pTooltip = "Enable to show a custom donation link in the navigation bar" > Enable
custom donation link< / label >
< / div >
< / div >
< / div >
< / div >
< div class = "form-group" * ngIf = "settings.enableCustomDonations" >
< div class = "form-group" * ngIf = "settings.enableCustomDonations" >
< label for = "customDonation" class = "control-label" > Custom Donation URL< / label >
< label for = "customDonation" class = "control-label" > Custom Donation URL< / label >
< div >
< div >
< input [ disabled ] = " ! settings . enableCustomDonations " type = "text" [ ( ngModel ) ] = " settings . customDonationUrl " class = "form-control form-control-custom " name = "customDonation" value = "{{settings.customDonationUrl}}"
< input [ disabled ] = " ! settings . enableCustomDonations " type = "text" [ ( ngModel ) ] = " settings . customDonationUrl "
class="form-control form-control-custom " name="customDonation" value="{{settings.customDonationUrl}}"
tooltipPosition="top" pTooltip="A link to a Paypal address, or your custom donation url.">
tooltipPosition="top" pTooltip="A link to a Paypal address, or your custom donation url.">
< / div >
< / div >
< / div >
< / div >
@ -65,15 +67,17 @@
< div class = "form-group" * ngIf = "settings.enableCustomDonations" >
< div class = "form-group" * ngIf = "settings.enableCustomDonations" >
< label for = "customDonationMessage" class = "control-label" > Donation Button Message< / label >
< label for = "customDonationMessage" class = "control-label" > Donation Button Message< / label >
< div >
< div >
< input [ disabled ] = " ! settings . enableCustomDonations " type = "text" [ ( ngModel ) ] = " settings . customDonationMessage " class = "form-control form-control-custom " name = "customDonationMessage" value = "{{settings.customDonationMessage}}"
< input [ disabled ] = " ! settings . enableCustomDonations " type = "text" [ ( ngModel ) ] = " settings . customDonationMessage "
class="form-control form-control-custom " name="customDonationMessage" value="{{settings.customDonationMessage}}"
tooltipPosition="top" pTooltip="Set a custom message to be displayed in the navigation bar.">
tooltipPosition="top" pTooltip="Set a custom message to be displayed in the navigation bar.">
< / div >
< / div >
< / div >
< / div >
< div class = "form-group" * ngIf = "settings.useCustomPage" >
< div class = "form-group" >
< label for = "customPage" class = "control-label" > Use Custom Page< / label >
< div class = "checkbox" >
< div >
< input type = "checkbox" id = "useCustomPage" name = "useCustomPage" [ ( ngModel ) ] = " settings . useCustomPage " >
< input [ disabled ] = " ! settings . useCustomPage " type = "text" [ ( ngModel ) ] = " settings . useCustomPage " class = "form-control form-control-custom " name = "customPage" value = "{{settings.useCustomPage}}"
< label for = "useCustomPage" tooltipPosition = "top" pTooltip = "Enabled a custom page where you can fully edit" > Use
tooltipPosition="top" pTooltip="Enabled a custom page for you to fully edit and customize.">
Custom Page< / label >
< / div >
< / div >
< / div >
< / div >
@ -92,9 +96,8 @@
< label for = "customCss" class = "control-label" > Custom CSS< / label >
< label for = "customCss" class = "control-label" > Custom CSS< / label >
< / div >
< / div >
< div class = "form-group language-css" pCode >
< div class = "form-group language-css" pCode >
< textarea rows = "25" type = "text"
< textarea rows = "25" type = "text" pTooltip = "Enter your custom styles here" tooltipPosition = "top" class = "form-control-custom form-control "
pTooltip="Enter your custom styles here" tooltipPosition="top"
id="themeContent" name="themeContent" [(ngModel)]="settings.customCss"> {{settings.customCss}} < / textarea >
class="form-control-custom form-control " id="themeContent" name="themeContent" [(ngModel)]="settings.customCss"> {{settings.customCss}} < / textarea >
< / div >
< / div >
< / div >
< / div >
< / div >
< / div >