diff --git a/apps/gnous_eu/static/stylesheets/css/index.css b/apps/gnous_eu/static/stylesheets/css/index.css index 351c3ee..0d69378 100644 --- a/apps/gnous_eu/static/stylesheets/css/index.css +++ b/apps/gnous_eu/static/stylesheets/css/index.css @@ -29,6 +29,8 @@ html[data-theme="dark"] .uk-card { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; } +html[data-theme="dark"] .uk-card-secondary { + background: #23272A; } html[data-theme="dark"] .uk-border-circle { box-shadow: -5px -5px 12px 0 rgba(41, 41, 41, 0.6), 5px 5px 12px 0 rgba(0, 0, 0, 0.3); } html[data-theme="dark"] .uk-h1, html[data-theme="dark"] h1 { @@ -386,4 +388,12 @@ html[data-theme="light"] .subtitle-text { font-size: 1.2em; opacity: 0.7; } +.uk-label-success { + background-color: rgb(22, 101, 72); +} + +.uk-label-warning { + background-color: rgb(145, 66, 4); +} + /*# sourceMappingURL=index.css.map */ diff --git a/apps/gnous_eu/static/stylesheets/css/index.min.css b/apps/gnous_eu/static/stylesheets/css/index.min.css index 739ffb8..53511a4 100644 --- a/apps/gnous_eu/static/stylesheets/css/index.min.css +++ b/apps/gnous_eu/static/stylesheets/css/index.min.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Roboto&display=swap);@import url(uikit/uikit.min.css);html[data-theme=dark] .uk-offcanvas .uk-nav>li>a.active{color:#16171a}html[data-theme=dark] .uk-logo img{height:38px;border-radius:50%}html[data-theme=dark] .uk-button,html[data-theme=dark] .uk-input{border:none;color:#e6e6e8;text-transform:none;border-radius:5px;text-decoration:none;background-color:#16171a;box-shadow:-5px -5px 12px 0 rgba(41,41,41,.6),5px 5px 12px 0 rgba(0,0,0,.3);font-weight:bolder}html[data-theme=dark] .uk-button-link{color:#fff;font-weight:bolder;text-decoration:underline}html[data-theme=dark] .uk-card{border-radius:5px;box-shadow:-5px -5px 12px 0 rgba(41,41,41,.6),5px 5px 12px 0 rgba(0,0,0,.3)}html[data-theme=dark] .uk-card .uk-card-header{border-bottom:1px solid #000}html[data-theme=dark] .uk-card .uk-card-footer{border-top:1px solid #000}html[data-theme=dark] .uk-card .uk-card-title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}html[data-theme=dark] .uk-border-circle{box-shadow:-5px -5px 12px 0 rgba(41,41,41,.6),5px 5px 12px 0 rgba(0,0,0,.3)}html[data-theme=dark] .uk-h1,html[data-theme=dark] h1{color:#ccc}html[data-theme=dark] .uk-h2,html[data-theme=dark] h2{color:#ccc}html[data-theme=dark] .uk-h3,html[data-theme=dark] h3{color:#ccc}html[data-theme=dark] .uk-h4,html[data-theme=dark] h4{color:#ccc}html[data-theme=dark] .uk-h5,html[data-theme=dark] h5{color:#ccc}html[data-theme=dark] .uk-h6,html[data-theme=dark] h6{color:#ccc}html[data-theme=dark] .min-height-10vh{min-height:10vh}html[data-theme=dark] .max-height-10vh{max-height:10vh}html[data-theme=dark] .min-width-10vw{max-width:10vw}html[data-theme=dark] .max-width-10vw{max-width:10vw}html[data-theme=dark] .min-height-20vh{min-height:20vh}html[data-theme=dark] .max-height-20vh{max-height:20vh}html[data-theme=dark] .min-width-20vw{max-width:20vw}html[data-theme=dark] .max-width-20vw{max-width:20vw}html[data-theme=dark] .min-height-30vh{min-height:30vh}html[data-theme=dark] .max-height-30vh{max-height:30vh}html[data-theme=dark] .min-width-30vw{max-width:30vw}html[data-theme=dark] .max-width-30vw{max-width:30vw}html[data-theme=dark] .min-height-40vh{min-height:40vh}html[data-theme=dark] .max-height-40vh{max-height:40vh}html[data-theme=dark] .min-width-40vw{max-width:40vw}html[data-theme=dark] .max-width-40vw{max-width:40vw}html[data-theme=dark] .min-height-50vh{min-height:50vh}html[data-theme=dark] .max-height-50vh{max-height:50vh}html[data-theme=dark] .min-width-50vw{max-width:50vw}html[data-theme=dark] .max-width-50vw{max-width:50vw}html[data-theme=dark] .min-height-60vh{min-height:60vh}html[data-theme=dark] .max-height-60vh{max-height:60vh}html[data-theme=dark] .min-width-60vw{max-width:60vw}html[data-theme=dark] .max-width-60vw{max-width:60vw}html[data-theme=dark] .min-height-70vh{min-height:70vh}html[data-theme=dark] .max-height-70vh{max-height:70vh}html[data-theme=dark] .min-width-70vw{max-width:70vw}html[data-theme=dark] .max-width-70vw{max-width:70vw}html[data-theme=dark] .min-height-80vh{min-height:80vh}html[data-theme=dark] .max-height-80vh{max-height:80vh}html[data-theme=dark] .min-width-80vw{max-width:80vw}html[data-theme=dark] .max-width-80vw{max-width:80vw}html[data-theme=dark] .min-height-90vh{min-height:90vh}html[data-theme=dark] .max-height-90vh{max-height:90vh}html[data-theme=dark] .min-width-90vw{max-width:90vw}html[data-theme=dark] .max-width-90vw{max-width:90vw}html[data-theme=dark] .min-height-100vh{min-height:100vh}html[data-theme=dark] .max-height-100vh{max-height:100vh}html[data-theme=dark] .min-width-100vw{max-width:100vw}html[data-theme=dark] .max-width-100vw{max-width:100vw}html[data-theme=dark] .uk-switch{position:relative;display:inline-block;height:24px;width:42px}html[data-theme=dark] .uk-switch input{display:none}html[data-theme=dark] .uk-switch-slider{background-color:rgba(0,0,0,.22);position:absolute;top:0;left:0;right:0;border-radius:500px;bottom:0;cursor:pointer;transition-property:background-color;transition-duration:.05s;box-shadow:inset 0 0 2px rgba(0,0,0,.07)}html[data-theme=dark] .uk-switch-slider:before{content:'';background-color:#fff;position:absolute;width:20px;height:20px;left:2px;bottom:2px;border-radius:50%;transition-property:transform,box-shadow;transition-duration:.05s}html[data-theme=dark] input:checked+.uk-switch-slider{background-color:#39f!important}html[data-theme=dark] input:checked+.uk-switch-slider:before{transform:translateX(18px)}html[data-theme=dark] .uk-switch-slider.uk-switch-on-off{background-color:#f0506e}html[data-theme=dark] input:checked+.uk-switch-slider.uk-switch-on-off{background-color:#32d296!important}html[data-theme=dark] .uk-switch-slider.uk-switch-big:before{transform:scale(1.2);box-shadow:0 0 6px rgba(0,0,0,.22)}html[data-theme=dark] .uk-switch-slider.uk-switch-small:before{box-shadow:0 0 6px rgba(0,0,0,.22)}html[data-theme=dark] input:checked+.uk-switch-slider.uk-switch-big:before{transform:translateX(18px) scale(1.2)}html[data-theme=light] .uk-offcanvas .uk-nav>li>a.active{color:#e0e5ec}html[data-theme=light] .uk-logo img{height:38px;border-radius:50%}html[data-theme=light] .uk-button,html[data-theme=light] .uk-input{border:none;color:#2c2c2e;text-transform:none;border-radius:5px;text-decoration:none;background-color:#e0e5ec;box-shadow:-5px -5px 12px 0 rgba(255,255,255,.5),5px 5px 12px 0 rgba(0,0,0,.1);font-weight:bolder}html[data-theme=light] .uk-button-link{color:#5e5e62;font-weight:bolder;text-decoration:underline}html[data-theme=light] .uk-card{border-radius:5px;box-shadow:-5px -5px 12px 0 rgba(255,255,255,.5),5px 5px 12px 0 rgba(0,0,0,.1)}html[data-theme=light] .uk-card .uk-card-header{border-bottom:1px solid #c0cad9}html[data-theme=light] .uk-card .uk-card-footer{border-top:1px solid #c0cad9}html[data-theme=light] .uk-card .uk-card-title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}html[data-theme=light] .uk-border-circle{box-shadow:-5px -5px 12px 0 rgba(255,255,255,.5),5px 5px 12px 0 rgba(0,0,0,.1)}html[data-theme=light] .uk-h1,html[data-theme=light] h1{color:#333}html[data-theme=light] .uk-h2,html[data-theme=light] h2{color:#333}html[data-theme=light] .uk-h3,html[data-theme=light] h3{color:#333}html[data-theme=light] .uk-h4,html[data-theme=light] h4{color:#333}html[data-theme=light] .uk-h5,html[data-theme=light] h5{color:#333}html[data-theme=light] .uk-h6,html[data-theme=light] h6{color:#333}html[data-theme=light] .min-height-10vh{min-height:10vh}html[data-theme=light] .max-height-10vh{max-height:10vh}html[data-theme=light] .min-width-10vw{max-width:10vw}html[data-theme=light] .max-width-10vw{max-width:10vw}html[data-theme=light] .min-height-20vh{min-height:20vh}html[data-theme=light] .max-height-20vh{max-height:20vh}html[data-theme=light] .min-width-20vw{max-width:20vw}html[data-theme=light] .max-width-20vw{max-width:20vw}html[data-theme=light] .min-height-30vh{min-height:30vh}html[data-theme=light] .max-height-30vh{max-height:30vh}html[data-theme=light] .min-width-30vw{max-width:30vw}html[data-theme=light] .max-width-30vw{max-width:30vw}html[data-theme=light] .min-height-40vh{min-height:40vh}html[data-theme=light] .max-height-40vh{max-height:40vh}html[data-theme=light] .min-width-40vw{max-width:40vw}html[data-theme=light] .max-width-40vw{max-width:40vw}html[data-theme=light] .min-height-50vh{min-height:50vh}html[data-theme=light] .max-height-50vh{max-height:50vh}html[data-theme=light] .min-width-50vw{max-width:50vw}html[data-theme=light] .max-width-50vw{max-width:50vw}html[data-theme=light] .min-height-60vh{min-height:60vh}html[data-theme=light] .max-height-60vh{max-height:60vh}html[data-theme=light] .min-width-60vw{max-width:60vw}html[data-theme=light] .max-width-60vw{max-width:60vw}html[data-theme=light] .min-height-70vh{min-height:70vh}html[data-theme=light] .max-height-70vh{max-height:70vh}html[data-theme=light] .min-width-70vw{max-width:70vw}html[data-theme=light] .max-width-70vw{max-width:70vw}html[data-theme=light] .min-height-80vh{min-height:80vh}html[data-theme=light] .max-height-80vh{max-height:80vh}html[data-theme=light] .min-width-80vw{max-width:80vw}html[data-theme=light] .max-width-80vw{max-width:80vw}html[data-theme=light] .min-height-90vh{min-height:90vh}html[data-theme=light] .max-height-90vh{max-height:90vh}html[data-theme=light] .min-width-90vw{max-width:90vw}html[data-theme=light] .max-width-90vw{max-width:90vw}html[data-theme=light] .min-height-100vh{min-height:100vh}html[data-theme=light] .max-height-100vh{max-height:100vh}html[data-theme=light] .min-width-100vw{max-width:100vw}html[data-theme=light] .max-width-100vw{max-width:100vw}html[data-theme=light] .uk-switch{position:relative;display:inline-block;height:24px;width:42px}html[data-theme=light] .uk-switch input{display:none}html[data-theme=light] .uk-switch-slider{background-color:rgba(0,0,0,.22);position:absolute;top:0;left:0;right:0;border-radius:500px;bottom:0;cursor:pointer;transition-property:background-color;transition-duration:.05s;box-shadow:inset 0 0 2px rgba(0,0,0,.07)}html[data-theme=light] .uk-switch-slider:before{content:'';background-color:#fff;position:absolute;width:20px;height:20px;left:2px;bottom:2px;border-radius:50%;transition-property:transform,box-shadow;transition-duration:.05s}html[data-theme=light] input:checked+.uk-switch-slider{background-color:#39f!important}html[data-theme=light] input:checked+.uk-switch-slider:before{transform:translateX(18px)}html[data-theme=light] .uk-switch-slider.uk-switch-on-off{background-color:#f0506e}html[data-theme=light] input:checked+.uk-switch-slider.uk-switch-on-off{background-color:#32d296!important}html[data-theme=light] .uk-switch-slider.uk-switch-big:before{transform:scale(1.2);box-shadow:0 0 6px rgba(0,0,0,.22)}html[data-theme=light] .uk-switch-slider.uk-switch-small:before{box-shadow:0 0 6px rgba(0,0,0,.22)}html[data-theme=light] input:checked+.uk-switch-slider.uk-switch-big:before{transform:translateX(18px) scale(1.2)}body,html{font-family:Roboto,sans-serif;transition-duration:.3s}html[data-theme=dark] body{background-color:#16171a;color:#e6e6e8}html[data-theme=dark] #app{min-height:100vh}html[data-theme=dark] .nav{z-index:99;background-color:#16171a;box-shadow:-5px -5px 12px 0 rgba(41,41,41,.6),5px 5px 12px 0 rgba(0,0,0,.3)}html[data-theme=dark] .nav .uk-navbar-nav>li>a{color:#e6e6e8;text-transform:none}html[data-theme=dark] .nav .uk-navbar-nav>li>a.active,html[data-theme=dark] .nav .uk-navbar-nav>li>a:hover{text-decoration:underline}html[data-theme=dark] .top-wrap-height{height:80vh;min-height:460px;transition:height .25s}html[data-theme=dark] .subtitle-text{font-size:1.2em;opacity:.7}html[data-theme=light] body{background-color:#e0e5ec;color:#2c2c2e}html[data-theme=light] #app{min-height:100vh}html[data-theme=light] .nav{z-index:99;background-color:#e0e5ec;box-shadow:-5px -5px 12px 0 rgba(255,255,255,.5),5px 5px 12px 0 rgba(0,0,0,.1)}html[data-theme=light] .nav .uk-navbar-nav>li>a{color:#2c2c2e;text-transform:none}html[data-theme=light] .nav .uk-navbar-nav>li>a.active,html[data-theme=light] .nav .uk-navbar-nav>li>a:hover{text-decoration:underline}html[data-theme=light] .top-wrap-height{height:80vh;min-height:460px;transition:height .25s}html[data-theme=light] .subtitle-text{font-size:1.2em;opacity:.7} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Roboto&display=swap);@import url(uikit/uikit.min.css);html[data-theme=dark] .uk-offcanvas .uk-nav>li>a.active{color:#16171a}html[data-theme=dark] .uk-logo img{height:38px;border-radius:50%}html[data-theme=dark] .uk-button,html[data-theme=dark] .uk-input{border:none;color:#e6e6e8;text-transform:none;border-radius:5px;text-decoration:none;background-color:#16171a;box-shadow:-5px -5px 12px 0 rgba(41,41,41,.6),5px 5px 12px 0 rgba(0,0,0,.3);font-weight:bolder}html[data-theme=dark] .uk-button-link{color:#fff;font-weight:bolder;text-decoration:underline}html[data-theme=dark] .uk-card{border-radius:5px;box-shadow:-5px -5px 12px 0 rgba(41,41,41,.6),5px 5px 12px 0 rgba(0,0,0,.3)}html[data-theme=dark] .uk-card .uk-card-header{border-bottom:1px solid #000}html[data-theme=dark] .uk-card .uk-card-footer{border-top:1px solid #000}html[data-theme=dark] .uk-card .uk-card-title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}html[data-theme="dark"] .uk-card-secondary{background:#23272A;}html[data-theme=dark] .uk-border-circle{box-shadow:-5px -5px 12px 0 rgba(41,41,41,.6),5px 5px 12px 0 rgba(0,0,0,.3)}html[data-theme=dark] .uk-h1,html[data-theme=dark] h1{color:#ccc}html[data-theme=dark] .uk-h2,html[data-theme=dark] h2{color:#ccc}html[data-theme=dark] .uk-h3,html[data-theme=dark] h3{color:#ccc}html[data-theme=dark] .uk-h4,html[data-theme=dark] h4{color:#ccc}html[data-theme=dark] .uk-h5,html[data-theme=dark] h5{color:#ccc}html[data-theme=dark] .uk-h6,html[data-theme=dark] h6{color:#ccc}html[data-theme=dark] .min-height-10vh{min-height:10vh}html[data-theme=dark] .max-height-10vh{max-height:10vh}html[data-theme=dark] .min-width-10vw{max-width:10vw}html[data-theme=dark] .max-width-10vw{max-width:10vw}html[data-theme=dark] .min-height-20vh{min-height:20vh}html[data-theme=dark] .max-height-20vh{max-height:20vh}html[data-theme=dark] .min-width-20vw{max-width:20vw}html[data-theme=dark] .max-width-20vw{max-width:20vw}html[data-theme=dark] .min-height-30vh{min-height:30vh}html[data-theme=dark] .max-height-30vh{max-height:30vh}html[data-theme=dark] .min-width-30vw{max-width:30vw}html[data-theme=dark] .max-width-30vw{max-width:30vw}html[data-theme=dark] .min-height-40vh{min-height:40vh}html[data-theme=dark] .max-height-40vh{max-height:40vh}html[data-theme=dark] .min-width-40vw{max-width:40vw}html[data-theme=dark] .max-width-40vw{max-width:40vw}html[data-theme=dark] .min-height-50vh{min-height:50vh}html[data-theme=dark] .max-height-50vh{max-height:50vh}html[data-theme=dark] .min-width-50vw{max-width:50vw}html[data-theme=dark] .max-width-50vw{max-width:50vw}html[data-theme=dark] .min-height-60vh{min-height:60vh}html[data-theme=dark] .max-height-60vh{max-height:60vh}html[data-theme=dark] .min-width-60vw{max-width:60vw}html[data-theme=dark] .max-width-60vw{max-width:60vw}html[data-theme=dark] .min-height-70vh{min-height:70vh}html[data-theme=dark] .max-height-70vh{max-height:70vh}html[data-theme=dark] .min-width-70vw{max-width:70vw}html[data-theme=dark] .max-width-70vw{max-width:70vw}html[data-theme=dark] .min-height-80vh{min-height:80vh}html[data-theme=dark] .max-height-80vh{max-height:80vh}html[data-theme=dark] .min-width-80vw{max-width:80vw}html[data-theme=dark] .max-width-80vw{max-width:80vw}html[data-theme=dark] .min-height-90vh{min-height:90vh}html[data-theme=dark] .max-height-90vh{max-height:90vh}html[data-theme=dark] .min-width-90vw{max-width:90vw}html[data-theme=dark] .max-width-90vw{max-width:90vw}html[data-theme=dark] .min-height-100vh{min-height:100vh}html[data-theme=dark] .max-height-100vh{max-height:100vh}html[data-theme=dark] .min-width-100vw{max-width:100vw}html[data-theme=dark] .max-width-100vw{max-width:100vw}html[data-theme=dark] .uk-switch{position:relative;display:inline-block;height:24px;width:42px}html[data-theme=dark] .uk-switch input{display:none}html[data-theme=dark] .uk-switch-slider{background-color:rgba(0,0,0,.22);position:absolute;top:0;left:0;right:0;border-radius:500px;bottom:0;cursor:pointer;transition-property:background-color;transition-duration:.05s;box-shadow:inset 0 0 2px rgba(0,0,0,.07)}html[data-theme=dark] .uk-switch-slider:before{content:'';background-color:#fff;position:absolute;width:20px;height:20px;left:2px;bottom:2px;border-radius:50%;transition-property:transform,box-shadow;transition-duration:.05s}html[data-theme=dark] input:checked+.uk-switch-slider{background-color:#39f!important}html[data-theme=dark] input:checked+.uk-switch-slider:before{transform:translateX(18px)}html[data-theme=dark] .uk-switch-slider.uk-switch-on-off{background-color:#f0506e}html[data-theme=dark] input:checked+.uk-switch-slider.uk-switch-on-off{background-color:#32d296!important}html[data-theme=dark] .uk-switch-slider.uk-switch-big:before{transform:scale(1.2);box-shadow:0 0 6px rgba(0,0,0,.22)}html[data-theme=dark] .uk-switch-slider.uk-switch-small:before{box-shadow:0 0 6px rgba(0,0,0,.22)}html[data-theme=dark] input:checked+.uk-switch-slider.uk-switch-big:before{transform:translateX(18px) scale(1.2)}html[data-theme=light] .uk-offcanvas .uk-nav>li>a.active{color:#e0e5ec}html[data-theme=light] .uk-logo img{height:38px;border-radius:50%}html[data-theme=light] .uk-button,html[data-theme=light] .uk-input{border:none;color:#2c2c2e;text-transform:none;border-radius:5px;text-decoration:none;background-color:#e0e5ec;box-shadow:-5px -5px 12px 0 rgba(255,255,255,.5),5px 5px 12px 0 rgba(0,0,0,.1);font-weight:bolder}html[data-theme=light] .uk-button-link{color:#5e5e62;font-weight:bolder;text-decoration:underline}html[data-theme=light] .uk-card{border-radius:5px;box-shadow:-5px -5px 12px 0 rgba(255,255,255,.5),5px 5px 12px 0 rgba(0,0,0,.1)}html[data-theme=light] .uk-card .uk-card-header{border-bottom:1px solid #c0cad9}html[data-theme=light] .uk-card .uk-card-footer{border-top:1px solid #c0cad9}html[data-theme=light] .uk-card .uk-card-title{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}html[data-theme=light] .uk-border-circle{box-shadow:-5px -5px 12px 0 rgba(255,255,255,.5),5px 5px 12px 0 rgba(0,0,0,.1)}html[data-theme=light] .uk-h1,html[data-theme=light] h1{color:#333}html[data-theme=light] .uk-h2,html[data-theme=light] h2{color:#333}html[data-theme=light] .uk-h3,html[data-theme=light] h3{color:#333}html[data-theme=light] .uk-h4,html[data-theme=light] h4{color:#333}html[data-theme=light] .uk-h5,html[data-theme=light] h5{color:#333}html[data-theme=light] .uk-h6,html[data-theme=light] h6{color:#333}html[data-theme=light] .min-height-10vh{min-height:10vh}html[data-theme=light] .max-height-10vh{max-height:10vh}html[data-theme=light] .min-width-10vw{max-width:10vw}html[data-theme=light] .max-width-10vw{max-width:10vw}html[data-theme=light] .min-height-20vh{min-height:20vh}html[data-theme=light] .max-height-20vh{max-height:20vh}html[data-theme=light] .min-width-20vw{max-width:20vw}html[data-theme=light] .max-width-20vw{max-width:20vw}html[data-theme=light] .min-height-30vh{min-height:30vh}html[data-theme=light] .max-height-30vh{max-height:30vh}html[data-theme=light] .min-width-30vw{max-width:30vw}html[data-theme=light] .max-width-30vw{max-width:30vw}html[data-theme=light] .min-height-40vh{min-height:40vh}html[data-theme=light] .max-height-40vh{max-height:40vh}html[data-theme=light] .min-width-40vw{max-width:40vw}html[data-theme=light] .max-width-40vw{max-width:40vw}html[data-theme=light] .min-height-50vh{min-height:50vh}html[data-theme=light] .max-height-50vh{max-height:50vh}html[data-theme=light] .min-width-50vw{max-width:50vw}html[data-theme=light] .max-width-50vw{max-width:50vw}html[data-theme=light] .min-height-60vh{min-height:60vh}html[data-theme=light] .max-height-60vh{max-height:60vh}html[data-theme=light] .min-width-60vw{max-width:60vw}html[data-theme=light] .max-width-60vw{max-width:60vw}html[data-theme=light] .min-height-70vh{min-height:70vh}html[data-theme=light] .max-height-70vh{max-height:70vh}html[data-theme=light] .min-width-70vw{max-width:70vw}html[data-theme=light] .max-width-70vw{max-width:70vw}html[data-theme=light] .min-height-80vh{min-height:80vh}html[data-theme=light] .max-height-80vh{max-height:80vh}html[data-theme=light] .min-width-80vw{max-width:80vw}html[data-theme=light] .max-width-80vw{max-width:80vw}html[data-theme=light] .min-height-90vh{min-height:90vh}html[data-theme=light] .max-height-90vh{max-height:90vh}html[data-theme=light] .min-width-90vw{max-width:90vw}html[data-theme=light] .max-width-90vw{max-width:90vw}html[data-theme=light] .min-height-100vh{min-height:100vh}html[data-theme=light] .max-height-100vh{max-height:100vh}html[data-theme=light] .min-width-100vw{max-width:100vw}html[data-theme=light] .max-width-100vw{max-width:100vw}html[data-theme=light] .uk-switch{position:relative;display:inline-block;height:24px;width:42px}html[data-theme=light] .uk-switch input{display:none}html[data-theme=light] .uk-switch-slider{background-color:rgba(0,0,0,.22);position:absolute;top:0;left:0;right:0;border-radius:500px;bottom:0;cursor:pointer;transition-property:background-color;transition-duration:.05s;box-shadow:inset 0 0 2px rgba(0,0,0,.07)}html[data-theme=light] .uk-switch-slider:before{content:'';background-color:#fff;position:absolute;width:20px;height:20px;left:2px;bottom:2px;border-radius:50%;transition-property:transform,box-shadow;transition-duration:.05s}html[data-theme=light] input:checked+.uk-switch-slider{background-color:#39f!important}html[data-theme=light] input:checked+.uk-switch-slider:before{transform:translateX(18px)}html[data-theme=light] .uk-switch-slider.uk-switch-on-off{background-color:#f0506e}html[data-theme=light] input:checked+.uk-switch-slider.uk-switch-on-off{background-color:#32d296!important}html[data-theme=light] .uk-switch-slider.uk-switch-big:before{transform:scale(1.2);box-shadow:0 0 6px rgba(0,0,0,.22)}html[data-theme=light] .uk-switch-slider.uk-switch-small:before{box-shadow:0 0 6px rgba(0,0,0,.22)}html[data-theme=light] input:checked+.uk-switch-slider.uk-switch-big:before{transform:translateX(18px) scale(1.2)}body,html{font-family:Roboto,sans-serif;transition-duration:.3s}html[data-theme=dark] body{background-color:#16171a;color:#e6e6e8}html[data-theme=dark] #app{min-height:100vh}html[data-theme=dark] .nav{z-index:99;background-color:#16171a;box-shadow:-5px -5px 12px 0 rgba(41,41,41,.6),5px 5px 12px 0 rgba(0,0,0,.3)}html[data-theme=dark] .nav .uk-navbar-nav>li>a{color:#e6e6e8;text-transform:none}html[data-theme=dark] .nav .uk-navbar-nav>li>a.active,html[data-theme=dark] .nav .uk-navbar-nav>li>a:hover{text-decoration:underline}html[data-theme=dark] .top-wrap-height{height:80vh;min-height:460px;transition:height .25s}html[data-theme=dark] .subtitle-text{font-size:1.2em;opacity:.7}html[data-theme=light] body{background-color:#e0e5ec;color:#2c2c2e}html[data-theme=light] #app{min-height:100vh}html[data-theme=light] .nav{z-index:99;background-color:#e0e5ec;box-shadow:-5px -5px 12px 0 rgba(255,255,255,.5),5px 5px 12px 0 rgba(0,0,0,.1)}html[data-theme=light] .nav .uk-navbar-nav>li>a{color:#2c2c2e;text-transform:none}html[data-theme=light] .nav .uk-navbar-nav>li>a.active,html[data-theme=light] .nav .uk-navbar-nav>li>a:hover{text-decoration:underline}html[data-theme=light] .top-wrap-height{height:80vh;min-height:460px;transition:height .25s}html[data-theme=light] .subtitle-text{font-size:1.2em;opacity:.7}.uk-label-success{background-color:rgb(22,101,72);}.uk-label-warning{background-color:rgb(145,66,4);} \ No newline at end of file diff --git a/apps/gnous_eu/static/stylesheets/css/uikit_fix.css b/apps/gnous_eu/static/stylesheets/css/uikit_fix.css index be93868..a5613a7 100644 --- a/apps/gnous_eu/static/stylesheets/css/uikit_fix.css +++ b/apps/gnous_eu/static/stylesheets/css/uikit_fix.css @@ -35,4 +35,12 @@ .uk-border-circle { box-shadow: -5px -5px 12px 0 rgba(255, 255, 255, 0.5), 5px 5px 12px 0 rgba(0, 0, 0, 0.1); } +.uk-label-success { + background-color: rgb(22, 101, 72); +} + +.uk-label-warning { + background-color: rgb(145, 66, 4); +} + /*# sourceMappingURL=uikit_fix.css.map */ diff --git a/apps/gnous_eu/static/stylesheets/sass/uikit_fix.scss b/apps/gnous_eu/static/stylesheets/sass/uikit_fix.scss index cfc42e7..057408b 100644 --- a/apps/gnous_eu/static/stylesheets/sass/uikit_fix.scss +++ b/apps/gnous_eu/static/stylesheets/sass/uikit_fix.scss @@ -49,6 +49,9 @@ white-space: nowrap; } } + .uk-card-secondary { + background: #23272A; + } .uk-border-circle { box-shadow: map_get(map_get($themes, $theme), 'shadow'); @@ -151,4 +154,12 @@ html[data-theme="dark"] { html[data-theme="light"] { @include render_theme('light') +} + +.uk-label-success { + background-color: rgb(22, 101, 72); +} + +.uk-label-warning { + background-color: rgb(145, 66, 4); } \ No newline at end of file diff --git a/apps/gnous_eu/templates/about.html b/apps/gnous_eu/templates/about.html index 2301260..8d49105 100644 --- a/apps/gnous_eu/templates/about.html +++ b/apps/gnous_eu/templates/about.html @@ -3,15 +3,13 @@ {% load i18n %} {% block content %} -
+
-
-
-

{% trans 'À propos' %}

-
+
+

{% trans 'À propos' %}

+
-
- +
{% blocktrans %}

GnousEU est une communauté de passionnés du libre ayant débuté en février 2017 sur la plateforme Discord. Depuis elle s'est diversifiée sur plusieurs plateformes hébergées par elle-même en favorisant les instances décentralisées. @@ -26,7 +24,48 @@ mais aussi par Romain J., Léo H. Avant son départ, Orakle s'occupait du design.

GnousEU est hébergé sur l'infrastructure EnPLS.org disposant de serveurs en France, Pays-Bas, Allemagne et Guadeloupe.

{% endblocktrans %} -
+
+ +
+ +
+

{% trans 'Partenaires' %}

+
+ +
+ {% if partners|length >= 1 %} +
+ {% for partner in partners %} +
+
+
+ {{ partner.name }} +
+
+

+ {{ partner.name }} + {{ partner.domain }} +

+

{% get_current_language as LANGUAGE_CODE %}{% if LANGUAGE_CODE == 'en' and partner.description_en != None %}{{ partner.description_en }}{% else %}{{ partner.description }}{% endif %}

+ {% trans "Voir" %} +
+
+
+ {% endfor %} +
+ {% else %} +
+
+
+
+
+

{% trans "Nous n'avons aucun partenaire..." %}

+
+
+
+
+
+ {% endif %}
diff --git a/apps/gnous_eu/templates/index.html b/apps/gnous_eu/templates/index.html index 503888a..b8ffbfb 100644 --- a/apps/gnous_eu/templates/index.html +++ b/apps/gnous_eu/templates/index.html @@ -5,20 +5,21 @@ {% block content %}
-
-
-

GnousEU

-

{% trans "Communauté francophone de passionnés du libre depuis 2017." %}

+
+
+
+

GnousEU

+

{% trans "Communauté francophone de passionnés du libre depuis 2017." %}

+
+
-
- Image -
- -
diff --git a/apps/gnous_eu/templates/layouts/foot.html b/apps/gnous_eu/templates/layouts/foot.html index c6e8ab1..fe48e62 100644 --- a/apps/gnous_eu/templates/layouts/foot.html +++ b/apps/gnous_eu/templates/layouts/foot.html @@ -42,7 +42,7 @@ Don't judge me banner_cookie_div = document.getElementById("banner_cookie_div"); if (banner_cookie === undefined || banner_cookie.split('cookie-banner=')[1] !== 'hidden') { - banner_cookie_div.querySelector("a.uk-close").addEventListener('click', event => { + banner_cookie_div.addEventListener('click', event => { document.cookie = 'cookie-banner=hidden'; banner_cookie_div.style.display = "none" }); diff --git a/apps/gnous_eu/templates/services.html b/apps/gnous_eu/templates/services.html index 8b83bad..87c0f45 100644 --- a/apps/gnous_eu/templates/services.html +++ b/apps/gnous_eu/templates/services.html @@ -24,9 +24,9 @@
{% if services|length >= 1 %} -
    +
    {% for service in services %} -
  • +
    {{ service.name }} @@ -57,9 +57,9 @@ {% endif %}
    -
  • +
    {% endfor %} -
+
  • diff --git a/apps/gnous_eu/urls.py b/apps/gnous_eu/urls.py index cb033bd..7e2f4a3 100644 --- a/apps/gnous_eu/urls.py +++ b/apps/gnous_eu/urls.py @@ -1,13 +1,13 @@ -from django.urls import path, include +from django.urls import path from django.views.generic import TemplateView -from .views import ServicesView +from .views import ServicesView, PartnersView app_name = "gnous_eu" urlpatterns = [ path("", TemplateView.as_view(template_name="index.html"), name="index"), - path("about", TemplateView.as_view(template_name="about.html"), name="about"), + path("about", PartnersView.index, name="about"), path("tips", TemplateView.as_view(template_name="tips.html"), name="tips"), path("services", ServicesView.index, name="services"), ] diff --git a/apps/gnous_eu/views.py b/apps/gnous_eu/views.py index 396cd50..f8a009b 100644 --- a/apps/gnous_eu/views.py +++ b/apps/gnous_eu/views.py @@ -1,9 +1,9 @@ -from django.http import HttpResponse, HttpRequest -from django.shortcuts import render from django.core.paginator import Paginator from django.db.models import Q +from django.http import HttpResponse, HttpRequest +from django.shortcuts import render -from apps.gnous_eu.models import Service +from apps.gnous_eu.models import Service, Partner TEMPLATE_PATH = "./" @@ -35,3 +35,13 @@ class ServicesView: TEMPLATE_PATH + "services.html", {"services": paginator.get_page(page), "search": search}, ) + + +class PartnersView: + @staticmethod + def index(request: HttpRequest, *args, **kwargs) -> HttpResponse: + return render( + request, + TEMPLATE_PATH + "about.html", + {"partners": Partner.objects.all().filter(hidden=False)}, + ) diff --git a/gnousEU/settings.py b/gnousEU/settings.py index 015b6b8..b4ddbdc 100644 --- a/gnousEU/settings.py +++ b/gnousEU/settings.py @@ -25,7 +25,7 @@ SECRET_KEY = local_settings.SECRET_KEY # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ["127.0.0.1", "localhost", "django", "gnous.eu"] +ALLOWED_HOSTS = ["127.0.0.1", "localhost", "192.168.1.21", "django", "gnous.eu"] CSRF_TRUSTED_ORIGINS = ['gnous.eu'] # Application definition diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index aeaf0d7..d85eddd 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-06-18 21:44+0000\n" +"POT-Creation-Date: 2020-06-19 00:29+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -38,14 +38,14 @@ msgstr "Federated" msgid "Centralisé" msgstr "Centralized" -#: apps/gnous_eu/templates/about.html:11 apps/gnous_eu/templates/index.html:22 +#: apps/gnous_eu/templates/about.html:9 apps/gnous_eu/templates/index.html:16 #: apps/gnous_eu/templates/layouts/head.html:14 #: apps/gnous_eu/templates/layouts/header.html:33 -#: apps/gnous_eu/templates/layouts/sidebar.html:27 +#: apps/gnous_eu/templates/layouts/sidebar.html:32 msgid "À propos" msgstr "About" -#: apps/gnous_eu/templates/about.html:17 +#: apps/gnous_eu/templates/about.html:13 msgid "" "\n" "

    GnousEU est une communauté de passionnés du libre ayant débuté en février " @@ -93,26 +93,30 @@ msgstr "" "Orakle was in " "charge of design.

    \n" "

    GnousEU is hosted on the infrastructure EnPLS.org infrastructure with servers in France, Netherlands, Germany and " -"Guadeloupe.

    \n" +"org/'>EnPLS.org infrastructure with servers in France, Netherlands, " +"Germany and Guadeloupe.

    \n" + +#: apps/gnous_eu/templates/about.html:32 +msgid "Partenaires" +msgstr "Partners" + +#: apps/gnous_eu/templates/about.html:50 +msgid "Voir" +msgstr "View" + +#: apps/gnous_eu/templates/about.html:62 +msgid "Nous n'avons aucun partenaire..." +msgstr "We don't have any partners..." #: apps/gnous_eu/templates/index.html:12 msgid "Communauté francophone de passionnés du libre depuis 2017." msgstr "French community of free software enthusiasts since 2017." -#: apps/gnous_eu/templates/index.html:21 +#: apps/gnous_eu/templates/index.html:15 #: apps/gnous_eu/templates/services.html:10 msgid "Nos services" msgstr "Our services" -#: apps/gnous_eu/templates/layouts/foot.html:42 -msgid "" -"Bla bla bla... bannière alakon pour dire qu&on utilise des cookies (pour " -"la langue et cette bannière)" -msgstr "" -"GnousEU uses cookies in order to save the language of the site you are using " -"and the closing of this banner." - #: apps/gnous_eu/templates/layouts/footer.html:7 msgid "Designé par" msgstr "Designed by" @@ -125,15 +129,23 @@ msgstr "Created by" msgid "Fait avec" msgstr "Built with" +#: apps/gnous_eu/templates/layouts/footer.html:44 +msgid "" +"Bla bla bla... bannière alakon pour dire qu&on utilise des cookies (pour " +"la langue et cette bannière)" +msgstr "" +"GnousEU uses cookies in order to save the language of the site you are using " +"and the closing of this banner." + #: apps/gnous_eu/templates/layouts/head.html:12 #: apps/gnous_eu/templates/layouts/header.html:17 -#: apps/gnous_eu/templates/layouts/sidebar.html:13 +#: apps/gnous_eu/templates/layouts/sidebar.html:18 msgid "Accueil" msgstr "Home" #: apps/gnous_eu/templates/layouts/head.html:13 #: apps/gnous_eu/templates/layouts/header.html:23 -#: apps/gnous_eu/templates/layouts/sidebar.html:20 +#: apps/gnous_eu/templates/layouts/sidebar.html:25 msgid "Services" msgstr "Services" @@ -142,7 +154,7 @@ msgid "Dons" msgstr "Tips" #: apps/gnous_eu/templates/layouts/header.html:39 -#: apps/gnous_eu/templates/layouts/sidebar.html:32 +#: apps/gnous_eu/templates/layouts/sidebar.html:37 msgid "Donner" msgstr "Tips" @@ -159,27 +171,27 @@ msgstr "" msgid "Rechercher..." msgstr "Search..." -#: apps/gnous_eu/templates/services.html:43 +#: apps/gnous_eu/templates/services.html:40 msgid "Rejoindre !" msgstr "Join !" -#: apps/gnous_eu/templates/services.html:75 +#: apps/gnous_eu/templates/services.html:72 msgid "Précédent" msgstr "Previous" -#: apps/gnous_eu/templates/services.html:90 +#: apps/gnous_eu/templates/services.html:87 msgid "Suivant" msgstr "Next" -#: apps/gnous_eu/templates/services.html:101 +#: apps/gnous_eu/templates/services.html:98 msgid "Aucun service trouvé pour la recheche: " msgstr "No services found for the search: " -#: apps/gnous_eu/templates/tips.html:12 +#: apps/gnous_eu/templates/tips.html:11 msgid "Donnez à GnousEU" msgstr "Give to GnousEU" -#: apps/gnous_eu/templates/tips.html:14 +#: apps/gnous_eu/templates/tips.html:13 msgid "" "Participez au développement de la communauté de GnousEU via un don monétaire " "via le site Tipeee." @@ -187,11 +199,11 @@ msgstr "" "Participate in the development of the GnousEU community by making a monetary " "donation via the Tipeee website." -#: apps/gnous_eu/templates/tips.html:25 +#: apps/gnous_eu/templates/tips.html:23 msgid "Vous souhaitez nous donner du materiel ?" msgstr "Would you like to give us some material?" -#: apps/gnous_eu/templates/tips.html:27 +#: apps/gnous_eu/templates/tips.html:25 msgid "" "Vous disposez de materiel réseau ou serveur usagé et vous ne savez pas quoi " "en faire ?" @@ -199,15 +211,15 @@ msgstr "" "You have used network or server hardware and you don't know what to do with " "it?" -#: apps/gnous_eu/templates/tips.html:29 apps/gnous_eu/templates/tips.html:41 +#: apps/gnous_eu/templates/tips.html:27 apps/gnous_eu/templates/tips.html:38 msgid "Contactez nous par mail à " msgstr "Contact us by mail at " -#: apps/gnous_eu/templates/tips.html:37 +#: apps/gnous_eu/templates/tips.html:34 msgid "Vous êtes fournisseur de services ?" msgstr "Are you a service provider?" -#: apps/gnous_eu/templates/tips.html:39 +#: apps/gnous_eu/templates/tips.html:36 msgid "" "Discutons plus en détails de votre proposition ! Nous sommes ouvert à tout " "partenariat." diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index fa780f4..b87da2a 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-06-18 21:44+0000\n" +"POT-Creation-Date: 2020-06-19 00:29+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -38,14 +38,14 @@ msgstr "" msgid "Centralisé" msgstr "" -#: apps/gnous_eu/templates/about.html:11 apps/gnous_eu/templates/index.html:22 +#: apps/gnous_eu/templates/about.html:9 apps/gnous_eu/templates/index.html:16 #: apps/gnous_eu/templates/layouts/head.html:14 #: apps/gnous_eu/templates/layouts/header.html:33 -#: apps/gnous_eu/templates/layouts/sidebar.html:27 +#: apps/gnous_eu/templates/layouts/sidebar.html:32 msgid "À propos" msgstr "" -#: apps/gnous_eu/templates/about.html:17 +#: apps/gnous_eu/templates/about.html:13 msgid "" "\n" "

    GnousEU est une communauté de passionnés du libre ayant débuté en février " @@ -74,23 +74,27 @@ msgid "" "Guadeloupe.

    \n" msgstr "" +#: apps/gnous_eu/templates/about.html:32 +msgid "Partenaires" +msgstr "" + +#: apps/gnous_eu/templates/about.html:50 +msgid "Voir" +msgstr "" + +#: apps/gnous_eu/templates/about.html:62 +msgid "Nous n'avons aucun partenaire..." +msgstr "" + #: apps/gnous_eu/templates/index.html:12 msgid "Communauté francophone de passionnés du libre depuis 2017." msgstr "" -#: apps/gnous_eu/templates/index.html:21 +#: apps/gnous_eu/templates/index.html:15 #: apps/gnous_eu/templates/services.html:10 msgid "Nos services" msgstr "" -#: apps/gnous_eu/templates/layouts/foot.html:42 -msgid "" -"Bla bla bla... bannière alakon pour dire qu&on utilise des cookies (pour " -"la langue et cette bannière)" -msgstr "" -"GnousEU utilise des cookies afin de sauvegarder la langue du site que vous " -"utilisez ainsi que pour la fermeture de cette bannière." - #: apps/gnous_eu/templates/layouts/footer.html:7 msgid "Designé par" msgstr "" @@ -103,15 +107,23 @@ msgstr "" msgid "Fait avec" msgstr "" +#: apps/gnous_eu/templates/layouts/footer.html:44 +msgid "" +"Bla bla bla... bannière alakon pour dire qu&on utilise des cookies (pour " +"la langue et cette bannière)" +msgstr "" +"GnousEU utilise des cookies afin de sauvegarder la langue du site que vous " +"utilisez ainsi que pour la fermeture de cette bannière." + #: apps/gnous_eu/templates/layouts/head.html:12 #: apps/gnous_eu/templates/layouts/header.html:17 -#: apps/gnous_eu/templates/layouts/sidebar.html:13 +#: apps/gnous_eu/templates/layouts/sidebar.html:18 msgid "Accueil" msgstr "" #: apps/gnous_eu/templates/layouts/head.html:13 #: apps/gnous_eu/templates/layouts/header.html:23 -#: apps/gnous_eu/templates/layouts/sidebar.html:20 +#: apps/gnous_eu/templates/layouts/sidebar.html:25 msgid "Services" msgstr "" @@ -120,7 +132,7 @@ msgid "Dons" msgstr "" #: apps/gnous_eu/templates/layouts/header.html:39 -#: apps/gnous_eu/templates/layouts/sidebar.html:32 +#: apps/gnous_eu/templates/layouts/sidebar.html:37 msgid "Donner" msgstr "" @@ -135,51 +147,51 @@ msgstr "" msgid "Rechercher..." msgstr "" -#: apps/gnous_eu/templates/services.html:43 +#: apps/gnous_eu/templates/services.html:40 msgid "Rejoindre !" msgstr "" -#: apps/gnous_eu/templates/services.html:75 +#: apps/gnous_eu/templates/services.html:72 msgid "Précédent" msgstr "" -#: apps/gnous_eu/templates/services.html:90 +#: apps/gnous_eu/templates/services.html:87 msgid "Suivant" msgstr "" -#: apps/gnous_eu/templates/services.html:101 +#: apps/gnous_eu/templates/services.html:98 msgid "Aucun service trouvé pour la recheche: " msgstr "" -#: apps/gnous_eu/templates/tips.html:12 +#: apps/gnous_eu/templates/tips.html:11 msgid "Donnez à GnousEU" msgstr "" -#: apps/gnous_eu/templates/tips.html:14 +#: apps/gnous_eu/templates/tips.html:13 msgid "" "Participez au développement de la communauté de GnousEU via un don monétaire " "via le site Tipeee." msgstr "" -#: apps/gnous_eu/templates/tips.html:25 +#: apps/gnous_eu/templates/tips.html:23 msgid "Vous souhaitez nous donner du materiel ?" msgstr "" -#: apps/gnous_eu/templates/tips.html:27 +#: apps/gnous_eu/templates/tips.html:25 msgid "" "Vous disposez de materiel réseau ou serveur usagé et vous ne savez pas quoi " "en faire ?" msgstr "" -#: apps/gnous_eu/templates/tips.html:29 apps/gnous_eu/templates/tips.html:41 +#: apps/gnous_eu/templates/tips.html:27 apps/gnous_eu/templates/tips.html:38 msgid "Contactez nous par mail à " msgstr "" -#: apps/gnous_eu/templates/tips.html:37 +#: apps/gnous_eu/templates/tips.html:34 msgid "Vous êtes fournisseur de services ?" msgstr "" -#: apps/gnous_eu/templates/tips.html:39 +#: apps/gnous_eu/templates/tips.html:36 msgid "" "Discutons plus en détails de votre proposition ! Nous sommes ouvert à tout " "partenariat." diff --git a/media/partner/milkywan_100.png b/media/partner/milkywan_100.png new file mode 100644 index 0000000..af6b479 Binary files /dev/null and b/media/partner/milkywan_100.png differ