Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haiku/website
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 983f02d36adc
Choose a base ref
...
head repository: haiku/website
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0f33ebd1120e
Choose a head ref
  • 1 commit
  • 2 files changed
  • 1 contributor

Commits on Jul 23, 2021

  1. shortcode: Add new donate alert box

    * We really should sprinkle these around more. You can't put
      links or html into shortcodes for links, so pre-package a standard
      donation message.
    kallisti5 committed Jul 23, 2021
    2
    Copy the full SHA
    0f33ebd View commit details
Showing with 16 additions and 0 deletions.
  1. +4 −0 themes/shijin4/layouts/shortcodes/alert-donate.html
  2. +12 −0 themes/shijin4/static/css/shijin4.css
4 changes: 4 additions & 0 deletions themes/shijin4/layouts/shortcodes/alert-donate.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<div class="alert alert-donate"><p><strong>Haiku is developed by a small group of volunteers.</strong><br/>
To help with development and bandwidth costs, please consider <a href="https://www.haiku-inc.org/donate/" target="_BLANK">donating</a> a small amount. We rely on your support to continue the development of Haiku into the future.
</p>
</div>
12 changes: 12 additions & 0 deletions themes/shijin4/static/css/shijin4.css
Original file line number Diff line number Diff line change
@@ -450,6 +450,12 @@ div.alert-info {
background: #d9edf7 url(/images/Alert_Info_32.png) 15px 15px no-repeat;
padding-left: 60px;
}
div.alert-donate {
background: #ffd6d6 url(/images/App_Finance_32.png) 15px 15px no-repeat;
padding-left: 60px;
border-color: #652626;
}

div.alert a {
text-decoration: underline;
}
@@ -707,6 +713,12 @@ footer a, footer span.glyphicon {
padding-left: 60px;
color: #eee;
}
div.alert-donate {
background: #652626 url(/images/App_Finance_32.png) 15px 15px no-repeat;
padding-left: 60px;
color: #eee;
border-color: #ffd6d6;
}
div.alert a {
text-decoration: underline;
}