1
0
Fork 0
mirror of https://github.com/Luzifer/past3.git synced 2024-12-23 04:41:17 +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; }