1
0
mirror of https://github.com/Luzifer/past3.git synced 2024-09-19 17:02:59 +00:00

Add Bootswatch theme capability

This commit is contained in:
Knut Ahlers 2017-01-15 12:14:53 +01:00
parent d042684bdd
commit 9088351a01
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E
2 changed files with 8 additions and 0 deletions

View File

@ -22,3 +22,7 @@ region: eu-west-1
# Client ID of the oAuth2 application created in the Google Cloud console # Client ID of the oAuth2 application created in the Google Cloud console
google_client_id: 693734536874-s0quna7oa2msnt1up4vubi4sh3uaucud.apps.googleusercontent.com google_client_id: 693734536874-s0quna7oa2msnt1up4vubi4sh3uaucud.apps.googleusercontent.com
# Theme name (lowercase) of Bootswatch.com theme (Optional, when not
# specified the original bootstrap theme is used)
bootswatch_theme: cosmo

View File

@ -17,6 +17,10 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" /> integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
{% if bootswatch_theme %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.7/{{ bootswatch_theme }}/bootstrap.min.css" />
{% endif %}
<style> <style>
#signInButton { margin: 20px 164px 0; } #signInButton { margin: 20px 164px 0; }
.modal-body { text-align: center; } .modal-body { text-align: center; }