remove some unnecessary files and make theses mobile read
This commit is contained in:
442
css/bootstrap-theme.css
vendored
442
css/bootstrap-theme.css
vendored
@@ -1,442 +0,0 @@
|
||||
/*!
|
||||
* Bootstrap v3.2.0 (http://getbootstrap.com)
|
||||
* Copyright 2011-2014 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
.btn-default,
|
||||
.btn-primary,
|
||||
.btn-success,
|
||||
.btn-info,
|
||||
.btn-warning,
|
||||
.btn-danger {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-primary:active,
|
||||
.btn-success:active,
|
||||
.btn-info:active,
|
||||
.btn-warning:active,
|
||||
.btn-danger:active,
|
||||
.btn-default.active,
|
||||
.btn-primary.active,
|
||||
.btn-success.active,
|
||||
.btn-info.active,
|
||||
.btn-warning.active,
|
||||
.btn-danger.active {
|
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
}
|
||||
.btn:active,
|
||||
.btn.active {
|
||||
background-image: none;
|
||||
}
|
||||
.btn-default {
|
||||
text-shadow: 0 1px 0 #fff;
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #e0e0e0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#e0e0e0));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #e0e0e0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dbdbdb;
|
||||
border-color: #ccc;
|
||||
}
|
||||
.btn-default:hover,
|
||||
.btn-default:focus {
|
||||
background-color: #e0e0e0;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-default:active,
|
||||
.btn-default.active {
|
||||
background-color: #e0e0e0;
|
||||
border-color: #dbdbdb;
|
||||
}
|
||||
.btn-default:disabled,
|
||||
.btn-default[disabled] {
|
||||
background-color: #e0e0e0;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-primary {
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #2d6ca2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#2d6ca2));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #2d6ca2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff2d6ca2', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #2b669a;
|
||||
}
|
||||
.btn-primary:hover,
|
||||
.btn-primary:focus {
|
||||
background-color: #2d6ca2;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-primary:active,
|
||||
.btn-primary.active {
|
||||
background-color: #2d6ca2;
|
||||
border-color: #2b669a;
|
||||
}
|
||||
.btn-primary:disabled,
|
||||
.btn-primary[disabled] {
|
||||
background-color: #2d6ca2;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #419641 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#419641));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #419641 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
.btn-success:hover,
|
||||
.btn-success:focus {
|
||||
background-color: #419641;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-success:active,
|
||||
.btn-success.active {
|
||||
background-color: #419641;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
.btn-success:disabled,
|
||||
.btn-success[disabled] {
|
||||
background-color: #419641;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #2aabd2 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#2aabd2));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #2aabd2 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #28a4c9;
|
||||
}
|
||||
.btn-info:hover,
|
||||
.btn-info:focus {
|
||||
background-color: #2aabd2;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-info:active,
|
||||
.btn-info.active {
|
||||
background-color: #2aabd2;
|
||||
border-color: #28a4c9;
|
||||
}
|
||||
.btn-info:disabled,
|
||||
.btn-info[disabled] {
|
||||
background-color: #2aabd2;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #eb9316 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#eb9316));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #eb9316 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
.btn-warning:hover,
|
||||
.btn-warning:focus {
|
||||
background-color: #eb9316;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-warning:active,
|
||||
.btn-warning.active {
|
||||
background-color: #eb9316;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
.btn-warning:disabled,
|
||||
.btn-warning[disabled] {
|
||||
background-color: #eb9316;
|
||||
background-image: none;
|
||||
}
|
||||
.btn-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c12e2a 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c12e2a));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c12e2a 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
.btn-danger:hover,
|
||||
.btn-danger:focus {
|
||||
background-color: #c12e2a;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.btn-danger:active,
|
||||
.btn-danger.active {
|
||||
background-color: #c12e2a;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
.btn-danger:disabled,
|
||||
.btn-danger[disabled] {
|
||||
background-color: #c12e2a;
|
||||
background-image: none;
|
||||
}
|
||||
.thumbnail,
|
||||
.img-thumbnail {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.dropdown-menu > li > a:hover,
|
||||
.dropdown-menu > li > a:focus {
|
||||
background-color: #e8e8e8;
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.dropdown-menu > .active > a,
|
||||
.dropdown-menu > .active > a:hover,
|
||||
.dropdown-menu > .active > a:focus {
|
||||
background-color: #357ebd;
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.navbar-default {
|
||||
background-image: -webkit-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -o-linear-gradient(top, #fff 0%, #f8f8f8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f8f8f8));
|
||||
background-image: linear-gradient(to bottom, #fff 0%, #f8f8f8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 5px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.navbar-default .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
|
||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f3f3f3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f3f3f3));
|
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f3f3f3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff3f3f3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.navbar-brand,
|
||||
.navbar-nav > li > a {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
|
||||
}
|
||||
.navbar-inverse {
|
||||
background-image: -webkit-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -o-linear-gradient(top, #3c3c3c 0%, #222 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#3c3c3c), to(#222));
|
||||
background-image: linear-gradient(to bottom, #3c3c3c 0%, #222 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.navbar-inverse .navbar-nav > .active > a {
|
||||
background-image: -webkit-linear-gradient(top, #222 0%, #282828 100%);
|
||||
background-image: -o-linear-gradient(top, #222 0%, #282828 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#222), to(#282828));
|
||||
background-image: linear-gradient(to bottom, #222 0%, #282828 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff282828', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
-webkit-box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
||||
box-shadow: inset 0 3px 9px rgba(0, 0, 0, .25);
|
||||
}
|
||||
.navbar-inverse .navbar-brand,
|
||||
.navbar-inverse .navbar-nav > li > a {
|
||||
text-shadow: 0 -1px 0 rgba(0, 0, 0, .25);
|
||||
}
|
||||
.navbar-static-top,
|
||||
.navbar-fixed-top,
|
||||
.navbar-fixed-bottom {
|
||||
border-radius: 0;
|
||||
}
|
||||
.alert {
|
||||
text-shadow: 0 1px 0 rgba(255, 255, 255, .2);
|
||||
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 1px 2px rgba(0, 0, 0, .05);
|
||||
}
|
||||
.alert-success {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#c8e5bc));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b2dba1;
|
||||
}
|
||||
.alert-info {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #b9def0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#b9def0));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #9acfea;
|
||||
}
|
||||
.alert-warning {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#f8efc0));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #f5e79e;
|
||||
}
|
||||
.alert-danger {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #e7c3c3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#e7c3c3));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dca7a7;
|
||||
}
|
||||
.progress {
|
||||
background-image: -webkit-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar {
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #3071a9 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3071a9));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-success {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0%, #449d44 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5cb85c), to(#449d44));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-info {
|
||||
background-image: -webkit-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -o-linear-gradient(top, #5bc0de 0%, #31b0d5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#5bc0de), to(#31b0d5));
|
||||
background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-warning {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0%, #ec971f 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f0ad4e), to(#ec971f));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-danger {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0%, #c9302c 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9534f), to(#c9302c));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.progress-bar-striped {
|
||||
background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
|
||||
}
|
||||
.list-group {
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .075);
|
||||
}
|
||||
.list-group-item.active,
|
||||
.list-group-item.active:hover,
|
||||
.list-group-item.active:focus {
|
||||
text-shadow: 0 -1px 0 #3071a9;
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #3278b3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#3278b3));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #3278b3;
|
||||
}
|
||||
.panel {
|
||||
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
|
||||
}
|
||||
.panel-default > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
|
||||
background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-primary > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -o-linear-gradient(top, #428bca 0%, #357ebd 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#357ebd));
|
||||
background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-success > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -o-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#dff0d8), to(#d0e9c6));
|
||||
background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-info > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -o-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#d9edf7), to(#c4e3f3));
|
||||
background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-warning > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -o-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#fcf8e3), to(#faf2cc));
|
||||
background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.panel-danger > .panel-heading {
|
||||
background-image: -webkit-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -o-linear-gradient(top, #f2dede 0%, #ebcccc 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
|
||||
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.well {
|
||||
background-image: -webkit-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -o-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, from(#e8e8e8), to(#f5f5f5));
|
||||
background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #dcdcdc;
|
||||
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
||||
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
|
||||
}
|
||||
/*# sourceMappingURL=bootstrap-theme.css.map */
|
||||
File diff suppressed because one or more lines are too long
5
css/bootstrap-theme.min.css
vendored
5
css/bootstrap-theme.min.css
vendored
File diff suppressed because one or more lines are too long
6203
css/bootstrap.css
vendored
6203
css/bootstrap.css
vendored
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
5
css/bootstrap.min.css
vendored
5
css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/cerulean.min.css
vendored
7
css/cerulean.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/cosmo.min.css
vendored
7
css/cosmo.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/cyborg.min.css
vendored
7
css/cyborg.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/darkly.min.css
vendored
7
css/darkly.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/flatly.min.css
vendored
7
css/flatly.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/journal.min.css
vendored
7
css/journal.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/lumen.min.css
vendored
7
css/lumen.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/paper.min.css
vendored
7
css/paper.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/readable.min.css
vendored
7
css/readable.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/sandstone.min.css
vendored
7
css/sandstone.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/simplex.min.css
vendored
7
css/simplex.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/slate.min.css
vendored
7
css/slate.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/spacelab.min.css
vendored
7
css/spacelab.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -1,9 +1,5 @@
|
||||
.hsganswer{
|
||||
width: 80px;
|
||||
padding-left: auto;
|
||||
padding-right: auto;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
body {
|
||||
padding-bottom: 70px;
|
||||
}
|
||||
|
||||
.statement {
|
||||
@@ -13,41 +9,28 @@
|
||||
#thesesbox{
|
||||
min-height: 250px;
|
||||
}
|
||||
|
||||
|
||||
.top-buffer {
|
||||
margin-top:80px;
|
||||
.button-wrapper .btn {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.bottom-buffer {
|
||||
margin-bottom:60px;
|
||||
}
|
||||
|
||||
.pagination > .pagination-yes > a {
|
||||
color: #FFF;
|
||||
background-color: #5CB85C;
|
||||
background-color: #00CC66;
|
||||
}
|
||||
.pagination > .active.pagination-yes > a {
|
||||
color: #FFF;
|
||||
background-color: #428BCA;
|
||||
|
||||
background-color: #00CC66;
|
||||
border-color: #00CC66;
|
||||
}
|
||||
.pagination > .pagination-neutral > a {
|
||||
color: #FFF;
|
||||
background-color: #F0AD4E;
|
||||
background-color: #ff851b;
|
||||
}
|
||||
.pagination > .active.pagination-neutral > a {
|
||||
color: #FFF;
|
||||
background-color: #428BCA;
|
||||
background-color: #ff851b;
|
||||
border-color: #00CC66;
|
||||
}
|
||||
.pagination > .pagination-no > a {
|
||||
color: #FFF;
|
||||
background-color: #D9534F;
|
||||
background-color: #ff4136;
|
||||
}
|
||||
.pagination > .active.pagination-no > a {
|
||||
color: #FFF;
|
||||
background-color: #428BCA;
|
||||
}
|
||||
|
||||
.progress {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
background-color: #ff4136;
|
||||
border-color: #00CC66;
|
||||
}
|
||||
7
css/superhero.min.css
vendored
7
css/superhero.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/united.min.css
vendored
7
css/united.min.css
vendored
File diff suppressed because one or more lines are too long
7
css/yeti.min.css
vendored
7
css/yeti.min.css
vendored
File diff suppressed because one or more lines are too long
6
faq.php
6
faq.php
@@ -18,10 +18,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Mahlowat - FAQ</title>
|
||||
<title>EUromat - FAQ</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta content="">
|
||||
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||
<link href="css/jef.min.css" rel="stylesheet" media="screen">
|
||||
<link rel="stylesheet" href="css/font-awesome.min.css">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
</head>
|
||||
|
||||
BIN
fonts/glyphicons-halflings-regular.woff2
Normal file
BIN
fonts/glyphicons-halflings-regular.woff2
Normal file
Binary file not shown.
BIN
img/euromat.png
Normal file
BIN
img/euromat.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
53
index.php
53
index.php
@@ -5,20 +5,18 @@ $baseurl = "http://" . $_SERVER['SERVER_NAME'] . $uri_parts[0];
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Mahlowat</title>
|
||||
<title>EUromat - Der Bundestagswahl-Helfer zum Thema Europa</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta content="Mahlowat">
|
||||
|
||||
<meta name="image_src" content="img/mahlowat_logo.png"/>
|
||||
<meta name="description" content="Der Mahlowat ist ein Angebot von XYZ und wurde auf Beschluss des XXXV. Studierendenparlaments der Uni Bonn entwickelt. Er ermöglicht es, zu ausgewählten Themen die eigenen Standpunkte mit denen der Listen abzugleichen, die zur Wahl antreten."/>
|
||||
|
||||
<meta property="og:title" content="Mahlowat"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:image" content="img/mahlowat_logo.png"/>
|
||||
<meta property="og:url" content=""/>
|
||||
<meta property="og:site-name" content="example.com"/>
|
||||
<meta property="og:description" content="Der Mahlowat ist ein Angebot von XYZ und wurde auf Beschluss des XXXV. Studierendenparlaments der Uni Bonn entwickelt. Er ermöglicht es, zu ausgewählten Themen die eigenen Standpunkte mit denen der Listen abzugleichen, die zur Wahl antreten."/>
|
||||
|
||||
<link href="css/jef.min.css" rel="stylesheet" media="screen">
|
||||
<link rel="stylesheet" href="css/font-awesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
@@ -26,32 +24,29 @@ $baseurl = "http://" . $_SERVER['SERVER_NAME'] . $uri_parts[0];
|
||||
<script src="js/jquery-2.0.2.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="text-center">
|
||||
<img src="img/mahlowat_logo.png" title="Mahlowat Logo"/>
|
||||
<h1><small>Der</small> Mahlowat</h1>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<img class="img-responsive" src="img/euromat.png" title="EUromat Logo"/>
|
||||
</div>
|
||||
|
||||
<p>Der Mahlowat ist ein technisches Hilfsmittel, das es ermöglicht, zu ausgewählten Themen die eigenen Standpunkte mit denen der Listen abzugleichen, die zur $Wahl antreten.</p>
|
||||
<p>Er ist selbstverständlich nur als Automat ohne Hirn zu verstehen und spricht keine Wahlempfehlungen aus.</p>
|
||||
<p>Lorem Ipsum.</p>
|
||||
<p>Für ihre Stellungnahmen zu den Thesen sind die Listen selbst verantwortlich.</p>
|
||||
<p class="text-center"><a class="btn btn-large btn-primary" href="mahlowat.php" title="Mahlowat starten">Mit der Befragung beginnen!</a></p>
|
||||
|
||||
<p class="text-center">
|
||||
<a href="faq.php" title="Fragen und Antworten"><small>FAQ</small></a>
|
||||
</p>
|
||||
|
||||
<div class="shariff" data-url="<?php echo $baseurl; ?>" data-referrer-track=null></div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<h1>Der <strong>#EUromat</strong></h1>
|
||||
<p>Der Mahlowat ist ein technisches Hilfsmittel, das es ermöglicht, zu ausgewählten Themen die eigenen Standpunkte mit denen der Listen abzugleichen, die zur $Wahl antreten.</p>
|
||||
<p>Er ist selbstverständlich nur als Automat ohne Hirn zu verstehen und spricht keine Wahlempfehlungen aus.</p>
|
||||
<p>Lorem Ipsum.</p>
|
||||
<p>Für ihre Stellungnahmen zu den Thesen sind die Listen selbst verantwortlich.</p>
|
||||
<p class="text-center"><a class="btn btn-large btn-primary" href="mahlowat.php" title="Mahlowat starten">Mit der Befragung beginnen!</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="text-center">
|
||||
<a href="2.php" title="Fragen und Antworten"><small>FAQ</small></a>
|
||||
</p>
|
||||
<div class="shariff" data-url="<?php echo $baseurl; ?>" data-referrer-track=null></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="shariff/shariff.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</div>
|
||||
<script src="shariff/shariff.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
460
mahlowat.php
460
mahlowat.php
@@ -1,244 +1,207 @@
|
||||
<?php
|
||||
include 'includes/functions.php';
|
||||
include 'includes/elements.php';
|
||||
//include 'includes/theses.php';
|
||||
|
||||
$data_content = file_get_contents("config/data.json");
|
||||
if(!$data_content){
|
||||
echo "ERROR READING CONFIG";
|
||||
} else {
|
||||
$data = json_decode($data_content, true);
|
||||
|
||||
if($data == NULL){
|
||||
echo "ERROR PARSING CONFIG";
|
||||
}
|
||||
|
||||
$css = Array();
|
||||
$css[0] = "bootstrap.min.css";
|
||||
$css[1] = "cerulean.min.css";
|
||||
$css[2] = "cosmo.min.css";
|
||||
$css[3] = "cyborg.min.css";
|
||||
$css[4] = "darkly.min.css";
|
||||
$css[5] = "flatly.min.css";
|
||||
$css[6] = "journal.min.css";
|
||||
$css[7] = "lumen.min.css";
|
||||
$css[8] = "paper.min.css";
|
||||
$css[9] = "readable.min.css";
|
||||
$css[10] = "sandstone.min.css";
|
||||
$css[11] = "simplex.min.css";
|
||||
$css[12] = "slate.min.css";
|
||||
$css[13] = "spacelab.min.css";
|
||||
$css[14] = "superhero.min.css";
|
||||
$css[15] = "united.min.css";
|
||||
$css[16] = "yeti.min.css";
|
||||
$css[17] = "jef.min.css";
|
||||
$css_id = 17;
|
||||
if(isset($_GET['css'])){
|
||||
$css_id = intval($_GET['css']);
|
||||
if($css_id < 0 || $css_id > 16){
|
||||
$css_id = 0;
|
||||
}
|
||||
}
|
||||
|
||||
//$theses = get_theses_array();
|
||||
$theses = $data['theses'];
|
||||
|
||||
$theses_count = sizeof($theses);
|
||||
|
||||
$ans = Array();
|
||||
$emph = Array();
|
||||
$answerstring = '';
|
||||
$warning = false;
|
||||
$count = 'undefined';
|
||||
|
||||
if(isset($_POST['count'])){
|
||||
$count = $_POST['count'];
|
||||
}
|
||||
|
||||
if(isset($_POST['ans'])){
|
||||
$answerstring = $_POST['ans'];
|
||||
$retval = result_from_string($answerstring, $theses_count);
|
||||
$ans = $retval[0];
|
||||
$emph = $retval[1];
|
||||
} elseif(isset($_GET['ans'])){
|
||||
$answerstring = $_GET['ans'];
|
||||
$retval = result_from_string($answerstring, $theses_count);
|
||||
$ans = $retval[0];
|
||||
$emph = $retval[1];
|
||||
} else {
|
||||
$warning = true;
|
||||
for($i = 0; $i < $theses_count; $i++){
|
||||
$ans[$i] = 'skip';
|
||||
$emph[$i] = 1;
|
||||
}
|
||||
}
|
||||
include 'includes/functions.php';
|
||||
include 'includes/elements.php';
|
||||
//include 'includes/theses.php';
|
||||
$data_content = file_get_contents("config/data.json");
|
||||
if(!$data_content){
|
||||
echo "ERROR READING CONFIG";
|
||||
} else {
|
||||
$data = json_decode($data_content, true);
|
||||
if($data == NULL){
|
||||
echo "ERROR PARSING CONFIG";
|
||||
}
|
||||
//$theses = get_theses_array();
|
||||
$theses = $data['theses'];
|
||||
$theses_count = sizeof($theses);
|
||||
$ans = Array();
|
||||
$emph = Array();
|
||||
$answerstring = '';
|
||||
$warning = false;
|
||||
$count = 'undefined';
|
||||
if(isset($_POST['count'])){
|
||||
$count = $_POST['count'];
|
||||
}
|
||||
if(isset($_POST['ans'])){
|
||||
$answerstring = $_POST['ans'];
|
||||
$retval = result_from_string($answerstring, $theses_count);
|
||||
$ans = $retval[0];
|
||||
$emph = $retval[1];
|
||||
} elseif(isset($_GET['ans'])){
|
||||
$answerstring = $_GET['ans'];
|
||||
$retval = result_from_string($answerstring, $theses_count);
|
||||
$ans = $retval[0];
|
||||
$emph = $retval[1];
|
||||
} else {
|
||||
$warning = true;
|
||||
for($i = 0; $i < $theses_count; $i++){
|
||||
$ans[$i] = 'skip';
|
||||
$emph[$i] = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Mahlowat</title>
|
||||
<title>EUromat - Der Bundestagswahl-Helfer zum Thema Europa</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta content="Mahlowat">
|
||||
<!--<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">-->
|
||||
<link href="css/<?php echo $css[$css_id];?>" rel="stylesheet" media="screen">
|
||||
|
||||
<link href="css/jef.min.css" rel="stylesheet" media="screen">
|
||||
<link rel="stylesheet" href="css/font-awesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<script src="js/jquery-2.0.2.min.js"></script>
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
<script src="js/mahlowat.js"></script>
|
||||
|
||||
<div id="savemodal" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-sm">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
||||
<h4 class="modal-title" id="myModalLabel">Statistik</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
Erlaubst du, dass dein Aufruf für die Statistik gezählt wird?<br>
|
||||
Falls du Nein auswählst, bist du lediglich als Logeintrag auf dem Server verewigt.<br>
|
||||
<small><a href="faq.php#log" target="_blank">Ich will aber gar keinen Logeintrag!</a></small>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" onclick="callResult(false)" style="width: 100px;"><span class="glyphicon glyphicon-remove"></span> Nein</button>
|
||||
<button type="button" class="btn btn-primary" onclick="callResult(true)" style="width: 100px;"><span class="glyphicon glyphicon-ok"></span> Ja</button>
|
||||
<body>
|
||||
<script src="js/jquery-2.0.2.min.js"></script>
|
||||
<script src="js/bootstrap.min.js"></script>
|
||||
<script src="js/mahlowat.js"></script>
|
||||
|
||||
<div id="savemodal" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-sm">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
|
||||
<h4 class="modal-title" id="myModalLabel">Statistik</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
Erlaubst du, dass dein Aufruf für die Statistik gezählt wird?<br>
|
||||
Falls du Nein auswählst, bist du lediglich als Logeintrag auf dem Server verewigt.<br>
|
||||
<small><a href="faq.php#log" target="_blank">Ich will aber gar keinen Logeintrag!</a></small>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" onclick="callResult(false)" style="width: 100px;"><i class="fa fa-times fa-lg"></i> Nein</button>
|
||||
<button type="button" class="btn btn-primary" onclick="callResult(true)" style="width: 100px;"><i class="fa fa-check fa-lg"></i> Ja</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<img src="img/mahlowat_logo.png" title="Mahlowat Logo" class="pull-right" onclick="changeText('mahlowat')"/>
|
||||
<p id="spruch" class="pull-right"></p>
|
||||
|
||||
<div class="bottom-buffer top-buffer">
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<?php print_pagination($theses_count); ?>
|
||||
<?php print_thesesbox($theses); ?>
|
||||
|
||||
<p class='text-center'><button id="weight" type="button" class="btn btn-default" data-toggle="button">These doppelt gewichten</button></p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-2 col-md-2 col-md-offset-2 col-sm-offset-2 option">
|
||||
<button id='yes' type='submit' class='btn btn-success btn-block' name='yes' onclick="nextThesis('a')"><span class="glyphicon glyphicon-thumbs-up"></span> Zustimmung</button>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-2 col-md-2 option">
|
||||
<button id='neutral' type='submit' class='btn btn-warning btn-block' name='neutral' onclick="nextThesis('b')"><span class="glyphicon glyphicon-tree-deciduous"></span> Neutral</button>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-2 col-md-2 option">
|
||||
<button id='no' type='submit' class='btn btn-danger btn-block' name='no' onclick="nextThesis('c')"><span class="glyphicon glyphicon-thumbs-down"></span> Ablehnung</button>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-2 col-md-2 option">
|
||||
<button id='skip' type='submit' class='btn btn-default btn-block' name='skip' onclick="nextThesis('d')"><span class="glyphicon glyphicon-share-alt"></span> Überspringen</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="text-right">
|
||||
<hr />
|
||||
<small>Du kannst die Befragung <a href="index.php" title="Von vorn beginnen">neu starten</a> oder den Rest der Thesen <a href="#" title="Auswertung anzeigen" onclick="gotoResultPage(resultArray)">überspringen</a>.<br /> Außerdem haben wir auch eine <a href="faq.php?from=mahlowat.php" onclick="gotoFAQPage(event, resultArray)" title="FAQ">FAQ-Seite</a>.</small>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<p class='text-center'>
|
||||
<button id="weight" type="button" class="btn btn-default" data-toggle="button">These doppelt gewichten</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1 button-wrapper">
|
||||
|
||||
<div class="col-xs-6 col-sm-3">
|
||||
<button id='yes' type='submit' class='btn btn-success btn-block' name='yes' onclick="nextThesis('a')">
|
||||
<i class="fa fa-thumbs-up fa-lg"></i> Zustimmung
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-3">
|
||||
<button id='no' type='submit' class='btn btn-danger btn-block' name='no' onclick="nextThesis('c')">
|
||||
<i class="fa fa-thumbs-down fa-lg"></i> Ablehnung
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 col-sm-3">
|
||||
<button id='neutral' type='submit' class='btn btn-warning btn-block' name='neutral' onclick="nextThesis('b')">
|
||||
<i class="fa fa-asterisk fa-lg"></i> Neutral
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-6 col-sm-3">
|
||||
<button id='skip' type='submit' class='btn btn-default btn-block' name='skip' onclick="nextThesis('d')">
|
||||
Überspringen <i class="fa fa-step-forward fa-lg"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<div class="text-right">
|
||||
<hr>
|
||||
<small>Du kannst die Befragung <a href="index.php" title="Von vorn beginnen">neu starten</a> oder alle restlichen Thesen <a href="#" title="Auswertung anzeigen" onclick="gotoResultPage(resultArray)">überspringen</a>. </br> Der <a href="https://jef-sachsen.de/euromat">EUromat</a> ist ein Projekt der <a href="https://jef-sachsen.de/">JEF Sachsen</a>. Die häufig gestellten Fragen findest Du auf der <a href="faq.php?from=mahlowat.php" onclick="gotoFAQPage(event, resultArray)" title="FAQ">FAQ-Seite</a>.</small></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
var resultArray;
|
||||
var activeThesis = 0;
|
||||
var answerstring = '<?php echo $answerstring; ?>';
|
||||
$(function(){
|
||||
<script type="text/javascript">
|
||||
var resultArray;
|
||||
var activeThesis = 0;
|
||||
var answerstring = '<?php echo $answerstring; ?>';
|
||||
$(function(){
|
||||
$('.tt').tooltip();
|
||||
$('.explic').hide();
|
||||
$('#weight').click(function(){
|
||||
$('#weight').toggleClass('btn-default');
|
||||
$('#weight').toggleClass('btn-info');
|
||||
if($('#weight').text() == 'These doppelt gewichten'){
|
||||
$('#weight').text('These wird doppelt gewichtet');
|
||||
} else {
|
||||
$('#weight').text('These doppelt gewichten');
|
||||
}
|
||||
$('#weight').toggleClass('btn-default');
|
||||
$('#weight').toggleClass('btn-info');
|
||||
if($('#weight').text() == 'These doppelt gewichten'){
|
||||
$('#weight').text('These wird doppelt gewichtet');
|
||||
} else {
|
||||
$('#weight').text('These doppelt gewichten');
|
||||
}
|
||||
});
|
||||
|
||||
$('.explanationbutton').click(function(event){
|
||||
event.preventDefault();
|
||||
$('.explic').toggle(200);
|
||||
event.preventDefault();
|
||||
$('.explic').toggle(200);
|
||||
});
|
||||
|
||||
thesesboxes = $('.singlethesis');
|
||||
pagination = $('#navigation li');
|
||||
|
||||
resultArray = resultStringToArray(answerstring, thesesboxes.length);
|
||||
|
||||
setPaginationColors(resultArray);
|
||||
|
||||
// Remove the # from the hash, as different browsers may or may not include it
|
||||
var hash = location.hash.replace('#','');
|
||||
|
||||
if(hash != '' && jQuery.isNumeric(hash)){
|
||||
// Show the hash if it's set
|
||||
loadThesis(hash);
|
||||
// Show the hash if it's set
|
||||
loadThesis(hash);
|
||||
} else {
|
||||
loadThesis(activeThesis+1);
|
||||
loadThesis(activeThesis+1);
|
||||
}
|
||||
});
|
||||
function gotoResultPage(result){
|
||||
});
|
||||
function gotoResultPage(result){
|
||||
count = '<?php echo $count; ?>';
|
||||
if(count != 'true' && count != 'false'){
|
||||
$('#savemodal').modal('show');
|
||||
$('#savemodal').modal('show');
|
||||
} else if(count == 'true') {
|
||||
callResult(true);
|
||||
callResult(true);
|
||||
} else {
|
||||
callResult(false);
|
||||
callResult(false);
|
||||
}
|
||||
}
|
||||
function gotoFAQPage(evt, result){
|
||||
}
|
||||
function gotoFAQPage(evt, result){
|
||||
callPage(evt, 'faq.php?from=mahlowat.php'+window.location.hash, array2str(result), '<?php echo $count; ?>');
|
||||
}
|
||||
function callResult(count){
|
||||
}
|
||||
function callResult(count){
|
||||
ans = array2str(resultArray);
|
||||
if(count){
|
||||
url = "count.php?ans=" + ans;
|
||||
jQuery.get(url,function( data ) {
|
||||
callPage(null, 'result.php', ans, 'true');
|
||||
});
|
||||
url = "count.php?ans=" + ans;
|
||||
jQuery.get(url,function( data ) {
|
||||
callPage(null, 'result.php', ans, 'true');
|
||||
});
|
||||
} else {
|
||||
jQuery.get("count.php?false",function( data ) {
|
||||
callPage(null, 'result.php', ans, 'false');
|
||||
});
|
||||
jQuery.get("count.php?false",function( data ) {
|
||||
callPage(null, 'result.php', ans, 'false');
|
||||
});
|
||||
}
|
||||
}
|
||||
function nextThesis(selection){
|
||||
}
|
||||
function nextThesis(selection){
|
||||
multiply = false;
|
||||
if($('#weight').hasClass('active')){
|
||||
multiply = true;
|
||||
multiply = true;
|
||||
}
|
||||
resultArray[activeThesis] = result2letter(selection, multiply);
|
||||
pagination.eq(activeThesis).removeClass('pagination-yes pagination-neutral pagination-no');
|
||||
pagination.eq(activeThesis).addClass(letter2paginationclass(selection));
|
||||
if(activeThesis+1 < thesesboxes.length){
|
||||
loadThesis(activeThesis+2);
|
||||
loadThesis(activeThesis+2);
|
||||
} else {
|
||||
// call result page
|
||||
gotoResultPage(resultArray);
|
||||
// call result page
|
||||
gotoResultPage(resultArray);
|
||||
}
|
||||
}
|
||||
function loadThesis(number){
|
||||
}
|
||||
function loadThesis(number){
|
||||
if(number > thesesboxes.length){
|
||||
number = 1;
|
||||
number = 1;
|
||||
}
|
||||
activeThesis = number-1;
|
||||
thesesboxes.hide();
|
||||
@@ -247,73 +210,72 @@
|
||||
thesesboxes.eq(number-1).show();
|
||||
pagination.eq(number-1).addClass('active');
|
||||
location.hash = number;
|
||||
}
|
||||
function letter2paginationclass(letter){
|
||||
switch(letter){
|
||||
case 'a':
|
||||
case 'e':
|
||||
return 'pagination-yes';
|
||||
break;
|
||||
case 'b':
|
||||
case 'f':
|
||||
return 'pagination-neutral';
|
||||
break;
|
||||
case 'c':
|
||||
case 'g':
|
||||
return 'pagination-no';
|
||||
break;
|
||||
case 'd':
|
||||
case 'h':
|
||||
return '';
|
||||
break;
|
||||
}
|
||||
}
|
||||
function setClasses(code){
|
||||
function letter2paginationclass(letter){
|
||||
switch(letter){
|
||||
case 'a':
|
||||
case 'e':
|
||||
return 'pagination-yes';
|
||||
break;
|
||||
case 'b':
|
||||
case 'f':
|
||||
return 'pagination-neutral';
|
||||
break;
|
||||
case 'c':
|
||||
case 'g':
|
||||
return 'pagination-no';
|
||||
break;
|
||||
case 'd':
|
||||
case 'h':
|
||||
return '';
|
||||
break;
|
||||
}
|
||||
}
|
||||
function setClasses(code){
|
||||
$('.explic').hide();
|
||||
if(code < 'e'){
|
||||
$('#weight').removeClass('btn-info');
|
||||
$('#weight').addClass('btn-default');
|
||||
$('#weight').removeClass('active');
|
||||
$('#weight').text('These doppelt gewichten');
|
||||
$('#weight').removeClass('btn-info');
|
||||
$('#weight').addClass('btn-default');
|
||||
$('#weight').removeClass('active');
|
||||
$('#weight').text('These doppelt gewichten');
|
||||
} else {
|
||||
$('#weight').addClass('btn-info');
|
||||
$('#weight').removeClass('btn-default');
|
||||
$('#weight').addClass('active');
|
||||
$('#weight').text('These wird doppelt gewichtet');
|
||||
$('#weight').addClass('btn-info');
|
||||
$('#weight').removeClass('btn-default');
|
||||
$('#weight').addClass('active');
|
||||
$('#weight').text('These wird doppelt gewichtet');
|
||||
}
|
||||
switch (code){
|
||||
case 'a':
|
||||
case 'e':
|
||||
$('#yes').addClass('btn-success');
|
||||
$('#neutral').removeClass('btn-warning');
|
||||
$('#no').removeClass('btn-danger');
|
||||
break;
|
||||
case 'b':
|
||||
case 'f':
|
||||
$('#yes').removeClass('btn-success');
|
||||
$('#neutral').addClass('btn-warning');
|
||||
$('#no').removeClass('btn-danger');
|
||||
break;
|
||||
case 'c':
|
||||
case 'g':
|
||||
$('#yes').removeClass('btn-success');
|
||||
$('#neutral').removeClass('btn-warning');
|
||||
$('#no').addClass('btn-danger');
|
||||
break;
|
||||
case 'd':
|
||||
case 'h':
|
||||
$('#yes').addClass('btn-success');
|
||||
$('#neutral').addClass('btn-warning');
|
||||
$('#no').addClass('btn-danger');
|
||||
break;
|
||||
case 'a':
|
||||
case 'e':
|
||||
$('#yes').addClass('btn-success');
|
||||
$('#neutral').removeClass('btn-warning');
|
||||
$('#no').removeClass('btn-danger');
|
||||
break;
|
||||
case 'b':
|
||||
case 'f':
|
||||
$('#yes').removeClass('btn-success');
|
||||
$('#neutral').addClass('btn-warning');
|
||||
$('#no').removeClass('btn-danger');
|
||||
break;
|
||||
case 'c':
|
||||
case 'g':
|
||||
$('#yes').removeClass('btn-success');
|
||||
$('#neutral').removeClass('btn-warning');
|
||||
$('#no').addClass('btn-danger');
|
||||
break;
|
||||
case 'd':
|
||||
case 'h':
|
||||
$('#yes').addClass('btn-success');
|
||||
$('#neutral').addClass('btn-warning');
|
||||
$('#no').addClass('btn-danger');
|
||||
break;
|
||||
}
|
||||
}
|
||||
function setPaginationColors(array){
|
||||
}
|
||||
function setPaginationColors(array){
|
||||
for(i = 0; i < array.length; i++){
|
||||
pagination.eq(i).addClass(letter2paginationclass(array[i]));
|
||||
pagination.eq(i).addClass(letter2paginationclass(array[i]));
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -10,33 +10,6 @@
|
||||
$data = json_decode($data_content, true);
|
||||
|
||||
|
||||
$css = array();
|
||||
$css[0] = "bootstrap.min.css";
|
||||
$css[1] = "cerulean.min.css";
|
||||
$css[2] = "cosmo.min.css";
|
||||
$css[3] = "cyborg.min.css";
|
||||
$css[4] = "darkly.min.css";
|
||||
$css[5] = "flatly.min.css";
|
||||
$css[6] = "journal.min.css";
|
||||
$css[7] = "lumen.min.css";
|
||||
$css[8] = "paper.min.css";
|
||||
$css[9] = "readable.min.css";
|
||||
$css[10] = "sandstone.min.css";
|
||||
$css[11] = "simplex.min.css";
|
||||
$css[12] = "slate.min.css";
|
||||
$css[13] = "spacelab.min.css";
|
||||
$css[14] = "superhero.min.css";
|
||||
$css[15] = "united.min.css";
|
||||
$css[16] = "yeti.min.css";
|
||||
$css[17] = "jef.min.css";
|
||||
$css_id = 17;
|
||||
if (isset($_GET['css'])) {
|
||||
$css_id = intval($_GET['css']);
|
||||
if ($css_id < 0 || $css_id > 16) {
|
||||
$css_id = 0;
|
||||
}
|
||||
}
|
||||
|
||||
//$theses = get_theses_array();
|
||||
$theses = $data['theses'];
|
||||
|
||||
@@ -76,12 +49,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Mahlowat - Ergebnis</title>
|
||||
<title>EUromat - Ergebnis</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta content="">
|
||||
<!--<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">-->
|
||||
<link href="css/<?php echo $css[$css_id];?>" rel="stylesheet" media="screen">
|
||||
|
||||
|
||||
<link href="css/jef.min.css" rel="stylesheet" media="screen">
|
||||
<link rel="stylesheet" href="css/font-awesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
31
result.php
31
result.php
@@ -8,33 +8,6 @@
|
||||
echo "ERROR READING CONFIG";
|
||||
} else {
|
||||
$data = json_decode($data_content, true);
|
||||
|
||||
$css = Array();
|
||||
$css[0] = "bootstrap.min.css";
|
||||
$css[1] = "cerulean.min.css";
|
||||
$css[2] = "cosmo.min.css";
|
||||
$css[3] = "cyborg.min.css";
|
||||
$css[4] = "darkly.min.css";
|
||||
$css[5] = "flatly.min.css";
|
||||
$css[6] = "journal.min.css";
|
||||
$css[7] = "lumen.min.css";
|
||||
$css[8] = "paper.min.css";
|
||||
$css[9] = "readable.min.css";
|
||||
$css[10] = "sandstone.min.css";
|
||||
$css[11] = "simplex.min.css";
|
||||
$css[12] = "slate.min.css";
|
||||
$css[13] = "spacelab.min.css";
|
||||
$css[14] = "superhero.min.css";
|
||||
$css[15] = "united.min.css";
|
||||
$css[16] = "yeti.min.css";
|
||||
$css[17] = "jef.min.css";
|
||||
$css_id = 17;
|
||||
if(isset($_GET['css'])){
|
||||
$css_id = intval($_GET['css']);
|
||||
if($css_id < 0 || $css_id > 16){
|
||||
$css_id = 0;
|
||||
}
|
||||
}
|
||||
|
||||
$theses = $data['theses'];
|
||||
|
||||
@@ -121,8 +94,8 @@
|
||||
<meta property="og:description" content="Mein Mahlowat-Ergebnis"/>
|
||||
|
||||
|
||||
<!--<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">-->
|
||||
<link href="css/<?php echo $css[$css_id];?>" rel="stylesheet" media="screen">
|
||||
|
||||
<link href="css/jef.min.css" rel="stylesheet" media="screen">
|
||||
<link rel="stylesheet" href="css/font-awesome.min.css">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css">
|
||||
|
||||
Reference in New Issue
Block a user