mirror of https://github.com/portainer/portainer
feat(adsense): add the ability to disable the ad
parent
6151101028
commit
4e01539bfa
|
@ -12,7 +12,7 @@
|
|||
<div class="form-group">
|
||||
<div class="col-sm-12">
|
||||
<label for="toggle_donation" class="control-label text-left">
|
||||
Disable donation header
|
||||
I have donated to Portainer's development, so I wish to disable the ad and donation header.
|
||||
</label>
|
||||
<label class="switch" style="margin-left: 20px;">
|
||||
<input type="checkbox" name="toggle_donation" ng-model="formValues.donationHeader"><i></i>
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
<center>
|
||||
<center ng-if="applicationState.application.displayDonationHeader">
|
||||
<div class="ads" ng-if="toggle">
|
||||
<adsense ad-client="ca-pub-7198891301481203" ad-slot="8992247096" inline-style="display:inline-block;width:100%;height:100%"></adsense>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue