Huge update: Front-end for client fixed.
This commit is contained in:
parent
8418a77e8c
commit
573f678c69
207
assets/css/custom/mithril-datepicker.css
vendored
Normal file
207
assets/css/custom/mithril-datepicker.css
vendored
Normal file
@ -0,0 +1,207 @@
|
||||
/*********************** NO USER-SERVICEABLE PARTS INSIDE ********************** */
|
||||
/******************************************************************************* */
|
||||
.mithril-date-picker-container {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
z-index: 0; }
|
||||
.mithril-date-picker-container.active {
|
||||
z-index: 99999; }
|
||||
|
||||
.mithril-date-picker, .mithril-date-picker * {
|
||||
box-sizing: border-box;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
.mithril-date-picker {
|
||||
margin: 0 4px; }
|
||||
.mithril-date-picker *, .mithril-date-picker .button {
|
||||
font-family: Optima, Helvetica, Arial, sans-serif;
|
||||
outline: none;
|
||||
padding: 0; }
|
||||
.mithril-date-picker .current-date {
|
||||
position: relative;
|
||||
background: #eeeeee;
|
||||
border: 0;
|
||||
color: #555555;
|
||||
padding: .3em 1em;
|
||||
/*font-size: 22px;*/
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
z-index: 1; }
|
||||
.mithril-date-picker .overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: rgba(255, 255, 255, 0.8); }
|
||||
.mithril-date-picker .incoming {
|
||||
opacity: 0; }
|
||||
.mithril-date-picker .editor {
|
||||
position: fixed;
|
||||
/*margin: 0 4px;*/
|
||||
/*margin-top: -35px;*/
|
||||
max-width: 245px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top: -129px;
|
||||
margin-left: -122.5px;
|
||||
height: 0;
|
||||
/*transition: height 0.2s;*/
|
||||
z-index: 1;
|
||||
overflow: hidden; }
|
||||
.mithril-date-picker .editor.active {
|
||||
height: 258px; }
|
||||
.mithril-date-picker .header {
|
||||
position: relative;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
background: #222222;
|
||||
border-radius: 4px;
|
||||
margin-bottom: 4px; }
|
||||
.mithril-date-picker .header .button {
|
||||
position: relative;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
height: 44px;
|
||||
background: none;
|
||||
border: 0;
|
||||
cursor: pointer; }
|
||||
.mithril-date-picker .header .button.prev, .mithril-date-picker .header .button.next {
|
||||
/*min-width: 44px;*/
|
||||
/*font-size: 14.66667px;*/
|
||||
color: white;
|
||||
white-space: nowrap; }
|
||||
.mithril-date-picker .header .button.prev:after, .mithril-date-picker .header .button.next:after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: calc(50% - 6.5px);
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
border-top: 2px solid white;
|
||||
border-right: 2px solid white; }
|
||||
.mithril-date-picker .header .button.prev {
|
||||
padding-left: 17.6px;
|
||||
/*text-align: left;
|
||||
margin-right: auto;*/ }
|
||||
.mithril-date-picker .header .button.prev:after {
|
||||
margin-left: 7.04px;
|
||||
margin-right: auto;
|
||||
left: 0;
|
||||
transform: rotate(-135deg); }
|
||||
.mithril-date-picker .header .button.next {
|
||||
text-align: right;
|
||||
padding-right: 17.6px;
|
||||
/*margin-left: auto;*/ }
|
||||
.mithril-date-picker .header .button.next:after {
|
||||
margin-right: 7.04px;
|
||||
margin-left: auto;
|
||||
right: 0;
|
||||
transform: rotate(45deg); }
|
||||
.mithril-date-picker .header .button-bg {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 63.33333px;
|
||||
height: 80%;
|
||||
background: #999999;
|
||||
transition: 0.2s; }
|
||||
.mithril-date-picker .header .button-bg.v0 {
|
||||
left: 59px;
|
||||
border-top-left-radius: 16px;
|
||||
border-bottom-left-radius: 16px; }
|
||||
.mithril-date-picker .header .button-bg.v1 {
|
||||
left: 122.33333px;
|
||||
border-radius: 0; }
|
||||
.mithril-date-picker .header .button-bg.v2 {
|
||||
left: 185.66667px;
|
||||
border-top-right-radius: 16px;
|
||||
border-bottom-right-radius: 16px; }
|
||||
.mithril-date-picker .header .fake-border {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
width: 190px;
|
||||
height: 80%;
|
||||
transform: translate(-50%, -50%);
|
||||
border: 1px solid #999999;
|
||||
border-radius: 16px; }
|
||||
.mithril-date-picker .header .segment {
|
||||
position: relative;
|
||||
/*width: 15%;*/
|
||||
color: white;
|
||||
/*font-size: 19.55556px;*/ }
|
||||
.mithril-date-picker .sled {
|
||||
position: relative;
|
||||
display: flex;
|
||||
width: 300%;
|
||||
transition: margin-left 0.2s; }
|
||||
.mithril-date-picker .sled.p0 {
|
||||
margin-left: 0; }
|
||||
.mithril-date-picker .sled.p1 {
|
||||
margin-left: -100%; }
|
||||
.mithril-date-picker .sled.p2 {
|
||||
margin-left: -200%; }
|
||||
.mithril-date-picker .calendar {
|
||||
border-radius: 4px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
width: 245px;
|
||||
z-index: 0; }
|
||||
.mithril-date-picker .weekdays, .mithril-date-picker .months {
|
||||
display: flex;
|
||||
flex-wrap: wrap; }
|
||||
.mithril-date-picker .day, .mithril-date-picker .month, .mithril-date-picker .year {
|
||||
position: relative;
|
||||
/*font-size: 17.6px;*/
|
||||
background: #eeeeee;
|
||||
border: 0;
|
||||
color: #555555;
|
||||
cursor: pointer;
|
||||
z-index: 0; }
|
||||
.mithril-date-picker .day:focus, .mithril-date-picker .month:focus, .mithril-date-picker .year:focus {
|
||||
z-index: 1; }
|
||||
.mithril-date-picker .day:hover, .mithril-date-picker .month:hover, .mithril-date-picker .year:hover {
|
||||
background: #d5d5d5; }
|
||||
.mithril-date-picker .day.dummy, .mithril-date-picker .month.dummy, .mithril-date-picker .year.dummy {
|
||||
background: #333333;
|
||||
color: white;
|
||||
border: 0;
|
||||
cursor: default;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center; }
|
||||
.mithril-date-picker .day.dummy:hover, .mithril-date-picker .month.dummy:hover, .mithril-date-picker .year.dummy:hover {
|
||||
background: #333333; }
|
||||
.mithril-date-picker .day .number, .mithril-date-picker .month .number, .mithril-date-picker .year .number {
|
||||
position: relative;
|
||||
z-index: 1; }
|
||||
.mithril-date-picker .day.chosen, .mithril-date-picker .month.chosen, .mithril-date-picker .year.chosen {
|
||||
background: white;
|
||||
border: 2px solid #333333;
|
||||
font-weight: 700; }
|
||||
.mithril-date-picker .day {
|
||||
width: 35px;
|
||||
height: 35px; }
|
||||
.mithril-date-picker .month {
|
||||
width: 25%;
|
||||
height: 60px; }
|
||||
.mithril-date-picker .year {
|
||||
width: 20%;
|
||||
height: 61.6px; }
|
||||
.mithril-date-picker .other-scope {
|
||||
color: #999999; }
|
||||
|
||||
.button {
|
||||
text-align: center;
|
||||
display: table;
|
||||
}
|
||||
|
||||
.button > div {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=style.css.map */
|
8
assets/css/custom/patua-one-font.css
vendored
Normal file
8
assets/css/custom/patua-one-font.css
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: 'Patua One';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Patua One'), local('PatuaOne-Regular'), url(../fonts/yAXhog6uK3bd3OwBILv_SFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
|
||||
}
|
337
assets/css/index.css
vendored
Normal file
337
assets/css/index.css
vendored
Normal file
@ -0,0 +1,337 @@
|
||||
body {
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
background-color: #eceff1;
|
||||
}
|
||||
|
||||
body, html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.flex {
|
||||
flex: 1;
|
||||
-webkit-flex: 1;
|
||||
-moz-flex: 1;
|
||||
-ms-flex: 1;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.flex .constant {
|
||||
-webkit-flex-grow: 1;
|
||||
flex-grow: 1;
|
||||
}
|
||||
|
||||
.pe-radio-group > div {
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
.header-nav {
|
||||
position: fixed;
|
||||
right: 0;
|
||||
padding: 1em;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.header-nav.left {
|
||||
left: 0;
|
||||
right: initial;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
opacity: 0;
|
||||
transition: .5s ease all;
|
||||
}
|
||||
|
||||
.hidden:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.header-img {
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
filter: brightness(30%);
|
||||
-webkit-filter: brightness(30%);
|
||||
position: fixed;
|
||||
}
|
||||
|
||||
.header-title {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.header-content {
|
||||
position: relative;
|
||||
top: 100vh;
|
||||
}
|
||||
|
||||
.workflow-items-wrapper {
|
||||
font-family: "Source Sans Pro", sans-serif;
|
||||
flex-flow: row wrap;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
margin-top: "1em"
|
||||
}
|
||||
|
||||
.workflow-items {
|
||||
width: 15vw;
|
||||
display: table;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.workflow-items div {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
color: #fff;
|
||||
font-size: 10vw;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.workflow-items, .workflow-items-description {
|
||||
margin: 1em;
|
||||
height: 15vw;
|
||||
}
|
||||
|
||||
.workflow-items-description {
|
||||
display: table;
|
||||
}
|
||||
|
||||
.workflow-items-description p {
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
color: #fff;
|
||||
line-height: 2;
|
||||
font-weight: lighter;
|
||||
}
|
||||
|
||||
.info {
|
||||
font-size: smaller;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.pe-textfield__input-area.modified::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pe-textfield__input-area.modified input {
|
||||
border: none;
|
||||
}
|
||||
|
||||
article {
|
||||
padding: 3em 0 0;
|
||||
}
|
||||
|
||||
article .article-title {
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
text-transform: uppercase;
|
||||
font-family: "Patua One", cursive;
|
||||
margin-bottom: 2em;
|
||||
}
|
||||
|
||||
article .article-break {
|
||||
padding: 3em 0;
|
||||
}
|
||||
|
||||
#menu {
|
||||
width: 30%;
|
||||
height: 100%;
|
||||
position: fixed;
|
||||
background-color: #fff;
|
||||
transition: left .3s cubic-bezier(0, 0, .6, 1);
|
||||
-webkit-transition: left .3s cubic-bezier(0, 0, .6, 1);
|
||||
-moz-transition: left .3s cubic-bezier(0, 0, .6, 1);
|
||||
-o-transition: left .3s cubic-bezier(0, 0, .6, 1);
|
||||
z-index: 12;
|
||||
top: 64px;
|
||||
}
|
||||
|
||||
#menu-overlay {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #333;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
#menu-list {
|
||||
overflow-y: auto;
|
||||
height: 80%;
|
||||
}
|
||||
|
||||
.bar1,
|
||||
.bar2,
|
||||
.bar3 {
|
||||
width: 1.5em;
|
||||
height: .2em;
|
||||
background-color: rgb(0, 145, 234);
|
||||
margin: .2em 0;
|
||||
transition: .2s linear;
|
||||
}
|
||||
|
||||
.change .bar1 {
|
||||
transform: translateY(.4em) rotate(-45deg);
|
||||
-webkit-transform: translateY(.4em) rotate(-45deg);
|
||||
-moz-transform: translateY(.4em) rotate(-45deg);
|
||||
-ms-transform: translateY(.4em) rotate(-45deg);
|
||||
-o-transform: translateY(.4em) rotate(-45deg);
|
||||
}
|
||||
|
||||
.change .bar2 {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.change .bar3 {
|
||||
transform: translateY(-0.4em) rotate(45deg);
|
||||
-webkit-transform: translateY(-0.4em) rotate(45deg);
|
||||
-moz-transform: translateY(-0.4em) rotate(45deg);
|
||||
-ms-transform: translateY(-0.4em) rotate(45deg);
|
||||
-o-transform: translateY(-0.4em) rotate(45deg);
|
||||
}
|
||||
|
||||
@media all and (orientation: portrait) {
|
||||
.pe-card {
|
||||
float: none;
|
||||
/*padding: .5em 2em 1em;*/
|
||||
}
|
||||
|
||||
.firstInput {
|
||||
margin-top: 2em;
|
||||
}
|
||||
|
||||
.lastInput {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.flex .box {
|
||||
flex-basis: 50%;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.header-img {
|
||||
max-height: 100vh;
|
||||
}
|
||||
|
||||
.nav-button > span > span {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#editBtn {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (orientation: landscape) {
|
||||
.pe-card {
|
||||
min-width: 23vw;
|
||||
margin: 1em;
|
||||
float: left;
|
||||
padding: 0 1em .5em;
|
||||
}
|
||||
|
||||
.absolute-button {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
margin-top: .5em;
|
||||
}
|
||||
|
||||
#editBtn {
|
||||
margin: .8em;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#title {
|
||||
max-width: 80%;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 640px) {
|
||||
.flex .but {
|
||||
display: block;
|
||||
max-height: 200px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.login-scroll {
|
||||
max-height: 40vh;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.flex > .choices .flex {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.header-title h1 {
|
||||
font-size: 10vw;
|
||||
}
|
||||
|
||||
#header-email {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
#category-menu {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
article {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.too-small-none {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#menu {
|
||||
width: 75%;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (min-width: 720px) {
|
||||
#header-email {
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
article {
|
||||
width: 80%;
|
||||
margin: 0 auto
|
||||
}
|
||||
|
||||
.workflow-items-description p {
|
||||
font-size: 2vw;
|
||||
}
|
||||
|
||||
.wrapper-body {
|
||||
max-width: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-width: 1024px) {
|
||||
.workflow-items {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.workflow-items-description {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.workflow-items-description p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.workflow-items-wrapper {
|
||||
display: block;
|
||||
margin: 1em 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and (max-height: 360px) {
|
||||
.flex .but {
|
||||
max-height: 30vh;
|
||||
}
|
||||
}
|
7
assets/css/vendor/font-awesome/HELP-US-OUT.txt
vendored
Normal file
7
assets/css/vendor/font-awesome/HELP-US-OUT.txt
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
I hope you love Font Awesome. If you've found it useful, please do me a favor and check out my latest project,
|
||||
Fort Awesome (https://fortawesome.com). It makes it easy to put the perfect icons on your website. Choose from our awesome,
|
||||
comprehensive icon sets or copy and paste your own.
|
||||
|
||||
Please. Check it out.
|
||||
|
||||
-Dave Gandy
|
2337
assets/css/vendor/font-awesome/css/font-awesome.css
vendored
Normal file
2337
assets/css/vendor/font-awesome/css/font-awesome.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
4
assets/css/vendor/font-awesome/css/font-awesome.min.css
vendored
Normal file
4
assets/css/vendor/font-awesome/css/font-awesome.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
assets/css/vendor/font-awesome/fonts/FontAwesome.otf
vendored
Normal file
BIN
assets/css/vendor/font-awesome/fonts/FontAwesome.otf
vendored
Normal file
Binary file not shown.
BIN
assets/css/vendor/font-awesome/fonts/fontawesome-webfont.eot
vendored
Normal file
BIN
assets/css/vendor/font-awesome/fonts/fontawesome-webfont.eot
vendored
Normal file
Binary file not shown.
2671
assets/css/vendor/font-awesome/fonts/fontawesome-webfont.svg
vendored
Normal file
2671
assets/css/vendor/font-awesome/fonts/fontawesome-webfont.svg
vendored
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 434 KiB |
BIN
assets/css/vendor/font-awesome/fonts/fontawesome-webfont.ttf
vendored
Normal file
BIN
assets/css/vendor/font-awesome/fonts/fontawesome-webfont.ttf
vendored
Normal file
Binary file not shown.
BIN
assets/css/vendor/font-awesome/fonts/fontawesome-webfont.woff
vendored
Normal file
BIN
assets/css/vendor/font-awesome/fonts/fontawesome-webfont.woff
vendored
Normal file
Binary file not shown.
BIN
assets/css/vendor/font-awesome/fonts/fontawesome-webfont.woff2
vendored
Normal file
BIN
assets/css/vendor/font-awesome/fonts/fontawesome-webfont.woff2
vendored
Normal file
Binary file not shown.
34
assets/css/vendor/font-awesome/less/animated.less
vendored
Normal file
34
assets/css/vendor/font-awesome/less/animated.less
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
// Animated Icons
|
||||
// --------------------------
|
||||
|
||||
.@{fa-css-prefix}-spin {
|
||||
-webkit-animation: fa-spin 2s infinite linear;
|
||||
animation: fa-spin 2s infinite linear;
|
||||
}
|
||||
|
||||
.@{fa-css-prefix}-pulse {
|
||||
-webkit-animation: fa-spin 1s infinite steps(8);
|
||||
animation: fa-spin 1s infinite steps(8);
|
||||
}
|
||||
|
||||
@-webkit-keyframes fa-spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fa-spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
25
assets/css/vendor/font-awesome/less/bordered-pulled.less
vendored
Normal file
25
assets/css/vendor/font-awesome/less/bordered-pulled.less
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
// Bordered & Pulled
|
||||
// -------------------------
|
||||
|
||||
.@{fa-css-prefix}-border {
|
||||
padding: .2em .25em .15em;
|
||||
border: solid .08em @fa-border-color;
|
||||
border-radius: .1em;
|
||||
}
|
||||
|
||||
.@{fa-css-prefix}-pull-left { float: left; }
|
||||
.@{fa-css-prefix}-pull-right { float: right; }
|
||||
|
||||
.@{fa-css-prefix} {
|
||||
&.@{fa-css-prefix}-pull-left { margin-right: .3em; }
|
||||
&.@{fa-css-prefix}-pull-right { margin-left: .3em; }
|
||||
}
|
||||
|
||||
/* Deprecated as of 4.4.0 */
|
||||
.pull-right { float: right; }
|
||||
.pull-left { float: left; }
|
||||
|
||||
.@{fa-css-prefix} {
|
||||
&.pull-left { margin-right: .3em; }
|
||||
&.pull-right { margin-left: .3em; }
|
||||
}
|
12
assets/css/vendor/font-awesome/less/core.less
vendored
Normal file
12
assets/css/vendor/font-awesome/less/core.less
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
// Base Class Definition
|
||||
// -------------------------
|
||||
|
||||
.@{fa-css-prefix} {
|
||||
display: inline-block;
|
||||
font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
|
||||
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
}
|
6
assets/css/vendor/font-awesome/less/fixed-width.less
vendored
Normal file
6
assets/css/vendor/font-awesome/less/fixed-width.less
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
// Fixed Width Icons
|
||||
// -------------------------
|
||||
.@{fa-css-prefix}-fw {
|
||||
width: (18em / 14);
|
||||
text-align: center;
|
||||
}
|
18
assets/css/vendor/font-awesome/less/font-awesome.less
vendored
Normal file
18
assets/css/vendor/font-awesome/less/font-awesome.less
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
/*!
|
||||
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
||||
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||
*/
|
||||
|
||||
@import "variables.less";
|
||||
@import "mixins.less";
|
||||
@import "path.less";
|
||||
@import "core.less";
|
||||
@import "larger.less";
|
||||
@import "fixed-width.less";
|
||||
@import "list.less";
|
||||
@import "bordered-pulled.less";
|
||||
@import "animated.less";
|
||||
@import "rotated-flipped.less";
|
||||
@import "stacked.less";
|
||||
@import "icons.less";
|
||||
@import "screen-reader.less";
|
789
assets/css/vendor/font-awesome/less/icons.less
vendored
Normal file
789
assets/css/vendor/font-awesome/less/icons.less
vendored
Normal file
@ -0,0 +1,789 @@
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
readers do not read off random characters that represent icons */
|
||||
|
||||
.@{fa-css-prefix}-glass:before { content: @fa-var-glass; }
|
||||
.@{fa-css-prefix}-music:before { content: @fa-var-music; }
|
||||
.@{fa-css-prefix}-search:before { content: @fa-var-search; }
|
||||
.@{fa-css-prefix}-envelope-o:before { content: @fa-var-envelope-o; }
|
||||
.@{fa-css-prefix}-heart:before { content: @fa-var-heart; }
|
||||
.@{fa-css-prefix}-star:before { content: @fa-var-star; }
|
||||
.@{fa-css-prefix}-star-o:before { content: @fa-var-star-o; }
|
||||
.@{fa-css-prefix}-user:before { content: @fa-var-user; }
|
||||
.@{fa-css-prefix}-film:before { content: @fa-var-film; }
|
||||
.@{fa-css-prefix}-th-large:before { content: @fa-var-th-large; }
|
||||
.@{fa-css-prefix}-th:before { content: @fa-var-th; }
|
||||
.@{fa-css-prefix}-th-list:before { content: @fa-var-th-list; }
|
||||
.@{fa-css-prefix}-check:before { content: @fa-var-check; }
|
||||
.@{fa-css-prefix}-remove:before,
|
||||
.@{fa-css-prefix}-close:before,
|
||||
.@{fa-css-prefix}-times:before { content: @fa-var-times; }
|
||||
.@{fa-css-prefix}-search-plus:before { content: @fa-var-search-plus; }
|
||||
.@{fa-css-prefix}-search-minus:before { content: @fa-var-search-minus; }
|
||||
.@{fa-css-prefix}-power-off:before { content: @fa-var-power-off; }
|
||||
.@{fa-css-prefix}-signal:before { content: @fa-var-signal; }
|
||||
.@{fa-css-prefix}-gear:before,
|
||||
.@{fa-css-prefix}-cog:before { content: @fa-var-cog; }
|
||||
.@{fa-css-prefix}-trash-o:before { content: @fa-var-trash-o; }
|
||||
.@{fa-css-prefix}-home:before { content: @fa-var-home; }
|
||||
.@{fa-css-prefix}-file-o:before { content: @fa-var-file-o; }
|
||||
.@{fa-css-prefix}-clock-o:before { content: @fa-var-clock-o; }
|
||||
.@{fa-css-prefix}-road:before { content: @fa-var-road; }
|
||||
.@{fa-css-prefix}-download:before { content: @fa-var-download; }
|
||||
.@{fa-css-prefix}-arrow-circle-o-down:before { content: @fa-var-arrow-circle-o-down; }
|
||||
.@{fa-css-prefix}-arrow-circle-o-up:before { content: @fa-var-arrow-circle-o-up; }
|
||||
.@{fa-css-prefix}-inbox:before { content: @fa-var-inbox; }
|
||||
.@{fa-css-prefix}-play-circle-o:before { content: @fa-var-play-circle-o; }
|
||||
.@{fa-css-prefix}-rotate-right:before,
|
||||
.@{fa-css-prefix}-repeat:before { content: @fa-var-repeat; }
|
||||
.@{fa-css-prefix}-refresh:before { content: @fa-var-refresh; }
|
||||
.@{fa-css-prefix}-list-alt:before { content: @fa-var-list-alt; }
|
||||
.@{fa-css-prefix}-lock:before { content: @fa-var-lock; }
|
||||
.@{fa-css-prefix}-flag:before { content: @fa-var-flag; }
|
||||
.@{fa-css-prefix}-headphones:before { content: @fa-var-headphones; }
|
||||
.@{fa-css-prefix}-volume-off:before { content: @fa-var-volume-off; }
|
||||
.@{fa-css-prefix}-volume-down:before { content: @fa-var-volume-down; }
|
||||
.@{fa-css-prefix}-volume-up:before { content: @fa-var-volume-up; }
|
||||
.@{fa-css-prefix}-qrcode:before { content: @fa-var-qrcode; }
|
||||
.@{fa-css-prefix}-barcode:before { content: @fa-var-barcode; }
|
||||
.@{fa-css-prefix}-tag:before { content: @fa-var-tag; }
|
||||
.@{fa-css-prefix}-tags:before { content: @fa-var-tags; }
|
||||
.@{fa-css-prefix}-book:before { content: @fa-var-book; }
|
||||
.@{fa-css-prefix}-bookmark:before { content: @fa-var-bookmark; }
|
||||
.@{fa-css-prefix}-print:before { content: @fa-var-print; }
|
||||
.@{fa-css-prefix}-camera:before { content: @fa-var-camera; }
|
||||
.@{fa-css-prefix}-font:before { content: @fa-var-font; }
|
||||
.@{fa-css-prefix}-bold:before { content: @fa-var-bold; }
|
||||
.@{fa-css-prefix}-italic:before { content: @fa-var-italic; }
|
||||
.@{fa-css-prefix}-text-height:before { content: @fa-var-text-height; }
|
||||
.@{fa-css-prefix}-text-width:before { content: @fa-var-text-width; }
|
||||
.@{fa-css-prefix}-align-left:before { content: @fa-var-align-left; }
|
||||
.@{fa-css-prefix}-align-center:before { content: @fa-var-align-center; }
|
||||
.@{fa-css-prefix}-align-right:before { content: @fa-var-align-right; }
|
||||
.@{fa-css-prefix}-align-justify:before { content: @fa-var-align-justify; }
|
||||
.@{fa-css-prefix}-list:before { content: @fa-var-list; }
|
||||
.@{fa-css-prefix}-dedent:before,
|
||||
.@{fa-css-prefix}-outdent:before { content: @fa-var-outdent; }
|
||||
.@{fa-css-prefix}-indent:before { content: @fa-var-indent; }
|
||||
.@{fa-css-prefix}-video-camera:before { content: @fa-var-video-camera; }
|
||||
.@{fa-css-prefix}-photo:before,
|
||||
.@{fa-css-prefix}-image:before,
|
||||
.@{fa-css-prefix}-picture-o:before { content: @fa-var-picture-o; }
|
||||
.@{fa-css-prefix}-pencil:before { content: @fa-var-pencil; }
|
||||
.@{fa-css-prefix}-map-marker:before { content: @fa-var-map-marker; }
|
||||
.@{fa-css-prefix}-adjust:before { content: @fa-var-adjust; }
|
||||
.@{fa-css-prefix}-tint:before { content: @fa-var-tint; }
|
||||
.@{fa-css-prefix}-edit:before,
|
||||
.@{fa-css-prefix}-pencil-square-o:before { content: @fa-var-pencil-square-o; }
|
||||
.@{fa-css-prefix}-share-square-o:before { content: @fa-var-share-square-o; }
|
||||
.@{fa-css-prefix}-check-square-o:before { content: @fa-var-check-square-o; }
|
||||
.@{fa-css-prefix}-arrows:before { content: @fa-var-arrows; }
|
||||
.@{fa-css-prefix}-step-backward:before { content: @fa-var-step-backward; }
|
||||
.@{fa-css-prefix}-fast-backward:before { content: @fa-var-fast-backward; }
|
||||
.@{fa-css-prefix}-backward:before { content: @fa-var-backward; }
|
||||
.@{fa-css-prefix}-play:before { content: @fa-var-play; }
|
||||
.@{fa-css-prefix}-pause:before { content: @fa-var-pause; }
|
||||
.@{fa-css-prefix}-stop:before { content: @fa-var-stop; }
|
||||
.@{fa-css-prefix}-forward:before { content: @fa-var-forward; }
|
||||
.@{fa-css-prefix}-fast-forward:before { content: @fa-var-fast-forward; }
|
||||
.@{fa-css-prefix}-step-forward:before { content: @fa-var-step-forward; }
|
||||
.@{fa-css-prefix}-eject:before { content: @fa-var-eject; }
|
||||
.@{fa-css-prefix}-chevron-left:before { content: @fa-var-chevron-left; }
|
||||
.@{fa-css-prefix}-chevron-right:before { content: @fa-var-chevron-right; }
|
||||
.@{fa-css-prefix}-plus-circle:before { content: @fa-var-plus-circle; }
|
||||
.@{fa-css-prefix}-minus-circle:before { content: @fa-var-minus-circle; }
|
||||
.@{fa-css-prefix}-times-circle:before { content: @fa-var-times-circle; }
|
||||
.@{fa-css-prefix}-check-circle:before { content: @fa-var-check-circle; }
|
||||
.@{fa-css-prefix}-question-circle:before { content: @fa-var-question-circle; }
|
||||
.@{fa-css-prefix}-info-circle:before { content: @fa-var-info-circle; }
|
||||
.@{fa-css-prefix}-crosshairs:before { content: @fa-var-crosshairs; }
|
||||
.@{fa-css-prefix}-times-circle-o:before { content: @fa-var-times-circle-o; }
|
||||
.@{fa-css-prefix}-check-circle-o:before { content: @fa-var-check-circle-o; }
|
||||
.@{fa-css-prefix}-ban:before { content: @fa-var-ban; }
|
||||
.@{fa-css-prefix}-arrow-left:before { content: @fa-var-arrow-left; }
|
||||
.@{fa-css-prefix}-arrow-right:before { content: @fa-var-arrow-right; }
|
||||
.@{fa-css-prefix}-arrow-up:before { content: @fa-var-arrow-up; }
|
||||
.@{fa-css-prefix}-arrow-down:before { content: @fa-var-arrow-down; }
|
||||
.@{fa-css-prefix}-mail-forward:before,
|
||||
.@{fa-css-prefix}-share:before { content: @fa-var-share; }
|
||||
.@{fa-css-prefix}-expand:before { content: @fa-var-expand; }
|
||||
.@{fa-css-prefix}-compress:before { content: @fa-var-compress; }
|
||||
.@{fa-css-prefix}-plus:before { content: @fa-var-plus; }
|
||||
.@{fa-css-prefix}-minus:before { content: @fa-var-minus; }
|
||||
.@{fa-css-prefix}-asterisk:before { content: @fa-var-asterisk; }
|
||||
.@{fa-css-prefix}-exclamation-circle:before { content: @fa-var-exclamation-circle; }
|
||||
.@{fa-css-prefix}-gift:before { content: @fa-var-gift; }
|
||||
.@{fa-css-prefix}-leaf:before { content: @fa-var-leaf; }
|
||||
.@{fa-css-prefix}-fire:before { content: @fa-var-fire; }
|
||||
.@{fa-css-prefix}-eye:before { content: @fa-var-eye; }
|
||||
.@{fa-css-prefix}-eye-slash:before { content: @fa-var-eye-slash; }
|
||||
.@{fa-css-prefix}-warning:before,
|
||||
.@{fa-css-prefix}-exclamation-triangle:before { content: @fa-var-exclamation-triangle; }
|
||||
.@{fa-css-prefix}-plane:before { content: @fa-var-plane; }
|
||||
.@{fa-css-prefix}-calendar:before { content: @fa-var-calendar; }
|
||||
.@{fa-css-prefix}-random:before { content: @fa-var-random; }
|
||||
.@{fa-css-prefix}-comment:before { content: @fa-var-comment; }
|
||||
.@{fa-css-prefix}-magnet:before { content: @fa-var-magnet; }
|
||||
.@{fa-css-prefix}-chevron-up:before { content: @fa-var-chevron-up; }
|
||||
.@{fa-css-prefix}-chevron-down:before { content: @fa-var-chevron-down; }
|
||||
.@{fa-css-prefix}-retweet:before { content: @fa-var-retweet; }
|
||||
.@{fa-css-prefix}-shopping-cart:before { content: @fa-var-shopping-cart; }
|
||||
.@{fa-css-prefix}-folder:before { content: @fa-var-folder; }
|
||||
.@{fa-css-prefix}-folder-open:before { content: @fa-var-folder-open; }
|
||||
.@{fa-css-prefix}-arrows-v:before { content: @fa-var-arrows-v; }
|
||||
.@{fa-css-prefix}-arrows-h:before { content: @fa-var-arrows-h; }
|
||||
.@{fa-css-prefix}-bar-chart-o:before,
|
||||
.@{fa-css-prefix}-bar-chart:before { content: @fa-var-bar-chart; }
|
||||
.@{fa-css-prefix}-twitter-square:before { content: @fa-var-twitter-square; }
|
||||
.@{fa-css-prefix}-facebook-square:before { content: @fa-var-facebook-square; }
|
||||
.@{fa-css-prefix}-camera-retro:before { content: @fa-var-camera-retro; }
|
||||
.@{fa-css-prefix}-key:before { content: @fa-var-key; }
|
||||
.@{fa-css-prefix}-gears:before,
|
||||
.@{fa-css-prefix}-cogs:before { content: @fa-var-cogs; }
|
||||
.@{fa-css-prefix}-comments:before { content: @fa-var-comments; }
|
||||
.@{fa-css-prefix}-thumbs-o-up:before { content: @fa-var-thumbs-o-up; }
|
||||
.@{fa-css-prefix}-thumbs-o-down:before { content: @fa-var-thumbs-o-down; }
|
||||
.@{fa-css-prefix}-star-half:before { content: @fa-var-star-half; }
|
||||
.@{fa-css-prefix}-heart-o:before { content: @fa-var-heart-o; }
|
||||
.@{fa-css-prefix}-sign-out:before { content: @fa-var-sign-out; }
|
||||
.@{fa-css-prefix}-linkedin-square:before { content: @fa-var-linkedin-square; }
|
||||
.@{fa-css-prefix}-thumb-tack:before { content: @fa-var-thumb-tack; }
|
||||
.@{fa-css-prefix}-external-link:before { content: @fa-var-external-link; }
|
||||
.@{fa-css-prefix}-sign-in:before { content: @fa-var-sign-in; }
|
||||
.@{fa-css-prefix}-trophy:before { content: @fa-var-trophy; }
|
||||
.@{fa-css-prefix}-github-square:before { content: @fa-var-github-square; }
|
||||
.@{fa-css-prefix}-upload:before { content: @fa-var-upload; }
|
||||
.@{fa-css-prefix}-lemon-o:before { content: @fa-var-lemon-o; }
|
||||
.@{fa-css-prefix}-phone:before { content: @fa-var-phone; }
|
||||
.@{fa-css-prefix}-square-o:before { content: @fa-var-square-o; }
|
||||
.@{fa-css-prefix}-bookmark-o:before { content: @fa-var-bookmark-o; }
|
||||
.@{fa-css-prefix}-phone-square:before { content: @fa-var-phone-square; }
|
||||
.@{fa-css-prefix}-twitter:before { content: @fa-var-twitter; }
|
||||
.@{fa-css-prefix}-facebook-f:before,
|
||||
.@{fa-css-prefix}-facebook:before { content: @fa-var-facebook; }
|
||||
.@{fa-css-prefix}-github:before { content: @fa-var-github; }
|
||||
.@{fa-css-prefix}-unlock:before { content: @fa-var-unlock; }
|
||||
.@{fa-css-prefix}-credit-card:before { content: @fa-var-credit-card; }
|
||||
.@{fa-css-prefix}-feed:before,
|
||||
.@{fa-css-prefix}-rss:before { content: @fa-var-rss; }
|
||||
.@{fa-css-prefix}-hdd-o:before { content: @fa-var-hdd-o; }
|
||||
.@{fa-css-prefix}-bullhorn:before { content: @fa-var-bullhorn; }
|
||||
.@{fa-css-prefix}-bell:before { content: @fa-var-bell; }
|
||||
.@{fa-css-prefix}-certificate:before { content: @fa-var-certificate; }
|
||||
.@{fa-css-prefix}-hand-o-right:before { content: @fa-var-hand-o-right; }
|
||||
.@{fa-css-prefix}-hand-o-left:before { content: @fa-var-hand-o-left; }
|
||||
.@{fa-css-prefix}-hand-o-up:before { content: @fa-var-hand-o-up; }
|
||||
.@{fa-css-prefix}-hand-o-down:before { content: @fa-var-hand-o-down; }
|
||||
.@{fa-css-prefix}-arrow-circle-left:before { content: @fa-var-arrow-circle-left; }
|
||||
.@{fa-css-prefix}-arrow-circle-right:before { content: @fa-var-arrow-circle-right; }
|
||||
.@{fa-css-prefix}-arrow-circle-up:before { content: @fa-var-arrow-circle-up; }
|
||||
.@{fa-css-prefix}-arrow-circle-down:before { content: @fa-var-arrow-circle-down; }
|
||||
.@{fa-css-prefix}-globe:before { content: @fa-var-globe; }
|
||||
.@{fa-css-prefix}-wrench:before { content: @fa-var-wrench; }
|
||||
.@{fa-css-prefix}-tasks:before { content: @fa-var-tasks; }
|
||||
.@{fa-css-prefix}-filter:before { content: @fa-var-filter; }
|
||||
.@{fa-css-prefix}-briefcase:before { content: @fa-var-briefcase; }
|
||||
.@{fa-css-prefix}-arrows-alt:before { content: @fa-var-arrows-alt; }
|
||||
.@{fa-css-prefix}-group:before,
|
||||
.@{fa-css-prefix}-users:before { content: @fa-var-users; }
|
||||
.@{fa-css-prefix}-chain:before,
|
||||
.@{fa-css-prefix}-link:before { content: @fa-var-link; }
|
||||
.@{fa-css-prefix}-cloud:before { content: @fa-var-cloud; }
|
||||
.@{fa-css-prefix}-flask:before { content: @fa-var-flask; }
|
||||
.@{fa-css-prefix}-cut:before,
|
||||
.@{fa-css-prefix}-scissors:before { content: @fa-var-scissors; }
|
||||
.@{fa-css-prefix}-copy:before,
|
||||
.@{fa-css-prefix}-files-o:before { content: @fa-var-files-o; }
|
||||
.@{fa-css-prefix}-paperclip:before { content: @fa-var-paperclip; }
|
||||
.@{fa-css-prefix}-save:before,
|
||||
.@{fa-css-prefix}-floppy-o:before { content: @fa-var-floppy-o; }
|
||||
.@{fa-css-prefix}-square:before { content: @fa-var-square; }
|
||||
.@{fa-css-prefix}-navicon:before,
|
||||
.@{fa-css-prefix}-reorder:before,
|
||||
.@{fa-css-prefix}-bars:before { content: @fa-var-bars; }
|
||||
.@{fa-css-prefix}-list-ul:before { content: @fa-var-list-ul; }
|
||||
.@{fa-css-prefix}-list-ol:before { content: @fa-var-list-ol; }
|
||||
.@{fa-css-prefix}-strikethrough:before { content: @fa-var-strikethrough; }
|
||||
.@{fa-css-prefix}-underline:before { content: @fa-var-underline; }
|
||||
.@{fa-css-prefix}-table:before { content: @fa-var-table; }
|
||||
.@{fa-css-prefix}-magic:before { content: @fa-var-magic; }
|
||||
.@{fa-css-prefix}-truck:before { content: @fa-var-truck; }
|
||||
.@{fa-css-prefix}-pinterest:before { content: @fa-var-pinterest; }
|
||||
.@{fa-css-prefix}-pinterest-square:before { content: @fa-var-pinterest-square; }
|
||||
.@{fa-css-prefix}-google-plus-square:before { content: @fa-var-google-plus-square; }
|
||||
.@{fa-css-prefix}-google-plus:before { content: @fa-var-google-plus; }
|
||||
.@{fa-css-prefix}-money:before { content: @fa-var-money; }
|
||||
.@{fa-css-prefix}-caret-down:before { content: @fa-var-caret-down; }
|
||||
.@{fa-css-prefix}-caret-up:before { content: @fa-var-caret-up; }
|
||||
.@{fa-css-prefix}-caret-left:before { content: @fa-var-caret-left; }
|
||||
.@{fa-css-prefix}-caret-right:before { content: @fa-var-caret-right; }
|
||||
.@{fa-css-prefix}-columns:before { content: @fa-var-columns; }
|
||||
.@{fa-css-prefix}-unsorted:before,
|
||||
.@{fa-css-prefix}-sort:before { content: @fa-var-sort; }
|
||||
.@{fa-css-prefix}-sort-down:before,
|
||||
.@{fa-css-prefix}-sort-desc:before { content: @fa-var-sort-desc; }
|
||||
.@{fa-css-prefix}-sort-up:before,
|
||||
.@{fa-css-prefix}-sort-asc:before { content: @fa-var-sort-asc; }
|
||||
.@{fa-css-prefix}-envelope:before { content: @fa-var-envelope; }
|
||||
.@{fa-css-prefix}-linkedin:before { content: @fa-var-linkedin; }
|
||||
.@{fa-css-prefix}-rotate-left:before,
|
||||
.@{fa-css-prefix}-undo:before { content: @fa-var-undo; }
|
||||
.@{fa-css-prefix}-legal:before,
|
||||
.@{fa-css-prefix}-gavel:before { content: @fa-var-gavel; }
|
||||
.@{fa-css-prefix}-dashboard:before,
|
||||
.@{fa-css-prefix}-tachometer:before { content: @fa-var-tachometer; }
|
||||
.@{fa-css-prefix}-comment-o:before { content: @fa-var-comment-o; }
|
||||
.@{fa-css-prefix}-comments-o:before { content: @fa-var-comments-o; }
|
||||
.@{fa-css-prefix}-flash:before,
|
||||
.@{fa-css-prefix}-bolt:before { content: @fa-var-bolt; }
|
||||
.@{fa-css-prefix}-sitemap:before { content: @fa-var-sitemap; }
|
||||
.@{fa-css-prefix}-umbrella:before { content: @fa-var-umbrella; }
|
||||
.@{fa-css-prefix}-paste:before,
|
||||
.@{fa-css-prefix}-clipboard:before { content: @fa-var-clipboard; }
|
||||
.@{fa-css-prefix}-lightbulb-o:before { content: @fa-var-lightbulb-o; }
|
||||
.@{fa-css-prefix}-exchange:before { content: @fa-var-exchange; }
|
||||
.@{fa-css-prefix}-cloud-download:before { content: @fa-var-cloud-download; }
|
||||
.@{fa-css-prefix}-cloud-upload:before { content: @fa-var-cloud-upload; }
|
||||
.@{fa-css-prefix}-user-md:before { content: @fa-var-user-md; }
|
||||
.@{fa-css-prefix}-stethoscope:before { content: @fa-var-stethoscope; }
|
||||
.@{fa-css-prefix}-suitcase:before { content: @fa-var-suitcase; }
|
||||
.@{fa-css-prefix}-bell-o:before { content: @fa-var-bell-o; }
|
||||
.@{fa-css-prefix}-coffee:before { content: @fa-var-coffee; }
|
||||
.@{fa-css-prefix}-cutlery:before { content: @fa-var-cutlery; }
|
||||
.@{fa-css-prefix}-file-text-o:before { content: @fa-var-file-text-o; }
|
||||
.@{fa-css-prefix}-building-o:before { content: @fa-var-building-o; }
|
||||
.@{fa-css-prefix}-hospital-o:before { content: @fa-var-hospital-o; }
|
||||
.@{fa-css-prefix}-ambulance:before { content: @fa-var-ambulance; }
|
||||
.@{fa-css-prefix}-medkit:before { content: @fa-var-medkit; }
|
||||
.@{fa-css-prefix}-fighter-jet:before { content: @fa-var-fighter-jet; }
|
||||
.@{fa-css-prefix}-beer:before { content: @fa-var-beer; }
|
||||
.@{fa-css-prefix}-h-square:before { content: @fa-var-h-square; }
|
||||
.@{fa-css-prefix}-plus-square:before { content: @fa-var-plus-square; }
|
||||
.@{fa-css-prefix}-angle-double-left:before { content: @fa-var-angle-double-left; }
|
||||
.@{fa-css-prefix}-angle-double-right:before { content: @fa-var-angle-double-right; }
|
||||
.@{fa-css-prefix}-angle-double-up:before { content: @fa-var-angle-double-up; }
|
||||
.@{fa-css-prefix}-angle-double-down:before { content: @fa-var-angle-double-down; }
|
||||
.@{fa-css-prefix}-angle-left:before { content: @fa-var-angle-left; }
|
||||
.@{fa-css-prefix}-angle-right:before { content: @fa-var-angle-right; }
|
||||
.@{fa-css-prefix}-angle-up:before { content: @fa-var-angle-up; }
|
||||
.@{fa-css-prefix}-angle-down:before { content: @fa-var-angle-down; }
|
||||
.@{fa-css-prefix}-desktop:before { content: @fa-var-desktop; }
|
||||
.@{fa-css-prefix}-laptop:before { content: @fa-var-laptop; }
|
||||
.@{fa-css-prefix}-tablet:before { content: @fa-var-tablet; }
|
||||
.@{fa-css-prefix}-mobile-phone:before,
|
||||
.@{fa-css-prefix}-mobile:before { content: @fa-var-mobile; }
|
||||
.@{fa-css-prefix}-circle-o:before { content: @fa-var-circle-o; }
|
||||
.@{fa-css-prefix}-quote-left:before { content: @fa-var-quote-left; }
|
||||
.@{fa-css-prefix}-quote-right:before { content: @fa-var-quote-right; }
|
||||
.@{fa-css-prefix}-spinner:before { content: @fa-var-spinner; }
|
||||
.@{fa-css-prefix}-circle:before { content: @fa-var-circle; }
|
||||
.@{fa-css-prefix}-mail-reply:before,
|
||||
.@{fa-css-prefix}-reply:before { content: @fa-var-reply; }
|
||||
.@{fa-css-prefix}-github-alt:before { content: @fa-var-github-alt; }
|
||||
.@{fa-css-prefix}-folder-o:before { content: @fa-var-folder-o; }
|
||||
.@{fa-css-prefix}-folder-open-o:before { content: @fa-var-folder-open-o; }
|
||||
.@{fa-css-prefix}-smile-o:before { content: @fa-var-smile-o; }
|
||||
.@{fa-css-prefix}-frown-o:before { content: @fa-var-frown-o; }
|
||||
.@{fa-css-prefix}-meh-o:before { content: @fa-var-meh-o; }
|
||||
.@{fa-css-prefix}-gamepad:before { content: @fa-var-gamepad; }
|
||||
.@{fa-css-prefix}-keyboard-o:before { content: @fa-var-keyboard-o; }
|
||||
.@{fa-css-prefix}-flag-o:before { content: @fa-var-flag-o; }
|
||||
.@{fa-css-prefix}-flag-checkered:before { content: @fa-var-flag-checkered; }
|
||||
.@{fa-css-prefix}-terminal:before { content: @fa-var-terminal; }
|
||||
.@{fa-css-prefix}-code:before { content: @fa-var-code; }
|
||||
.@{fa-css-prefix}-mail-reply-all:before,
|
||||
.@{fa-css-prefix}-reply-all:before { content: @fa-var-reply-all; }
|
||||
.@{fa-css-prefix}-star-half-empty:before,
|
||||
.@{fa-css-prefix}-star-half-full:before,
|
||||
.@{fa-css-prefix}-star-half-o:before { content: @fa-var-star-half-o; }
|
||||
.@{fa-css-prefix}-location-arrow:before { content: @fa-var-location-arrow; }
|
||||
.@{fa-css-prefix}-crop:before { content: @fa-var-crop; }
|
||||
.@{fa-css-prefix}-code-fork:before { content: @fa-var-code-fork; }
|
||||
.@{fa-css-prefix}-unlink:before,
|
||||
.@{fa-css-prefix}-chain-broken:before { content: @fa-var-chain-broken; }
|
||||
.@{fa-css-prefix}-question:before { content: @fa-var-question; }
|
||||
.@{fa-css-prefix}-info:before { content: @fa-var-info; }
|
||||
.@{fa-css-prefix}-exclamation:before { content: @fa-var-exclamation; }
|
||||
.@{fa-css-prefix}-superscript:before { content: @fa-var-superscript; }
|
||||
.@{fa-css-prefix}-subscript:before { content: @fa-var-subscript; }
|
||||
.@{fa-css-prefix}-eraser:before { content: @fa-var-eraser; }
|
||||
.@{fa-css-prefix}-puzzle-piece:before { content: @fa-var-puzzle-piece; }
|
||||
.@{fa-css-prefix}-microphone:before { content: @fa-var-microphone; }
|
||||
.@{fa-css-prefix}-microphone-slash:before { content: @fa-var-microphone-slash; }
|
||||
.@{fa-css-prefix}-shield:before { content: @fa-var-shield; }
|
||||
.@{fa-css-prefix}-calendar-o:before { content: @fa-var-calendar-o; }
|
||||
.@{fa-css-prefix}-fire-extinguisher:before { content: @fa-var-fire-extinguisher; }
|
||||
.@{fa-css-prefix}-rocket:before { content: @fa-var-rocket; }
|
||||
.@{fa-css-prefix}-maxcdn:before { content: @fa-var-maxcdn; }
|
||||
.@{fa-css-prefix}-chevron-circle-left:before { content: @fa-var-chevron-circle-left; }
|
||||
.@{fa-css-prefix}-chevron-circle-right:before { content: @fa-var-chevron-circle-right; }
|
||||
.@{fa-css-prefix}-chevron-circle-up:before { content: @fa-var-chevron-circle-up; }
|
||||
.@{fa-css-prefix}-chevron-circle-down:before { content: @fa-var-chevron-circle-down; }
|
||||
.@{fa-css-prefix}-html5:before { content: @fa-var-html5; }
|
||||
.@{fa-css-prefix}-css3:before { content: @fa-var-css3; }
|
||||
.@{fa-css-prefix}-anchor:before { content: @fa-var-anchor; }
|
||||
.@{fa-css-prefix}-unlock-alt:before { content: @fa-var-unlock-alt; }
|
||||
.@{fa-css-prefix}-bullseye:before { content: @fa-var-bullseye; }
|
||||
.@{fa-css-prefix}-ellipsis-h:before { content: @fa-var-ellipsis-h; }
|
||||
.@{fa-css-prefix}-ellipsis-v:before { content: @fa-var-ellipsis-v; }
|
||||
.@{fa-css-prefix}-rss-square:before { content: @fa-var-rss-square; }
|
||||
.@{fa-css-prefix}-play-circle:before { content: @fa-var-play-circle; }
|
||||
.@{fa-css-prefix}-ticket:before { content: @fa-var-ticket; }
|
||||
.@{fa-css-prefix}-minus-square:before { content: @fa-var-minus-square; }
|
||||
.@{fa-css-prefix}-minus-square-o:before { content: @fa-var-minus-square-o; }
|
||||
.@{fa-css-prefix}-level-up:before { content: @fa-var-level-up; }
|
||||
.@{fa-css-prefix}-level-down:before { content: @fa-var-level-down; }
|
||||
.@{fa-css-prefix}-check-square:before { content: @fa-var-check-square; }
|
||||
.@{fa-css-prefix}-pencil-square:before { content: @fa-var-pencil-square; }
|
||||
.@{fa-css-prefix}-external-link-square:before { content: @fa-var-external-link-square; }
|
||||
.@{fa-css-prefix}-share-square:before { content: @fa-var-share-square; }
|
||||
.@{fa-css-prefix}-compass:before { content: @fa-var-compass; }
|
||||
.@{fa-css-prefix}-toggle-down:before,
|
||||
.@{fa-css-prefix}-caret-square-o-down:before { content: @fa-var-caret-square-o-down; }
|
||||
.@{fa-css-prefix}-toggle-up:before,
|
||||
.@{fa-css-prefix}-caret-square-o-up:before { content: @fa-var-caret-square-o-up; }
|
||||
.@{fa-css-prefix}-toggle-right:before,
|
||||
.@{fa-css-prefix}-caret-square-o-right:before { content: @fa-var-caret-square-o-right; }
|
||||
.@{fa-css-prefix}-euro:before,
|
||||
.@{fa-css-prefix}-eur:before { content: @fa-var-eur; }
|
||||
.@{fa-css-prefix}-gbp:before { content: @fa-var-gbp; }
|
||||
.@{fa-css-prefix}-dollar:before,
|
||||
.@{fa-css-prefix}-usd:before { content: @fa-var-usd; }
|
||||
.@{fa-css-prefix}-rupee:before,
|
||||
.@{fa-css-prefix}-inr:before { content: @fa-var-inr; }
|
||||
.@{fa-css-prefix}-cny:before,
|
||||
.@{fa-css-prefix}-rmb:before,
|
||||
.@{fa-css-prefix}-yen:before,
|
||||
.@{fa-css-prefix}-jpy:before { content: @fa-var-jpy; }
|
||||
.@{fa-css-prefix}-ruble:before,
|
||||
.@{fa-css-prefix}-rouble:before,
|
||||
.@{fa-css-prefix}-rub:before { content: @fa-var-rub; }
|
||||
.@{fa-css-prefix}-won:before,
|
||||
.@{fa-css-prefix}-krw:before { content: @fa-var-krw; }
|
||||
.@{fa-css-prefix}-bitcoin:before,
|
||||
.@{fa-css-prefix}-btc:before { content: @fa-var-btc; }
|
||||
.@{fa-css-prefix}-file:before { content: @fa-var-file; }
|
||||
.@{fa-css-prefix}-file-text:before { content: @fa-var-file-text; }
|
||||
.@{fa-css-prefix}-sort-alpha-asc:before { content: @fa-var-sort-alpha-asc; }
|
||||
.@{fa-css-prefix}-sort-alpha-desc:before { content: @fa-var-sort-alpha-desc; }
|
||||
.@{fa-css-prefix}-sort-amount-asc:before { content: @fa-var-sort-amount-asc; }
|
||||
.@{fa-css-prefix}-sort-amount-desc:before { content: @fa-var-sort-amount-desc; }
|
||||
.@{fa-css-prefix}-sort-numeric-asc:before { content: @fa-var-sort-numeric-asc; }
|
||||
.@{fa-css-prefix}-sort-numeric-desc:before { content: @fa-var-sort-numeric-desc; }
|
||||
.@{fa-css-prefix}-thumbs-up:before { content: @fa-var-thumbs-up; }
|
||||
.@{fa-css-prefix}-thumbs-down:before { content: @fa-var-thumbs-down; }
|
||||
.@{fa-css-prefix}-youtube-square:before { content: @fa-var-youtube-square; }
|
||||
.@{fa-css-prefix}-youtube:before { content: @fa-var-youtube; }
|
||||
.@{fa-css-prefix}-xing:before { content: @fa-var-xing; }
|
||||
.@{fa-css-prefix}-xing-square:before { content: @fa-var-xing-square; }
|
||||
.@{fa-css-prefix}-youtube-play:before { content: @fa-var-youtube-play; }
|
||||
.@{fa-css-prefix}-dropbox:before { content: @fa-var-dropbox; }
|
||||
.@{fa-css-prefix}-stack-overflow:before { content: @fa-var-stack-overflow; }
|
||||
.@{fa-css-prefix}-instagram:before { content: @fa-var-instagram; }
|
||||
.@{fa-css-prefix}-flickr:before { content: @fa-var-flickr; }
|
||||
.@{fa-css-prefix}-adn:before { content: @fa-var-adn; }
|
||||
.@{fa-css-prefix}-bitbucket:before { content: @fa-var-bitbucket; }
|
||||
.@{fa-css-prefix}-bitbucket-square:before { content: @fa-var-bitbucket-square; }
|
||||
.@{fa-css-prefix}-tumblr:before { content: @fa-var-tumblr; }
|
||||
.@{fa-css-prefix}-tumblr-square:before { content: @fa-var-tumblr-square; }
|
||||
.@{fa-css-prefix}-long-arrow-down:before { content: @fa-var-long-arrow-down; }
|
||||
.@{fa-css-prefix}-long-arrow-up:before { content: @fa-var-long-arrow-up; }
|
||||
.@{fa-css-prefix}-long-arrow-left:before { content: @fa-var-long-arrow-left; }
|
||||
.@{fa-css-prefix}-long-arrow-right:before { content: @fa-var-long-arrow-right; }
|
||||
.@{fa-css-prefix}-apple:before { content: @fa-var-apple; }
|
||||
.@{fa-css-prefix}-windows:before { content: @fa-var-windows; }
|
||||
.@{fa-css-prefix}-android:before { content: @fa-var-android; }
|
||||
.@{fa-css-prefix}-linux:before { content: @fa-var-linux; }
|
||||
.@{fa-css-prefix}-dribbble:before { content: @fa-var-dribbble; }
|
||||
.@{fa-css-prefix}-skype:before { content: @fa-var-skype; }
|
||||
.@{fa-css-prefix}-foursquare:before { content: @fa-var-foursquare; }
|
||||
.@{fa-css-prefix}-trello:before { content: @fa-var-trello; }
|
||||
.@{fa-css-prefix}-female:before { content: @fa-var-female; }
|
||||
.@{fa-css-prefix}-male:before { content: @fa-var-male; }
|
||||
.@{fa-css-prefix}-gittip:before,
|
||||
.@{fa-css-prefix}-gratipay:before { content: @fa-var-gratipay; }
|
||||
.@{fa-css-prefix}-sun-o:before { content: @fa-var-sun-o; }
|
||||
.@{fa-css-prefix}-moon-o:before { content: @fa-var-moon-o; }
|
||||
.@{fa-css-prefix}-archive:before { content: @fa-var-archive; }
|
||||
.@{fa-css-prefix}-bug:before { content: @fa-var-bug; }
|
||||
.@{fa-css-prefix}-vk:before { content: @fa-var-vk; }
|
||||
.@{fa-css-prefix}-weibo:before { content: @fa-var-weibo; }
|
||||
.@{fa-css-prefix}-renren:before { content: @fa-var-renren; }
|
||||
.@{fa-css-prefix}-pagelines:before { content: @fa-var-pagelines; }
|
||||
.@{fa-css-prefix}-stack-exchange:before { content: @fa-var-stack-exchange; }
|
||||
.@{fa-css-prefix}-arrow-circle-o-right:before { content: @fa-var-arrow-circle-o-right; }
|
||||
.@{fa-css-prefix}-arrow-circle-o-left:before { content: @fa-var-arrow-circle-o-left; }
|
||||
.@{fa-css-prefix}-toggle-left:before,
|
||||
.@{fa-css-prefix}-caret-square-o-left:before { content: @fa-var-caret-square-o-left; }
|
||||
.@{fa-css-prefix}-dot-circle-o:before { content: @fa-var-dot-circle-o; }
|
||||
.@{fa-css-prefix}-wheelchair:before { content: @fa-var-wheelchair; }
|
||||
.@{fa-css-prefix}-vimeo-square:before { content: @fa-var-vimeo-square; }
|
||||
.@{fa-css-prefix}-turkish-lira:before,
|
||||
.@{fa-css-prefix}-try:before { content: @fa-var-try; }
|
||||
.@{fa-css-prefix}-plus-square-o:before { content: @fa-var-plus-square-o; }
|
||||
.@{fa-css-prefix}-space-shuttle:before { content: @fa-var-space-shuttle; }
|
||||
.@{fa-css-prefix}-slack:before { content: @fa-var-slack; }
|
||||
.@{fa-css-prefix}-envelope-square:before { content: @fa-var-envelope-square; }
|
||||
.@{fa-css-prefix}-wordpress:before { content: @fa-var-wordpress; }
|
||||
.@{fa-css-prefix}-openid:before { content: @fa-var-openid; }
|
||||
.@{fa-css-prefix}-institution:before,
|
||||
.@{fa-css-prefix}-bank:before,
|
||||
.@{fa-css-prefix}-university:before { content: @fa-var-university; }
|
||||
.@{fa-css-prefix}-mortar-board:before,
|
||||
.@{fa-css-prefix}-graduation-cap:before { content: @fa-var-graduation-cap; }
|
||||
.@{fa-css-prefix}-yahoo:before { content: @fa-var-yahoo; }
|
||||
.@{fa-css-prefix}-google:before { content: @fa-var-google; }
|
||||
.@{fa-css-prefix}-reddit:before { content: @fa-var-reddit; }
|
||||
.@{fa-css-prefix}-reddit-square:before { content: @fa-var-reddit-square; }
|
||||
.@{fa-css-prefix}-stumbleupon-circle:before { content: @fa-var-stumbleupon-circle; }
|
||||
.@{fa-css-prefix}-stumbleupon:before { content: @fa-var-stumbleupon; }
|
||||
.@{fa-css-prefix}-delicious:before { content: @fa-var-delicious; }
|
||||
.@{fa-css-prefix}-digg:before { content: @fa-var-digg; }
|
||||
.@{fa-css-prefix}-pied-piper-pp:before { content: @fa-var-pied-piper-pp; }
|
||||
.@{fa-css-prefix}-pied-piper-alt:before { content: @fa-var-pied-piper-alt; }
|
||||
.@{fa-css-prefix}-drupal:before { content: @fa-var-drupal; }
|
||||
.@{fa-css-prefix}-joomla:before { content: @fa-var-joomla; }
|
||||
.@{fa-css-prefix}-language:before { content: @fa-var-language; }
|
||||
.@{fa-css-prefix}-fax:before { content: @fa-var-fax; }
|
||||
.@{fa-css-prefix}-building:before { content: @fa-var-building; }
|
||||
.@{fa-css-prefix}-child:before { content: @fa-var-child; }
|
||||
.@{fa-css-prefix}-paw:before { content: @fa-var-paw; }
|
||||
.@{fa-css-prefix}-spoon:before { content: @fa-var-spoon; }
|
||||
.@{fa-css-prefix}-cube:before { content: @fa-var-cube; }
|
||||
.@{fa-css-prefix}-cubes:before { content: @fa-var-cubes; }
|
||||
.@{fa-css-prefix}-behance:before { content: @fa-var-behance; }
|
||||
.@{fa-css-prefix}-behance-square:before { content: @fa-var-behance-square; }
|
||||
.@{fa-css-prefix}-steam:before { content: @fa-var-steam; }
|
||||
.@{fa-css-prefix}-steam-square:before { content: @fa-var-steam-square; }
|
||||
.@{fa-css-prefix}-recycle:before { content: @fa-var-recycle; }
|
||||
.@{fa-css-prefix}-automobile:before,
|
||||
.@{fa-css-prefix}-car:before { content: @fa-var-car; }
|
||||
.@{fa-css-prefix}-cab:before,
|
||||
.@{fa-css-prefix}-taxi:before { content: @fa-var-taxi; }
|
||||
.@{fa-css-prefix}-tree:before { content: @fa-var-tree; }
|
||||
.@{fa-css-prefix}-spotify:before { content: @fa-var-spotify; }
|
||||
.@{fa-css-prefix}-deviantart:before { content: @fa-var-deviantart; }
|
||||
.@{fa-css-prefix}-soundcloud:before { content: @fa-var-soundcloud; }
|
||||
.@{fa-css-prefix}-database:before { content: @fa-var-database; }
|
||||
.@{fa-css-prefix}-file-pdf-o:before { content: @fa-var-file-pdf-o; }
|
||||
.@{fa-css-prefix}-file-word-o:before { content: @fa-var-file-word-o; }
|
||||
.@{fa-css-prefix}-file-excel-o:before { content: @fa-var-file-excel-o; }
|
||||
.@{fa-css-prefix}-file-powerpoint-o:before { content: @fa-var-file-powerpoint-o; }
|
||||
.@{fa-css-prefix}-file-photo-o:before,
|
||||
.@{fa-css-prefix}-file-picture-o:before,
|
||||
.@{fa-css-prefix}-file-image-o:before { content: @fa-var-file-image-o; }
|
||||
.@{fa-css-prefix}-file-zip-o:before,
|
||||
.@{fa-css-prefix}-file-archive-o:before { content: @fa-var-file-archive-o; }
|
||||
.@{fa-css-prefix}-file-sound-o:before,
|
||||
.@{fa-css-prefix}-file-audio-o:before { content: @fa-var-file-audio-o; }
|
||||
.@{fa-css-prefix}-file-movie-o:before,
|
||||
.@{fa-css-prefix}-file-video-o:before { content: @fa-var-file-video-o; }
|
||||
.@{fa-css-prefix}-file-code-o:before { content: @fa-var-file-code-o; }
|
||||
.@{fa-css-prefix}-vine:before { content: @fa-var-vine; }
|
||||
.@{fa-css-prefix}-codepen:before { content: @fa-var-codepen; }
|
||||
.@{fa-css-prefix}-jsfiddle:before { content: @fa-var-jsfiddle; }
|
||||
.@{fa-css-prefix}-life-bouy:before,
|
||||
.@{fa-css-prefix}-life-buoy:before,
|
||||
.@{fa-css-prefix}-life-saver:before,
|
||||
.@{fa-css-prefix}-support:before,
|
||||
.@{fa-css-prefix}-life-ring:before { content: @fa-var-life-ring; }
|
||||
.@{fa-css-prefix}-circle-o-notch:before { content: @fa-var-circle-o-notch; }
|
||||
.@{fa-css-prefix}-ra:before,
|
||||
.@{fa-css-prefix}-resistance:before,
|
||||
.@{fa-css-prefix}-rebel:before { content: @fa-var-rebel; }
|
||||
.@{fa-css-prefix}-ge:before,
|
||||
.@{fa-css-prefix}-empire:before { content: @fa-var-empire; }
|
||||
.@{fa-css-prefix}-git-square:before { content: @fa-var-git-square; }
|
||||
.@{fa-css-prefix}-git:before { content: @fa-var-git; }
|
||||
.@{fa-css-prefix}-y-combinator-square:before,
|
||||
.@{fa-css-prefix}-yc-square:before,
|
||||
.@{fa-css-prefix}-hacker-news:before { content: @fa-var-hacker-news; }
|
||||
.@{fa-css-prefix}-tencent-weibo:before { content: @fa-var-tencent-weibo; }
|
||||
.@{fa-css-prefix}-qq:before { content: @fa-var-qq; }
|
||||
.@{fa-css-prefix}-wechat:before,
|
||||
.@{fa-css-prefix}-weixin:before { content: @fa-var-weixin; }
|
||||
.@{fa-css-prefix}-send:before,
|
||||
.@{fa-css-prefix}-paper-plane:before { content: @fa-var-paper-plane; }
|
||||
.@{fa-css-prefix}-send-o:before,
|
||||
.@{fa-css-prefix}-paper-plane-o:before { content: @fa-var-paper-plane-o; }
|
||||
.@{fa-css-prefix}-history:before { content: @fa-var-history; }
|
||||
.@{fa-css-prefix}-circle-thin:before { content: @fa-var-circle-thin; }
|
||||
.@{fa-css-prefix}-header:before { content: @fa-var-header; }
|
||||
.@{fa-css-prefix}-paragraph:before { content: @fa-var-paragraph; }
|
||||
.@{fa-css-prefix}-sliders:before { content: @fa-var-sliders; }
|
||||
.@{fa-css-prefix}-share-alt:before { content: @fa-var-share-alt; }
|
||||
.@{fa-css-prefix}-share-alt-square:before { content: @fa-var-share-alt-square; }
|
||||
.@{fa-css-prefix}-bomb:before { content: @fa-var-bomb; }
|
||||
.@{fa-css-prefix}-soccer-ball-o:before,
|
||||
.@{fa-css-prefix}-futbol-o:before { content: @fa-var-futbol-o; }
|
||||
.@{fa-css-prefix}-tty:before { content: @fa-var-tty; }
|
||||
.@{fa-css-prefix}-binoculars:before { content: @fa-var-binoculars; }
|
||||
.@{fa-css-prefix}-plug:before { content: @fa-var-plug; }
|
||||
.@{fa-css-prefix}-slideshare:before { content: @fa-var-slideshare; }
|
||||
.@{fa-css-prefix}-twitch:before { content: @fa-var-twitch; }
|
||||
.@{fa-css-prefix}-yelp:before { content: @fa-var-yelp; }
|
||||
.@{fa-css-prefix}-newspaper-o:before { content: @fa-var-newspaper-o; }
|
||||
.@{fa-css-prefix}-wifi:before { content: @fa-var-wifi; }
|
||||
.@{fa-css-prefix}-calculator:before { content: @fa-var-calculator; }
|
||||
.@{fa-css-prefix}-paypal:before { content: @fa-var-paypal; }
|
||||
.@{fa-css-prefix}-google-wallet:before { content: @fa-var-google-wallet; }
|
||||
.@{fa-css-prefix}-cc-visa:before { content: @fa-var-cc-visa; }
|
||||
.@{fa-css-prefix}-cc-mastercard:before { content: @fa-var-cc-mastercard; }
|
||||
.@{fa-css-prefix}-cc-discover:before { content: @fa-var-cc-discover; }
|
||||
.@{fa-css-prefix}-cc-amex:before { content: @fa-var-cc-amex; }
|
||||
.@{fa-css-prefix}-cc-paypal:before { content: @fa-var-cc-paypal; }
|
||||
.@{fa-css-prefix}-cc-stripe:before { content: @fa-var-cc-stripe; }
|
||||
.@{fa-css-prefix}-bell-slash:before { content: @fa-var-bell-slash; }
|
||||
.@{fa-css-prefix}-bell-slash-o:before { content: @fa-var-bell-slash-o; }
|
||||
.@{fa-css-prefix}-trash:before { content: @fa-var-trash; }
|
||||
.@{fa-css-prefix}-copyright:before { content: @fa-var-copyright; }
|
||||
.@{fa-css-prefix}-at:before { content: @fa-var-at; }
|
||||
.@{fa-css-prefix}-eyedropper:before { content: @fa-var-eyedropper; }
|
||||
.@{fa-css-prefix}-paint-brush:before { content: @fa-var-paint-brush; }
|
||||
.@{fa-css-prefix}-birthday-cake:before { content: @fa-var-birthday-cake; }
|
||||
.@{fa-css-prefix}-area-chart:before { content: @fa-var-area-chart; }
|
||||
.@{fa-css-prefix}-pie-chart:before { content: @fa-var-pie-chart; }
|
||||
.@{fa-css-prefix}-line-chart:before { content: @fa-var-line-chart; }
|
||||
.@{fa-css-prefix}-lastfm:before { content: @fa-var-lastfm; }
|
||||
.@{fa-css-prefix}-lastfm-square:before { content: @fa-var-lastfm-square; }
|
||||
.@{fa-css-prefix}-toggle-off:before { content: @fa-var-toggle-off; }
|
||||
.@{fa-css-prefix}-toggle-on:before { content: @fa-var-toggle-on; }
|
||||
.@{fa-css-prefix}-bicycle:before { content: @fa-var-bicycle; }
|
||||
.@{fa-css-prefix}-bus:before { content: @fa-var-bus; }
|
||||
.@{fa-css-prefix}-ioxhost:before { content: @fa-var-ioxhost; }
|
||||
.@{fa-css-prefix}-angellist:before { content: @fa-var-angellist; }
|
||||
.@{fa-css-prefix}-cc:before { content: @fa-var-cc; }
|
||||
.@{fa-css-prefix}-shekel:before,
|
||||
.@{fa-css-prefix}-sheqel:before,
|
||||
.@{fa-css-prefix}-ils:before { content: @fa-var-ils; }
|
||||
.@{fa-css-prefix}-meanpath:before { content: @fa-var-meanpath; }
|
||||
.@{fa-css-prefix}-buysellads:before { content: @fa-var-buysellads; }
|
||||
.@{fa-css-prefix}-connectdevelop:before { content: @fa-var-connectdevelop; }
|
||||
.@{fa-css-prefix}-dashcube:before { content: @fa-var-dashcube; }
|
||||
.@{fa-css-prefix}-forumbee:before { content: @fa-var-forumbee; }
|
||||
.@{fa-css-prefix}-leanpub:before { content: @fa-var-leanpub; }
|
||||
.@{fa-css-prefix}-sellsy:before { content: @fa-var-sellsy; }
|
||||
.@{fa-css-prefix}-shirtsinbulk:before { content: @fa-var-shirtsinbulk; }
|
||||
.@{fa-css-prefix}-simplybuilt:before { content: @fa-var-simplybuilt; }
|
||||
.@{fa-css-prefix}-skyatlas:before { content: @fa-var-skyatlas; }
|
||||
.@{fa-css-prefix}-cart-plus:before { content: @fa-var-cart-plus; }
|
||||
.@{fa-css-prefix}-cart-arrow-down:before { content: @fa-var-cart-arrow-down; }
|
||||
.@{fa-css-prefix}-diamond:before { content: @fa-var-diamond; }
|
||||
.@{fa-css-prefix}-ship:before { content: @fa-var-ship; }
|
||||
.@{fa-css-prefix}-user-secret:before { content: @fa-var-user-secret; }
|
||||
.@{fa-css-prefix}-motorcycle:before { content: @fa-var-motorcycle; }
|
||||
.@{fa-css-prefix}-street-view:before { content: @fa-var-street-view; }
|
||||
.@{fa-css-prefix}-heartbeat:before { content: @fa-var-heartbeat; }
|
||||
.@{fa-css-prefix}-venus:before { content: @fa-var-venus; }
|
||||
.@{fa-css-prefix}-mars:before { content: @fa-var-mars; }
|
||||
.@{fa-css-prefix}-mercury:before { content: @fa-var-mercury; }
|
||||
.@{fa-css-prefix}-intersex:before,
|
||||
.@{fa-css-prefix}-transgender:before { content: @fa-var-transgender; }
|
||||
.@{fa-css-prefix}-transgender-alt:before { content: @fa-var-transgender-alt; }
|
||||
.@{fa-css-prefix}-venus-double:before { content: @fa-var-venus-double; }
|
||||
.@{fa-css-prefix}-mars-double:before { content: @fa-var-mars-double; }
|
||||
.@{fa-css-prefix}-venus-mars:before { content: @fa-var-venus-mars; }
|
||||
.@{fa-css-prefix}-mars-stroke:before { content: @fa-var-mars-stroke; }
|
||||
.@{fa-css-prefix}-mars-stroke-v:before { content: @fa-var-mars-stroke-v; }
|
||||
.@{fa-css-prefix}-mars-stroke-h:before { content: @fa-var-mars-stroke-h; }
|
||||
.@{fa-css-prefix}-neuter:before { content: @fa-var-neuter; }
|
||||
.@{fa-css-prefix}-genderless:before { content: @fa-var-genderless; }
|
||||
.@{fa-css-prefix}-facebook-official:before { content: @fa-var-facebook-official; }
|
||||
.@{fa-css-prefix}-pinterest-p:before { content: @fa-var-pinterest-p; }
|
||||
.@{fa-css-prefix}-whatsapp:before { content: @fa-var-whatsapp; }
|
||||
.@{fa-css-prefix}-server:before { content: @fa-var-server; }
|
||||
.@{fa-css-prefix}-user-plus:before { content: @fa-var-user-plus; }
|
||||
.@{fa-css-prefix}-user-times:before { content: @fa-var-user-times; }
|
||||
.@{fa-css-prefix}-hotel:before,
|
||||
.@{fa-css-prefix}-bed:before { content: @fa-var-bed; }
|
||||
.@{fa-css-prefix}-viacoin:before { content: @fa-var-viacoin; }
|
||||
.@{fa-css-prefix}-train:before { content: @fa-var-train; }
|
||||
.@{fa-css-prefix}-subway:before { content: @fa-var-subway; }
|
||||
.@{fa-css-prefix}-medium:before { content: @fa-var-medium; }
|
||||
.@{fa-css-prefix}-yc:before,
|
||||
.@{fa-css-prefix}-y-combinator:before { content: @fa-var-y-combinator; }
|
||||
.@{fa-css-prefix}-optin-monster:before { content: @fa-var-optin-monster; }
|
||||
.@{fa-css-prefix}-opencart:before { content: @fa-var-opencart; }
|
||||
.@{fa-css-prefix}-expeditedssl:before { content: @fa-var-expeditedssl; }
|
||||
.@{fa-css-prefix}-battery-4:before,
|
||||
.@{fa-css-prefix}-battery:before,
|
||||
.@{fa-css-prefix}-battery-full:before { content: @fa-var-battery-full; }
|
||||
.@{fa-css-prefix}-battery-3:before,
|
||||
.@{fa-css-prefix}-battery-three-quarters:before { content: @fa-var-battery-three-quarters; }
|
||||
.@{fa-css-prefix}-battery-2:before,
|
||||
.@{fa-css-prefix}-battery-half:before { content: @fa-var-battery-half; }
|
||||
.@{fa-css-prefix}-battery-1:before,
|
||||
.@{fa-css-prefix}-battery-quarter:before { content: @fa-var-battery-quarter; }
|
||||
.@{fa-css-prefix}-battery-0:before,
|
||||
.@{fa-css-prefix}-battery-empty:before { content: @fa-var-battery-empty; }
|
||||
.@{fa-css-prefix}-mouse-pointer:before { content: @fa-var-mouse-pointer; }
|
||||
.@{fa-css-prefix}-i-cursor:before { content: @fa-var-i-cursor; }
|
||||
.@{fa-css-prefix}-object-group:before { content: @fa-var-object-group; }
|
||||
.@{fa-css-prefix}-object-ungroup:before { content: @fa-var-object-ungroup; }
|
||||
.@{fa-css-prefix}-sticky-note:before { content: @fa-var-sticky-note; }
|
||||
.@{fa-css-prefix}-sticky-note-o:before { content: @fa-var-sticky-note-o; }
|
||||
.@{fa-css-prefix}-cc-jcb:before { content: @fa-var-cc-jcb; }
|
||||
.@{fa-css-prefix}-cc-diners-club:before { content: @fa-var-cc-diners-club; }
|
||||
.@{fa-css-prefix}-clone:before { content: @fa-var-clone; }
|
||||
.@{fa-css-prefix}-balance-scale:before { content: @fa-var-balance-scale; }
|
||||
.@{fa-css-prefix}-hourglass-o:before { content: @fa-var-hourglass-o; }
|
||||
.@{fa-css-prefix}-hourglass-1:before,
|
||||
.@{fa-css-prefix}-hourglass-start:before { content: @fa-var-hourglass-start; }
|
||||
.@{fa-css-prefix}-hourglass-2:before,
|
||||
.@{fa-css-prefix}-hourglass-half:before { content: @fa-var-hourglass-half; }
|
||||
.@{fa-css-prefix}-hourglass-3:before,
|
||||
.@{fa-css-prefix}-hourglass-end:before { content: @fa-var-hourglass-end; }
|
||||
.@{fa-css-prefix}-hourglass:before { content: @fa-var-hourglass; }
|
||||
.@{fa-css-prefix}-hand-grab-o:before,
|
||||
.@{fa-css-prefix}-hand-rock-o:before { content: @fa-var-hand-rock-o; }
|
||||
.@{fa-css-prefix}-hand-stop-o:before,
|
||||
.@{fa-css-prefix}-hand-paper-o:before { content: @fa-var-hand-paper-o; }
|
||||
.@{fa-css-prefix}-hand-scissors-o:before { content: @fa-var-hand-scissors-o; }
|
||||
.@{fa-css-prefix}-hand-lizard-o:before { content: @fa-var-hand-lizard-o; }
|
||||
.@{fa-css-prefix}-hand-spock-o:before { content: @fa-var-hand-spock-o; }
|
||||
.@{fa-css-prefix}-hand-pointer-o:before { content: @fa-var-hand-pointer-o; }
|
||||
.@{fa-css-prefix}-hand-peace-o:before { content: @fa-var-hand-peace-o; }
|
||||
.@{fa-css-prefix}-trademark:before { content: @fa-var-trademark; }
|
||||
.@{fa-css-prefix}-registered:before { content: @fa-var-registered; }
|
||||
.@{fa-css-prefix}-creative-commons:before { content: @fa-var-creative-commons; }
|
||||
.@{fa-css-prefix}-gg:before { content: @fa-var-gg; }
|
||||
.@{fa-css-prefix}-gg-circle:before { content: @fa-var-gg-circle; }
|
||||
.@{fa-css-prefix}-tripadvisor:before { content: @fa-var-tripadvisor; }
|
||||
.@{fa-css-prefix}-odnoklassniki:before { content: @fa-var-odnoklassniki; }
|
||||
.@{fa-css-prefix}-odnoklassniki-square:before { content: @fa-var-odnoklassniki-square; }
|
||||
.@{fa-css-prefix}-get-pocket:before { content: @fa-var-get-pocket; }
|
||||
.@{fa-css-prefix}-wikipedia-w:before { content: @fa-var-wikipedia-w; }
|
||||
.@{fa-css-prefix}-safari:before { content: @fa-var-safari; }
|
||||
.@{fa-css-prefix}-chrome:before { content: @fa-var-chrome; }
|
||||
.@{fa-css-prefix}-firefox:before { content: @fa-var-firefox; }
|
||||
.@{fa-css-prefix}-opera:before { content: @fa-var-opera; }
|
||||
.@{fa-css-prefix}-internet-explorer:before { content: @fa-var-internet-explorer; }
|
||||
.@{fa-css-prefix}-tv:before,
|
||||
.@{fa-css-prefix}-television:before { content: @fa-var-television; }
|
||||
.@{fa-css-prefix}-contao:before { content: @fa-var-contao; }
|
||||
.@{fa-css-prefix}-500px:before { content: @fa-var-500px; }
|
||||
.@{fa-css-prefix}-amazon:before { content: @fa-var-amazon; }
|
||||
.@{fa-css-prefix}-calendar-plus-o:before { content: @fa-var-calendar-plus-o; }
|
||||
.@{fa-css-prefix}-calendar-minus-o:before { content: @fa-var-calendar-minus-o; }
|
||||
.@{fa-css-prefix}-calendar-times-o:before { content: @fa-var-calendar-times-o; }
|
||||
.@{fa-css-prefix}-calendar-check-o:before { content: @fa-var-calendar-check-o; }
|
||||
.@{fa-css-prefix}-industry:before { content: @fa-var-industry; }
|
||||
.@{fa-css-prefix}-map-pin:before { content: @fa-var-map-pin; }
|
||||
.@{fa-css-prefix}-map-signs:before { content: @fa-var-map-signs; }
|
||||
.@{fa-css-prefix}-map-o:before { content: @fa-var-map-o; }
|
||||
.@{fa-css-prefix}-map:before { content: @fa-var-map; }
|
||||
.@{fa-css-prefix}-commenting:before { content: @fa-var-commenting; }
|
||||
.@{fa-css-prefix}-commenting-o:before { content: @fa-var-commenting-o; }
|
||||
.@{fa-css-prefix}-houzz:before { content: @fa-var-houzz; }
|
||||
.@{fa-css-prefix}-vimeo:before { content: @fa-var-vimeo; }
|
||||
.@{fa-css-prefix}-black-tie:before { content: @fa-var-black-tie; }
|
||||
.@{fa-css-prefix}-fonticons:before { content: @fa-var-fonticons; }
|
||||
.@{fa-css-prefix}-reddit-alien:before { content: @fa-var-reddit-alien; }
|
||||
.@{fa-css-prefix}-edge:before { content: @fa-var-edge; }
|
||||
.@{fa-css-prefix}-credit-card-alt:before { content: @fa-var-credit-card-alt; }
|
||||
.@{fa-css-prefix}-codiepie:before { content: @fa-var-codiepie; }
|
||||
.@{fa-css-prefix}-modx:before { content: @fa-var-modx; }
|
||||
.@{fa-css-prefix}-fort-awesome:before { content: @fa-var-fort-awesome; }
|
||||
.@{fa-css-prefix}-usb:before { content: @fa-var-usb; }
|
||||
.@{fa-css-prefix}-product-hunt:before { content: @fa-var-product-hunt; }
|
||||
.@{fa-css-prefix}-mixcloud:before { content: @fa-var-mixcloud; }
|
||||
.@{fa-css-prefix}-scribd:before { content: @fa-var-scribd; }
|
||||
.@{fa-css-prefix}-pause-circle:before { content: @fa-var-pause-circle; }
|
||||
.@{fa-css-prefix}-pause-circle-o:before { content: @fa-var-pause-circle-o; }
|
||||
.@{fa-css-prefix}-stop-circle:before { content: @fa-var-stop-circle; }
|
||||
.@{fa-css-prefix}-stop-circle-o:before { content: @fa-var-stop-circle-o; }
|
||||
.@{fa-css-prefix}-shopping-bag:before { content: @fa-var-shopping-bag; }
|
||||
.@{fa-css-prefix}-shopping-basket:before { content: @fa-var-shopping-basket; }
|
||||
.@{fa-css-prefix}-hashtag:before { content: @fa-var-hashtag; }
|
||||
.@{fa-css-prefix}-bluetooth:before { content: @fa-var-bluetooth; }
|
||||
.@{fa-css-prefix}-bluetooth-b:before { content: @fa-var-bluetooth-b; }
|
||||
.@{fa-css-prefix}-percent:before { content: @fa-var-percent; }
|
||||
.@{fa-css-prefix}-gitlab:before { content: @fa-var-gitlab; }
|
||||
.@{fa-css-prefix}-wpbeginner:before { content: @fa-var-wpbeginner; }
|
||||
.@{fa-css-prefix}-wpforms:before { content: @fa-var-wpforms; }
|
||||
.@{fa-css-prefix}-envira:before { content: @fa-var-envira; }
|
||||
.@{fa-css-prefix}-universal-access:before { content: @fa-var-universal-access; }
|
||||
.@{fa-css-prefix}-wheelchair-alt:before { content: @fa-var-wheelchair-alt; }
|
||||
.@{fa-css-prefix}-question-circle-o:before { content: @fa-var-question-circle-o; }
|
||||
.@{fa-css-prefix}-blind:before { content: @fa-var-blind; }
|
||||
.@{fa-css-prefix}-audio-description:before { content: @fa-var-audio-description; }
|
||||
.@{fa-css-prefix}-volume-control-phone:before { content: @fa-var-volume-control-phone; }
|
||||
.@{fa-css-prefix}-braille:before { content: @fa-var-braille; }
|
||||
.@{fa-css-prefix}-assistive-listening-systems:before { content: @fa-var-assistive-listening-systems; }
|
||||
.@{fa-css-prefix}-asl-interpreting:before,
|
||||
.@{fa-css-prefix}-american-sign-language-interpreting:before { content: @fa-var-american-sign-language-interpreting; }
|
||||
.@{fa-css-prefix}-deafness:before,
|
||||
.@{fa-css-prefix}-hard-of-hearing:before,
|
||||
.@{fa-css-prefix}-deaf:before { content: @fa-var-deaf; }
|
||||
.@{fa-css-prefix}-glide:before { content: @fa-var-glide; }
|
||||
.@{fa-css-prefix}-glide-g:before { content: @fa-var-glide-g; }
|
||||
.@{fa-css-prefix}-signing:before,
|
||||
.@{fa-css-prefix}-sign-language:before { content: @fa-var-sign-language; }
|
||||
.@{fa-css-prefix}-low-vision:before { content: @fa-var-low-vision; }
|
||||
.@{fa-css-prefix}-viadeo:before { content: @fa-var-viadeo; }
|
||||
.@{fa-css-prefix}-viadeo-square:before { content: @fa-var-viadeo-square; }
|
||||
.@{fa-css-prefix}-snapchat:before { content: @fa-var-snapchat; }
|
||||
.@{fa-css-prefix}-snapchat-ghost:before { content: @fa-var-snapchat-ghost; }
|
||||
.@{fa-css-prefix}-snapchat-square:before { content: @fa-var-snapchat-square; }
|
||||
.@{fa-css-prefix}-pied-piper:before { content: @fa-var-pied-piper; }
|
||||
.@{fa-css-prefix}-first-order:before { content: @fa-var-first-order; }
|
||||
.@{fa-css-prefix}-yoast:before { content: @fa-var-yoast; }
|
||||
.@{fa-css-prefix}-themeisle:before { content: @fa-var-themeisle; }
|
||||
.@{fa-css-prefix}-google-plus-circle:before,
|
||||
.@{fa-css-prefix}-google-plus-official:before { content: @fa-var-google-plus-official; }
|
||||
.@{fa-css-prefix}-fa:before,
|
||||
.@{fa-css-prefix}-font-awesome:before { content: @fa-var-font-awesome; }
|
||||
.@{fa-css-prefix}-handshake-o:before { content: @fa-var-handshake-o; }
|
||||
.@{fa-css-prefix}-envelope-open:before { content: @fa-var-envelope-open; }
|
||||
.@{fa-css-prefix}-envelope-open-o:before { content: @fa-var-envelope-open-o; }
|
||||
.@{fa-css-prefix}-linode:before { content: @fa-var-linode; }
|
||||
.@{fa-css-prefix}-address-book:before { content: @fa-var-address-book; }
|
||||
.@{fa-css-prefix}-address-book-o:before { content: @fa-var-address-book-o; }
|
||||
.@{fa-css-prefix}-vcard:before,
|
||||
.@{fa-css-prefix}-address-card:before { content: @fa-var-address-card; }
|
||||
.@{fa-css-prefix}-vcard-o:before,
|
||||
.@{fa-css-prefix}-address-card-o:before { content: @fa-var-address-card-o; }
|
||||
.@{fa-css-prefix}-user-circle:before { content: @fa-var-user-circle; }
|
||||
.@{fa-css-prefix}-user-circle-o:before { content: @fa-var-user-circle-o; }
|
||||
.@{fa-css-prefix}-user-o:before { content: @fa-var-user-o; }
|
||||
.@{fa-css-prefix}-id-badge:before { content: @fa-var-id-badge; }
|
||||
.@{fa-css-prefix}-drivers-license:before,
|
||||
.@{fa-css-prefix}-id-card:before { content: @fa-var-id-card; }
|
||||
.@{fa-css-prefix}-drivers-license-o:before,
|
||||
.@{fa-css-prefix}-id-card-o:before { content: @fa-var-id-card-o; }
|
||||
.@{fa-css-prefix}-quora:before { content: @fa-var-quora; }
|
||||
.@{fa-css-prefix}-free-code-camp:before { content: @fa-var-free-code-camp; }
|
||||
.@{fa-css-prefix}-telegram:before { content: @fa-var-telegram; }
|
||||
.@{fa-css-prefix}-thermometer-4:before,
|
||||
.@{fa-css-prefix}-thermometer:before,
|
||||
.@{fa-css-prefix}-thermometer-full:before { content: @fa-var-thermometer-full; }
|
||||
.@{fa-css-prefix}-thermometer-3:before,
|
||||
.@{fa-css-prefix}-thermometer-three-quarters:before { content: @fa-var-thermometer-three-quarters; }
|
||||
.@{fa-css-prefix}-thermometer-2:before,
|
||||
.@{fa-css-prefix}-thermometer-half:before { content: @fa-var-thermometer-half; }
|
||||
.@{fa-css-prefix}-thermometer-1:before,
|
||||
.@{fa-css-prefix}-thermometer-quarter:before { content: @fa-var-thermometer-quarter; }
|
||||
.@{fa-css-prefix}-thermometer-0:before,
|
||||
.@{fa-css-prefix}-thermometer-empty:before { content: @fa-var-thermometer-empty; }
|
||||
.@{fa-css-prefix}-shower:before { content: @fa-var-shower; }
|
||||
.@{fa-css-prefix}-bathtub:before,
|
||||
.@{fa-css-prefix}-s15:before,
|
||||
.@{fa-css-prefix}-bath:before { content: @fa-var-bath; }
|
||||
.@{fa-css-prefix}-podcast:before { content: @fa-var-podcast; }
|
||||
.@{fa-css-prefix}-window-maximize:before { content: @fa-var-window-maximize; }
|
||||
.@{fa-css-prefix}-window-minimize:before { content: @fa-var-window-minimize; }
|
||||
.@{fa-css-prefix}-window-restore:before { content: @fa-var-window-restore; }
|
||||
.@{fa-css-prefix}-times-rectangle:before,
|
||||
.@{fa-css-prefix}-window-close:before { content: @fa-var-window-close; }
|
||||
.@{fa-css-prefix}-times-rectangle-o:before,
|
||||
.@{fa-css-prefix}-window-close-o:before { content: @fa-var-window-close-o; }
|
||||
.@{fa-css-prefix}-bandcamp:before { content: @fa-var-bandcamp; }
|
||||
.@{fa-css-prefix}-grav:before { content: @fa-var-grav; }
|
||||
.@{fa-css-prefix}-etsy:before { content: @fa-var-etsy; }
|
||||
.@{fa-css-prefix}-imdb:before { content: @fa-var-imdb; }
|
||||
.@{fa-css-prefix}-ravelry:before { content: @fa-var-ravelry; }
|
||||
.@{fa-css-prefix}-eercast:before { content: @fa-var-eercast; }
|
||||
.@{fa-css-prefix}-microchip:before { content: @fa-var-microchip; }
|
||||
.@{fa-css-prefix}-snowflake-o:before { content: @fa-var-snowflake-o; }
|
||||
.@{fa-css-prefix}-superpowers:before { content: @fa-var-superpowers; }
|
||||
.@{fa-css-prefix}-wpexplorer:before { content: @fa-var-wpexplorer; }
|
||||
.@{fa-css-prefix}-meetup:before { content: @fa-var-meetup; }
|
13
assets/css/vendor/font-awesome/less/larger.less
vendored
Normal file
13
assets/css/vendor/font-awesome/less/larger.less
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
// Icon Sizes
|
||||
// -------------------------
|
||||
|
||||
/* makes the font 33% larger relative to the icon container */
|
||||
.@{fa-css-prefix}-lg {
|
||||
font-size: (4em / 3);
|
||||
line-height: (3em / 4);
|
||||
vertical-align: -15%;
|
||||
}
|
||||
.@{fa-css-prefix}-2x { font-size: 2em; }
|
||||
.@{fa-css-prefix}-3x { font-size: 3em; }
|
||||
.@{fa-css-prefix}-4x { font-size: 4em; }
|
||||
.@{fa-css-prefix}-5x { font-size: 5em; }
|
19
assets/css/vendor/font-awesome/less/list.less
vendored
Normal file
19
assets/css/vendor/font-awesome/less/list.less
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
// List Icons
|
||||
// -------------------------
|
||||
|
||||
.@{fa-css-prefix}-ul {
|
||||
padding-left: 0;
|
||||
margin-left: @fa-li-width;
|
||||
list-style-type: none;
|
||||
> li { position: relative; }
|
||||
}
|
||||
.@{fa-css-prefix}-li {
|
||||
position: absolute;
|
||||
left: -@fa-li-width;
|
||||
width: @fa-li-width;
|
||||
top: (2em / 14);
|
||||
text-align: center;
|
||||
&.@{fa-css-prefix}-lg {
|
||||
left: (-@fa-li-width + (4em / 14));
|
||||
}
|
||||
}
|
60
assets/css/vendor/font-awesome/less/mixins.less
vendored
Normal file
60
assets/css/vendor/font-awesome/less/mixins.less
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
// Mixins
|
||||
// --------------------------
|
||||
|
||||
.fa-icon() {
|
||||
display: inline-block;
|
||||
font: normal normal normal @fa-font-size-base/@fa-line-height-base FontAwesome; // shortening font declaration
|
||||
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
}
|
||||
|
||||
.fa-icon-rotate(@degrees, @rotation) {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation})";
|
||||
-webkit-transform: rotate(@degrees);
|
||||
-ms-transform: rotate(@degrees);
|
||||
transform: rotate(@degrees);
|
||||
}
|
||||
|
||||
.fa-icon-flip(@horiz, @vert, @rotation) {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=@{rotation}, mirror=1)";
|
||||
-webkit-transform: scale(@horiz, @vert);
|
||||
-ms-transform: scale(@horiz, @vert);
|
||||
transform: scale(@horiz, @vert);
|
||||
}
|
||||
|
||||
|
||||
// Only display content to screen readers. A la Bootstrap 4.
|
||||
//
|
||||
// See: http://a11yproject.com/posts/how-to-hide-content/
|
||||
|
||||
.sr-only() {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0,0,0,0);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
// Use in conjunction with .sr-only to only display content when it's focused.
|
||||
//
|
||||
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
||||
//
|
||||
// Credit: HTML5 Boilerplate
|
||||
|
||||
.sr-only-focusable() {
|
||||
&:active,
|
||||
&:focus {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
}
|
||||
}
|
15
assets/css/vendor/font-awesome/less/path.less
vendored
Normal file
15
assets/css/vendor/font-awesome/less/path.less
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
/* FONT PATH
|
||||
* -------------------------- */
|
||||
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
|
||||
src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
|
||||
// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
20
assets/css/vendor/font-awesome/less/rotated-flipped.less
vendored
Normal file
20
assets/css/vendor/font-awesome/less/rotated-flipped.less
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
// Rotated & Flipped Icons
|
||||
// -------------------------
|
||||
|
||||
.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
|
||||
.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
|
||||
.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
|
||||
|
||||
.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
|
||||
.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
|
||||
|
||||
// Hook for IE8-9
|
||||
// -------------------------
|
||||
|
||||
:root .@{fa-css-prefix}-rotate-90,
|
||||
:root .@{fa-css-prefix}-rotate-180,
|
||||
:root .@{fa-css-prefix}-rotate-270,
|
||||
:root .@{fa-css-prefix}-flip-horizontal,
|
||||
:root .@{fa-css-prefix}-flip-vertical {
|
||||
filter: none;
|
||||
}
|
5
assets/css/vendor/font-awesome/less/screen-reader.less
vendored
Normal file
5
assets/css/vendor/font-awesome/less/screen-reader.less
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
// Screen Readers
|
||||
// -------------------------
|
||||
|
||||
.sr-only { .sr-only(); }
|
||||
.sr-only-focusable { .sr-only-focusable(); }
|
20
assets/css/vendor/font-awesome/less/stacked.less
vendored
Normal file
20
assets/css/vendor/font-awesome/less/stacked.less
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
// Stacked Icons
|
||||
// -------------------------
|
||||
|
||||
.@{fa-css-prefix}-stack {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
line-height: 2em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.@{fa-css-prefix}-stack-1x { line-height: inherit; }
|
||||
.@{fa-css-prefix}-stack-2x { font-size: 2em; }
|
||||
.@{fa-css-prefix}-inverse { color: @fa-inverse; }
|
800
assets/css/vendor/font-awesome/less/variables.less
vendored
Normal file
800
assets/css/vendor/font-awesome/less/variables.less
vendored
Normal file
@ -0,0 +1,800 @@
|
||||
// Variables
|
||||
// --------------------------
|
||||
|
||||
@fa-font-path: "../fonts";
|
||||
@fa-font-size-base: 14px;
|
||||
@fa-line-height-base: 1;
|
||||
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts"; // for referencing Bootstrap CDN font files directly
|
||||
@fa-css-prefix: fa;
|
||||
@fa-version: "4.7.0";
|
||||
@fa-border-color: #eee;
|
||||
@fa-inverse: #fff;
|
||||
@fa-li-width: (30em / 14);
|
||||
|
||||
@fa-var-500px: "\f26e";
|
||||
@fa-var-address-book: "\f2b9";
|
||||
@fa-var-address-book-o: "\f2ba";
|
||||
@fa-var-address-card: "\f2bb";
|
||||
@fa-var-address-card-o: "\f2bc";
|
||||
@fa-var-adjust: "\f042";
|
||||
@fa-var-adn: "\f170";
|
||||
@fa-var-align-center: "\f037";
|
||||
@fa-var-align-justify: "\f039";
|
||||
@fa-var-align-left: "\f036";
|
||||
@fa-var-align-right: "\f038";
|
||||
@fa-var-amazon: "\f270";
|
||||
@fa-var-ambulance: "\f0f9";
|
||||
@fa-var-american-sign-language-interpreting: "\f2a3";
|
||||
@fa-var-anchor: "\f13d";
|
||||
@fa-var-android: "\f17b";
|
||||
@fa-var-angellist: "\f209";
|
||||
@fa-var-angle-double-down: "\f103";
|
||||
@fa-var-angle-double-left: "\f100";
|
||||
@fa-var-angle-double-right: "\f101";
|
||||
@fa-var-angle-double-up: "\f102";
|
||||
@fa-var-angle-down: "\f107";
|
||||
@fa-var-angle-left: "\f104";
|
||||
@fa-var-angle-right: "\f105";
|
||||
@fa-var-angle-up: "\f106";
|
||||
@fa-var-apple: "\f179";
|
||||
@fa-var-archive: "\f187";
|
||||
@fa-var-area-chart: "\f1fe";
|
||||
@fa-var-arrow-circle-down: "\f0ab";
|
||||
@fa-var-arrow-circle-left: "\f0a8";
|
||||
@fa-var-arrow-circle-o-down: "\f01a";
|
||||
@fa-var-arrow-circle-o-left: "\f190";
|
||||
@fa-var-arrow-circle-o-right: "\f18e";
|
||||
@fa-var-arrow-circle-o-up: "\f01b";
|
||||
@fa-var-arrow-circle-right: "\f0a9";
|
||||
@fa-var-arrow-circle-up: "\f0aa";
|
||||
@fa-var-arrow-down: "\f063";
|
||||
@fa-var-arrow-left: "\f060";
|
||||
@fa-var-arrow-right: "\f061";
|
||||
@fa-var-arrow-up: "\f062";
|
||||
@fa-var-arrows: "\f047";
|
||||
@fa-var-arrows-alt: "\f0b2";
|
||||
@fa-var-arrows-h: "\f07e";
|
||||
@fa-var-arrows-v: "\f07d";
|
||||
@fa-var-asl-interpreting: "\f2a3";
|
||||
@fa-var-assistive-listening-systems: "\f2a2";
|
||||
@fa-var-asterisk: "\f069";
|
||||
@fa-var-at: "\f1fa";
|
||||
@fa-var-audio-description: "\f29e";
|
||||
@fa-var-automobile: "\f1b9";
|
||||
@fa-var-backward: "\f04a";
|
||||
@fa-var-balance-scale: "\f24e";
|
||||
@fa-var-ban: "\f05e";
|
||||
@fa-var-bandcamp: "\f2d5";
|
||||
@fa-var-bank: "\f19c";
|
||||
@fa-var-bar-chart: "\f080";
|
||||
@fa-var-bar-chart-o: "\f080";
|
||||
@fa-var-barcode: "\f02a";
|
||||
@fa-var-bars: "\f0c9";
|
||||
@fa-var-bath: "\f2cd";
|
||||
@fa-var-bathtub: "\f2cd";
|
||||
@fa-var-battery: "\f240";
|
||||
@fa-var-battery-0: "\f244";
|
||||
@fa-var-battery-1: "\f243";
|
||||
@fa-var-battery-2: "\f242";
|
||||
@fa-var-battery-3: "\f241";
|
||||
@fa-var-battery-4: "\f240";
|
||||
@fa-var-battery-empty: "\f244";
|
||||
@fa-var-battery-full: "\f240";
|
||||
@fa-var-battery-half: "\f242";
|
||||
@fa-var-battery-quarter: "\f243";
|
||||
@fa-var-battery-three-quarters: "\f241";
|
||||
@fa-var-bed: "\f236";
|
||||
@fa-var-beer: "\f0fc";
|
||||
@fa-var-behance: "\f1b4";
|
||||
@fa-var-behance-square: "\f1b5";
|
||||
@fa-var-bell: "\f0f3";
|
||||
@fa-var-bell-o: "\f0a2";
|
||||
@fa-var-bell-slash: "\f1f6";
|
||||
@fa-var-bell-slash-o: "\f1f7";
|
||||
@fa-var-bicycle: "\f206";
|
||||
@fa-var-binoculars: "\f1e5";
|
||||
@fa-var-birthday-cake: "\f1fd";
|
||||
@fa-var-bitbucket: "\f171";
|
||||
@fa-var-bitbucket-square: "\f172";
|
||||
@fa-var-bitcoin: "\f15a";
|
||||
@fa-var-black-tie: "\f27e";
|
||||
@fa-var-blind: "\f29d";
|
||||
@fa-var-bluetooth: "\f293";
|
||||
@fa-var-bluetooth-b: "\f294";
|
||||
@fa-var-bold: "\f032";
|
||||
@fa-var-bolt: "\f0e7";
|
||||
@fa-var-bomb: "\f1e2";
|
||||
@fa-var-book: "\f02d";
|
||||
@fa-var-bookmark: "\f02e";
|
||||
@fa-var-bookmark-o: "\f097";
|
||||
@fa-var-braille: "\f2a1";
|
||||
@fa-var-briefcase: "\f0b1";
|
||||
@fa-var-btc: "\f15a";
|
||||
@fa-var-bug: "\f188";
|
||||
@fa-var-building: "\f1ad";
|
||||
@fa-var-building-o: "\f0f7";
|
||||
@fa-var-bullhorn: "\f0a1";
|
||||
@fa-var-bullseye: "\f140";
|
||||
@fa-var-bus: "\f207";
|
||||
@fa-var-buysellads: "\f20d";
|
||||
@fa-var-cab: "\f1ba";
|
||||
@fa-var-calculator: "\f1ec";
|
||||
@fa-var-calendar: "\f073";
|
||||
@fa-var-calendar-check-o: "\f274";
|
||||
@fa-var-calendar-minus-o: "\f272";
|
||||
@fa-var-calendar-o: "\f133";
|
||||
@fa-var-calendar-plus-o: "\f271";
|
||||
@fa-var-calendar-times-o: "\f273";
|
||||
@fa-var-camera: "\f030";
|
||||
@fa-var-camera-retro: "\f083";
|
||||
@fa-var-car: "\f1b9";
|
||||
@fa-var-caret-down: "\f0d7";
|
||||
@fa-var-caret-left: "\f0d9";
|
||||
@fa-var-caret-right: "\f0da";
|
||||
@fa-var-caret-square-o-down: "\f150";
|
||||
@fa-var-caret-square-o-left: "\f191";
|
||||
@fa-var-caret-square-o-right: "\f152";
|
||||
@fa-var-caret-square-o-up: "\f151";
|
||||
@fa-var-caret-up: "\f0d8";
|
||||
@fa-var-cart-arrow-down: "\f218";
|
||||
@fa-var-cart-plus: "\f217";
|
||||
@fa-var-cc: "\f20a";
|
||||
@fa-var-cc-amex: "\f1f3";
|
||||
@fa-var-cc-diners-club: "\f24c";
|
||||
@fa-var-cc-discover: "\f1f2";
|
||||
@fa-var-cc-jcb: "\f24b";
|
||||
@fa-var-cc-mastercard: "\f1f1";
|
||||
@fa-var-cc-paypal: "\f1f4";
|
||||
@fa-var-cc-stripe: "\f1f5";
|
||||
@fa-var-cc-visa: "\f1f0";
|
||||
@fa-var-certificate: "\f0a3";
|
||||
@fa-var-chain: "\f0c1";
|
||||
@fa-var-chain-broken: "\f127";
|
||||
@fa-var-check: "\f00c";
|
||||
@fa-var-check-circle: "\f058";
|
||||
@fa-var-check-circle-o: "\f05d";
|
||||
@fa-var-check-square: "\f14a";
|
||||
@fa-var-check-square-o: "\f046";
|
||||
@fa-var-chevron-circle-down: "\f13a";
|
||||
@fa-var-chevron-circle-left: "\f137";
|
||||
@fa-var-chevron-circle-right: "\f138";
|
||||
@fa-var-chevron-circle-up: "\f139";
|
||||
@fa-var-chevron-down: "\f078";
|
||||
@fa-var-chevron-left: "\f053";
|
||||
@fa-var-chevron-right: "\f054";
|
||||
@fa-var-chevron-up: "\f077";
|
||||
@fa-var-child: "\f1ae";
|
||||
@fa-var-chrome: "\f268";
|
||||
@fa-var-circle: "\f111";
|
||||
@fa-var-circle-o: "\f10c";
|
||||
@fa-var-circle-o-notch: "\f1ce";
|
||||
@fa-var-circle-thin: "\f1db";
|
||||
@fa-var-clipboard: "\f0ea";
|
||||
@fa-var-clock-o: "\f017";
|
||||
@fa-var-clone: "\f24d";
|
||||
@fa-var-close: "\f00d";
|
||||
@fa-var-cloud: "\f0c2";
|
||||
@fa-var-cloud-download: "\f0ed";
|
||||
@fa-var-cloud-upload: "\f0ee";
|
||||
@fa-var-cny: "\f157";
|
||||
@fa-var-code: "\f121";
|
||||
@fa-var-code-fork: "\f126";
|
||||
@fa-var-codepen: "\f1cb";
|
||||
@fa-var-codiepie: "\f284";
|
||||
@fa-var-coffee: "\f0f4";
|
||||
@fa-var-cog: "\f013";
|
||||
@fa-var-cogs: "\f085";
|
||||
@fa-var-columns: "\f0db";
|
||||
@fa-var-comment: "\f075";
|
||||
@fa-var-comment-o: "\f0e5";
|
||||
@fa-var-commenting: "\f27a";
|
||||
@fa-var-commenting-o: "\f27b";
|
||||
@fa-var-comments: "\f086";
|
||||
@fa-var-comments-o: "\f0e6";
|
||||
@fa-var-compass: "\f14e";
|
||||
@fa-var-compress: "\f066";
|
||||
@fa-var-connectdevelop: "\f20e";
|
||||
@fa-var-contao: "\f26d";
|
||||
@fa-var-copy: "\f0c5";
|
||||
@fa-var-copyright: "\f1f9";
|
||||
@fa-var-creative-commons: "\f25e";
|
||||
@fa-var-credit-card: "\f09d";
|
||||
@fa-var-credit-card-alt: "\f283";
|
||||
@fa-var-crop: "\f125";
|
||||
@fa-var-crosshairs: "\f05b";
|
||||
@fa-var-css3: "\f13c";
|
||||
@fa-var-cube: "\f1b2";
|
||||
@fa-var-cubes: "\f1b3";
|
||||
@fa-var-cut: "\f0c4";
|
||||
@fa-var-cutlery: "\f0f5";
|
||||
@fa-var-dashboard: "\f0e4";
|
||||
@fa-var-dashcube: "\f210";
|
||||
@fa-var-database: "\f1c0";
|
||||
@fa-var-deaf: "\f2a4";
|
||||
@fa-var-deafness: "\f2a4";
|
||||
@fa-var-dedent: "\f03b";
|
||||
@fa-var-delicious: "\f1a5";
|
||||
@fa-var-desktop: "\f108";
|
||||
@fa-var-deviantart: "\f1bd";
|
||||
@fa-var-diamond: "\f219";
|
||||
@fa-var-digg: "\f1a6";
|
||||
@fa-var-dollar: "\f155";
|
||||
@fa-var-dot-circle-o: "\f192";
|
||||
@fa-var-download: "\f019";
|
||||
@fa-var-dribbble: "\f17d";
|
||||
@fa-var-drivers-license: "\f2c2";
|
||||
@fa-var-drivers-license-o: "\f2c3";
|
||||
@fa-var-dropbox: "\f16b";
|
||||
@fa-var-drupal: "\f1a9";
|
||||
@fa-var-edge: "\f282";
|
||||
@fa-var-edit: "\f044";
|
||||
@fa-var-eercast: "\f2da";
|
||||
@fa-var-eject: "\f052";
|
||||
@fa-var-ellipsis-h: "\f141";
|
||||
@fa-var-ellipsis-v: "\f142";
|
||||
@fa-var-empire: "\f1d1";
|
||||
@fa-var-envelope: "\f0e0";
|
||||
@fa-var-envelope-o: "\f003";
|
||||
@fa-var-envelope-open: "\f2b6";
|
||||
@fa-var-envelope-open-o: "\f2b7";
|
||||
@fa-var-envelope-square: "\f199";
|
||||
@fa-var-envira: "\f299";
|
||||
@fa-var-eraser: "\f12d";
|
||||
@fa-var-etsy: "\f2d7";
|
||||
@fa-var-eur: "\f153";
|
||||
@fa-var-euro: "\f153";
|
||||
@fa-var-exchange: "\f0ec";
|
||||
@fa-var-exclamation: "\f12a";
|
||||
@fa-var-exclamation-circle: "\f06a";
|
||||
@fa-var-exclamation-triangle: "\f071";
|
||||
@fa-var-expand: "\f065";
|
||||
@fa-var-expeditedssl: "\f23e";
|
||||
@fa-var-external-link: "\f08e";
|
||||
@fa-var-external-link-square: "\f14c";
|
||||
@fa-var-eye: "\f06e";
|
||||
@fa-var-eye-slash: "\f070";
|
||||
@fa-var-eyedropper: "\f1fb";
|
||||
@fa-var-fa: "\f2b4";
|
||||
@fa-var-facebook: "\f09a";
|
||||
@fa-var-facebook-f: "\f09a";
|
||||
@fa-var-facebook-official: "\f230";
|
||||
@fa-var-facebook-square: "\f082";
|
||||
@fa-var-fast-backward: "\f049";
|
||||
@fa-var-fast-forward: "\f050";
|
||||
@fa-var-fax: "\f1ac";
|
||||
@fa-var-feed: "\f09e";
|
||||
@fa-var-female: "\f182";
|
||||
@fa-var-fighter-jet: "\f0fb";
|
||||
@fa-var-file: "\f15b";
|
||||
@fa-var-file-archive-o: "\f1c6";
|
||||
@fa-var-file-audio-o: "\f1c7";
|
||||
@fa-var-file-code-o: "\f1c9";
|
||||
@fa-var-file-excel-o: "\f1c3";
|
||||
@fa-var-file-image-o: "\f1c5";
|
||||
@fa-var-file-movie-o: "\f1c8";
|
||||
@fa-var-file-o: "\f016";
|
||||
@fa-var-file-pdf-o: "\f1c1";
|
||||
@fa-var-file-photo-o: "\f1c5";
|
||||
@fa-var-file-picture-o: "\f1c5";
|
||||
@fa-var-file-powerpoint-o: "\f1c4";
|
||||
@fa-var-file-sound-o: "\f1c7";
|
||||
@fa-var-file-text: "\f15c";
|
||||
@fa-var-file-text-o: "\f0f6";
|
||||
@fa-var-file-video-o: "\f1c8";
|
||||
@fa-var-file-word-o: "\f1c2";
|
||||
@fa-var-file-zip-o: "\f1c6";
|
||||
@fa-var-files-o: "\f0c5";
|
||||
@fa-var-film: "\f008";
|
||||
@fa-var-filter: "\f0b0";
|
||||
@fa-var-fire: "\f06d";
|
||||
@fa-var-fire-extinguisher: "\f134";
|
||||
@fa-var-firefox: "\f269";
|
||||
@fa-var-first-order: "\f2b0";
|
||||
@fa-var-flag: "\f024";
|
||||
@fa-var-flag-checkered: "\f11e";
|
||||
@fa-var-flag-o: "\f11d";
|
||||
@fa-var-flash: "\f0e7";
|
||||
@fa-var-flask: "\f0c3";
|
||||
@fa-var-flickr: "\f16e";
|
||||
@fa-var-floppy-o: "\f0c7";
|
||||
@fa-var-folder: "\f07b";
|
||||
@fa-var-folder-o: "\f114";
|
||||
@fa-var-folder-open: "\f07c";
|
||||
@fa-var-folder-open-o: "\f115";
|
||||
@fa-var-font: "\f031";
|
||||
@fa-var-font-awesome: "\f2b4";
|
||||
@fa-var-fonticons: "\f280";
|
||||
@fa-var-fort-awesome: "\f286";
|
||||
@fa-var-forumbee: "\f211";
|
||||
@fa-var-forward: "\f04e";
|
||||
@fa-var-foursquare: "\f180";
|
||||
@fa-var-free-code-camp: "\f2c5";
|
||||
@fa-var-frown-o: "\f119";
|
||||
@fa-var-futbol-o: "\f1e3";
|
||||
@fa-var-gamepad: "\f11b";
|
||||
@fa-var-gavel: "\f0e3";
|
||||
@fa-var-gbp: "\f154";
|
||||
@fa-var-ge: "\f1d1";
|
||||
@fa-var-gear: "\f013";
|
||||
@fa-var-gears: "\f085";
|
||||
@fa-var-genderless: "\f22d";
|
||||
@fa-var-get-pocket: "\f265";
|
||||
@fa-var-gg: "\f260";
|
||||
@fa-var-gg-circle: "\f261";
|
||||
@fa-var-gift: "\f06b";
|
||||
@fa-var-git: "\f1d3";
|
||||
@fa-var-git-square: "\f1d2";
|
||||
@fa-var-github: "\f09b";
|
||||
@fa-var-github-alt: "\f113";
|
||||
@fa-var-github-square: "\f092";
|
||||
@fa-var-gitlab: "\f296";
|
||||
@fa-var-gittip: "\f184";
|
||||
@fa-var-glass: "\f000";
|
||||
@fa-var-glide: "\f2a5";
|
||||
@fa-var-glide-g: "\f2a6";
|
||||
@fa-var-globe: "\f0ac";
|
||||
@fa-var-google: "\f1a0";
|
||||
@fa-var-google-plus: "\f0d5";
|
||||
@fa-var-google-plus-circle: "\f2b3";
|
||||
@fa-var-google-plus-official: "\f2b3";
|
||||
@fa-var-google-plus-square: "\f0d4";
|
||||
@fa-var-google-wallet: "\f1ee";
|
||||
@fa-var-graduation-cap: "\f19d";
|
||||
@fa-var-gratipay: "\f184";
|
||||
@fa-var-grav: "\f2d6";
|
||||
@fa-var-group: "\f0c0";
|
||||
@fa-var-h-square: "\f0fd";
|
||||
@fa-var-hacker-news: "\f1d4";
|
||||
@fa-var-hand-grab-o: "\f255";
|
||||
@fa-var-hand-lizard-o: "\f258";
|
||||
@fa-var-hand-o-down: "\f0a7";
|
||||
@fa-var-hand-o-left: "\f0a5";
|
||||
@fa-var-hand-o-right: "\f0a4";
|
||||
@fa-var-hand-o-up: "\f0a6";
|
||||
@fa-var-hand-paper-o: "\f256";
|
||||
@fa-var-hand-peace-o: "\f25b";
|
||||
@fa-var-hand-pointer-o: "\f25a";
|
||||
@fa-var-hand-rock-o: "\f255";
|
||||
@fa-var-hand-scissors-o: "\f257";
|
||||
@fa-var-hand-spock-o: "\f259";
|
||||
@fa-var-hand-stop-o: "\f256";
|
||||
@fa-var-handshake-o: "\f2b5";
|
||||
@fa-var-hard-of-hearing: "\f2a4";
|
||||
@fa-var-hashtag: "\f292";
|
||||
@fa-var-hdd-o: "\f0a0";
|
||||
@fa-var-header: "\f1dc";
|
||||
@fa-var-headphones: "\f025";
|
||||
@fa-var-heart: "\f004";
|
||||
@fa-var-heart-o: "\f08a";
|
||||
@fa-var-heartbeat: "\f21e";
|
||||
@fa-var-history: "\f1da";
|
||||
@fa-var-home: "\f015";
|
||||
@fa-var-hospital-o: "\f0f8";
|
||||
@fa-var-hotel: "\f236";
|
||||
@fa-var-hourglass: "\f254";
|
||||
@fa-var-hourglass-1: "\f251";
|
||||
@fa-var-hourglass-2: "\f252";
|
||||
@fa-var-hourglass-3: "\f253";
|
||||
@fa-var-hourglass-end: "\f253";
|
||||
@fa-var-hourglass-half: "\f252";
|
||||
@fa-var-hourglass-o: "\f250";
|
||||
@fa-var-hourglass-start: "\f251";
|
||||
@fa-var-houzz: "\f27c";
|
||||
@fa-var-html5: "\f13b";
|
||||
@fa-var-i-cursor: "\f246";
|
||||
@fa-var-id-badge: "\f2c1";
|
||||
@fa-var-id-card: "\f2c2";
|
||||
@fa-var-id-card-o: "\f2c3";
|
||||
@fa-var-ils: "\f20b";
|
||||
@fa-var-image: "\f03e";
|
||||
@fa-var-imdb: "\f2d8";
|
||||
@fa-var-inbox: "\f01c";
|
||||
@fa-var-indent: "\f03c";
|
||||
@fa-var-industry: "\f275";
|
||||
@fa-var-info: "\f129";
|
||||
@fa-var-info-circle: "\f05a";
|
||||
@fa-var-inr: "\f156";
|
||||
@fa-var-instagram: "\f16d";
|
||||
@fa-var-institution: "\f19c";
|
||||
@fa-var-internet-explorer: "\f26b";
|
||||
@fa-var-intersex: "\f224";
|
||||
@fa-var-ioxhost: "\f208";
|
||||
@fa-var-italic: "\f033";
|
||||
@fa-var-joomla: "\f1aa";
|
||||
@fa-var-jpy: "\f157";
|
||||
@fa-var-jsfiddle: "\f1cc";
|
||||
@fa-var-key: "\f084";
|
||||
@fa-var-keyboard-o: "\f11c";
|
||||
@fa-var-krw: "\f159";
|
||||
@fa-var-language: "\f1ab";
|
||||
@fa-var-laptop: "\f109";
|
||||
@fa-var-lastfm: "\f202";
|
||||
@fa-var-lastfm-square: "\f203";
|
||||
@fa-var-leaf: "\f06c";
|
||||
@fa-var-leanpub: "\f212";
|
||||
@fa-var-legal: "\f0e3";
|
||||
@fa-var-lemon-o: "\f094";
|
||||
@fa-var-level-down: "\f149";
|
||||
@fa-var-level-up: "\f148";
|
||||
@fa-var-life-bouy: "\f1cd";
|
||||
@fa-var-life-buoy: "\f1cd";
|
||||
@fa-var-life-ring: "\f1cd";
|
||||
@fa-var-life-saver: "\f1cd";
|
||||
@fa-var-lightbulb-o: "\f0eb";
|
||||
@fa-var-line-chart: "\f201";
|
||||
@fa-var-link: "\f0c1";
|
||||
@fa-var-linkedin: "\f0e1";
|
||||
@fa-var-linkedin-square: "\f08c";
|
||||
@fa-var-linode: "\f2b8";
|
||||
@fa-var-linux: "\f17c";
|
||||
@fa-var-list: "\f03a";
|
||||
@fa-var-list-alt: "\f022";
|
||||
@fa-var-list-ol: "\f0cb";
|
||||
@fa-var-list-ul: "\f0ca";
|
||||
@fa-var-location-arrow: "\f124";
|
||||
@fa-var-lock: "\f023";
|
||||
@fa-var-long-arrow-down: "\f175";
|
||||
@fa-var-long-arrow-left: "\f177";
|
||||
@fa-var-long-arrow-right: "\f178";
|
||||
@fa-var-long-arrow-up: "\f176";
|
||||
@fa-var-low-vision: "\f2a8";
|
||||
@fa-var-magic: "\f0d0";
|
||||
@fa-var-magnet: "\f076";
|
||||
@fa-var-mail-forward: "\f064";
|
||||
@fa-var-mail-reply: "\f112";
|
||||
@fa-var-mail-reply-all: "\f122";
|
||||
@fa-var-male: "\f183";
|
||||
@fa-var-map: "\f279";
|
||||
@fa-var-map-marker: "\f041";
|
||||
@fa-var-map-o: "\f278";
|
||||
@fa-var-map-pin: "\f276";
|
||||
@fa-var-map-signs: "\f277";
|
||||
@fa-var-mars: "\f222";
|
||||
@fa-var-mars-double: "\f227";
|
||||
@fa-var-mars-stroke: "\f229";
|
||||
@fa-var-mars-stroke-h: "\f22b";
|
||||
@fa-var-mars-stroke-v: "\f22a";
|
||||
@fa-var-maxcdn: "\f136";
|
||||
@fa-var-meanpath: "\f20c";
|
||||
@fa-var-medium: "\f23a";
|
||||
@fa-var-medkit: "\f0fa";
|
||||
@fa-var-meetup: "\f2e0";
|
||||
@fa-var-meh-o: "\f11a";
|
||||
@fa-var-mercury: "\f223";
|
||||
@fa-var-microchip: "\f2db";
|
||||
@fa-var-microphone: "\f130";
|
||||
@fa-var-microphone-slash: "\f131";
|
||||
@fa-var-minus: "\f068";
|
||||
@fa-var-minus-circle: "\f056";
|
||||
@fa-var-minus-square: "\f146";
|
||||
@fa-var-minus-square-o: "\f147";
|
||||
@fa-var-mixcloud: "\f289";
|
||||
@fa-var-mobile: "\f10b";
|
||||
@fa-var-mobile-phone: "\f10b";
|
||||
@fa-var-modx: "\f285";
|
||||
@fa-var-money: "\f0d6";
|
||||
@fa-var-moon-o: "\f186";
|
||||
@fa-var-mortar-board: "\f19d";
|
||||
@fa-var-motorcycle: "\f21c";
|
||||
@fa-var-mouse-pointer: "\f245";
|
||||
@fa-var-music: "\f001";
|
||||
@fa-var-navicon: "\f0c9";
|
||||
@fa-var-neuter: "\f22c";
|
||||
@fa-var-newspaper-o: "\f1ea";
|
||||
@fa-var-object-group: "\f247";
|
||||
@fa-var-object-ungroup: "\f248";
|
||||
@fa-var-odnoklassniki: "\f263";
|
||||
@fa-var-odnoklassniki-square: "\f264";
|
||||
@fa-var-opencart: "\f23d";
|
||||
@fa-var-openid: "\f19b";
|
||||
@fa-var-opera: "\f26a";
|
||||
@fa-var-optin-monster: "\f23c";
|
||||
@fa-var-outdent: "\f03b";
|
||||
@fa-var-pagelines: "\f18c";
|
||||
@fa-var-paint-brush: "\f1fc";
|
||||
@fa-var-paper-plane: "\f1d8";
|
||||
@fa-var-paper-plane-o: "\f1d9";
|
||||
@fa-var-paperclip: "\f0c6";
|
||||
@fa-var-paragraph: "\f1dd";
|
||||
@fa-var-paste: "\f0ea";
|
||||
@fa-var-pause: "\f04c";
|
||||
@fa-var-pause-circle: "\f28b";
|
||||
@fa-var-pause-circle-o: "\f28c";
|
||||
@fa-var-paw: "\f1b0";
|
||||
@fa-var-paypal: "\f1ed";
|
||||
@fa-var-pencil: "\f040";
|
||||
@fa-var-pencil-square: "\f14b";
|
||||
@fa-var-pencil-square-o: "\f044";
|
||||
@fa-var-percent: "\f295";
|
||||
@fa-var-phone: "\f095";
|
||||
@fa-var-phone-square: "\f098";
|
||||
@fa-var-photo: "\f03e";
|
||||
@fa-var-picture-o: "\f03e";
|
||||
@fa-var-pie-chart: "\f200";
|
||||
@fa-var-pied-piper: "\f2ae";
|
||||
@fa-var-pied-piper-alt: "\f1a8";
|
||||
@fa-var-pied-piper-pp: "\f1a7";
|
||||
@fa-var-pinterest: "\f0d2";
|
||||
@fa-var-pinterest-p: "\f231";
|
||||
@fa-var-pinterest-square: "\f0d3";
|
||||
@fa-var-plane: "\f072";
|
||||
@fa-var-play: "\f04b";
|
||||
@fa-var-play-circle: "\f144";
|
||||
@fa-var-play-circle-o: "\f01d";
|
||||
@fa-var-plug: "\f1e6";
|
||||
@fa-var-plus: "\f067";
|
||||
@fa-var-plus-circle: "\f055";
|
||||
@fa-var-plus-square: "\f0fe";
|
||||
@fa-var-plus-square-o: "\f196";
|
||||
@fa-var-podcast: "\f2ce";
|
||||
@fa-var-power-off: "\f011";
|
||||
@fa-var-print: "\f02f";
|
||||
@fa-var-product-hunt: "\f288";
|
||||
@fa-var-puzzle-piece: "\f12e";
|
||||
@fa-var-qq: "\f1d6";
|
||||
@fa-var-qrcode: "\f029";
|
||||
@fa-var-question: "\f128";
|
||||
@fa-var-question-circle: "\f059";
|
||||
@fa-var-question-circle-o: "\f29c";
|
||||
@fa-var-quora: "\f2c4";
|
||||
@fa-var-quote-left: "\f10d";
|
||||
@fa-var-quote-right: "\f10e";
|
||||
@fa-var-ra: "\f1d0";
|
||||
@fa-var-random: "\f074";
|
||||
@fa-var-ravelry: "\f2d9";
|
||||
@fa-var-rebel: "\f1d0";
|
||||
@fa-var-recycle: "\f1b8";
|
||||
@fa-var-reddit: "\f1a1";
|
||||
@fa-var-reddit-alien: "\f281";
|
||||
@fa-var-reddit-square: "\f1a2";
|
||||
@fa-var-refresh: "\f021";
|
||||
@fa-var-registered: "\f25d";
|
||||
@fa-var-remove: "\f00d";
|
||||
@fa-var-renren: "\f18b";
|
||||
@fa-var-reorder: "\f0c9";
|
||||
@fa-var-repeat: "\f01e";
|
||||
@fa-var-reply: "\f112";
|
||||
@fa-var-reply-all: "\f122";
|
||||
@fa-var-resistance: "\f1d0";
|
||||
@fa-var-retweet: "\f079";
|
||||
@fa-var-rmb: "\f157";
|
||||
@fa-var-road: "\f018";
|
||||
@fa-var-rocket: "\f135";
|
||||
@fa-var-rotate-left: "\f0e2";
|
||||
@fa-var-rotate-right: "\f01e";
|
||||
@fa-var-rouble: "\f158";
|
||||
@fa-var-rss: "\f09e";
|
||||
@fa-var-rss-square: "\f143";
|
||||
@fa-var-rub: "\f158";
|
||||
@fa-var-ruble: "\f158";
|
||||
@fa-var-rupee: "\f156";
|
||||
@fa-var-s15: "\f2cd";
|
||||
@fa-var-safari: "\f267";
|
||||
@fa-var-save: "\f0c7";
|
||||
@fa-var-scissors: "\f0c4";
|
||||
@fa-var-scribd: "\f28a";
|
||||
@fa-var-search: "\f002";
|
||||
@fa-var-search-minus: "\f010";
|
||||
@fa-var-search-plus: "\f00e";
|
||||
@fa-var-sellsy: "\f213";
|
||||
@fa-var-send: "\f1d8";
|
||||
@fa-var-send-o: "\f1d9";
|
||||
@fa-var-server: "\f233";
|
||||
@fa-var-share: "\f064";
|
||||
@fa-var-share-alt: "\f1e0";
|
||||
@fa-var-share-alt-square: "\f1e1";
|
||||
@fa-var-share-square: "\f14d";
|
||||
@fa-var-share-square-o: "\f045";
|
||||
@fa-var-shekel: "\f20b";
|
||||
@fa-var-sheqel: "\f20b";
|
||||
@fa-var-shield: "\f132";
|
||||
@fa-var-ship: "\f21a";
|
||||
@fa-var-shirtsinbulk: "\f214";
|
||||
@fa-var-shopping-bag: "\f290";
|
||||
@fa-var-shopping-basket: "\f291";
|
||||
@fa-var-shopping-cart: "\f07a";
|
||||
@fa-var-shower: "\f2cc";
|
||||
@fa-var-sign-in: "\f090";
|
||||
@fa-var-sign-language: "\f2a7";
|
||||
@fa-var-sign-out: "\f08b";
|
||||
@fa-var-signal: "\f012";
|
||||
@fa-var-signing: "\f2a7";
|
||||
@fa-var-simplybuilt: "\f215";
|
||||
@fa-var-sitemap: "\f0e8";
|
||||
@fa-var-skyatlas: "\f216";
|
||||
@fa-var-skype: "\f17e";
|
||||
@fa-var-slack: "\f198";
|
||||
@fa-var-sliders: "\f1de";
|
||||
@fa-var-slideshare: "\f1e7";
|
||||
@fa-var-smile-o: "\f118";
|
||||
@fa-var-snapchat: "\f2ab";
|
||||
@fa-var-snapchat-ghost: "\f2ac";
|
||||
@fa-var-snapchat-square: "\f2ad";
|
||||
@fa-var-snowflake-o: "\f2dc";
|
||||
@fa-var-soccer-ball-o: "\f1e3";
|
||||
@fa-var-sort: "\f0dc";
|
||||
@fa-var-sort-alpha-asc: "\f15d";
|
||||
@fa-var-sort-alpha-desc: "\f15e";
|
||||
@fa-var-sort-amount-asc: "\f160";
|
||||
@fa-var-sort-amount-desc: "\f161";
|
||||
@fa-var-sort-asc: "\f0de";
|
||||
@fa-var-sort-desc: "\f0dd";
|
||||
@fa-var-sort-down: "\f0dd";
|
||||
@fa-var-sort-numeric-asc: "\f162";
|
||||
@fa-var-sort-numeric-desc: "\f163";
|
||||
@fa-var-sort-up: "\f0de";
|
||||
@fa-var-soundcloud: "\f1be";
|
||||
@fa-var-space-shuttle: "\f197";
|
||||
@fa-var-spinner: "\f110";
|
||||
@fa-var-spoon: "\f1b1";
|
||||
@fa-var-spotify: "\f1bc";
|
||||
@fa-var-square: "\f0c8";
|
||||
@fa-var-square-o: "\f096";
|
||||
@fa-var-stack-exchange: "\f18d";
|
||||
@fa-var-stack-overflow: "\f16c";
|
||||
@fa-var-star: "\f005";
|
||||
@fa-var-star-half: "\f089";
|
||||
@fa-var-star-half-empty: "\f123";
|
||||
@fa-var-star-half-full: "\f123";
|
||||
@fa-var-star-half-o: "\f123";
|
||||
@fa-var-star-o: "\f006";
|
||||
@fa-var-steam: "\f1b6";
|
||||
@fa-var-steam-square: "\f1b7";
|
||||
@fa-var-step-backward: "\f048";
|
||||
@fa-var-step-forward: "\f051";
|
||||
@fa-var-stethoscope: "\f0f1";
|
||||
@fa-var-sticky-note: "\f249";
|
||||
@fa-var-sticky-note-o: "\f24a";
|
||||
@fa-var-stop: "\f04d";
|
||||
@fa-var-stop-circle: "\f28d";
|
||||
@fa-var-stop-circle-o: "\f28e";
|
||||
@fa-var-street-view: "\f21d";
|
||||
@fa-var-strikethrough: "\f0cc";
|
||||
@fa-var-stumbleupon: "\f1a4";
|
||||
@fa-var-stumbleupon-circle: "\f1a3";
|
||||
@fa-var-subscript: "\f12c";
|
||||
@fa-var-subway: "\f239";
|
||||
@fa-var-suitcase: "\f0f2";
|
||||
@fa-var-sun-o: "\f185";
|
||||
@fa-var-superpowers: "\f2dd";
|
||||
@fa-var-superscript: "\f12b";
|
||||
@fa-var-support: "\f1cd";
|
||||
@fa-var-table: "\f0ce";
|
||||
@fa-var-tablet: "\f10a";
|
||||
@fa-var-tachometer: "\f0e4";
|
||||
@fa-var-tag: "\f02b";
|
||||
@fa-var-tags: "\f02c";
|
||||
@fa-var-tasks: "\f0ae";
|
||||
@fa-var-taxi: "\f1ba";
|
||||
@fa-var-telegram: "\f2c6";
|
||||
@fa-var-television: "\f26c";
|
||||
@fa-var-tencent-weibo: "\f1d5";
|
||||
@fa-var-terminal: "\f120";
|
||||
@fa-var-text-height: "\f034";
|
||||
@fa-var-text-width: "\f035";
|
||||
@fa-var-th: "\f00a";
|
||||
@fa-var-th-large: "\f009";
|
||||
@fa-var-th-list: "\f00b";
|
||||
@fa-var-themeisle: "\f2b2";
|
||||
@fa-var-thermometer: "\f2c7";
|
||||
@fa-var-thermometer-0: "\f2cb";
|
||||
@fa-var-thermometer-1: "\f2ca";
|
||||
@fa-var-thermometer-2: "\f2c9";
|
||||
@fa-var-thermometer-3: "\f2c8";
|
||||
@fa-var-thermometer-4: "\f2c7";
|
||||
@fa-var-thermometer-empty: "\f2cb";
|
||||
@fa-var-thermometer-full: "\f2c7";
|
||||
@fa-var-thermometer-half: "\f2c9";
|
||||
@fa-var-thermometer-quarter: "\f2ca";
|
||||
@fa-var-thermometer-three-quarters: "\f2c8";
|
||||
@fa-var-thumb-tack: "\f08d";
|
||||
@fa-var-thumbs-down: "\f165";
|
||||
@fa-var-thumbs-o-down: "\f088";
|
||||
@fa-var-thumbs-o-up: "\f087";
|
||||
@fa-var-thumbs-up: "\f164";
|
||||
@fa-var-ticket: "\f145";
|
||||
@fa-var-times: "\f00d";
|
||||
@fa-var-times-circle: "\f057";
|
||||
@fa-var-times-circle-o: "\f05c";
|
||||
@fa-var-times-rectangle: "\f2d3";
|
||||
@fa-var-times-rectangle-o: "\f2d4";
|
||||
@fa-var-tint: "\f043";
|
||||
@fa-var-toggle-down: "\f150";
|
||||
@fa-var-toggle-left: "\f191";
|
||||
@fa-var-toggle-off: "\f204";
|
||||
@fa-var-toggle-on: "\f205";
|
||||
@fa-var-toggle-right: "\f152";
|
||||
@fa-var-toggle-up: "\f151";
|
||||
@fa-var-trademark: "\f25c";
|
||||
@fa-var-train: "\f238";
|
||||
@fa-var-transgender: "\f224";
|
||||
@fa-var-transgender-alt: "\f225";
|
||||
@fa-var-trash: "\f1f8";
|
||||
@fa-var-trash-o: "\f014";
|
||||
@fa-var-tree: "\f1bb";
|
||||
@fa-var-trello: "\f181";
|
||||
@fa-var-tripadvisor: "\f262";
|
||||
@fa-var-trophy: "\f091";
|
||||
@fa-var-truck: "\f0d1";
|
||||
@fa-var-try: "\f195";
|
||||
@fa-var-tty: "\f1e4";
|
||||
@fa-var-tumblr: "\f173";
|
||||
@fa-var-tumblr-square: "\f174";
|
||||
@fa-var-turkish-lira: "\f195";
|
||||
@fa-var-tv: "\f26c";
|
||||
@fa-var-twitch: "\f1e8";
|
||||
@fa-var-twitter: "\f099";
|
||||
@fa-var-twitter-square: "\f081";
|
||||
@fa-var-umbrella: "\f0e9";
|
||||
@fa-var-underline: "\f0cd";
|
||||
@fa-var-undo: "\f0e2";
|
||||
@fa-var-universal-access: "\f29a";
|
||||
@fa-var-university: "\f19c";
|
||||
@fa-var-unlink: "\f127";
|
||||
@fa-var-unlock: "\f09c";
|
||||
@fa-var-unlock-alt: "\f13e";
|
||||
@fa-var-unsorted: "\f0dc";
|
||||
@fa-var-upload: "\f093";
|
||||
@fa-var-usb: "\f287";
|
||||
@fa-var-usd: "\f155";
|
||||
@fa-var-user: "\f007";
|
||||
@fa-var-user-circle: "\f2bd";
|
||||
@fa-var-user-circle-o: "\f2be";
|
||||
@fa-var-user-md: "\f0f0";
|
||||
@fa-var-user-o: "\f2c0";
|
||||
@fa-var-user-plus: "\f234";
|
||||
@fa-var-user-secret: "\f21b";
|
||||
@fa-var-user-times: "\f235";
|
||||
@fa-var-users: "\f0c0";
|
||||
@fa-var-vcard: "\f2bb";
|
||||
@fa-var-vcard-o: "\f2bc";
|
||||
@fa-var-venus: "\f221";
|
||||
@fa-var-venus-double: "\f226";
|
||||
@fa-var-venus-mars: "\f228";
|
||||
@fa-var-viacoin: "\f237";
|
||||
@fa-var-viadeo: "\f2a9";
|
||||
@fa-var-viadeo-square: "\f2aa";
|
||||
@fa-var-video-camera: "\f03d";
|
||||
@fa-var-vimeo: "\f27d";
|
||||
@fa-var-vimeo-square: "\f194";
|
||||
@fa-var-vine: "\f1ca";
|
||||
@fa-var-vk: "\f189";
|
||||
@fa-var-volume-control-phone: "\f2a0";
|
||||
@fa-var-volume-down: "\f027";
|
||||
@fa-var-volume-off: "\f026";
|
||||
@fa-var-volume-up: "\f028";
|
||||
@fa-var-warning: "\f071";
|
||||
@fa-var-wechat: "\f1d7";
|
||||
@fa-var-weibo: "\f18a";
|
||||
@fa-var-weixin: "\f1d7";
|
||||
@fa-var-whatsapp: "\f232";
|
||||
@fa-var-wheelchair: "\f193";
|
||||
@fa-var-wheelchair-alt: "\f29b";
|
||||
@fa-var-wifi: "\f1eb";
|
||||
@fa-var-wikipedia-w: "\f266";
|
||||
@fa-var-window-close: "\f2d3";
|
||||
@fa-var-window-close-o: "\f2d4";
|
||||
@fa-var-window-maximize: "\f2d0";
|
||||
@fa-var-window-minimize: "\f2d1";
|
||||
@fa-var-window-restore: "\f2d2";
|
||||
@fa-var-windows: "\f17a";
|
||||
@fa-var-won: "\f159";
|
||||
@fa-var-wordpress: "\f19a";
|
||||
@fa-var-wpbeginner: "\f297";
|
||||
@fa-var-wpexplorer: "\f2de";
|
||||
@fa-var-wpforms: "\f298";
|
||||
@fa-var-wrench: "\f0ad";
|
||||
@fa-var-xing: "\f168";
|
||||
@fa-var-xing-square: "\f169";
|
||||
@fa-var-y-combinator: "\f23b";
|
||||
@fa-var-y-combinator-square: "\f1d4";
|
||||
@fa-var-yahoo: "\f19e";
|
||||
@fa-var-yc: "\f23b";
|
||||
@fa-var-yc-square: "\f1d4";
|
||||
@fa-var-yelp: "\f1e9";
|
||||
@fa-var-yen: "\f157";
|
||||
@fa-var-yoast: "\f2b1";
|
||||
@fa-var-youtube: "\f167";
|
||||
@fa-var-youtube-play: "\f16a";
|
||||
@fa-var-youtube-square: "\f166";
|
||||
|
34
assets/css/vendor/font-awesome/scss/_animated.scss
vendored
Normal file
34
assets/css/vendor/font-awesome/scss/_animated.scss
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
// Spinning Icons
|
||||
// --------------------------
|
||||
|
||||
.#{$fa-css-prefix}-spin {
|
||||
-webkit-animation: fa-spin 2s infinite linear;
|
||||
animation: fa-spin 2s infinite linear;
|
||||
}
|
||||
|
||||
.#{$fa-css-prefix}-pulse {
|
||||
-webkit-animation: fa-spin 1s infinite steps(8);
|
||||
animation: fa-spin 1s infinite steps(8);
|
||||
}
|
||||
|
||||
@-webkit-keyframes fa-spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes fa-spin {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(359deg);
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
25
assets/css/vendor/font-awesome/scss/_bordered-pulled.scss
vendored
Normal file
25
assets/css/vendor/font-awesome/scss/_bordered-pulled.scss
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
// Bordered & Pulled
|
||||
// -------------------------
|
||||
|
||||
.#{$fa-css-prefix}-border {
|
||||
padding: .2em .25em .15em;
|
||||
border: solid .08em $fa-border-color;
|
||||
border-radius: .1em;
|
||||
}
|
||||
|
||||
.#{$fa-css-prefix}-pull-left { float: left; }
|
||||
.#{$fa-css-prefix}-pull-right { float: right; }
|
||||
|
||||
.#{$fa-css-prefix} {
|
||||
&.#{$fa-css-prefix}-pull-left { margin-right: .3em; }
|
||||
&.#{$fa-css-prefix}-pull-right { margin-left: .3em; }
|
||||
}
|
||||
|
||||
/* Deprecated as of 4.4.0 */
|
||||
.pull-right { float: right; }
|
||||
.pull-left { float: left; }
|
||||
|
||||
.#{$fa-css-prefix} {
|
||||
&.pull-left { margin-right: .3em; }
|
||||
&.pull-right { margin-left: .3em; }
|
||||
}
|
12
assets/css/vendor/font-awesome/scss/_core.scss
vendored
Normal file
12
assets/css/vendor/font-awesome/scss/_core.scss
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
// Base Class Definition
|
||||
// -------------------------
|
||||
|
||||
.#{$fa-css-prefix} {
|
||||
display: inline-block;
|
||||
font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration
|
||||
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
}
|
6
assets/css/vendor/font-awesome/scss/_fixed-width.scss
vendored
Normal file
6
assets/css/vendor/font-awesome/scss/_fixed-width.scss
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
// Fixed Width Icons
|
||||
// -------------------------
|
||||
.#{$fa-css-prefix}-fw {
|
||||
width: (18em / 14);
|
||||
text-align: center;
|
||||
}
|
789
assets/css/vendor/font-awesome/scss/_icons.scss
vendored
Normal file
789
assets/css/vendor/font-awesome/scss/_icons.scss
vendored
Normal file
@ -0,0 +1,789 @@
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
readers do not read off random characters that represent icons */
|
||||
|
||||
.#{$fa-css-prefix}-glass:before { content: $fa-var-glass; }
|
||||
.#{$fa-css-prefix}-music:before { content: $fa-var-music; }
|
||||
.#{$fa-css-prefix}-search:before { content: $fa-var-search; }
|
||||
.#{$fa-css-prefix}-envelope-o:before { content: $fa-var-envelope-o; }
|
||||
.#{$fa-css-prefix}-heart:before { content: $fa-var-heart; }
|
||||
.#{$fa-css-prefix}-star:before { content: $fa-var-star; }
|
||||
.#{$fa-css-prefix}-star-o:before { content: $fa-var-star-o; }
|
||||
.#{$fa-css-prefix}-user:before { content: $fa-var-user; }
|
||||
.#{$fa-css-prefix}-film:before { content: $fa-var-film; }
|
||||
.#{$fa-css-prefix}-th-large:before { content: $fa-var-th-large; }
|
||||
.#{$fa-css-prefix}-th:before { content: $fa-var-th; }
|
||||
.#{$fa-css-prefix}-th-list:before { content: $fa-var-th-list; }
|
||||
.#{$fa-css-prefix}-check:before { content: $fa-var-check; }
|
||||
.#{$fa-css-prefix}-remove:before,
|
||||
.#{$fa-css-prefix}-close:before,
|
||||
.#{$fa-css-prefix}-times:before { content: $fa-var-times; }
|
||||
.#{$fa-css-prefix}-search-plus:before { content: $fa-var-search-plus; }
|
||||
.#{$fa-css-prefix}-search-minus:before { content: $fa-var-search-minus; }
|
||||
.#{$fa-css-prefix}-power-off:before { content: $fa-var-power-off; }
|
||||
.#{$fa-css-prefix}-signal:before { content: $fa-var-signal; }
|
||||
.#{$fa-css-prefix}-gear:before,
|
||||
.#{$fa-css-prefix}-cog:before { content: $fa-var-cog; }
|
||||
.#{$fa-css-prefix}-trash-o:before { content: $fa-var-trash-o; }
|
||||
.#{$fa-css-prefix}-home:before { content: $fa-var-home; }
|
||||
.#{$fa-css-prefix}-file-o:before { content: $fa-var-file-o; }
|
||||
.#{$fa-css-prefix}-clock-o:before { content: $fa-var-clock-o; }
|
||||
.#{$fa-css-prefix}-road:before { content: $fa-var-road; }
|
||||
.#{$fa-css-prefix}-download:before { content: $fa-var-download; }
|
||||
.#{$fa-css-prefix}-arrow-circle-o-down:before { content: $fa-var-arrow-circle-o-down; }
|
||||
.#{$fa-css-prefix}-arrow-circle-o-up:before { content: $fa-var-arrow-circle-o-up; }
|
||||
.#{$fa-css-prefix}-inbox:before { content: $fa-var-inbox; }
|
||||
.#{$fa-css-prefix}-play-circle-o:before { content: $fa-var-play-circle-o; }
|
||||
.#{$fa-css-prefix}-rotate-right:before,
|
||||
.#{$fa-css-prefix}-repeat:before { content: $fa-var-repeat; }
|
||||
.#{$fa-css-prefix}-refresh:before { content: $fa-var-refresh; }
|
||||
.#{$fa-css-prefix}-list-alt:before { content: $fa-var-list-alt; }
|
||||
.#{$fa-css-prefix}-lock:before { content: $fa-var-lock; }
|
||||
.#{$fa-css-prefix}-flag:before { content: $fa-var-flag; }
|
||||
.#{$fa-css-prefix}-headphones:before { content: $fa-var-headphones; }
|
||||
.#{$fa-css-prefix}-volume-off:before { content: $fa-var-volume-off; }
|
||||
.#{$fa-css-prefix}-volume-down:before { content: $fa-var-volume-down; }
|
||||
.#{$fa-css-prefix}-volume-up:before { content: $fa-var-volume-up; }
|
||||
.#{$fa-css-prefix}-qrcode:before { content: $fa-var-qrcode; }
|
||||
.#{$fa-css-prefix}-barcode:before { content: $fa-var-barcode; }
|
||||
.#{$fa-css-prefix}-tag:before { content: $fa-var-tag; }
|
||||
.#{$fa-css-prefix}-tags:before { content: $fa-var-tags; }
|
||||
.#{$fa-css-prefix}-book:before { content: $fa-var-book; }
|
||||
.#{$fa-css-prefix}-bookmark:before { content: $fa-var-bookmark; }
|
||||
.#{$fa-css-prefix}-print:before { content: $fa-var-print; }
|
||||
.#{$fa-css-prefix}-camera:before { content: $fa-var-camera; }
|
||||
.#{$fa-css-prefix}-font:before { content: $fa-var-font; }
|
||||
.#{$fa-css-prefix}-bold:before { content: $fa-var-bold; }
|
||||
.#{$fa-css-prefix}-italic:before { content: $fa-var-italic; }
|
||||
.#{$fa-css-prefix}-text-height:before { content: $fa-var-text-height; }
|
||||
.#{$fa-css-prefix}-text-width:before { content: $fa-var-text-width; }
|
||||
.#{$fa-css-prefix}-align-left:before { content: $fa-var-align-left; }
|
||||
.#{$fa-css-prefix}-align-center:before { content: $fa-var-align-center; }
|
||||
.#{$fa-css-prefix}-align-right:before { content: $fa-var-align-right; }
|
||||
.#{$fa-css-prefix}-align-justify:before { content: $fa-var-align-justify; }
|
||||
.#{$fa-css-prefix}-list:before { content: $fa-var-list; }
|
||||
.#{$fa-css-prefix}-dedent:before,
|
||||
.#{$fa-css-prefix}-outdent:before { content: $fa-var-outdent; }
|
||||
.#{$fa-css-prefix}-indent:before { content: $fa-var-indent; }
|
||||
.#{$fa-css-prefix}-video-camera:before { content: $fa-var-video-camera; }
|
||||
.#{$fa-css-prefix}-photo:before,
|
||||
.#{$fa-css-prefix}-image:before,
|
||||
.#{$fa-css-prefix}-picture-o:before { content: $fa-var-picture-o; }
|
||||
.#{$fa-css-prefix}-pencil:before { content: $fa-var-pencil; }
|
||||
.#{$fa-css-prefix}-map-marker:before { content: $fa-var-map-marker; }
|
||||
.#{$fa-css-prefix}-adjust:before { content: $fa-var-adjust; }
|
||||
.#{$fa-css-prefix}-tint:before { content: $fa-var-tint; }
|
||||
.#{$fa-css-prefix}-edit:before,
|
||||
.#{$fa-css-prefix}-pencil-square-o:before { content: $fa-var-pencil-square-o; }
|
||||
.#{$fa-css-prefix}-share-square-o:before { content: $fa-var-share-square-o; }
|
||||
.#{$fa-css-prefix}-check-square-o:before { content: $fa-var-check-square-o; }
|
||||
.#{$fa-css-prefix}-arrows:before { content: $fa-var-arrows; }
|
||||
.#{$fa-css-prefix}-step-backward:before { content: $fa-var-step-backward; }
|
||||
.#{$fa-css-prefix}-fast-backward:before { content: $fa-var-fast-backward; }
|
||||
.#{$fa-css-prefix}-backward:before { content: $fa-var-backward; }
|
||||
.#{$fa-css-prefix}-play:before { content: $fa-var-play; }
|
||||
.#{$fa-css-prefix}-pause:before { content: $fa-var-pause; }
|
||||
.#{$fa-css-prefix}-stop:before { content: $fa-var-stop; }
|
||||
.#{$fa-css-prefix}-forward:before { content: $fa-var-forward; }
|
||||
.#{$fa-css-prefix}-fast-forward:before { content: $fa-var-fast-forward; }
|
||||
.#{$fa-css-prefix}-step-forward:before { content: $fa-var-step-forward; }
|
||||
.#{$fa-css-prefix}-eject:before { content: $fa-var-eject; }
|
||||
.#{$fa-css-prefix}-chevron-left:before { content: $fa-var-chevron-left; }
|
||||
.#{$fa-css-prefix}-chevron-right:before { content: $fa-var-chevron-right; }
|
||||
.#{$fa-css-prefix}-plus-circle:before { content: $fa-var-plus-circle; }
|
||||
.#{$fa-css-prefix}-minus-circle:before { content: $fa-var-minus-circle; }
|
||||
.#{$fa-css-prefix}-times-circle:before { content: $fa-var-times-circle; }
|
||||
.#{$fa-css-prefix}-check-circle:before { content: $fa-var-check-circle; }
|
||||
.#{$fa-css-prefix}-question-circle:before { content: $fa-var-question-circle; }
|
||||
.#{$fa-css-prefix}-info-circle:before { content: $fa-var-info-circle; }
|
||||
.#{$fa-css-prefix}-crosshairs:before { content: $fa-var-crosshairs; }
|
||||
.#{$fa-css-prefix}-times-circle-o:before { content: $fa-var-times-circle-o; }
|
||||
.#{$fa-css-prefix}-check-circle-o:before { content: $fa-var-check-circle-o; }
|
||||
.#{$fa-css-prefix}-ban:before { content: $fa-var-ban; }
|
||||
.#{$fa-css-prefix}-arrow-left:before { content: $fa-var-arrow-left; }
|
||||
.#{$fa-css-prefix}-arrow-right:before { content: $fa-var-arrow-right; }
|
||||
.#{$fa-css-prefix}-arrow-up:before { content: $fa-var-arrow-up; }
|
||||
.#{$fa-css-prefix}-arrow-down:before { content: $fa-var-arrow-down; }
|
||||
.#{$fa-css-prefix}-mail-forward:before,
|
||||
.#{$fa-css-prefix}-share:before { content: $fa-var-share; }
|
||||
.#{$fa-css-prefix}-expand:before { content: $fa-var-expand; }
|
||||
.#{$fa-css-prefix}-compress:before { content: $fa-var-compress; }
|
||||
.#{$fa-css-prefix}-plus:before { content: $fa-var-plus; }
|
||||
.#{$fa-css-prefix}-minus:before { content: $fa-var-minus; }
|
||||
.#{$fa-css-prefix}-asterisk:before { content: $fa-var-asterisk; }
|
||||
.#{$fa-css-prefix}-exclamation-circle:before { content: $fa-var-exclamation-circle; }
|
||||
.#{$fa-css-prefix}-gift:before { content: $fa-var-gift; }
|
||||
.#{$fa-css-prefix}-leaf:before { content: $fa-var-leaf; }
|
||||
.#{$fa-css-prefix}-fire:before { content: $fa-var-fire; }
|
||||
.#{$fa-css-prefix}-eye:before { content: $fa-var-eye; }
|
||||
.#{$fa-css-prefix}-eye-slash:before { content: $fa-var-eye-slash; }
|
||||
.#{$fa-css-prefix}-warning:before,
|
||||
.#{$fa-css-prefix}-exclamation-triangle:before { content: $fa-var-exclamation-triangle; }
|
||||
.#{$fa-css-prefix}-plane:before { content: $fa-var-plane; }
|
||||
.#{$fa-css-prefix}-calendar:before { content: $fa-var-calendar; }
|
||||
.#{$fa-css-prefix}-random:before { content: $fa-var-random; }
|
||||
.#{$fa-css-prefix}-comment:before { content: $fa-var-comment; }
|
||||
.#{$fa-css-prefix}-magnet:before { content: $fa-var-magnet; }
|
||||
.#{$fa-css-prefix}-chevron-up:before { content: $fa-var-chevron-up; }
|
||||
.#{$fa-css-prefix}-chevron-down:before { content: $fa-var-chevron-down; }
|
||||
.#{$fa-css-prefix}-retweet:before { content: $fa-var-retweet; }
|
||||
.#{$fa-css-prefix}-shopping-cart:before { content: $fa-var-shopping-cart; }
|
||||
.#{$fa-css-prefix}-folder:before { content: $fa-var-folder; }
|
||||
.#{$fa-css-prefix}-folder-open:before { content: $fa-var-folder-open; }
|
||||
.#{$fa-css-prefix}-arrows-v:before { content: $fa-var-arrows-v; }
|
||||
.#{$fa-css-prefix}-arrows-h:before { content: $fa-var-arrows-h; }
|
||||
.#{$fa-css-prefix}-bar-chart-o:before,
|
||||
.#{$fa-css-prefix}-bar-chart:before { content: $fa-var-bar-chart; }
|
||||
.#{$fa-css-prefix}-twitter-square:before { content: $fa-var-twitter-square; }
|
||||
.#{$fa-css-prefix}-facebook-square:before { content: $fa-var-facebook-square; }
|
||||
.#{$fa-css-prefix}-camera-retro:before { content: $fa-var-camera-retro; }
|
||||
.#{$fa-css-prefix}-key:before { content: $fa-var-key; }
|
||||
.#{$fa-css-prefix}-gears:before,
|
||||
.#{$fa-css-prefix}-cogs:before { content: $fa-var-cogs; }
|
||||
.#{$fa-css-prefix}-comments:before { content: $fa-var-comments; }
|
||||
.#{$fa-css-prefix}-thumbs-o-up:before { content: $fa-var-thumbs-o-up; }
|
||||
.#{$fa-css-prefix}-thumbs-o-down:before { content: $fa-var-thumbs-o-down; }
|
||||
.#{$fa-css-prefix}-star-half:before { content: $fa-var-star-half; }
|
||||
.#{$fa-css-prefix}-heart-o:before { content: $fa-var-heart-o; }
|
||||
.#{$fa-css-prefix}-sign-out:before { content: $fa-var-sign-out; }
|
||||
.#{$fa-css-prefix}-linkedin-square:before { content: $fa-var-linkedin-square; }
|
||||
.#{$fa-css-prefix}-thumb-tack:before { content: $fa-var-thumb-tack; }
|
||||
.#{$fa-css-prefix}-external-link:before { content: $fa-var-external-link; }
|
||||
.#{$fa-css-prefix}-sign-in:before { content: $fa-var-sign-in; }
|
||||
.#{$fa-css-prefix}-trophy:before { content: $fa-var-trophy; }
|
||||
.#{$fa-css-prefix}-github-square:before { content: $fa-var-github-square; }
|
||||
.#{$fa-css-prefix}-upload:before { content: $fa-var-upload; }
|
||||
.#{$fa-css-prefix}-lemon-o:before { content: $fa-var-lemon-o; }
|
||||
.#{$fa-css-prefix}-phone:before { content: $fa-var-phone; }
|
||||
.#{$fa-css-prefix}-square-o:before { content: $fa-var-square-o; }
|
||||
.#{$fa-css-prefix}-bookmark-o:before { content: $fa-var-bookmark-o; }
|
||||
.#{$fa-css-prefix}-phone-square:before { content: $fa-var-phone-square; }
|
||||
.#{$fa-css-prefix}-twitter:before { content: $fa-var-twitter; }
|
||||
.#{$fa-css-prefix}-facebook-f:before,
|
||||
.#{$fa-css-prefix}-facebook:before { content: $fa-var-facebook; }
|
||||
.#{$fa-css-prefix}-github:before { content: $fa-var-github; }
|
||||
.#{$fa-css-prefix}-unlock:before { content: $fa-var-unlock; }
|
||||
.#{$fa-css-prefix}-credit-card:before { content: $fa-var-credit-card; }
|
||||
.#{$fa-css-prefix}-feed:before,
|
||||
.#{$fa-css-prefix}-rss:before { content: $fa-var-rss; }
|
||||
.#{$fa-css-prefix}-hdd-o:before { content: $fa-var-hdd-o; }
|
||||
.#{$fa-css-prefix}-bullhorn:before { content: $fa-var-bullhorn; }
|
||||
.#{$fa-css-prefix}-bell:before { content: $fa-var-bell; }
|
||||
.#{$fa-css-prefix}-certificate:before { content: $fa-var-certificate; }
|
||||
.#{$fa-css-prefix}-hand-o-right:before { content: $fa-var-hand-o-right; }
|
||||
.#{$fa-css-prefix}-hand-o-left:before { content: $fa-var-hand-o-left; }
|
||||
.#{$fa-css-prefix}-hand-o-up:before { content: $fa-var-hand-o-up; }
|
||||
.#{$fa-css-prefix}-hand-o-down:before { content: $fa-var-hand-o-down; }
|
||||
.#{$fa-css-prefix}-arrow-circle-left:before { content: $fa-var-arrow-circle-left; }
|
||||
.#{$fa-css-prefix}-arrow-circle-right:before { content: $fa-var-arrow-circle-right; }
|
||||
.#{$fa-css-prefix}-arrow-circle-up:before { content: $fa-var-arrow-circle-up; }
|
||||
.#{$fa-css-prefix}-arrow-circle-down:before { content: $fa-var-arrow-circle-down; }
|
||||
.#{$fa-css-prefix}-globe:before { content: $fa-var-globe; }
|
||||
.#{$fa-css-prefix}-wrench:before { content: $fa-var-wrench; }
|
||||
.#{$fa-css-prefix}-tasks:before { content: $fa-var-tasks; }
|
||||
.#{$fa-css-prefix}-filter:before { content: $fa-var-filter; }
|
||||
.#{$fa-css-prefix}-briefcase:before { content: $fa-var-briefcase; }
|
||||
.#{$fa-css-prefix}-arrows-alt:before { content: $fa-var-arrows-alt; }
|
||||
.#{$fa-css-prefix}-group:before,
|
||||
.#{$fa-css-prefix}-users:before { content: $fa-var-users; }
|
||||
.#{$fa-css-prefix}-chain:before,
|
||||
.#{$fa-css-prefix}-link:before { content: $fa-var-link; }
|
||||
.#{$fa-css-prefix}-cloud:before { content: $fa-var-cloud; }
|
||||
.#{$fa-css-prefix}-flask:before { content: $fa-var-flask; }
|
||||
.#{$fa-css-prefix}-cut:before,
|
||||
.#{$fa-css-prefix}-scissors:before { content: $fa-var-scissors; }
|
||||
.#{$fa-css-prefix}-copy:before,
|
||||
.#{$fa-css-prefix}-files-o:before { content: $fa-var-files-o; }
|
||||
.#{$fa-css-prefix}-paperclip:before { content: $fa-var-paperclip; }
|
||||
.#{$fa-css-prefix}-save:before,
|
||||
.#{$fa-css-prefix}-floppy-o:before { content: $fa-var-floppy-o; }
|
||||
.#{$fa-css-prefix}-square:before { content: $fa-var-square; }
|
||||
.#{$fa-css-prefix}-navicon:before,
|
||||
.#{$fa-css-prefix}-reorder:before,
|
||||
.#{$fa-css-prefix}-bars:before { content: $fa-var-bars; }
|
||||
.#{$fa-css-prefix}-list-ul:before { content: $fa-var-list-ul; }
|
||||
.#{$fa-css-prefix}-list-ol:before { content: $fa-var-list-ol; }
|
||||
.#{$fa-css-prefix}-strikethrough:before { content: $fa-var-strikethrough; }
|
||||
.#{$fa-css-prefix}-underline:before { content: $fa-var-underline; }
|
||||
.#{$fa-css-prefix}-table:before { content: $fa-var-table; }
|
||||
.#{$fa-css-prefix}-magic:before { content: $fa-var-magic; }
|
||||
.#{$fa-css-prefix}-truck:before { content: $fa-var-truck; }
|
||||
.#{$fa-css-prefix}-pinterest:before { content: $fa-var-pinterest; }
|
||||
.#{$fa-css-prefix}-pinterest-square:before { content: $fa-var-pinterest-square; }
|
||||
.#{$fa-css-prefix}-google-plus-square:before { content: $fa-var-google-plus-square; }
|
||||
.#{$fa-css-prefix}-google-plus:before { content: $fa-var-google-plus; }
|
||||
.#{$fa-css-prefix}-money:before { content: $fa-var-money; }
|
||||
.#{$fa-css-prefix}-caret-down:before { content: $fa-var-caret-down; }
|
||||
.#{$fa-css-prefix}-caret-up:before { content: $fa-var-caret-up; }
|
||||
.#{$fa-css-prefix}-caret-left:before { content: $fa-var-caret-left; }
|
||||
.#{$fa-css-prefix}-caret-right:before { content: $fa-var-caret-right; }
|
||||
.#{$fa-css-prefix}-columns:before { content: $fa-var-columns; }
|
||||
.#{$fa-css-prefix}-unsorted:before,
|
||||
.#{$fa-css-prefix}-sort:before { content: $fa-var-sort; }
|
||||
.#{$fa-css-prefix}-sort-down:before,
|
||||
.#{$fa-css-prefix}-sort-desc:before { content: $fa-var-sort-desc; }
|
||||
.#{$fa-css-prefix}-sort-up:before,
|
||||
.#{$fa-css-prefix}-sort-asc:before { content: $fa-var-sort-asc; }
|
||||
.#{$fa-css-prefix}-envelope:before { content: $fa-var-envelope; }
|
||||
.#{$fa-css-prefix}-linkedin:before { content: $fa-var-linkedin; }
|
||||
.#{$fa-css-prefix}-rotate-left:before,
|
||||
.#{$fa-css-prefix}-undo:before { content: $fa-var-undo; }
|
||||
.#{$fa-css-prefix}-legal:before,
|
||||
.#{$fa-css-prefix}-gavel:before { content: $fa-var-gavel; }
|
||||
.#{$fa-css-prefix}-dashboard:before,
|
||||
.#{$fa-css-prefix}-tachometer:before { content: $fa-var-tachometer; }
|
||||
.#{$fa-css-prefix}-comment-o:before { content: $fa-var-comment-o; }
|
||||
.#{$fa-css-prefix}-comments-o:before { content: $fa-var-comments-o; }
|
||||
.#{$fa-css-prefix}-flash:before,
|
||||
.#{$fa-css-prefix}-bolt:before { content: $fa-var-bolt; }
|
||||
.#{$fa-css-prefix}-sitemap:before { content: $fa-var-sitemap; }
|
||||
.#{$fa-css-prefix}-umbrella:before { content: $fa-var-umbrella; }
|
||||
.#{$fa-css-prefix}-paste:before,
|
||||
.#{$fa-css-prefix}-clipboard:before { content: $fa-var-clipboard; }
|
||||
.#{$fa-css-prefix}-lightbulb-o:before { content: $fa-var-lightbulb-o; }
|
||||
.#{$fa-css-prefix}-exchange:before { content: $fa-var-exchange; }
|
||||
.#{$fa-css-prefix}-cloud-download:before { content: $fa-var-cloud-download; }
|
||||
.#{$fa-css-prefix}-cloud-upload:before { content: $fa-var-cloud-upload; }
|
||||
.#{$fa-css-prefix}-user-md:before { content: $fa-var-user-md; }
|
||||
.#{$fa-css-prefix}-stethoscope:before { content: $fa-var-stethoscope; }
|
||||
.#{$fa-css-prefix}-suitcase:before { content: $fa-var-suitcase; }
|
||||
.#{$fa-css-prefix}-bell-o:before { content: $fa-var-bell-o; }
|
||||
.#{$fa-css-prefix}-coffee:before { content: $fa-var-coffee; }
|
||||
.#{$fa-css-prefix}-cutlery:before { content: $fa-var-cutlery; }
|
||||
.#{$fa-css-prefix}-file-text-o:before { content: $fa-var-file-text-o; }
|
||||
.#{$fa-css-prefix}-building-o:before { content: $fa-var-building-o; }
|
||||
.#{$fa-css-prefix}-hospital-o:before { content: $fa-var-hospital-o; }
|
||||
.#{$fa-css-prefix}-ambulance:before { content: $fa-var-ambulance; }
|
||||
.#{$fa-css-prefix}-medkit:before { content: $fa-var-medkit; }
|
||||
.#{$fa-css-prefix}-fighter-jet:before { content: $fa-var-fighter-jet; }
|
||||
.#{$fa-css-prefix}-beer:before { content: $fa-var-beer; }
|
||||
.#{$fa-css-prefix}-h-square:before { content: $fa-var-h-square; }
|
||||
.#{$fa-css-prefix}-plus-square:before { content: $fa-var-plus-square; }
|
||||
.#{$fa-css-prefix}-angle-double-left:before { content: $fa-var-angle-double-left; }
|
||||
.#{$fa-css-prefix}-angle-double-right:before { content: $fa-var-angle-double-right; }
|
||||
.#{$fa-css-prefix}-angle-double-up:before { content: $fa-var-angle-double-up; }
|
||||
.#{$fa-css-prefix}-angle-double-down:before { content: $fa-var-angle-double-down; }
|
||||
.#{$fa-css-prefix}-angle-left:before { content: $fa-var-angle-left; }
|
||||
.#{$fa-css-prefix}-angle-right:before { content: $fa-var-angle-right; }
|
||||
.#{$fa-css-prefix}-angle-up:before { content: $fa-var-angle-up; }
|
||||
.#{$fa-css-prefix}-angle-down:before { content: $fa-var-angle-down; }
|
||||
.#{$fa-css-prefix}-desktop:before { content: $fa-var-desktop; }
|
||||
.#{$fa-css-prefix}-laptop:before { content: $fa-var-laptop; }
|
||||
.#{$fa-css-prefix}-tablet:before { content: $fa-var-tablet; }
|
||||
.#{$fa-css-prefix}-mobile-phone:before,
|
||||
.#{$fa-css-prefix}-mobile:before { content: $fa-var-mobile; }
|
||||
.#{$fa-css-prefix}-circle-o:before { content: $fa-var-circle-o; }
|
||||
.#{$fa-css-prefix}-quote-left:before { content: $fa-var-quote-left; }
|
||||
.#{$fa-css-prefix}-quote-right:before { content: $fa-var-quote-right; }
|
||||
.#{$fa-css-prefix}-spinner:before { content: $fa-var-spinner; }
|
||||
.#{$fa-css-prefix}-circle:before { content: $fa-var-circle; }
|
||||
.#{$fa-css-prefix}-mail-reply:before,
|
||||
.#{$fa-css-prefix}-reply:before { content: $fa-var-reply; }
|
||||
.#{$fa-css-prefix}-github-alt:before { content: $fa-var-github-alt; }
|
||||
.#{$fa-css-prefix}-folder-o:before { content: $fa-var-folder-o; }
|
||||
.#{$fa-css-prefix}-folder-open-o:before { content: $fa-var-folder-open-o; }
|
||||
.#{$fa-css-prefix}-smile-o:before { content: $fa-var-smile-o; }
|
||||
.#{$fa-css-prefix}-frown-o:before { content: $fa-var-frown-o; }
|
||||
.#{$fa-css-prefix}-meh-o:before { content: $fa-var-meh-o; }
|
||||
.#{$fa-css-prefix}-gamepad:before { content: $fa-var-gamepad; }
|
||||
.#{$fa-css-prefix}-keyboard-o:before { content: $fa-var-keyboard-o; }
|
||||
.#{$fa-css-prefix}-flag-o:before { content: $fa-var-flag-o; }
|
||||
.#{$fa-css-prefix}-flag-checkered:before { content: $fa-var-flag-checkered; }
|
||||
.#{$fa-css-prefix}-terminal:before { content: $fa-var-terminal; }
|
||||
.#{$fa-css-prefix}-code:before { content: $fa-var-code; }
|
||||
.#{$fa-css-prefix}-mail-reply-all:before,
|
||||
.#{$fa-css-prefix}-reply-all:before { content: $fa-var-reply-all; }
|
||||
.#{$fa-css-prefix}-star-half-empty:before,
|
||||
.#{$fa-css-prefix}-star-half-full:before,
|
||||
.#{$fa-css-prefix}-star-half-o:before { content: $fa-var-star-half-o; }
|
||||
.#{$fa-css-prefix}-location-arrow:before { content: $fa-var-location-arrow; }
|
||||
.#{$fa-css-prefix}-crop:before { content: $fa-var-crop; }
|
||||
.#{$fa-css-prefix}-code-fork:before { content: $fa-var-code-fork; }
|
||||
.#{$fa-css-prefix}-unlink:before,
|
||||
.#{$fa-css-prefix}-chain-broken:before { content: $fa-var-chain-broken; }
|
||||
.#{$fa-css-prefix}-question:before { content: $fa-var-question; }
|
||||
.#{$fa-css-prefix}-info:before { content: $fa-var-info; }
|
||||
.#{$fa-css-prefix}-exclamation:before { content: $fa-var-exclamation; }
|
||||
.#{$fa-css-prefix}-superscript:before { content: $fa-var-superscript; }
|
||||
.#{$fa-css-prefix}-subscript:before { content: $fa-var-subscript; }
|
||||
.#{$fa-css-prefix}-eraser:before { content: $fa-var-eraser; }
|
||||
.#{$fa-css-prefix}-puzzle-piece:before { content: $fa-var-puzzle-piece; }
|
||||
.#{$fa-css-prefix}-microphone:before { content: $fa-var-microphone; }
|
||||
.#{$fa-css-prefix}-microphone-slash:before { content: $fa-var-microphone-slash; }
|
||||
.#{$fa-css-prefix}-shield:before { content: $fa-var-shield; }
|
||||
.#{$fa-css-prefix}-calendar-o:before { content: $fa-var-calendar-o; }
|
||||
.#{$fa-css-prefix}-fire-extinguisher:before { content: $fa-var-fire-extinguisher; }
|
||||
.#{$fa-css-prefix}-rocket:before { content: $fa-var-rocket; }
|
||||
.#{$fa-css-prefix}-maxcdn:before { content: $fa-var-maxcdn; }
|
||||
.#{$fa-css-prefix}-chevron-circle-left:before { content: $fa-var-chevron-circle-left; }
|
||||
.#{$fa-css-prefix}-chevron-circle-right:before { content: $fa-var-chevron-circle-right; }
|
||||
.#{$fa-css-prefix}-chevron-circle-up:before { content: $fa-var-chevron-circle-up; }
|
||||
.#{$fa-css-prefix}-chevron-circle-down:before { content: $fa-var-chevron-circle-down; }
|
||||
.#{$fa-css-prefix}-html5:before { content: $fa-var-html5; }
|
||||
.#{$fa-css-prefix}-css3:before { content: $fa-var-css3; }
|
||||
.#{$fa-css-prefix}-anchor:before { content: $fa-var-anchor; }
|
||||
.#{$fa-css-prefix}-unlock-alt:before { content: $fa-var-unlock-alt; }
|
||||
.#{$fa-css-prefix}-bullseye:before { content: $fa-var-bullseye; }
|
||||
.#{$fa-css-prefix}-ellipsis-h:before { content: $fa-var-ellipsis-h; }
|
||||
.#{$fa-css-prefix}-ellipsis-v:before { content: $fa-var-ellipsis-v; }
|
||||
.#{$fa-css-prefix}-rss-square:before { content: $fa-var-rss-square; }
|
||||
.#{$fa-css-prefix}-play-circle:before { content: $fa-var-play-circle; }
|
||||
.#{$fa-css-prefix}-ticket:before { content: $fa-var-ticket; }
|
||||
.#{$fa-css-prefix}-minus-square:before { content: $fa-var-minus-square; }
|
||||
.#{$fa-css-prefix}-minus-square-o:before { content: $fa-var-minus-square-o; }
|
||||
.#{$fa-css-prefix}-level-up:before { content: $fa-var-level-up; }
|
||||
.#{$fa-css-prefix}-level-down:before { content: $fa-var-level-down; }
|
||||
.#{$fa-css-prefix}-check-square:before { content: $fa-var-check-square; }
|
||||
.#{$fa-css-prefix}-pencil-square:before { content: $fa-var-pencil-square; }
|
||||
.#{$fa-css-prefix}-external-link-square:before { content: $fa-var-external-link-square; }
|
||||
.#{$fa-css-prefix}-share-square:before { content: $fa-var-share-square; }
|
||||
.#{$fa-css-prefix}-compass:before { content: $fa-var-compass; }
|
||||
.#{$fa-css-prefix}-toggle-down:before,
|
||||
.#{$fa-css-prefix}-caret-square-o-down:before { content: $fa-var-caret-square-o-down; }
|
||||
.#{$fa-css-prefix}-toggle-up:before,
|
||||
.#{$fa-css-prefix}-caret-square-o-up:before { content: $fa-var-caret-square-o-up; }
|
||||
.#{$fa-css-prefix}-toggle-right:before,
|
||||
.#{$fa-css-prefix}-caret-square-o-right:before { content: $fa-var-caret-square-o-right; }
|
||||
.#{$fa-css-prefix}-euro:before,
|
||||
.#{$fa-css-prefix}-eur:before { content: $fa-var-eur; }
|
||||
.#{$fa-css-prefix}-gbp:before { content: $fa-var-gbp; }
|
||||
.#{$fa-css-prefix}-dollar:before,
|
||||
.#{$fa-css-prefix}-usd:before { content: $fa-var-usd; }
|
||||
.#{$fa-css-prefix}-rupee:before,
|
||||
.#{$fa-css-prefix}-inr:before { content: $fa-var-inr; }
|
||||
.#{$fa-css-prefix}-cny:before,
|
||||
.#{$fa-css-prefix}-rmb:before,
|
||||
.#{$fa-css-prefix}-yen:before,
|
||||
.#{$fa-css-prefix}-jpy:before { content: $fa-var-jpy; }
|
||||
.#{$fa-css-prefix}-ruble:before,
|
||||
.#{$fa-css-prefix}-rouble:before,
|
||||
.#{$fa-css-prefix}-rub:before { content: $fa-var-rub; }
|
||||
.#{$fa-css-prefix}-won:before,
|
||||
.#{$fa-css-prefix}-krw:before { content: $fa-var-krw; }
|
||||
.#{$fa-css-prefix}-bitcoin:before,
|
||||
.#{$fa-css-prefix}-btc:before { content: $fa-var-btc; }
|
||||
.#{$fa-css-prefix}-file:before { content: $fa-var-file; }
|
||||
.#{$fa-css-prefix}-file-text:before { content: $fa-var-file-text; }
|
||||
.#{$fa-css-prefix}-sort-alpha-asc:before { content: $fa-var-sort-alpha-asc; }
|
||||
.#{$fa-css-prefix}-sort-alpha-desc:before { content: $fa-var-sort-alpha-desc; }
|
||||
.#{$fa-css-prefix}-sort-amount-asc:before { content: $fa-var-sort-amount-asc; }
|
||||
.#{$fa-css-prefix}-sort-amount-desc:before { content: $fa-var-sort-amount-desc; }
|
||||
.#{$fa-css-prefix}-sort-numeric-asc:before { content: $fa-var-sort-numeric-asc; }
|
||||
.#{$fa-css-prefix}-sort-numeric-desc:before { content: $fa-var-sort-numeric-desc; }
|
||||
.#{$fa-css-prefix}-thumbs-up:before { content: $fa-var-thumbs-up; }
|
||||
.#{$fa-css-prefix}-thumbs-down:before { content: $fa-var-thumbs-down; }
|
||||
.#{$fa-css-prefix}-youtube-square:before { content: $fa-var-youtube-square; }
|
||||
.#{$fa-css-prefix}-youtube:before { content: $fa-var-youtube; }
|
||||
.#{$fa-css-prefix}-xing:before { content: $fa-var-xing; }
|
||||
.#{$fa-css-prefix}-xing-square:before { content: $fa-var-xing-square; }
|
||||
.#{$fa-css-prefix}-youtube-play:before { content: $fa-var-youtube-play; }
|
||||
.#{$fa-css-prefix}-dropbox:before { content: $fa-var-dropbox; }
|
||||
.#{$fa-css-prefix}-stack-overflow:before { content: $fa-var-stack-overflow; }
|
||||
.#{$fa-css-prefix}-instagram:before { content: $fa-var-instagram; }
|
||||
.#{$fa-css-prefix}-flickr:before { content: $fa-var-flickr; }
|
||||
.#{$fa-css-prefix}-adn:before { content: $fa-var-adn; }
|
||||
.#{$fa-css-prefix}-bitbucket:before { content: $fa-var-bitbucket; }
|
||||
.#{$fa-css-prefix}-bitbucket-square:before { content: $fa-var-bitbucket-square; }
|
||||
.#{$fa-css-prefix}-tumblr:before { content: $fa-var-tumblr; }
|
||||
.#{$fa-css-prefix}-tumblr-square:before { content: $fa-var-tumblr-square; }
|
||||
.#{$fa-css-prefix}-long-arrow-down:before { content: $fa-var-long-arrow-down; }
|
||||
.#{$fa-css-prefix}-long-arrow-up:before { content: $fa-var-long-arrow-up; }
|
||||
.#{$fa-css-prefix}-long-arrow-left:before { content: $fa-var-long-arrow-left; }
|
||||
.#{$fa-css-prefix}-long-arrow-right:before { content: $fa-var-long-arrow-right; }
|
||||
.#{$fa-css-prefix}-apple:before { content: $fa-var-apple; }
|
||||
.#{$fa-css-prefix}-windows:before { content: $fa-var-windows; }
|
||||
.#{$fa-css-prefix}-android:before { content: $fa-var-android; }
|
||||
.#{$fa-css-prefix}-linux:before { content: $fa-var-linux; }
|
||||
.#{$fa-css-prefix}-dribbble:before { content: $fa-var-dribbble; }
|
||||
.#{$fa-css-prefix}-skype:before { content: $fa-var-skype; }
|
||||
.#{$fa-css-prefix}-foursquare:before { content: $fa-var-foursquare; }
|
||||
.#{$fa-css-prefix}-trello:before { content: $fa-var-trello; }
|
||||
.#{$fa-css-prefix}-female:before { content: $fa-var-female; }
|
||||
.#{$fa-css-prefix}-male:before { content: $fa-var-male; }
|
||||
.#{$fa-css-prefix}-gittip:before,
|
||||
.#{$fa-css-prefix}-gratipay:before { content: $fa-var-gratipay; }
|
||||
.#{$fa-css-prefix}-sun-o:before { content: $fa-var-sun-o; }
|
||||
.#{$fa-css-prefix}-moon-o:before { content: $fa-var-moon-o; }
|
||||
.#{$fa-css-prefix}-archive:before { content: $fa-var-archive; }
|
||||
.#{$fa-css-prefix}-bug:before { content: $fa-var-bug; }
|
||||
.#{$fa-css-prefix}-vk:before { content: $fa-var-vk; }
|
||||
.#{$fa-css-prefix}-weibo:before { content: $fa-var-weibo; }
|
||||
.#{$fa-css-prefix}-renren:before { content: $fa-var-renren; }
|
||||
.#{$fa-css-prefix}-pagelines:before { content: $fa-var-pagelines; }
|
||||
.#{$fa-css-prefix}-stack-exchange:before { content: $fa-var-stack-exchange; }
|
||||
.#{$fa-css-prefix}-arrow-circle-o-right:before { content: $fa-var-arrow-circle-o-right; }
|
||||
.#{$fa-css-prefix}-arrow-circle-o-left:before { content: $fa-var-arrow-circle-o-left; }
|
||||
.#{$fa-css-prefix}-toggle-left:before,
|
||||
.#{$fa-css-prefix}-caret-square-o-left:before { content: $fa-var-caret-square-o-left; }
|
||||
.#{$fa-css-prefix}-dot-circle-o:before { content: $fa-var-dot-circle-o; }
|
||||
.#{$fa-css-prefix}-wheelchair:before { content: $fa-var-wheelchair; }
|
||||
.#{$fa-css-prefix}-vimeo-square:before { content: $fa-var-vimeo-square; }
|
||||
.#{$fa-css-prefix}-turkish-lira:before,
|
||||
.#{$fa-css-prefix}-try:before { content: $fa-var-try; }
|
||||
.#{$fa-css-prefix}-plus-square-o:before { content: $fa-var-plus-square-o; }
|
||||
.#{$fa-css-prefix}-space-shuttle:before { content: $fa-var-space-shuttle; }
|
||||
.#{$fa-css-prefix}-slack:before { content: $fa-var-slack; }
|
||||
.#{$fa-css-prefix}-envelope-square:before { content: $fa-var-envelope-square; }
|
||||
.#{$fa-css-prefix}-wordpress:before { content: $fa-var-wordpress; }
|
||||
.#{$fa-css-prefix}-openid:before { content: $fa-var-openid; }
|
||||
.#{$fa-css-prefix}-institution:before,
|
||||
.#{$fa-css-prefix}-bank:before,
|
||||
.#{$fa-css-prefix}-university:before { content: $fa-var-university; }
|
||||
.#{$fa-css-prefix}-mortar-board:before,
|
||||
.#{$fa-css-prefix}-graduation-cap:before { content: $fa-var-graduation-cap; }
|
||||
.#{$fa-css-prefix}-yahoo:before { content: $fa-var-yahoo; }
|
||||
.#{$fa-css-prefix}-google:before { content: $fa-var-google; }
|
||||
.#{$fa-css-prefix}-reddit:before { content: $fa-var-reddit; }
|
||||
.#{$fa-css-prefix}-reddit-square:before { content: $fa-var-reddit-square; }
|
||||
.#{$fa-css-prefix}-stumbleupon-circle:before { content: $fa-var-stumbleupon-circle; }
|
||||
.#{$fa-css-prefix}-stumbleupon:before { content: $fa-var-stumbleupon; }
|
||||
.#{$fa-css-prefix}-delicious:before { content: $fa-var-delicious; }
|
||||
.#{$fa-css-prefix}-digg:before { content: $fa-var-digg; }
|
||||
.#{$fa-css-prefix}-pied-piper-pp:before { content: $fa-var-pied-piper-pp; }
|
||||
.#{$fa-css-prefix}-pied-piper-alt:before { content: $fa-var-pied-piper-alt; }
|
||||
.#{$fa-css-prefix}-drupal:before { content: $fa-var-drupal; }
|
||||
.#{$fa-css-prefix}-joomla:before { content: $fa-var-joomla; }
|
||||
.#{$fa-css-prefix}-language:before { content: $fa-var-language; }
|
||||
.#{$fa-css-prefix}-fax:before { content: $fa-var-fax; }
|
||||
.#{$fa-css-prefix}-building:before { content: $fa-var-building; }
|
||||
.#{$fa-css-prefix}-child:before { content: $fa-var-child; }
|
||||
.#{$fa-css-prefix}-paw:before { content: $fa-var-paw; }
|
||||
.#{$fa-css-prefix}-spoon:before { content: $fa-var-spoon; }
|
||||
.#{$fa-css-prefix}-cube:before { content: $fa-var-cube; }
|
||||
.#{$fa-css-prefix}-cubes:before { content: $fa-var-cubes; }
|
||||
.#{$fa-css-prefix}-behance:before { content: $fa-var-behance; }
|
||||
.#{$fa-css-prefix}-behance-square:before { content: $fa-var-behance-square; }
|
||||
.#{$fa-css-prefix}-steam:before { content: $fa-var-steam; }
|
||||
.#{$fa-css-prefix}-steam-square:before { content: $fa-var-steam-square; }
|
||||
.#{$fa-css-prefix}-recycle:before { content: $fa-var-recycle; }
|
||||
.#{$fa-css-prefix}-automobile:before,
|
||||
.#{$fa-css-prefix}-car:before { content: $fa-var-car; }
|
||||
.#{$fa-css-prefix}-cab:before,
|
||||
.#{$fa-css-prefix}-taxi:before { content: $fa-var-taxi; }
|
||||
.#{$fa-css-prefix}-tree:before { content: $fa-var-tree; }
|
||||
.#{$fa-css-prefix}-spotify:before { content: $fa-var-spotify; }
|
||||
.#{$fa-css-prefix}-deviantart:before { content: $fa-var-deviantart; }
|
||||
.#{$fa-css-prefix}-soundcloud:before { content: $fa-var-soundcloud; }
|
||||
.#{$fa-css-prefix}-database:before { content: $fa-var-database; }
|
||||
.#{$fa-css-prefix}-file-pdf-o:before { content: $fa-var-file-pdf-o; }
|
||||
.#{$fa-css-prefix}-file-word-o:before { content: $fa-var-file-word-o; }
|
||||
.#{$fa-css-prefix}-file-excel-o:before { content: $fa-var-file-excel-o; }
|
||||
.#{$fa-css-prefix}-file-powerpoint-o:before { content: $fa-var-file-powerpoint-o; }
|
||||
.#{$fa-css-prefix}-file-photo-o:before,
|
||||
.#{$fa-css-prefix}-file-picture-o:before,
|
||||
.#{$fa-css-prefix}-file-image-o:before { content: $fa-var-file-image-o; }
|
||||
.#{$fa-css-prefix}-file-zip-o:before,
|
||||
.#{$fa-css-prefix}-file-archive-o:before { content: $fa-var-file-archive-o; }
|
||||
.#{$fa-css-prefix}-file-sound-o:before,
|
||||
.#{$fa-css-prefix}-file-audio-o:before { content: $fa-var-file-audio-o; }
|
||||
.#{$fa-css-prefix}-file-movie-o:before,
|
||||
.#{$fa-css-prefix}-file-video-o:before { content: $fa-var-file-video-o; }
|
||||
.#{$fa-css-prefix}-file-code-o:before { content: $fa-var-file-code-o; }
|
||||
.#{$fa-css-prefix}-vine:before { content: $fa-var-vine; }
|
||||
.#{$fa-css-prefix}-codepen:before { content: $fa-var-codepen; }
|
||||
.#{$fa-css-prefix}-jsfiddle:before { content: $fa-var-jsfiddle; }
|
||||
.#{$fa-css-prefix}-life-bouy:before,
|
||||
.#{$fa-css-prefix}-life-buoy:before,
|
||||
.#{$fa-css-prefix}-life-saver:before,
|
||||
.#{$fa-css-prefix}-support:before,
|
||||
.#{$fa-css-prefix}-life-ring:before { content: $fa-var-life-ring; }
|
||||
.#{$fa-css-prefix}-circle-o-notch:before { content: $fa-var-circle-o-notch; }
|
||||
.#{$fa-css-prefix}-ra:before,
|
||||
.#{$fa-css-prefix}-resistance:before,
|
||||
.#{$fa-css-prefix}-rebel:before { content: $fa-var-rebel; }
|
||||
.#{$fa-css-prefix}-ge:before,
|
||||
.#{$fa-css-prefix}-empire:before { content: $fa-var-empire; }
|
||||
.#{$fa-css-prefix}-git-square:before { content: $fa-var-git-square; }
|
||||
.#{$fa-css-prefix}-git:before { content: $fa-var-git; }
|
||||
.#{$fa-css-prefix}-y-combinator-square:before,
|
||||
.#{$fa-css-prefix}-yc-square:before,
|
||||
.#{$fa-css-prefix}-hacker-news:before { content: $fa-var-hacker-news; }
|
||||
.#{$fa-css-prefix}-tencent-weibo:before { content: $fa-var-tencent-weibo; }
|
||||
.#{$fa-css-prefix}-qq:before { content: $fa-var-qq; }
|
||||
.#{$fa-css-prefix}-wechat:before,
|
||||
.#{$fa-css-prefix}-weixin:before { content: $fa-var-weixin; }
|
||||
.#{$fa-css-prefix}-send:before,
|
||||
.#{$fa-css-prefix}-paper-plane:before { content: $fa-var-paper-plane; }
|
||||
.#{$fa-css-prefix}-send-o:before,
|
||||
.#{$fa-css-prefix}-paper-plane-o:before { content: $fa-var-paper-plane-o; }
|
||||
.#{$fa-css-prefix}-history:before { content: $fa-var-history; }
|
||||
.#{$fa-css-prefix}-circle-thin:before { content: $fa-var-circle-thin; }
|
||||
.#{$fa-css-prefix}-header:before { content: $fa-var-header; }
|
||||
.#{$fa-css-prefix}-paragraph:before { content: $fa-var-paragraph; }
|
||||
.#{$fa-css-prefix}-sliders:before { content: $fa-var-sliders; }
|
||||
.#{$fa-css-prefix}-share-alt:before { content: $fa-var-share-alt; }
|
||||
.#{$fa-css-prefix}-share-alt-square:before { content: $fa-var-share-alt-square; }
|
||||
.#{$fa-css-prefix}-bomb:before { content: $fa-var-bomb; }
|
||||
.#{$fa-css-prefix}-soccer-ball-o:before,
|
||||
.#{$fa-css-prefix}-futbol-o:before { content: $fa-var-futbol-o; }
|
||||
.#{$fa-css-prefix}-tty:before { content: $fa-var-tty; }
|
||||
.#{$fa-css-prefix}-binoculars:before { content: $fa-var-binoculars; }
|
||||
.#{$fa-css-prefix}-plug:before { content: $fa-var-plug; }
|
||||
.#{$fa-css-prefix}-slideshare:before { content: $fa-var-slideshare; }
|
||||
.#{$fa-css-prefix}-twitch:before { content: $fa-var-twitch; }
|
||||
.#{$fa-css-prefix}-yelp:before { content: $fa-var-yelp; }
|
||||
.#{$fa-css-prefix}-newspaper-o:before { content: $fa-var-newspaper-o; }
|
||||
.#{$fa-css-prefix}-wifi:before { content: $fa-var-wifi; }
|
||||
.#{$fa-css-prefix}-calculator:before { content: $fa-var-calculator; }
|
||||
.#{$fa-css-prefix}-paypal:before { content: $fa-var-paypal; }
|
||||
.#{$fa-css-prefix}-google-wallet:before { content: $fa-var-google-wallet; }
|
||||
.#{$fa-css-prefix}-cc-visa:before { content: $fa-var-cc-visa; }
|
||||
.#{$fa-css-prefix}-cc-mastercard:before { content: $fa-var-cc-mastercard; }
|
||||
.#{$fa-css-prefix}-cc-discover:before { content: $fa-var-cc-discover; }
|
||||
.#{$fa-css-prefix}-cc-amex:before { content: $fa-var-cc-amex; }
|
||||
.#{$fa-css-prefix}-cc-paypal:before { content: $fa-var-cc-paypal; }
|
||||
.#{$fa-css-prefix}-cc-stripe:before { content: $fa-var-cc-stripe; }
|
||||
.#{$fa-css-prefix}-bell-slash:before { content: $fa-var-bell-slash; }
|
||||
.#{$fa-css-prefix}-bell-slash-o:before { content: $fa-var-bell-slash-o; }
|
||||
.#{$fa-css-prefix}-trash:before { content: $fa-var-trash; }
|
||||
.#{$fa-css-prefix}-copyright:before { content: $fa-var-copyright; }
|
||||
.#{$fa-css-prefix}-at:before { content: $fa-var-at; }
|
||||
.#{$fa-css-prefix}-eyedropper:before { content: $fa-var-eyedropper; }
|
||||
.#{$fa-css-prefix}-paint-brush:before { content: $fa-var-paint-brush; }
|
||||
.#{$fa-css-prefix}-birthday-cake:before { content: $fa-var-birthday-cake; }
|
||||
.#{$fa-css-prefix}-area-chart:before { content: $fa-var-area-chart; }
|
||||
.#{$fa-css-prefix}-pie-chart:before { content: $fa-var-pie-chart; }
|
||||
.#{$fa-css-prefix}-line-chart:before { content: $fa-var-line-chart; }
|
||||
.#{$fa-css-prefix}-lastfm:before { content: $fa-var-lastfm; }
|
||||
.#{$fa-css-prefix}-lastfm-square:before { content: $fa-var-lastfm-square; }
|
||||
.#{$fa-css-prefix}-toggle-off:before { content: $fa-var-toggle-off; }
|
||||
.#{$fa-css-prefix}-toggle-on:before { content: $fa-var-toggle-on; }
|
||||
.#{$fa-css-prefix}-bicycle:before { content: $fa-var-bicycle; }
|
||||
.#{$fa-css-prefix}-bus:before { content: $fa-var-bus; }
|
||||
.#{$fa-css-prefix}-ioxhost:before { content: $fa-var-ioxhost; }
|
||||
.#{$fa-css-prefix}-angellist:before { content: $fa-var-angellist; }
|
||||
.#{$fa-css-prefix}-cc:before { content: $fa-var-cc; }
|
||||
.#{$fa-css-prefix}-shekel:before,
|
||||
.#{$fa-css-prefix}-sheqel:before,
|
||||
.#{$fa-css-prefix}-ils:before { content: $fa-var-ils; }
|
||||
.#{$fa-css-prefix}-meanpath:before { content: $fa-var-meanpath; }
|
||||
.#{$fa-css-prefix}-buysellads:before { content: $fa-var-buysellads; }
|
||||
.#{$fa-css-prefix}-connectdevelop:before { content: $fa-var-connectdevelop; }
|
||||
.#{$fa-css-prefix}-dashcube:before { content: $fa-var-dashcube; }
|
||||
.#{$fa-css-prefix}-forumbee:before { content: $fa-var-forumbee; }
|
||||
.#{$fa-css-prefix}-leanpub:before { content: $fa-var-leanpub; }
|
||||
.#{$fa-css-prefix}-sellsy:before { content: $fa-var-sellsy; }
|
||||
.#{$fa-css-prefix}-shirtsinbulk:before { content: $fa-var-shirtsinbulk; }
|
||||
.#{$fa-css-prefix}-simplybuilt:before { content: $fa-var-simplybuilt; }
|
||||
.#{$fa-css-prefix}-skyatlas:before { content: $fa-var-skyatlas; }
|
||||
.#{$fa-css-prefix}-cart-plus:before { content: $fa-var-cart-plus; }
|
||||
.#{$fa-css-prefix}-cart-arrow-down:before { content: $fa-var-cart-arrow-down; }
|
||||
.#{$fa-css-prefix}-diamond:before { content: $fa-var-diamond; }
|
||||
.#{$fa-css-prefix}-ship:before { content: $fa-var-ship; }
|
||||
.#{$fa-css-prefix}-user-secret:before { content: $fa-var-user-secret; }
|
||||
.#{$fa-css-prefix}-motorcycle:before { content: $fa-var-motorcycle; }
|
||||
.#{$fa-css-prefix}-street-view:before { content: $fa-var-street-view; }
|
||||
.#{$fa-css-prefix}-heartbeat:before { content: $fa-var-heartbeat; }
|
||||
.#{$fa-css-prefix}-venus:before { content: $fa-var-venus; }
|
||||
.#{$fa-css-prefix}-mars:before { content: $fa-var-mars; }
|
||||
.#{$fa-css-prefix}-mercury:before { content: $fa-var-mercury; }
|
||||
.#{$fa-css-prefix}-intersex:before,
|
||||
.#{$fa-css-prefix}-transgender:before { content: $fa-var-transgender; }
|
||||
.#{$fa-css-prefix}-transgender-alt:before { content: $fa-var-transgender-alt; }
|
||||
.#{$fa-css-prefix}-venus-double:before { content: $fa-var-venus-double; }
|
||||
.#{$fa-css-prefix}-mars-double:before { content: $fa-var-mars-double; }
|
||||
.#{$fa-css-prefix}-venus-mars:before { content: $fa-var-venus-mars; }
|
||||
.#{$fa-css-prefix}-mars-stroke:before { content: $fa-var-mars-stroke; }
|
||||
.#{$fa-css-prefix}-mars-stroke-v:before { content: $fa-var-mars-stroke-v; }
|
||||
.#{$fa-css-prefix}-mars-stroke-h:before { content: $fa-var-mars-stroke-h; }
|
||||
.#{$fa-css-prefix}-neuter:before { content: $fa-var-neuter; }
|
||||
.#{$fa-css-prefix}-genderless:before { content: $fa-var-genderless; }
|
||||
.#{$fa-css-prefix}-facebook-official:before { content: $fa-var-facebook-official; }
|
||||
.#{$fa-css-prefix}-pinterest-p:before { content: $fa-var-pinterest-p; }
|
||||
.#{$fa-css-prefix}-whatsapp:before { content: $fa-var-whatsapp; }
|
||||
.#{$fa-css-prefix}-server:before { content: $fa-var-server; }
|
||||
.#{$fa-css-prefix}-user-plus:before { content: $fa-var-user-plus; }
|
||||
.#{$fa-css-prefix}-user-times:before { content: $fa-var-user-times; }
|
||||
.#{$fa-css-prefix}-hotel:before,
|
||||
.#{$fa-css-prefix}-bed:before { content: $fa-var-bed; }
|
||||
.#{$fa-css-prefix}-viacoin:before { content: $fa-var-viacoin; }
|
||||
.#{$fa-css-prefix}-train:before { content: $fa-var-train; }
|
||||
.#{$fa-css-prefix}-subway:before { content: $fa-var-subway; }
|
||||
.#{$fa-css-prefix}-medium:before { content: $fa-var-medium; }
|
||||
.#{$fa-css-prefix}-yc:before,
|
||||
.#{$fa-css-prefix}-y-combinator:before { content: $fa-var-y-combinator; }
|
||||
.#{$fa-css-prefix}-optin-monster:before { content: $fa-var-optin-monster; }
|
||||
.#{$fa-css-prefix}-opencart:before { content: $fa-var-opencart; }
|
||||
.#{$fa-css-prefix}-expeditedssl:before { content: $fa-var-expeditedssl; }
|
||||
.#{$fa-css-prefix}-battery-4:before,
|
||||
.#{$fa-css-prefix}-battery:before,
|
||||
.#{$fa-css-prefix}-battery-full:before { content: $fa-var-battery-full; }
|
||||
.#{$fa-css-prefix}-battery-3:before,
|
||||
.#{$fa-css-prefix}-battery-three-quarters:before { content: $fa-var-battery-three-quarters; }
|
||||
.#{$fa-css-prefix}-battery-2:before,
|
||||
.#{$fa-css-prefix}-battery-half:before { content: $fa-var-battery-half; }
|
||||
.#{$fa-css-prefix}-battery-1:before,
|
||||
.#{$fa-css-prefix}-battery-quarter:before { content: $fa-var-battery-quarter; }
|
||||
.#{$fa-css-prefix}-battery-0:before,
|
||||
.#{$fa-css-prefix}-battery-empty:before { content: $fa-var-battery-empty; }
|
||||
.#{$fa-css-prefix}-mouse-pointer:before { content: $fa-var-mouse-pointer; }
|
||||
.#{$fa-css-prefix}-i-cursor:before { content: $fa-var-i-cursor; }
|
||||
.#{$fa-css-prefix}-object-group:before { content: $fa-var-object-group; }
|
||||
.#{$fa-css-prefix}-object-ungroup:before { content: $fa-var-object-ungroup; }
|
||||
.#{$fa-css-prefix}-sticky-note:before { content: $fa-var-sticky-note; }
|
||||
.#{$fa-css-prefix}-sticky-note-o:before { content: $fa-var-sticky-note-o; }
|
||||
.#{$fa-css-prefix}-cc-jcb:before { content: $fa-var-cc-jcb; }
|
||||
.#{$fa-css-prefix}-cc-diners-club:before { content: $fa-var-cc-diners-club; }
|
||||
.#{$fa-css-prefix}-clone:before { content: $fa-var-clone; }
|
||||
.#{$fa-css-prefix}-balance-scale:before { content: $fa-var-balance-scale; }
|
||||
.#{$fa-css-prefix}-hourglass-o:before { content: $fa-var-hourglass-o; }
|
||||
.#{$fa-css-prefix}-hourglass-1:before,
|
||||
.#{$fa-css-prefix}-hourglass-start:before { content: $fa-var-hourglass-start; }
|
||||
.#{$fa-css-prefix}-hourglass-2:before,
|
||||
.#{$fa-css-prefix}-hourglass-half:before { content: $fa-var-hourglass-half; }
|
||||
.#{$fa-css-prefix}-hourglass-3:before,
|
||||
.#{$fa-css-prefix}-hourglass-end:before { content: $fa-var-hourglass-end; }
|
||||
.#{$fa-css-prefix}-hourglass:before { content: $fa-var-hourglass; }
|
||||
.#{$fa-css-prefix}-hand-grab-o:before,
|
||||
.#{$fa-css-prefix}-hand-rock-o:before { content: $fa-var-hand-rock-o; }
|
||||
.#{$fa-css-prefix}-hand-stop-o:before,
|
||||
.#{$fa-css-prefix}-hand-paper-o:before { content: $fa-var-hand-paper-o; }
|
||||
.#{$fa-css-prefix}-hand-scissors-o:before { content: $fa-var-hand-scissors-o; }
|
||||
.#{$fa-css-prefix}-hand-lizard-o:before { content: $fa-var-hand-lizard-o; }
|
||||
.#{$fa-css-prefix}-hand-spock-o:before { content: $fa-var-hand-spock-o; }
|
||||
.#{$fa-css-prefix}-hand-pointer-o:before { content: $fa-var-hand-pointer-o; }
|
||||
.#{$fa-css-prefix}-hand-peace-o:before { content: $fa-var-hand-peace-o; }
|
||||
.#{$fa-css-prefix}-trademark:before { content: $fa-var-trademark; }
|
||||
.#{$fa-css-prefix}-registered:before { content: $fa-var-registered; }
|
||||
.#{$fa-css-prefix}-creative-commons:before { content: $fa-var-creative-commons; }
|
||||
.#{$fa-css-prefix}-gg:before { content: $fa-var-gg; }
|
||||
.#{$fa-css-prefix}-gg-circle:before { content: $fa-var-gg-circle; }
|
||||
.#{$fa-css-prefix}-tripadvisor:before { content: $fa-var-tripadvisor; }
|
||||
.#{$fa-css-prefix}-odnoklassniki:before { content: $fa-var-odnoklassniki; }
|
||||
.#{$fa-css-prefix}-odnoklassniki-square:before { content: $fa-var-odnoklassniki-square; }
|
||||
.#{$fa-css-prefix}-get-pocket:before { content: $fa-var-get-pocket; }
|
||||
.#{$fa-css-prefix}-wikipedia-w:before { content: $fa-var-wikipedia-w; }
|
||||
.#{$fa-css-prefix}-safari:before { content: $fa-var-safari; }
|
||||
.#{$fa-css-prefix}-chrome:before { content: $fa-var-chrome; }
|
||||
.#{$fa-css-prefix}-firefox:before { content: $fa-var-firefox; }
|
||||
.#{$fa-css-prefix}-opera:before { content: $fa-var-opera; }
|
||||
.#{$fa-css-prefix}-internet-explorer:before { content: $fa-var-internet-explorer; }
|
||||
.#{$fa-css-prefix}-tv:before,
|
||||
.#{$fa-css-prefix}-television:before { content: $fa-var-television; }
|
||||
.#{$fa-css-prefix}-contao:before { content: $fa-var-contao; }
|
||||
.#{$fa-css-prefix}-500px:before { content: $fa-var-500px; }
|
||||
.#{$fa-css-prefix}-amazon:before { content: $fa-var-amazon; }
|
||||
.#{$fa-css-prefix}-calendar-plus-o:before { content: $fa-var-calendar-plus-o; }
|
||||
.#{$fa-css-prefix}-calendar-minus-o:before { content: $fa-var-calendar-minus-o; }
|
||||
.#{$fa-css-prefix}-calendar-times-o:before { content: $fa-var-calendar-times-o; }
|
||||
.#{$fa-css-prefix}-calendar-check-o:before { content: $fa-var-calendar-check-o; }
|
||||
.#{$fa-css-prefix}-industry:before { content: $fa-var-industry; }
|
||||
.#{$fa-css-prefix}-map-pin:before { content: $fa-var-map-pin; }
|
||||
.#{$fa-css-prefix}-map-signs:before { content: $fa-var-map-signs; }
|
||||
.#{$fa-css-prefix}-map-o:before { content: $fa-var-map-o; }
|
||||
.#{$fa-css-prefix}-map:before { content: $fa-var-map; }
|
||||
.#{$fa-css-prefix}-commenting:before { content: $fa-var-commenting; }
|
||||
.#{$fa-css-prefix}-commenting-o:before { content: $fa-var-commenting-o; }
|
||||
.#{$fa-css-prefix}-houzz:before { content: $fa-var-houzz; }
|
||||
.#{$fa-css-prefix}-vimeo:before { content: $fa-var-vimeo; }
|
||||
.#{$fa-css-prefix}-black-tie:before { content: $fa-var-black-tie; }
|
||||
.#{$fa-css-prefix}-fonticons:before { content: $fa-var-fonticons; }
|
||||
.#{$fa-css-prefix}-reddit-alien:before { content: $fa-var-reddit-alien; }
|
||||
.#{$fa-css-prefix}-edge:before { content: $fa-var-edge; }
|
||||
.#{$fa-css-prefix}-credit-card-alt:before { content: $fa-var-credit-card-alt; }
|
||||
.#{$fa-css-prefix}-codiepie:before { content: $fa-var-codiepie; }
|
||||
.#{$fa-css-prefix}-modx:before { content: $fa-var-modx; }
|
||||
.#{$fa-css-prefix}-fort-awesome:before { content: $fa-var-fort-awesome; }
|
||||
.#{$fa-css-prefix}-usb:before { content: $fa-var-usb; }
|
||||
.#{$fa-css-prefix}-product-hunt:before { content: $fa-var-product-hunt; }
|
||||
.#{$fa-css-prefix}-mixcloud:before { content: $fa-var-mixcloud; }
|
||||
.#{$fa-css-prefix}-scribd:before { content: $fa-var-scribd; }
|
||||
.#{$fa-css-prefix}-pause-circle:before { content: $fa-var-pause-circle; }
|
||||
.#{$fa-css-prefix}-pause-circle-o:before { content: $fa-var-pause-circle-o; }
|
||||
.#{$fa-css-prefix}-stop-circle:before { content: $fa-var-stop-circle; }
|
||||
.#{$fa-css-prefix}-stop-circle-o:before { content: $fa-var-stop-circle-o; }
|
||||
.#{$fa-css-prefix}-shopping-bag:before { content: $fa-var-shopping-bag; }
|
||||
.#{$fa-css-prefix}-shopping-basket:before { content: $fa-var-shopping-basket; }
|
||||
.#{$fa-css-prefix}-hashtag:before { content: $fa-var-hashtag; }
|
||||
.#{$fa-css-prefix}-bluetooth:before { content: $fa-var-bluetooth; }
|
||||
.#{$fa-css-prefix}-bluetooth-b:before { content: $fa-var-bluetooth-b; }
|
||||
.#{$fa-css-prefix}-percent:before { content: $fa-var-percent; }
|
||||
.#{$fa-css-prefix}-gitlab:before { content: $fa-var-gitlab; }
|
||||
.#{$fa-css-prefix}-wpbeginner:before { content: $fa-var-wpbeginner; }
|
||||
.#{$fa-css-prefix}-wpforms:before { content: $fa-var-wpforms; }
|
||||
.#{$fa-css-prefix}-envira:before { content: $fa-var-envira; }
|
||||
.#{$fa-css-prefix}-universal-access:before { content: $fa-var-universal-access; }
|
||||
.#{$fa-css-prefix}-wheelchair-alt:before { content: $fa-var-wheelchair-alt; }
|
||||
.#{$fa-css-prefix}-question-circle-o:before { content: $fa-var-question-circle-o; }
|
||||
.#{$fa-css-prefix}-blind:before { content: $fa-var-blind; }
|
||||
.#{$fa-css-prefix}-audio-description:before { content: $fa-var-audio-description; }
|
||||
.#{$fa-css-prefix}-volume-control-phone:before { content: $fa-var-volume-control-phone; }
|
||||
.#{$fa-css-prefix}-braille:before { content: $fa-var-braille; }
|
||||
.#{$fa-css-prefix}-assistive-listening-systems:before { content: $fa-var-assistive-listening-systems; }
|
||||
.#{$fa-css-prefix}-asl-interpreting:before,
|
||||
.#{$fa-css-prefix}-american-sign-language-interpreting:before { content: $fa-var-american-sign-language-interpreting; }
|
||||
.#{$fa-css-prefix}-deafness:before,
|
||||
.#{$fa-css-prefix}-hard-of-hearing:before,
|
||||
.#{$fa-css-prefix}-deaf:before { content: $fa-var-deaf; }
|
||||
.#{$fa-css-prefix}-glide:before { content: $fa-var-glide; }
|
||||
.#{$fa-css-prefix}-glide-g:before { content: $fa-var-glide-g; }
|
||||
.#{$fa-css-prefix}-signing:before,
|
||||
.#{$fa-css-prefix}-sign-language:before { content: $fa-var-sign-language; }
|
||||
.#{$fa-css-prefix}-low-vision:before { content: $fa-var-low-vision; }
|
||||
.#{$fa-css-prefix}-viadeo:before { content: $fa-var-viadeo; }
|
||||
.#{$fa-css-prefix}-viadeo-square:before { content: $fa-var-viadeo-square; }
|
||||
.#{$fa-css-prefix}-snapchat:before { content: $fa-var-snapchat; }
|
||||
.#{$fa-css-prefix}-snapchat-ghost:before { content: $fa-var-snapchat-ghost; }
|
||||
.#{$fa-css-prefix}-snapchat-square:before { content: $fa-var-snapchat-square; }
|
||||
.#{$fa-css-prefix}-pied-piper:before { content: $fa-var-pied-piper; }
|
||||
.#{$fa-css-prefix}-first-order:before { content: $fa-var-first-order; }
|
||||
.#{$fa-css-prefix}-yoast:before { content: $fa-var-yoast; }
|
||||
.#{$fa-css-prefix}-themeisle:before { content: $fa-var-themeisle; }
|
||||
.#{$fa-css-prefix}-google-plus-circle:before,
|
||||
.#{$fa-css-prefix}-google-plus-official:before { content: $fa-var-google-plus-official; }
|
||||
.#{$fa-css-prefix}-fa:before,
|
||||
.#{$fa-css-prefix}-font-awesome:before { content: $fa-var-font-awesome; }
|
||||
.#{$fa-css-prefix}-handshake-o:before { content: $fa-var-handshake-o; }
|
||||
.#{$fa-css-prefix}-envelope-open:before { content: $fa-var-envelope-open; }
|
||||
.#{$fa-css-prefix}-envelope-open-o:before { content: $fa-var-envelope-open-o; }
|
||||
.#{$fa-css-prefix}-linode:before { content: $fa-var-linode; }
|
||||
.#{$fa-css-prefix}-address-book:before { content: $fa-var-address-book; }
|
||||
.#{$fa-css-prefix}-address-book-o:before { content: $fa-var-address-book-o; }
|
||||
.#{$fa-css-prefix}-vcard:before,
|
||||
.#{$fa-css-prefix}-address-card:before { content: $fa-var-address-card; }
|
||||
.#{$fa-css-prefix}-vcard-o:before,
|
||||
.#{$fa-css-prefix}-address-card-o:before { content: $fa-var-address-card-o; }
|
||||
.#{$fa-css-prefix}-user-circle:before { content: $fa-var-user-circle; }
|
||||
.#{$fa-css-prefix}-user-circle-o:before { content: $fa-var-user-circle-o; }
|
||||
.#{$fa-css-prefix}-user-o:before { content: $fa-var-user-o; }
|
||||
.#{$fa-css-prefix}-id-badge:before { content: $fa-var-id-badge; }
|
||||
.#{$fa-css-prefix}-drivers-license:before,
|
||||
.#{$fa-css-prefix}-id-card:before { content: $fa-var-id-card; }
|
||||
.#{$fa-css-prefix}-drivers-license-o:before,
|
||||
.#{$fa-css-prefix}-id-card-o:before { content: $fa-var-id-card-o; }
|
||||
.#{$fa-css-prefix}-quora:before { content: $fa-var-quora; }
|
||||
.#{$fa-css-prefix}-free-code-camp:before { content: $fa-var-free-code-camp; }
|
||||
.#{$fa-css-prefix}-telegram:before { content: $fa-var-telegram; }
|
||||
.#{$fa-css-prefix}-thermometer-4:before,
|
||||
.#{$fa-css-prefix}-thermometer:before,
|
||||
.#{$fa-css-prefix}-thermometer-full:before { content: $fa-var-thermometer-full; }
|
||||
.#{$fa-css-prefix}-thermometer-3:before,
|
||||
.#{$fa-css-prefix}-thermometer-three-quarters:before { content: $fa-var-thermometer-three-quarters; }
|
||||
.#{$fa-css-prefix}-thermometer-2:before,
|
||||
.#{$fa-css-prefix}-thermometer-half:before { content: $fa-var-thermometer-half; }
|
||||
.#{$fa-css-prefix}-thermometer-1:before,
|
||||
.#{$fa-css-prefix}-thermometer-quarter:before { content: $fa-var-thermometer-quarter; }
|
||||
.#{$fa-css-prefix}-thermometer-0:before,
|
||||
.#{$fa-css-prefix}-thermometer-empty:before { content: $fa-var-thermometer-empty; }
|
||||
.#{$fa-css-prefix}-shower:before { content: $fa-var-shower; }
|
||||
.#{$fa-css-prefix}-bathtub:before,
|
||||
.#{$fa-css-prefix}-s15:before,
|
||||
.#{$fa-css-prefix}-bath:before { content: $fa-var-bath; }
|
||||
.#{$fa-css-prefix}-podcast:before { content: $fa-var-podcast; }
|
||||
.#{$fa-css-prefix}-window-maximize:before { content: $fa-var-window-maximize; }
|
||||
.#{$fa-css-prefix}-window-minimize:before { content: $fa-var-window-minimize; }
|
||||
.#{$fa-css-prefix}-window-restore:before { content: $fa-var-window-restore; }
|
||||
.#{$fa-css-prefix}-times-rectangle:before,
|
||||
.#{$fa-css-prefix}-window-close:before { content: $fa-var-window-close; }
|
||||
.#{$fa-css-prefix}-times-rectangle-o:before,
|
||||
.#{$fa-css-prefix}-window-close-o:before { content: $fa-var-window-close-o; }
|
||||
.#{$fa-css-prefix}-bandcamp:before { content: $fa-var-bandcamp; }
|
||||
.#{$fa-css-prefix}-grav:before { content: $fa-var-grav; }
|
||||
.#{$fa-css-prefix}-etsy:before { content: $fa-var-etsy; }
|
||||
.#{$fa-css-prefix}-imdb:before { content: $fa-var-imdb; }
|
||||
.#{$fa-css-prefix}-ravelry:before { content: $fa-var-ravelry; }
|
||||
.#{$fa-css-prefix}-eercast:before { content: $fa-var-eercast; }
|
||||
.#{$fa-css-prefix}-microchip:before { content: $fa-var-microchip; }
|
||||
.#{$fa-css-prefix}-snowflake-o:before { content: $fa-var-snowflake-o; }
|
||||
.#{$fa-css-prefix}-superpowers:before { content: $fa-var-superpowers; }
|
||||
.#{$fa-css-prefix}-wpexplorer:before { content: $fa-var-wpexplorer; }
|
||||
.#{$fa-css-prefix}-meetup:before { content: $fa-var-meetup; }
|
13
assets/css/vendor/font-awesome/scss/_larger.scss
vendored
Normal file
13
assets/css/vendor/font-awesome/scss/_larger.scss
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
// Icon Sizes
|
||||
// -------------------------
|
||||
|
||||
/* makes the font 33% larger relative to the icon container */
|
||||
.#{$fa-css-prefix}-lg {
|
||||
font-size: (4em / 3);
|
||||
line-height: (3em / 4);
|
||||
vertical-align: -15%;
|
||||
}
|
||||
.#{$fa-css-prefix}-2x { font-size: 2em; }
|
||||
.#{$fa-css-prefix}-3x { font-size: 3em; }
|
||||
.#{$fa-css-prefix}-4x { font-size: 4em; }
|
||||
.#{$fa-css-prefix}-5x { font-size: 5em; }
|
19
assets/css/vendor/font-awesome/scss/_list.scss
vendored
Normal file
19
assets/css/vendor/font-awesome/scss/_list.scss
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
// List Icons
|
||||
// -------------------------
|
||||
|
||||
.#{$fa-css-prefix}-ul {
|
||||
padding-left: 0;
|
||||
margin-left: $fa-li-width;
|
||||
list-style-type: none;
|
||||
> li { position: relative; }
|
||||
}
|
||||
.#{$fa-css-prefix}-li {
|
||||
position: absolute;
|
||||
left: -$fa-li-width;
|
||||
width: $fa-li-width;
|
||||
top: (2em / 14);
|
||||
text-align: center;
|
||||
&.#{$fa-css-prefix}-lg {
|
||||
left: -$fa-li-width + (4em / 14);
|
||||
}
|
||||
}
|
60
assets/css/vendor/font-awesome/scss/_mixins.scss
vendored
Normal file
60
assets/css/vendor/font-awesome/scss/_mixins.scss
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
// Mixins
|
||||
// --------------------------
|
||||
|
||||
@mixin fa-icon() {
|
||||
display: inline-block;
|
||||
font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration
|
||||
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
||||
text-rendering: auto; // optimizelegibility throws things off #1094
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
}
|
||||
|
||||
@mixin fa-icon-rotate($degrees, $rotation) {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation})";
|
||||
-webkit-transform: rotate($degrees);
|
||||
-ms-transform: rotate($degrees);
|
||||
transform: rotate($degrees);
|
||||
}
|
||||
|
||||
@mixin fa-icon-flip($horiz, $vert, $rotation) {
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}, mirror=1)";
|
||||
-webkit-transform: scale($horiz, $vert);
|
||||
-ms-transform: scale($horiz, $vert);
|
||||
transform: scale($horiz, $vert);
|
||||
}
|
||||
|
||||
|
||||
// Only display content to screen readers. A la Bootstrap 4.
|
||||
//
|
||||
// See: http://a11yproject.com/posts/how-to-hide-content/
|
||||
|
||||
@mixin sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0,0,0,0);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
// Use in conjunction with .sr-only to only display content when it's focused.
|
||||
//
|
||||
// Useful for "Skip to main content" links; see http://www.w3.org/TR/2013/NOTE-WCAG20-TECHS-20130905/G1
|
||||
//
|
||||
// Credit: HTML5 Boilerplate
|
||||
|
||||
@mixin sr-only-focusable {
|
||||
&:active,
|
||||
&:focus {
|
||||
position: static;
|
||||
width: auto;
|
||||
height: auto;
|
||||
margin: 0;
|
||||
overflow: visible;
|
||||
clip: auto;
|
||||
}
|
||||
}
|
15
assets/css/vendor/font-awesome/scss/_path.scss
vendored
Normal file
15
assets/css/vendor/font-awesome/scss/_path.scss
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
/* FONT PATH
|
||||
* -------------------------- */
|
||||
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}');
|
||||
src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'),
|
||||
url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'),
|
||||
url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'),
|
||||
url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'),
|
||||
url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg');
|
||||
// src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
20
assets/css/vendor/font-awesome/scss/_rotated-flipped.scss
vendored
Normal file
20
assets/css/vendor/font-awesome/scss/_rotated-flipped.scss
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
// Rotated & Flipped Icons
|
||||
// -------------------------
|
||||
|
||||
.#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); }
|
||||
.#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); }
|
||||
.#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); }
|
||||
|
||||
.#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); }
|
||||
.#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); }
|
||||
|
||||
// Hook for IE8-9
|
||||
// -------------------------
|
||||
|
||||
:root .#{$fa-css-prefix}-rotate-90,
|
||||
:root .#{$fa-css-prefix}-rotate-180,
|
||||
:root .#{$fa-css-prefix}-rotate-270,
|
||||
:root .#{$fa-css-prefix}-flip-horizontal,
|
||||
:root .#{$fa-css-prefix}-flip-vertical {
|
||||
filter: none;
|
||||
}
|
5
assets/css/vendor/font-awesome/scss/_screen-reader.scss
vendored
Normal file
5
assets/css/vendor/font-awesome/scss/_screen-reader.scss
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
// Screen Readers
|
||||
// -------------------------
|
||||
|
||||
.sr-only { @include sr-only(); }
|
||||
.sr-only-focusable { @include sr-only-focusable(); }
|
20
assets/css/vendor/font-awesome/scss/_stacked.scss
vendored
Normal file
20
assets/css/vendor/font-awesome/scss/_stacked.scss
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
// Stacked Icons
|
||||
// -------------------------
|
||||
|
||||
.#{$fa-css-prefix}-stack {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 2em;
|
||||
height: 2em;
|
||||
line-height: 2em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.#{$fa-css-prefix}-stack-1x { line-height: inherit; }
|
||||
.#{$fa-css-prefix}-stack-2x { font-size: 2em; }
|
||||
.#{$fa-css-prefix}-inverse { color: $fa-inverse; }
|
800
assets/css/vendor/font-awesome/scss/_variables.scss
vendored
Normal file
800
assets/css/vendor/font-awesome/scss/_variables.scss
vendored
Normal file
@ -0,0 +1,800 @@
|
||||
// Variables
|
||||
// --------------------------
|
||||
|
||||
$fa-font-path: "../fonts" !default;
|
||||
$fa-font-size-base: 14px !default;
|
||||
$fa-line-height-base: 1 !default;
|
||||
//$fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts" !default; // for referencing Bootstrap CDN font files directly
|
||||
$fa-css-prefix: fa !default;
|
||||
$fa-version: "4.7.0" !default;
|
||||
$fa-border-color: #eee !default;
|
||||
$fa-inverse: #fff !default;
|
||||
$fa-li-width: (30em / 14) !default;
|
||||
|
||||
$fa-var-500px: "\f26e";
|
||||
$fa-var-address-book: "\f2b9";
|
||||
$fa-var-address-book-o: "\f2ba";
|
||||
$fa-var-address-card: "\f2bb";
|
||||
$fa-var-address-card-o: "\f2bc";
|
||||
$fa-var-adjust: "\f042";
|
||||
$fa-var-adn: "\f170";
|
||||
$fa-var-align-center: "\f037";
|
||||
$fa-var-align-justify: "\f039";
|
||||
$fa-var-align-left: "\f036";
|
||||
$fa-var-align-right: "\f038";
|
||||
$fa-var-amazon: "\f270";
|
||||
$fa-var-ambulance: "\f0f9";
|
||||
$fa-var-american-sign-language-interpreting: "\f2a3";
|
||||
$fa-var-anchor: "\f13d";
|
||||
$fa-var-android: "\f17b";
|
||||
$fa-var-angellist: "\f209";
|
||||
$fa-var-angle-double-down: "\f103";
|
||||
$fa-var-angle-double-left: "\f100";
|
||||
$fa-var-angle-double-right: "\f101";
|
||||
$fa-var-angle-double-up: "\f102";
|
||||
$fa-var-angle-down: "\f107";
|
||||
$fa-var-angle-left: "\f104";
|
||||
$fa-var-angle-right: "\f105";
|
||||
$fa-var-angle-up: "\f106";
|
||||
$fa-var-apple: "\f179";
|
||||
$fa-var-archive: "\f187";
|
||||
$fa-var-area-chart: "\f1fe";
|
||||
$fa-var-arrow-circle-down: "\f0ab";
|
||||
$fa-var-arrow-circle-left: "\f0a8";
|
||||
$fa-var-arrow-circle-o-down: "\f01a";
|
||||
$fa-var-arrow-circle-o-left: "\f190";
|
||||
$fa-var-arrow-circle-o-right: "\f18e";
|
||||
$fa-var-arrow-circle-o-up: "\f01b";
|
||||
$fa-var-arrow-circle-right: "\f0a9";
|
||||
$fa-var-arrow-circle-up: "\f0aa";
|
||||
$fa-var-arrow-down: "\f063";
|
||||
$fa-var-arrow-left: "\f060";
|
||||
$fa-var-arrow-right: "\f061";
|
||||
$fa-var-arrow-up: "\f062";
|
||||
$fa-var-arrows: "\f047";
|
||||
$fa-var-arrows-alt: "\f0b2";
|
||||
$fa-var-arrows-h: "\f07e";
|
||||
$fa-var-arrows-v: "\f07d";
|
||||
$fa-var-asl-interpreting: "\f2a3";
|
||||
$fa-var-assistive-listening-systems: "\f2a2";
|
||||
$fa-var-asterisk: "\f069";
|
||||
$fa-var-at: "\f1fa";
|
||||
$fa-var-audio-description: "\f29e";
|
||||
$fa-var-automobile: "\f1b9";
|
||||
$fa-var-backward: "\f04a";
|
||||
$fa-var-balance-scale: "\f24e";
|
||||
$fa-var-ban: "\f05e";
|
||||
$fa-var-bandcamp: "\f2d5";
|
||||
$fa-var-bank: "\f19c";
|
||||
$fa-var-bar-chart: "\f080";
|
||||
$fa-var-bar-chart-o: "\f080";
|
||||
$fa-var-barcode: "\f02a";
|
||||
$fa-var-bars: "\f0c9";
|
||||
$fa-var-bath: "\f2cd";
|
||||
$fa-var-bathtub: "\f2cd";
|
||||
$fa-var-battery: "\f240";
|
||||
$fa-var-battery-0: "\f244";
|
||||
$fa-var-battery-1: "\f243";
|
||||
$fa-var-battery-2: "\f242";
|
||||
$fa-var-battery-3: "\f241";
|
||||
$fa-var-battery-4: "\f240";
|
||||
$fa-var-battery-empty: "\f244";
|
||||
$fa-var-battery-full: "\f240";
|
||||
$fa-var-battery-half: "\f242";
|
||||
$fa-var-battery-quarter: "\f243";
|
||||
$fa-var-battery-three-quarters: "\f241";
|
||||
$fa-var-bed: "\f236";
|
||||
$fa-var-beer: "\f0fc";
|
||||
$fa-var-behance: "\f1b4";
|
||||
$fa-var-behance-square: "\f1b5";
|
||||
$fa-var-bell: "\f0f3";
|
||||
$fa-var-bell-o: "\f0a2";
|
||||
$fa-var-bell-slash: "\f1f6";
|
||||
$fa-var-bell-slash-o: "\f1f7";
|
||||
$fa-var-bicycle: "\f206";
|
||||
$fa-var-binoculars: "\f1e5";
|
||||
$fa-var-birthday-cake: "\f1fd";
|
||||
$fa-var-bitbucket: "\f171";
|
||||
$fa-var-bitbucket-square: "\f172";
|
||||
$fa-var-bitcoin: "\f15a";
|
||||
$fa-var-black-tie: "\f27e";
|
||||
$fa-var-blind: "\f29d";
|
||||
$fa-var-bluetooth: "\f293";
|
||||
$fa-var-bluetooth-b: "\f294";
|
||||
$fa-var-bold: "\f032";
|
||||
$fa-var-bolt: "\f0e7";
|
||||
$fa-var-bomb: "\f1e2";
|
||||
$fa-var-book: "\f02d";
|
||||
$fa-var-bookmark: "\f02e";
|
||||
$fa-var-bookmark-o: "\f097";
|
||||
$fa-var-braille: "\f2a1";
|
||||
$fa-var-briefcase: "\f0b1";
|
||||
$fa-var-btc: "\f15a";
|
||||
$fa-var-bug: "\f188";
|
||||
$fa-var-building: "\f1ad";
|
||||
$fa-var-building-o: "\f0f7";
|
||||
$fa-var-bullhorn: "\f0a1";
|
||||
$fa-var-bullseye: "\f140";
|
||||
$fa-var-bus: "\f207";
|
||||
$fa-var-buysellads: "\f20d";
|
||||
$fa-var-cab: "\f1ba";
|
||||
$fa-var-calculator: "\f1ec";
|
||||
$fa-var-calendar: "\f073";
|
||||
$fa-var-calendar-check-o: "\f274";
|
||||
$fa-var-calendar-minus-o: "\f272";
|
||||
$fa-var-calendar-o: "\f133";
|
||||
$fa-var-calendar-plus-o: "\f271";
|
||||
$fa-var-calendar-times-o: "\f273";
|
||||
$fa-var-camera: "\f030";
|
||||
$fa-var-camera-retro: "\f083";
|
||||
$fa-var-car: "\f1b9";
|
||||
$fa-var-caret-down: "\f0d7";
|
||||
$fa-var-caret-left: "\f0d9";
|
||||
$fa-var-caret-right: "\f0da";
|
||||
$fa-var-caret-square-o-down: "\f150";
|
||||
$fa-var-caret-square-o-left: "\f191";
|
||||
$fa-var-caret-square-o-right: "\f152";
|
||||
$fa-var-caret-square-o-up: "\f151";
|
||||
$fa-var-caret-up: "\f0d8";
|
||||
$fa-var-cart-arrow-down: "\f218";
|
||||
$fa-var-cart-plus: "\f217";
|
||||
$fa-var-cc: "\f20a";
|
||||
$fa-var-cc-amex: "\f1f3";
|
||||
$fa-var-cc-diners-club: "\f24c";
|
||||
$fa-var-cc-discover: "\f1f2";
|
||||
$fa-var-cc-jcb: "\f24b";
|
||||
$fa-var-cc-mastercard: "\f1f1";
|
||||
$fa-var-cc-paypal: "\f1f4";
|
||||
$fa-var-cc-stripe: "\f1f5";
|
||||
$fa-var-cc-visa: "\f1f0";
|
||||
$fa-var-certificate: "\f0a3";
|
||||
$fa-var-chain: "\f0c1";
|
||||
$fa-var-chain-broken: "\f127";
|
||||
$fa-var-check: "\f00c";
|
||||
$fa-var-check-circle: "\f058";
|
||||
$fa-var-check-circle-o: "\f05d";
|
||||
$fa-var-check-square: "\f14a";
|
||||
$fa-var-check-square-o: "\f046";
|
||||
$fa-var-chevron-circle-down: "\f13a";
|
||||
$fa-var-chevron-circle-left: "\f137";
|
||||
$fa-var-chevron-circle-right: "\f138";
|
||||
$fa-var-chevron-circle-up: "\f139";
|
||||
$fa-var-chevron-down: "\f078";
|
||||
$fa-var-chevron-left: "\f053";
|
||||
$fa-var-chevron-right: "\f054";
|
||||
$fa-var-chevron-up: "\f077";
|
||||
$fa-var-child: "\f1ae";
|
||||
$fa-var-chrome: "\f268";
|
||||
$fa-var-circle: "\f111";
|
||||
$fa-var-circle-o: "\f10c";
|
||||
$fa-var-circle-o-notch: "\f1ce";
|
||||
$fa-var-circle-thin: "\f1db";
|
||||
$fa-var-clipboard: "\f0ea";
|
||||
$fa-var-clock-o: "\f017";
|
||||
$fa-var-clone: "\f24d";
|
||||
$fa-var-close: "\f00d";
|
||||
$fa-var-cloud: "\f0c2";
|
||||
$fa-var-cloud-download: "\f0ed";
|
||||
$fa-var-cloud-upload: "\f0ee";
|
||||
$fa-var-cny: "\f157";
|
||||
$fa-var-code: "\f121";
|
||||
$fa-var-code-fork: "\f126";
|
||||
$fa-var-codepen: "\f1cb";
|
||||
$fa-var-codiepie: "\f284";
|
||||
$fa-var-coffee: "\f0f4";
|
||||
$fa-var-cog: "\f013";
|
||||
$fa-var-cogs: "\f085";
|
||||
$fa-var-columns: "\f0db";
|
||||
$fa-var-comment: "\f075";
|
||||
$fa-var-comment-o: "\f0e5";
|
||||
$fa-var-commenting: "\f27a";
|
||||
$fa-var-commenting-o: "\f27b";
|
||||
$fa-var-comments: "\f086";
|
||||
$fa-var-comments-o: "\f0e6";
|
||||
$fa-var-compass: "\f14e";
|
||||
$fa-var-compress: "\f066";
|
||||
$fa-var-connectdevelop: "\f20e";
|
||||
$fa-var-contao: "\f26d";
|
||||
$fa-var-copy: "\f0c5";
|
||||
$fa-var-copyright: "\f1f9";
|
||||
$fa-var-creative-commons: "\f25e";
|
||||
$fa-var-credit-card: "\f09d";
|
||||
$fa-var-credit-card-alt: "\f283";
|
||||
$fa-var-crop: "\f125";
|
||||
$fa-var-crosshairs: "\f05b";
|
||||
$fa-var-css3: "\f13c";
|
||||
$fa-var-cube: "\f1b2";
|
||||
$fa-var-cubes: "\f1b3";
|
||||
$fa-var-cut: "\f0c4";
|
||||
$fa-var-cutlery: "\f0f5";
|
||||
$fa-var-dashboard: "\f0e4";
|
||||
$fa-var-dashcube: "\f210";
|
||||
$fa-var-database: "\f1c0";
|
||||
$fa-var-deaf: "\f2a4";
|
||||
$fa-var-deafness: "\f2a4";
|
||||
$fa-var-dedent: "\f03b";
|
||||
$fa-var-delicious: "\f1a5";
|
||||
$fa-var-desktop: "\f108";
|
||||
$fa-var-deviantart: "\f1bd";
|
||||
$fa-var-diamond: "\f219";
|
||||
$fa-var-digg: "\f1a6";
|
||||
$fa-var-dollar: "\f155";
|
||||
$fa-var-dot-circle-o: "\f192";
|
||||
$fa-var-download: "\f019";
|
||||
$fa-var-dribbble: "\f17d";
|
||||
$fa-var-drivers-license: "\f2c2";
|
||||
$fa-var-drivers-license-o: "\f2c3";
|
||||
$fa-var-dropbox: "\f16b";
|
||||
$fa-var-drupal: "\f1a9";
|
||||
$fa-var-edge: "\f282";
|
||||
$fa-var-edit: "\f044";
|
||||
$fa-var-eercast: "\f2da";
|
||||
$fa-var-eject: "\f052";
|
||||
$fa-var-ellipsis-h: "\f141";
|
||||
$fa-var-ellipsis-v: "\f142";
|
||||
$fa-var-empire: "\f1d1";
|
||||
$fa-var-envelope: "\f0e0";
|
||||
$fa-var-envelope-o: "\f003";
|
||||
$fa-var-envelope-open: "\f2b6";
|
||||
$fa-var-envelope-open-o: "\f2b7";
|
||||
$fa-var-envelope-square: "\f199";
|
||||
$fa-var-envira: "\f299";
|
||||
$fa-var-eraser: "\f12d";
|
||||
$fa-var-etsy: "\f2d7";
|
||||
$fa-var-eur: "\f153";
|
||||
$fa-var-euro: "\f153";
|
||||
$fa-var-exchange: "\f0ec";
|
||||
$fa-var-exclamation: "\f12a";
|
||||
$fa-var-exclamation-circle: "\f06a";
|
||||
$fa-var-exclamation-triangle: "\f071";
|
||||
$fa-var-expand: "\f065";
|
||||
$fa-var-expeditedssl: "\f23e";
|
||||
$fa-var-external-link: "\f08e";
|
||||
$fa-var-external-link-square: "\f14c";
|
||||
$fa-var-eye: "\f06e";
|
||||
$fa-var-eye-slash: "\f070";
|
||||
$fa-var-eyedropper: "\f1fb";
|
||||
$fa-var-fa: "\f2b4";
|
||||
$fa-var-facebook: "\f09a";
|
||||
$fa-var-facebook-f: "\f09a";
|
||||
$fa-var-facebook-official: "\f230";
|
||||
$fa-var-facebook-square: "\f082";
|
||||
$fa-var-fast-backward: "\f049";
|
||||
$fa-var-fast-forward: "\f050";
|
||||
$fa-var-fax: "\f1ac";
|
||||
$fa-var-feed: "\f09e";
|
||||
$fa-var-female: "\f182";
|
||||
$fa-var-fighter-jet: "\f0fb";
|
||||
$fa-var-file: "\f15b";
|
||||
$fa-var-file-archive-o: "\f1c6";
|
||||
$fa-var-file-audio-o: "\f1c7";
|
||||
$fa-var-file-code-o: "\f1c9";
|
||||
$fa-var-file-excel-o: "\f1c3";
|
||||
$fa-var-file-image-o: "\f1c5";
|
||||
$fa-var-file-movie-o: "\f1c8";
|
||||
$fa-var-file-o: "\f016";
|
||||
$fa-var-file-pdf-o: "\f1c1";
|
||||
$fa-var-file-photo-o: "\f1c5";
|
||||
$fa-var-file-picture-o: "\f1c5";
|
||||
$fa-var-file-powerpoint-o: "\f1c4";
|
||||
$fa-var-file-sound-o: "\f1c7";
|
||||
$fa-var-file-text: "\f15c";
|
||||
$fa-var-file-text-o: "\f0f6";
|
||||
$fa-var-file-video-o: "\f1c8";
|
||||
$fa-var-file-word-o: "\f1c2";
|
||||
$fa-var-file-zip-o: "\f1c6";
|
||||
$fa-var-files-o: "\f0c5";
|
||||
$fa-var-film: "\f008";
|
||||
$fa-var-filter: "\f0b0";
|
||||
$fa-var-fire: "\f06d";
|
||||
$fa-var-fire-extinguisher: "\f134";
|
||||
$fa-var-firefox: "\f269";
|
||||
$fa-var-first-order: "\f2b0";
|
||||
$fa-var-flag: "\f024";
|
||||
$fa-var-flag-checkered: "\f11e";
|
||||
$fa-var-flag-o: "\f11d";
|
||||
$fa-var-flash: "\f0e7";
|
||||
$fa-var-flask: "\f0c3";
|
||||
$fa-var-flickr: "\f16e";
|
||||
$fa-var-floppy-o: "\f0c7";
|
||||
$fa-var-folder: "\f07b";
|
||||
$fa-var-folder-o: "\f114";
|
||||
$fa-var-folder-open: "\f07c";
|
||||
$fa-var-folder-open-o: "\f115";
|
||||
$fa-var-font: "\f031";
|
||||
$fa-var-font-awesome: "\f2b4";
|
||||
$fa-var-fonticons: "\f280";
|
||||
$fa-var-fort-awesome: "\f286";
|
||||
$fa-var-forumbee: "\f211";
|
||||
$fa-var-forward: "\f04e";
|
||||
$fa-var-foursquare: "\f180";
|
||||
$fa-var-free-code-camp: "\f2c5";
|
||||
$fa-var-frown-o: "\f119";
|
||||
$fa-var-futbol-o: "\f1e3";
|
||||
$fa-var-gamepad: "\f11b";
|
||||
$fa-var-gavel: "\f0e3";
|
||||
$fa-var-gbp: "\f154";
|
||||
$fa-var-ge: "\f1d1";
|
||||
$fa-var-gear: "\f013";
|
||||
$fa-var-gears: "\f085";
|
||||
$fa-var-genderless: "\f22d";
|
||||
$fa-var-get-pocket: "\f265";
|
||||
$fa-var-gg: "\f260";
|
||||
$fa-var-gg-circle: "\f261";
|
||||
$fa-var-gift: "\f06b";
|
||||
$fa-var-git: "\f1d3";
|
||||
$fa-var-git-square: "\f1d2";
|
||||
$fa-var-github: "\f09b";
|
||||
$fa-var-github-alt: "\f113";
|
||||
$fa-var-github-square: "\f092";
|
||||
$fa-var-gitlab: "\f296";
|
||||
$fa-var-gittip: "\f184";
|
||||
$fa-var-glass: "\f000";
|
||||
$fa-var-glide: "\f2a5";
|
||||
$fa-var-glide-g: "\f2a6";
|
||||
$fa-var-globe: "\f0ac";
|
||||
$fa-var-google: "\f1a0";
|
||||
$fa-var-google-plus: "\f0d5";
|
||||
$fa-var-google-plus-circle: "\f2b3";
|
||||
$fa-var-google-plus-official: "\f2b3";
|
||||
$fa-var-google-plus-square: "\f0d4";
|
||||
$fa-var-google-wallet: "\f1ee";
|
||||
$fa-var-graduation-cap: "\f19d";
|
||||
$fa-var-gratipay: "\f184";
|
||||
$fa-var-grav: "\f2d6";
|
||||
$fa-var-group: "\f0c0";
|
||||
$fa-var-h-square: "\f0fd";
|
||||
$fa-var-hacker-news: "\f1d4";
|
||||
$fa-var-hand-grab-o: "\f255";
|
||||
$fa-var-hand-lizard-o: "\f258";
|
||||
$fa-var-hand-o-down: "\f0a7";
|
||||
$fa-var-hand-o-left: "\f0a5";
|
||||
$fa-var-hand-o-right: "\f0a4";
|
||||
$fa-var-hand-o-up: "\f0a6";
|
||||
$fa-var-hand-paper-o: "\f256";
|
||||
$fa-var-hand-peace-o: "\f25b";
|
||||
$fa-var-hand-pointer-o: "\f25a";
|
||||
$fa-var-hand-rock-o: "\f255";
|
||||
$fa-var-hand-scissors-o: "\f257";
|
||||
$fa-var-hand-spock-o: "\f259";
|
||||
$fa-var-hand-stop-o: "\f256";
|
||||
$fa-var-handshake-o: "\f2b5";
|
||||
$fa-var-hard-of-hearing: "\f2a4";
|
||||
$fa-var-hashtag: "\f292";
|
||||
$fa-var-hdd-o: "\f0a0";
|
||||
$fa-var-header: "\f1dc";
|
||||
$fa-var-headphones: "\f025";
|
||||
$fa-var-heart: "\f004";
|
||||
$fa-var-heart-o: "\f08a";
|
||||
$fa-var-heartbeat: "\f21e";
|
||||
$fa-var-history: "\f1da";
|
||||
$fa-var-home: "\f015";
|
||||
$fa-var-hospital-o: "\f0f8";
|
||||
$fa-var-hotel: "\f236";
|
||||
$fa-var-hourglass: "\f254";
|
||||
$fa-var-hourglass-1: "\f251";
|
||||
$fa-var-hourglass-2: "\f252";
|
||||
$fa-var-hourglass-3: "\f253";
|
||||
$fa-var-hourglass-end: "\f253";
|
||||
$fa-var-hourglass-half: "\f252";
|
||||
$fa-var-hourglass-o: "\f250";
|
||||
$fa-var-hourglass-start: "\f251";
|
||||
$fa-var-houzz: "\f27c";
|
||||
$fa-var-html5: "\f13b";
|
||||
$fa-var-i-cursor: "\f246";
|
||||
$fa-var-id-badge: "\f2c1";
|
||||
$fa-var-id-card: "\f2c2";
|
||||
$fa-var-id-card-o: "\f2c3";
|
||||
$fa-var-ils: "\f20b";
|
||||
$fa-var-image: "\f03e";
|
||||
$fa-var-imdb: "\f2d8";
|
||||
$fa-var-inbox: "\f01c";
|
||||
$fa-var-indent: "\f03c";
|
||||
$fa-var-industry: "\f275";
|
||||
$fa-var-info: "\f129";
|
||||
$fa-var-info-circle: "\f05a";
|
||||
$fa-var-inr: "\f156";
|
||||
$fa-var-instagram: "\f16d";
|
||||
$fa-var-institution: "\f19c";
|
||||
$fa-var-internet-explorer: "\f26b";
|
||||
$fa-var-intersex: "\f224";
|
||||
$fa-var-ioxhost: "\f208";
|
||||
$fa-var-italic: "\f033";
|
||||
$fa-var-joomla: "\f1aa";
|
||||
$fa-var-jpy: "\f157";
|
||||
$fa-var-jsfiddle: "\f1cc";
|
||||
$fa-var-key: "\f084";
|
||||
$fa-var-keyboard-o: "\f11c";
|
||||
$fa-var-krw: "\f159";
|
||||
$fa-var-language: "\f1ab";
|
||||
$fa-var-laptop: "\f109";
|
||||
$fa-var-lastfm: "\f202";
|
||||
$fa-var-lastfm-square: "\f203";
|
||||
$fa-var-leaf: "\f06c";
|
||||
$fa-var-leanpub: "\f212";
|
||||
$fa-var-legal: "\f0e3";
|
||||
$fa-var-lemon-o: "\f094";
|
||||
$fa-var-level-down: "\f149";
|
||||
$fa-var-level-up: "\f148";
|
||||
$fa-var-life-bouy: "\f1cd";
|
||||
$fa-var-life-buoy: "\f1cd";
|
||||
$fa-var-life-ring: "\f1cd";
|
||||
$fa-var-life-saver: "\f1cd";
|
||||
$fa-var-lightbulb-o: "\f0eb";
|
||||
$fa-var-line-chart: "\f201";
|
||||
$fa-var-link: "\f0c1";
|
||||
$fa-var-linkedin: "\f0e1";
|
||||
$fa-var-linkedin-square: "\f08c";
|
||||
$fa-var-linode: "\f2b8";
|
||||
$fa-var-linux: "\f17c";
|
||||
$fa-var-list: "\f03a";
|
||||
$fa-var-list-alt: "\f022";
|
||||
$fa-var-list-ol: "\f0cb";
|
||||
$fa-var-list-ul: "\f0ca";
|
||||
$fa-var-location-arrow: "\f124";
|
||||
$fa-var-lock: "\f023";
|
||||
$fa-var-long-arrow-down: "\f175";
|
||||
$fa-var-long-arrow-left: "\f177";
|
||||
$fa-var-long-arrow-right: "\f178";
|
||||
$fa-var-long-arrow-up: "\f176";
|
||||
$fa-var-low-vision: "\f2a8";
|
||||
$fa-var-magic: "\f0d0";
|
||||
$fa-var-magnet: "\f076";
|
||||
$fa-var-mail-forward: "\f064";
|
||||
$fa-var-mail-reply: "\f112";
|
||||
$fa-var-mail-reply-all: "\f122";
|
||||
$fa-var-male: "\f183";
|
||||
$fa-var-map: "\f279";
|
||||
$fa-var-map-marker: "\f041";
|
||||
$fa-var-map-o: "\f278";
|
||||
$fa-var-map-pin: "\f276";
|
||||
$fa-var-map-signs: "\f277";
|
||||
$fa-var-mars: "\f222";
|
||||
$fa-var-mars-double: "\f227";
|
||||
$fa-var-mars-stroke: "\f229";
|
||||
$fa-var-mars-stroke-h: "\f22b";
|
||||
$fa-var-mars-stroke-v: "\f22a";
|
||||
$fa-var-maxcdn: "\f136";
|
||||
$fa-var-meanpath: "\f20c";
|
||||
$fa-var-medium: "\f23a";
|
||||
$fa-var-medkit: "\f0fa";
|
||||
$fa-var-meetup: "\f2e0";
|
||||
$fa-var-meh-o: "\f11a";
|
||||
$fa-var-mercury: "\f223";
|
||||
$fa-var-microchip: "\f2db";
|
||||
$fa-var-microphone: "\f130";
|
||||
$fa-var-microphone-slash: "\f131";
|
||||
$fa-var-minus: "\f068";
|
||||
$fa-var-minus-circle: "\f056";
|
||||
$fa-var-minus-square: "\f146";
|
||||
$fa-var-minus-square-o: "\f147";
|
||||
$fa-var-mixcloud: "\f289";
|
||||
$fa-var-mobile: "\f10b";
|
||||
$fa-var-mobile-phone: "\f10b";
|
||||
$fa-var-modx: "\f285";
|
||||
$fa-var-money: "\f0d6";
|
||||
$fa-var-moon-o: "\f186";
|
||||
$fa-var-mortar-board: "\f19d";
|
||||
$fa-var-motorcycle: "\f21c";
|
||||
$fa-var-mouse-pointer: "\f245";
|
||||
$fa-var-music: "\f001";
|
||||
$fa-var-navicon: "\f0c9";
|
||||
$fa-var-neuter: "\f22c";
|
||||
$fa-var-newspaper-o: "\f1ea";
|
||||
$fa-var-object-group: "\f247";
|
||||
$fa-var-object-ungroup: "\f248";
|
||||
$fa-var-odnoklassniki: "\f263";
|
||||
$fa-var-odnoklassniki-square: "\f264";
|
||||
$fa-var-opencart: "\f23d";
|
||||
$fa-var-openid: "\f19b";
|
||||
$fa-var-opera: "\f26a";
|
||||
$fa-var-optin-monster: "\f23c";
|
||||
$fa-var-outdent: "\f03b";
|
||||
$fa-var-pagelines: "\f18c";
|
||||
$fa-var-paint-brush: "\f1fc";
|
||||
$fa-var-paper-plane: "\f1d8";
|
||||
$fa-var-paper-plane-o: "\f1d9";
|
||||
$fa-var-paperclip: "\f0c6";
|
||||
$fa-var-paragraph: "\f1dd";
|
||||
$fa-var-paste: "\f0ea";
|
||||
$fa-var-pause: "\f04c";
|
||||
$fa-var-pause-circle: "\f28b";
|
||||
$fa-var-pause-circle-o: "\f28c";
|
||||
$fa-var-paw: "\f1b0";
|
||||
$fa-var-paypal: "\f1ed";
|
||||
$fa-var-pencil: "\f040";
|
||||
$fa-var-pencil-square: "\f14b";
|
||||
$fa-var-pencil-square-o: "\f044";
|
||||
$fa-var-percent: "\f295";
|
||||
$fa-var-phone: "\f095";
|
||||
$fa-var-phone-square: "\f098";
|
||||
$fa-var-photo: "\f03e";
|
||||
$fa-var-picture-o: "\f03e";
|
||||
$fa-var-pie-chart: "\f200";
|
||||
$fa-var-pied-piper: "\f2ae";
|
||||
$fa-var-pied-piper-alt: "\f1a8";
|
||||
$fa-var-pied-piper-pp: "\f1a7";
|
||||
$fa-var-pinterest: "\f0d2";
|
||||
$fa-var-pinterest-p: "\f231";
|
||||
$fa-var-pinterest-square: "\f0d3";
|
||||
$fa-var-plane: "\f072";
|
||||
$fa-var-play: "\f04b";
|
||||
$fa-var-play-circle: "\f144";
|
||||
$fa-var-play-circle-o: "\f01d";
|
||||
$fa-var-plug: "\f1e6";
|
||||
$fa-var-plus: "\f067";
|
||||
$fa-var-plus-circle: "\f055";
|
||||
$fa-var-plus-square: "\f0fe";
|
||||
$fa-var-plus-square-o: "\f196";
|
||||
$fa-var-podcast: "\f2ce";
|
||||
$fa-var-power-off: "\f011";
|
||||
$fa-var-print: "\f02f";
|
||||
$fa-var-product-hunt: "\f288";
|
||||
$fa-var-puzzle-piece: "\f12e";
|
||||
$fa-var-qq: "\f1d6";
|
||||
$fa-var-qrcode: "\f029";
|
||||
$fa-var-question: "\f128";
|
||||
$fa-var-question-circle: "\f059";
|
||||
$fa-var-question-circle-o: "\f29c";
|
||||
$fa-var-quora: "\f2c4";
|
||||
$fa-var-quote-left: "\f10d";
|
||||
$fa-var-quote-right: "\f10e";
|
||||
$fa-var-ra: "\f1d0";
|
||||
$fa-var-random: "\f074";
|
||||
$fa-var-ravelry: "\f2d9";
|
||||
$fa-var-rebel: "\f1d0";
|
||||
$fa-var-recycle: "\f1b8";
|
||||
$fa-var-reddit: "\f1a1";
|
||||
$fa-var-reddit-alien: "\f281";
|
||||
$fa-var-reddit-square: "\f1a2";
|
||||
$fa-var-refresh: "\f021";
|
||||
$fa-var-registered: "\f25d";
|
||||
$fa-var-remove: "\f00d";
|
||||
$fa-var-renren: "\f18b";
|
||||
$fa-var-reorder: "\f0c9";
|
||||
$fa-var-repeat: "\f01e";
|
||||
$fa-var-reply: "\f112";
|
||||
$fa-var-reply-all: "\f122";
|
||||
$fa-var-resistance: "\f1d0";
|
||||
$fa-var-retweet: "\f079";
|
||||
$fa-var-rmb: "\f157";
|
||||
$fa-var-road: "\f018";
|
||||
$fa-var-rocket: "\f135";
|
||||
$fa-var-rotate-left: "\f0e2";
|
||||
$fa-var-rotate-right: "\f01e";
|
||||
$fa-var-rouble: "\f158";
|
||||
$fa-var-rss: "\f09e";
|
||||
$fa-var-rss-square: "\f143";
|
||||
$fa-var-rub: "\f158";
|
||||
$fa-var-ruble: "\f158";
|
||||
$fa-var-rupee: "\f156";
|
||||
$fa-var-s15: "\f2cd";
|
||||
$fa-var-safari: "\f267";
|
||||
$fa-var-save: "\f0c7";
|
||||
$fa-var-scissors: "\f0c4";
|
||||
$fa-var-scribd: "\f28a";
|
||||
$fa-var-search: "\f002";
|
||||
$fa-var-search-minus: "\f010";
|
||||
$fa-var-search-plus: "\f00e";
|
||||
$fa-var-sellsy: "\f213";
|
||||
$fa-var-send: "\f1d8";
|
||||
$fa-var-send-o: "\f1d9";
|
||||
$fa-var-server: "\f233";
|
||||
$fa-var-share: "\f064";
|
||||
$fa-var-share-alt: "\f1e0";
|
||||
$fa-var-share-alt-square: "\f1e1";
|
||||
$fa-var-share-square: "\f14d";
|
||||
$fa-var-share-square-o: "\f045";
|
||||
$fa-var-shekel: "\f20b";
|
||||
$fa-var-sheqel: "\f20b";
|
||||
$fa-var-shield: "\f132";
|
||||
$fa-var-ship: "\f21a";
|
||||
$fa-var-shirtsinbulk: "\f214";
|
||||
$fa-var-shopping-bag: "\f290";
|
||||
$fa-var-shopping-basket: "\f291";
|
||||
$fa-var-shopping-cart: "\f07a";
|
||||
$fa-var-shower: "\f2cc";
|
||||
$fa-var-sign-in: "\f090";
|
||||
$fa-var-sign-language: "\f2a7";
|
||||
$fa-var-sign-out: "\f08b";
|
||||
$fa-var-signal: "\f012";
|
||||
$fa-var-signing: "\f2a7";
|
||||
$fa-var-simplybuilt: "\f215";
|
||||
$fa-var-sitemap: "\f0e8";
|
||||
$fa-var-skyatlas: "\f216";
|
||||
$fa-var-skype: "\f17e";
|
||||
$fa-var-slack: "\f198";
|
||||
$fa-var-sliders: "\f1de";
|
||||
$fa-var-slideshare: "\f1e7";
|
||||
$fa-var-smile-o: "\f118";
|
||||
$fa-var-snapchat: "\f2ab";
|
||||
$fa-var-snapchat-ghost: "\f2ac";
|
||||
$fa-var-snapchat-square: "\f2ad";
|
||||
$fa-var-snowflake-o: "\f2dc";
|
||||
$fa-var-soccer-ball-o: "\f1e3";
|
||||
$fa-var-sort: "\f0dc";
|
||||
$fa-var-sort-alpha-asc: "\f15d";
|
||||
$fa-var-sort-alpha-desc: "\f15e";
|
||||
$fa-var-sort-amount-asc: "\f160";
|
||||
$fa-var-sort-amount-desc: "\f161";
|
||||
$fa-var-sort-asc: "\f0de";
|
||||
$fa-var-sort-desc: "\f0dd";
|
||||
$fa-var-sort-down: "\f0dd";
|
||||
$fa-var-sort-numeric-asc: "\f162";
|
||||
$fa-var-sort-numeric-desc: "\f163";
|
||||
$fa-var-sort-up: "\f0de";
|
||||
$fa-var-soundcloud: "\f1be";
|
||||
$fa-var-space-shuttle: "\f197";
|
||||
$fa-var-spinner: "\f110";
|
||||
$fa-var-spoon: "\f1b1";
|
||||
$fa-var-spotify: "\f1bc";
|
||||
$fa-var-square: "\f0c8";
|
||||
$fa-var-square-o: "\f096";
|
||||
$fa-var-stack-exchange: "\f18d";
|
||||
$fa-var-stack-overflow: "\f16c";
|
||||
$fa-var-star: "\f005";
|
||||
$fa-var-star-half: "\f089";
|
||||
$fa-var-star-half-empty: "\f123";
|
||||
$fa-var-star-half-full: "\f123";
|
||||
$fa-var-star-half-o: "\f123";
|
||||
$fa-var-star-o: "\f006";
|
||||
$fa-var-steam: "\f1b6";
|
||||
$fa-var-steam-square: "\f1b7";
|
||||
$fa-var-step-backward: "\f048";
|
||||
$fa-var-step-forward: "\f051";
|
||||
$fa-var-stethoscope: "\f0f1";
|
||||
$fa-var-sticky-note: "\f249";
|
||||
$fa-var-sticky-note-o: "\f24a";
|
||||
$fa-var-stop: "\f04d";
|
||||
$fa-var-stop-circle: "\f28d";
|
||||
$fa-var-stop-circle-o: "\f28e";
|
||||
$fa-var-street-view: "\f21d";
|
||||
$fa-var-strikethrough: "\f0cc";
|
||||
$fa-var-stumbleupon: "\f1a4";
|
||||
$fa-var-stumbleupon-circle: "\f1a3";
|
||||
$fa-var-subscript: "\f12c";
|
||||
$fa-var-subway: "\f239";
|
||||
$fa-var-suitcase: "\f0f2";
|
||||
$fa-var-sun-o: "\f185";
|
||||
$fa-var-superpowers: "\f2dd";
|
||||
$fa-var-superscript: "\f12b";
|
||||
$fa-var-support: "\f1cd";
|
||||
$fa-var-table: "\f0ce";
|
||||
$fa-var-tablet: "\f10a";
|
||||
$fa-var-tachometer: "\f0e4";
|
||||
$fa-var-tag: "\f02b";
|
||||
$fa-var-tags: "\f02c";
|
||||
$fa-var-tasks: "\f0ae";
|
||||
$fa-var-taxi: "\f1ba";
|
||||
$fa-var-telegram: "\f2c6";
|
||||
$fa-var-television: "\f26c";
|
||||
$fa-var-tencent-weibo: "\f1d5";
|
||||
$fa-var-terminal: "\f120";
|
||||
$fa-var-text-height: "\f034";
|
||||
$fa-var-text-width: "\f035";
|
||||
$fa-var-th: "\f00a";
|
||||
$fa-var-th-large: "\f009";
|
||||
$fa-var-th-list: "\f00b";
|
||||
$fa-var-themeisle: "\f2b2";
|
||||
$fa-var-thermometer: "\f2c7";
|
||||
$fa-var-thermometer-0: "\f2cb";
|
||||
$fa-var-thermometer-1: "\f2ca";
|
||||
$fa-var-thermometer-2: "\f2c9";
|
||||
$fa-var-thermometer-3: "\f2c8";
|
||||
$fa-var-thermometer-4: "\f2c7";
|
||||
$fa-var-thermometer-empty: "\f2cb";
|
||||
$fa-var-thermometer-full: "\f2c7";
|
||||
$fa-var-thermometer-half: "\f2c9";
|
||||
$fa-var-thermometer-quarter: "\f2ca";
|
||||
$fa-var-thermometer-three-quarters: "\f2c8";
|
||||
$fa-var-thumb-tack: "\f08d";
|
||||
$fa-var-thumbs-down: "\f165";
|
||||
$fa-var-thumbs-o-down: "\f088";
|
||||
$fa-var-thumbs-o-up: "\f087";
|
||||
$fa-var-thumbs-up: "\f164";
|
||||
$fa-var-ticket: "\f145";
|
||||
$fa-var-times: "\f00d";
|
||||
$fa-var-times-circle: "\f057";
|
||||
$fa-var-times-circle-o: "\f05c";
|
||||
$fa-var-times-rectangle: "\f2d3";
|
||||
$fa-var-times-rectangle-o: "\f2d4";
|
||||
$fa-var-tint: "\f043";
|
||||
$fa-var-toggle-down: "\f150";
|
||||
$fa-var-toggle-left: "\f191";
|
||||
$fa-var-toggle-off: "\f204";
|
||||
$fa-var-toggle-on: "\f205";
|
||||
$fa-var-toggle-right: "\f152";
|
||||
$fa-var-toggle-up: "\f151";
|
||||
$fa-var-trademark: "\f25c";
|
||||
$fa-var-train: "\f238";
|
||||
$fa-var-transgender: "\f224";
|
||||
$fa-var-transgender-alt: "\f225";
|
||||
$fa-var-trash: "\f1f8";
|
||||
$fa-var-trash-o: "\f014";
|
||||
$fa-var-tree: "\f1bb";
|
||||
$fa-var-trello: "\f181";
|
||||
$fa-var-tripadvisor: "\f262";
|
||||
$fa-var-trophy: "\f091";
|
||||
$fa-var-truck: "\f0d1";
|
||||
$fa-var-try: "\f195";
|
||||
$fa-var-tty: "\f1e4";
|
||||
$fa-var-tumblr: "\f173";
|
||||
$fa-var-tumblr-square: "\f174";
|
||||
$fa-var-turkish-lira: "\f195";
|
||||
$fa-var-tv: "\f26c";
|
||||
$fa-var-twitch: "\f1e8";
|
||||
$fa-var-twitter: "\f099";
|
||||
$fa-var-twitter-square: "\f081";
|
||||
$fa-var-umbrella: "\f0e9";
|
||||
$fa-var-underline: "\f0cd";
|
||||
$fa-var-undo: "\f0e2";
|
||||
$fa-var-universal-access: "\f29a";
|
||||
$fa-var-university: "\f19c";
|
||||
$fa-var-unlink: "\f127";
|
||||
$fa-var-unlock: "\f09c";
|
||||
$fa-var-unlock-alt: "\f13e";
|
||||
$fa-var-unsorted: "\f0dc";
|
||||
$fa-var-upload: "\f093";
|
||||
$fa-var-usb: "\f287";
|
||||
$fa-var-usd: "\f155";
|
||||
$fa-var-user: "\f007";
|
||||
$fa-var-user-circle: "\f2bd";
|
||||
$fa-var-user-circle-o: "\f2be";
|
||||
$fa-var-user-md: "\f0f0";
|
||||
$fa-var-user-o: "\f2c0";
|
||||
$fa-var-user-plus: "\f234";
|
||||
$fa-var-user-secret: "\f21b";
|
||||
$fa-var-user-times: "\f235";
|
||||
$fa-var-users: "\f0c0";
|
||||
$fa-var-vcard: "\f2bb";
|
||||
$fa-var-vcard-o: "\f2bc";
|
||||
$fa-var-venus: "\f221";
|
||||
$fa-var-venus-double: "\f226";
|
||||
$fa-var-venus-mars: "\f228";
|
||||
$fa-var-viacoin: "\f237";
|
||||
$fa-var-viadeo: "\f2a9";
|
||||
$fa-var-viadeo-square: "\f2aa";
|
||||
$fa-var-video-camera: "\f03d";
|
||||
$fa-var-vimeo: "\f27d";
|
||||
$fa-var-vimeo-square: "\f194";
|
||||
$fa-var-vine: "\f1ca";
|
||||
$fa-var-vk: "\f189";
|
||||
$fa-var-volume-control-phone: "\f2a0";
|
||||
$fa-var-volume-down: "\f027";
|
||||
$fa-var-volume-off: "\f026";
|
||||
$fa-var-volume-up: "\f028";
|
||||
$fa-var-warning: "\f071";
|
||||
$fa-var-wechat: "\f1d7";
|
||||
$fa-var-weibo: "\f18a";
|
||||
$fa-var-weixin: "\f1d7";
|
||||
$fa-var-whatsapp: "\f232";
|
||||
$fa-var-wheelchair: "\f193";
|
||||
$fa-var-wheelchair-alt: "\f29b";
|
||||
$fa-var-wifi: "\f1eb";
|
||||
$fa-var-wikipedia-w: "\f266";
|
||||
$fa-var-window-close: "\f2d3";
|
||||
$fa-var-window-close-o: "\f2d4";
|
||||
$fa-var-window-maximize: "\f2d0";
|
||||
$fa-var-window-minimize: "\f2d1";
|
||||
$fa-var-window-restore: "\f2d2";
|
||||
$fa-var-windows: "\f17a";
|
||||
$fa-var-won: "\f159";
|
||||
$fa-var-wordpress: "\f19a";
|
||||
$fa-var-wpbeginner: "\f297";
|
||||
$fa-var-wpexplorer: "\f2de";
|
||||
$fa-var-wpforms: "\f298";
|
||||
$fa-var-wrench: "\f0ad";
|
||||
$fa-var-xing: "\f168";
|
||||
$fa-var-xing-square: "\f169";
|
||||
$fa-var-y-combinator: "\f23b";
|
||||
$fa-var-y-combinator-square: "\f1d4";
|
||||
$fa-var-yahoo: "\f19e";
|
||||
$fa-var-yc: "\f23b";
|
||||
$fa-var-yc-square: "\f1d4";
|
||||
$fa-var-yelp: "\f1e9";
|
||||
$fa-var-yen: "\f157";
|
||||
$fa-var-yoast: "\f2b1";
|
||||
$fa-var-youtube: "\f167";
|
||||
$fa-var-youtube-play: "\f16a";
|
||||
$fa-var-youtube-square: "\f166";
|
||||
|
18
assets/css/vendor/font-awesome/scss/font-awesome.scss
vendored
Normal file
18
assets/css/vendor/font-awesome/scss/font-awesome.scss
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
/*!
|
||||
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
|
||||
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
|
||||
*/
|
||||
|
||||
@import "variables";
|
||||
@import "mixins";
|
||||
@import "path";
|
||||
@import "core";
|
||||
@import "larger";
|
||||
@import "fixed-width";
|
||||
@import "list";
|
||||
@import "bordered-pulled";
|
||||
@import "animated";
|
||||
@import "rotated-flipped";
|
||||
@import "stacked";
|
||||
@import "icons";
|
||||
@import "screen-reader";
|
10
assets/img/editIcon.svg
Normal file
10
assets/img/editIcon.svg
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="500" height="500" version="1.1" viewBox="0 0 500.00001 500.00001" xmlns="http://www.w3.org/2000/svg">
|
||||
<g transform="translate(0 -552.36)" fill="#555">
|
||||
<path d="m269.73 630.56c-94.886-10.895-180.64 57.194-191.53 152.08-10.895 94.886 57.194 180.64 152.08 191.53s180.64-57.194 191.53-152.08c10.895-94.886-57.194-180.64-152.08-191.53zm-1.7746 15.455c86.351 9.915 148.31 87.953 138.4 174.3-9.915 86.351-87.953 148.31-174.3 138.4-86.351-9.915-148.31-87.953-138.4-174.3 9.915-86.351 87.953-148.31 174.3-138.4z"/>
|
||||
<g transform="matrix(1.5749 0 0 1.5749 -204.86 -430.34)">
|
||||
<path transform="translate(0 552.36)" d="m303.57 167.92c-1.0038 0.0702-1.953 0.6237-2.4961 1.5644l-2.0039 3.4688 33.439 19.307 2.0039-3.4688c0.86903-1.5052 0.35676-3.4181-1.1484-4.2871l-28.006-16.168c-0.56445-0.32588-1.1868-0.45812-1.7891-0.41601zm-6.5859 8.6465-42.156 73.018 33.439 19.305 42.156-73.016-33.439-19.307zm-44.242 76.631-1.9863 3.4394c-0.86903 1.5052-0.35677 3.4161 1.1484 4.2852l28.006 16.168c1.5052 0.86903 3.4161 0.35676 4.2852-1.1484l1.9863-3.4394-33.439-19.305z"/>
|
||||
<path d="m249 850.66c-1.0612-0.61275-0.68138-3.6463-0.68138-3.6463l0.59844-5.8633 0.59864-5.8636 0.59845-5.863 0.59855-5.8633 0.59844-5.8633 0.59864-5.8633 0.59845-5.8633 4.18 2.4133 4.18 2.4133 4.18 2.4133 4.18 2.4133 4.18 2.4133 4.18 2.4133 4.18 2.4133 4.18 2.4133-4.7784 3.45-4.7786 3.45-4.7784 3.45-4.7785 3.45-4.7784 3.45-4.7786 3.45-4.7784 3.45s-2.4374 1.8458-3.4986 1.233z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 1.5 KiB |
BIN
assets/img/head1.jpg
Normal file
BIN
assets/img/head1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 805 KiB |
BIN
assets/img/yayasan.png
Normal file
BIN
assets/img/yayasan.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 115 KiB |
438
assets/js/components/auth.js
vendored
Normal file
438
assets/js/components/auth.js
vendored
Normal file
@ -0,0 +1,438 @@
|
||||
import m from "mithril"
|
||||
import moment from "moment"
|
||||
import DatePicker from "../custom/mithril-datepicker"
|
||||
import {} from "../../css/custom/mithril-datepicker.css"
|
||||
import { Card, TextField, RadioButton, RadioGroup, RaisedButton, List, ListTile, Menu, Dialog } from "polythene-mithril"
|
||||
// import { User } from "../models/User"
|
||||
|
||||
const head = {
|
||||
view: function() {
|
||||
return [
|
||||
m(".header-nav", {
|
||||
style: {
|
||||
color: "#fff",
|
||||
cursor: "pointer"
|
||||
},
|
||||
onclick: function() {
|
||||
m.route.set("")
|
||||
}
|
||||
}, m("i.fa.fa-home.fa-lg")),
|
||||
m(".header-img", {
|
||||
style: {
|
||||
backgroundImage: "url('img/head1.jpg')"
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
export const login = {
|
||||
isValid: {},
|
||||
view: function() {
|
||||
return [
|
||||
m(head),
|
||||
m(".header-title", {
|
||||
style: {
|
||||
display: "table"
|
||||
}
|
||||
}, m("div", {
|
||||
style: {
|
||||
display: "table-cell",
|
||||
verticalAlign: "middle"
|
||||
}
|
||||
}, m(".flex", [
|
||||
m(".constant"),
|
||||
m(Card, {
|
||||
className: "front-card",
|
||||
style: {
|
||||
width: "initial"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: "Masuk",
|
||||
subtitle: "Masuk dengan kode konfirmasi yang telah diterima"
|
||||
}
|
||||
},
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m(TextField, {
|
||||
label: "Kode",
|
||||
required: true,
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
validate: function(value) {
|
||||
if (/^[A-Z0-9]+$/.test(value) == false || value.length != 6) {
|
||||
login.isValid.code = false
|
||||
return {
|
||||
valid: false,
|
||||
error: "Kode tidak valid"
|
||||
}
|
||||
} else {
|
||||
login.isValid.code = true
|
||||
}
|
||||
},
|
||||
validateOnInput: true
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
actions: {
|
||||
content: m(RaisedButton, {
|
||||
label: "Masuk",
|
||||
events: {
|
||||
onclick: function() {
|
||||
login.isValid.code == true ?
|
||||
m.route.set("")
|
||||
: null
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
]
|
||||
}),
|
||||
m(".constant")
|
||||
])))
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
export const register = {
|
||||
showMenu: false,
|
||||
oninit: function() {
|
||||
// if (_.isEmpty(User.current)) return m.route.set("/")
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(head),
|
||||
m(".header-title", {
|
||||
style: {
|
||||
display: "table"
|
||||
}
|
||||
}, m("form", {
|
||||
onsubmit: function(e) {
|
||||
e.preventDefault()
|
||||
// console.log(User.current);
|
||||
m.route.set("/questionnaires")
|
||||
},
|
||||
style: {
|
||||
padding: "1em",
|
||||
display: "table",
|
||||
height: "100%",
|
||||
width: "100%"
|
||||
}
|
||||
}, m("div", {
|
||||
style: {
|
||||
display: "table-cell",
|
||||
verticalAlign: "middle",
|
||||
}
|
||||
}, m(".flex", {
|
||||
style: {
|
||||
width: "100%",
|
||||
}
|
||||
}, m(".constant"), m(Card, {
|
||||
className: "front-card",
|
||||
style: {
|
||||
height: "100%",
|
||||
margin: "0"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: "Daftar",
|
||||
subtitle: "Silahkan isi data diri Anda terlebih dahulu"
|
||||
}
|
||||
},
|
||||
{
|
||||
text: {
|
||||
className: "flex but",
|
||||
content: [
|
||||
m("div", {
|
||||
style: {
|
||||
flexBasis: "45%"
|
||||
}
|
||||
}, [
|
||||
m(TextField, {
|
||||
className: "firstInput",
|
||||
label: "Nama Lengkap",
|
||||
required: true,
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
autofocus: true,
|
||||
value: User.current.name,
|
||||
events: {
|
||||
oninput: function() {
|
||||
User.current.name = this.value
|
||||
}
|
||||
}
|
||||
}),
|
||||
m("span", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)",
|
||||
fontSize: "16px",
|
||||
fontWeight: "400",
|
||||
lineHeight: "24px"
|
||||
}
|
||||
}, "Jenis Kelamin *"),
|
||||
m(RadioGroup, {
|
||||
id: "gender",
|
||||
name: "gender",
|
||||
style: {
|
||||
margin: ".5rem 0"
|
||||
},
|
||||
buttons: [
|
||||
{
|
||||
id: "gender-m",
|
||||
value: "m",
|
||||
label: "Laki-laki",
|
||||
events: {
|
||||
oncreate: function() {
|
||||
document.getElementById("gender-m")
|
||||
.querySelector("input")
|
||||
.required = "required"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
id: "gender-f",
|
||||
value: "f",
|
||||
label: "Perempuan",
|
||||
events: {
|
||||
oncreate: function() {
|
||||
document.getElementById("gender-f")
|
||||
.querySelector("input")
|
||||
.required = "required"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
onChange: function(state) {
|
||||
User.current.gender = state.value
|
||||
}
|
||||
}),
|
||||
m("div", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)",
|
||||
fontSize: "16px",
|
||||
fontWeight: "400",
|
||||
lineHeight: "24px",
|
||||
marginBottom: ".5em"
|
||||
}
|
||||
}, "Tanggal Lahir *"),
|
||||
m(DatePicker, {
|
||||
date: User.current.birthDate,
|
||||
locale: "id-id",
|
||||
onchange: function(chosenDate) {
|
||||
User.current.birthDate = moment(chosenDate).format("YYYY-MM-DD HH:mm:ss")
|
||||
},
|
||||
oncreate: function() {
|
||||
var target = document.querySelector(".mithril-date-picker")
|
||||
var click = target.childNodes[0].onclick
|
||||
var className = target.childNodes[0].className
|
||||
return m.mount(target, {
|
||||
oncreate: function() {
|
||||
User.current.birthDate = moment().format("YYYY-MM-DD HH:mm:ss")
|
||||
},
|
||||
view: function() {
|
||||
return m("input", {
|
||||
className: className,
|
||||
value: moment(User.current.birthDate)
|
||||
.format("ddd, DD MMM YYYY"),
|
||||
onclick: click,
|
||||
required: "required",
|
||||
readonly: "readonly",
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
]),
|
||||
m("div", {
|
||||
style: {
|
||||
flexGrow: "1"
|
||||
}
|
||||
}),
|
||||
m("div", {
|
||||
style: {
|
||||
flexBasis: "45%"
|
||||
}
|
||||
}, [
|
||||
m(TextField, {
|
||||
label: "No. Handphone",
|
||||
required: true,
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
pattern: "[0-9]+",
|
||||
validateOnInput: true,
|
||||
error: "Gunakan angka",
|
||||
events: {
|
||||
oninput: function() {
|
||||
User.current.handphone = this.value
|
||||
}
|
||||
},
|
||||
value: User.current.handphone
|
||||
}),
|
||||
m(TextField, {
|
||||
className: "lastInput",
|
||||
label: "Pekerjaan",
|
||||
required: true,
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
events: {
|
||||
oninput: function() {
|
||||
User.current.occupation = this.value
|
||||
}
|
||||
},
|
||||
value: User.current.occupation
|
||||
}),
|
||||
m(TextField, {
|
||||
id: "category",
|
||||
label: "Kategori",
|
||||
required: true,
|
||||
events: {
|
||||
onfocus: function() {
|
||||
var holder = document
|
||||
.querySelector("span.pe-dialog__placeholder")
|
||||
Dialog.show({
|
||||
title: "Pilih kategori",
|
||||
body: m(List, {
|
||||
tiles: [
|
||||
{
|
||||
title: "Mahasiswa STIE BISMA LEPISI",
|
||||
value: 43,
|
||||
hoverable: true
|
||||
},
|
||||
{
|
||||
title: "Mahasiswa AKSEMA LEPISI",
|
||||
value: 44,
|
||||
hoverable: true
|
||||
},
|
||||
{
|
||||
title: "Dosen STIE BISMA LEPISI",
|
||||
value: 45,
|
||||
hoverable: true
|
||||
},
|
||||
{
|
||||
title: "Dosen AKSEMA LEPISI",
|
||||
value: 46,
|
||||
hoverable: true
|
||||
}
|
||||
],
|
||||
keyboardControl: true,
|
||||
highlightIndex: 0,
|
||||
onSelect: function({attrs}) {
|
||||
Dialog.hide()
|
||||
User.current.category = attrs.value
|
||||
document.getElementById("category")
|
||||
.querySelector("input")
|
||||
.value = attrs.title
|
||||
document.getElementById("category")
|
||||
.className += "pe-textfield--dirty"
|
||||
}
|
||||
}),
|
||||
backdrop: true
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
])
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
actions: {
|
||||
content: m(RaisedButton, {
|
||||
element: "button",
|
||||
label: "Kirim",
|
||||
type: "submit"
|
||||
})
|
||||
}
|
||||
}
|
||||
]
|
||||
}), m(".constant"))))),
|
||||
m(Dialog)
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
export const loginUser = {
|
||||
view: function() {
|
||||
return [
|
||||
m(head),
|
||||
m(".header-title", {
|
||||
style: {
|
||||
display: "table"
|
||||
}
|
||||
}, m("div", {
|
||||
style: {
|
||||
display: "table-cell",
|
||||
verticalAlign: "middle"
|
||||
}
|
||||
}, m(".flex", [
|
||||
m(".constant"),
|
||||
m("form", {
|
||||
onsubmit: function(e) {
|
||||
e.preventDefault()
|
||||
User.login()
|
||||
}
|
||||
}, m(Card, {
|
||||
className: "front-card",
|
||||
style: {
|
||||
width: "initial"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: "Masuk"
|
||||
}
|
||||
},
|
||||
{
|
||||
text: {
|
||||
className: "login-scroll",
|
||||
content: [
|
||||
m(TextField, {
|
||||
label: "Username",
|
||||
required: true,
|
||||
pattern: "[a-zA-Z0-9]+",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
autofocus: true,
|
||||
validateOnInput: true,
|
||||
value: User.current.username,
|
||||
onChange: function(state) {
|
||||
User.current.username = state.value
|
||||
}
|
||||
}),
|
||||
m(TextField, {
|
||||
label: "Password",
|
||||
type: "password",
|
||||
required: true,
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: User.current.password,
|
||||
onChange: function(state) {
|
||||
User.current.password = state.value
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
actions: {
|
||||
content: m(RaisedButton, {
|
||||
element: "button",
|
||||
label: "Masuk",
|
||||
type: "submit"
|
||||
})
|
||||
}
|
||||
}
|
||||
]
|
||||
})),
|
||||
m(".constant")
|
||||
])))
|
||||
]
|
||||
}
|
||||
}
|
124
assets/js/components/beta/menuList.js
vendored
Normal file
124
assets/js/components/beta/menuList.js
vendored
Normal file
@ -0,0 +1,124 @@
|
||||
import m from "mithril"
|
||||
import stream from "mithril/stream"
|
||||
import {
|
||||
Toolbar,
|
||||
ToolbarTitle,
|
||||
Shadow,
|
||||
List,
|
||||
ListTile,
|
||||
Search,
|
||||
IconButton
|
||||
} from "polythene-mithril"
|
||||
import Dept from "../../models/beta/Dept"
|
||||
|
||||
const barsIcon = "<svg width=\"1792\" height=\"1792\" viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1664 1344v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm0-512v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45z\" fill=\"#fff\"/></svg>"
|
||||
const backIcon = "<svg width=\"1792\" height=\"1792\" viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1664 896v128q0 53-32.5 90.5t-84.5 37.5h-704l293 294q38 36 38 90t-38 90l-75 76q-37 37-90 37-52 0-91-37l-651-652q-37-37-37-90 0-52 37-91l651-650q38-38 91-38 52 0 90 38l75 74q38 38 38 91t-38 91l-293 293h704q52 0 84.5 37.5t32.5 90.5z\"/></svg>"
|
||||
const searchIcon = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z\"/></svg>"
|
||||
|
||||
const searchBox = {
|
||||
view: function() {
|
||||
return m(Search, {
|
||||
textfield: {label: "Search"},
|
||||
buttons: {
|
||||
none: {
|
||||
after: m(IconButton, {
|
||||
icon: {svg: m.trust(searchIcon)},
|
||||
inactive: true
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
const menuList = {
|
||||
oninit: function(vnode) {
|
||||
const show = stream(false)
|
||||
vnode.state = {
|
||||
show
|
||||
}
|
||||
},
|
||||
view: function(vnode) {
|
||||
const state = vnode.state
|
||||
const show = state.show()
|
||||
return m("div", [
|
||||
m(Toolbar, {
|
||||
style: {
|
||||
position: "fixed",
|
||||
zIndex: "11",
|
||||
width: "100%",
|
||||
backgroundColor: "rgba(255, 255, 255, .93)"
|
||||
}
|
||||
}, [
|
||||
m("#bars", {
|
||||
style: {cursor: "pointer", display: "inline-block", marginLeft: "1em"},
|
||||
onclick: function() {
|
||||
this.classList.toggle("change")
|
||||
state.show(!state.show())
|
||||
}
|
||||
}, [
|
||||
m(".bar1"),
|
||||
m(".bar2"),
|
||||
m(".bar3")
|
||||
]),
|
||||
m(ToolbarTitle, {
|
||||
text: vnode.attrs.title
|
||||
})
|
||||
]),
|
||||
m("#menu", {
|
||||
style: {
|
||||
left: show ? "0" : "-100%"
|
||||
}
|
||||
}, [
|
||||
m(Shadow),
|
||||
m(List, {
|
||||
id: "menu-list",
|
||||
tiles: [
|
||||
m(ListTile, {
|
||||
title: "All Users",
|
||||
hoverable: true,
|
||||
events: {
|
||||
onclick: function() {
|
||||
m.route.set("/beta/users")
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(ListTile, {
|
||||
header: true,
|
||||
title: "Department List"
|
||||
}),
|
||||
vnode.attrs.list.map(function(o) {
|
||||
return m(ListTile, {
|
||||
title: o.name,
|
||||
hoverable: true,
|
||||
events: {
|
||||
onclick: function() {
|
||||
state.show(false)
|
||||
document.getElementById("bars")
|
||||
.classList.toggle("change")
|
||||
m.route.set("/beta/departments/" + o.id)
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
]
|
||||
})
|
||||
]),
|
||||
m("#menu-overlay", {
|
||||
style: {
|
||||
opacity: ".4",
|
||||
display: show ? "block" : "none"
|
||||
},
|
||||
onclick: function() {
|
||||
if (show) {
|
||||
state.show(false)
|
||||
document.getElementById("bars")
|
||||
.classList.toggle("change")
|
||||
}
|
||||
}
|
||||
})
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
export default menuList
|
316
assets/js/components/beta/userList.js
vendored
Normal file
316
assets/js/components/beta/userList.js
vendored
Normal file
@ -0,0 +1,316 @@
|
||||
import m from "mithril"
|
||||
import stream from "mithril/stream"
|
||||
import {
|
||||
Card,
|
||||
ListTile,
|
||||
Icon,
|
||||
Search,
|
||||
Shadow,
|
||||
IconButton
|
||||
} from "polythene-mithril"
|
||||
import menuList from "./menuList"
|
||||
import Dept from "../../models/beta/Dept"
|
||||
import User from "../../models/beta/User"
|
||||
|
||||
const angleDownIcon = "<svg width=\"1792\" height=\"1792\" viewBox=\"0 0 1792 1792\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z\"/></svg>"
|
||||
const searchIcon = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z\"/></svg>"
|
||||
const clearIcon = "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"><path d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\">"
|
||||
|
||||
export const userList = {
|
||||
view: function(vnode) {
|
||||
Dept.current = _.find(Dept.list, function(d) {return d.id == vnode.attrs.id})
|
||||
Dept.current.users = _.filter(User.list, function(u) {return u.dept == Dept.current.id})
|
||||
return [
|
||||
m(menuList, {title: Dept.current.name, list: Dept.list}),
|
||||
m(".wrapper-body", {
|
||||
style: {
|
||||
display: "flex",
|
||||
flexFlow: "row wrap",
|
||||
margin: "0 auto",
|
||||
paddingTop: "64px"
|
||||
}
|
||||
}, _.filter(Dept.current.users, function(u) {return u.super}).map(function(user) {
|
||||
return m(superList, {user})
|
||||
}))
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
export const userAll = {
|
||||
oninit: function(vnode) {
|
||||
var show = stream(false)
|
||||
var search = ""
|
||||
vnode.state = {show, search}
|
||||
},
|
||||
view: function(vnode) {
|
||||
var state = vnode.state
|
||||
var show = state.show()
|
||||
var search = state.search
|
||||
return [
|
||||
m(menuList, {title: "User List", list: Dept.list}),
|
||||
m(".wrapper-body", {
|
||||
style: {
|
||||
display: "flex",
|
||||
flexFlow: "row wrap",
|
||||
margin: "0 auto",
|
||||
paddingTop: "64px"
|
||||
}
|
||||
}, [
|
||||
m(Search, {
|
||||
style: {
|
||||
margin: "1em"
|
||||
},
|
||||
textfield: {
|
||||
label: "Search",
|
||||
value: state.search,
|
||||
onChange: function({value}) {
|
||||
state.search = value
|
||||
}
|
||||
},
|
||||
before: m(Shadow),
|
||||
buttons: {
|
||||
none: {
|
||||
before: m(IconButton, {
|
||||
icon: {svg: m.trust(searchIcon)},
|
||||
inactive: true
|
||||
}),
|
||||
after: m(IconButton, {
|
||||
icon: {svg: m.trust(clearIcon)},
|
||||
events: {
|
||||
onclick: function() {
|
||||
state.search = ""
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
focus: {
|
||||
before: m(IconButton, {
|
||||
icon: {svg: m.trust(searchIcon)},
|
||||
inactive: true
|
||||
}),
|
||||
after: m(IconButton, {
|
||||
icon: {svg: m.trust(clearIcon)},
|
||||
events: {
|
||||
onclick: function() {
|
||||
state.search = ""
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
dirty: {
|
||||
before: m(IconButton, {
|
||||
icon: {svg: m.trust(searchIcon)},
|
||||
inactive: true
|
||||
}),
|
||||
after: m(IconButton, {
|
||||
icon: {svg: m.trust(clearIcon)},
|
||||
events: {
|
||||
onclick: function() {
|
||||
state.search = ""
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
focus_dirty: {
|
||||
before: m(IconButton, {
|
||||
icon: {svg: m.trust(searchIcon)},
|
||||
inactive: true
|
||||
}),
|
||||
after: m(IconButton, {
|
||||
icon: {svg: m.trust(clearIcon)},
|
||||
events: {
|
||||
onclick: function() {
|
||||
state.search = ""
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}),
|
||||
User.list.map(function(user) {
|
||||
return m(superList, {user})
|
||||
})
|
||||
])
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
const superList = {
|
||||
oninit: function(vnode) {
|
||||
var show = stream(false)
|
||||
vnode.state = {show}
|
||||
},
|
||||
view: function(vnode) {
|
||||
var state = vnode.state
|
||||
var show = state.show()
|
||||
var user = vnode.attrs.user
|
||||
return m(Card, {
|
||||
style: {
|
||||
flexBasis: "100%",
|
||||
webkitTransition: "all .2s cubic-bezier(0, 0, .6, 1)",
|
||||
mozTransition: "all .2s cubic-bezier(0, 0, .6, 1)",
|
||||
oTransition: "all .2s cubic-bezier(0, 0, .6, 1)",
|
||||
transition: "all .2s cubic-bezier(0, 0, .6, 1)",
|
||||
},
|
||||
content: [{
|
||||
text: {
|
||||
content: [
|
||||
m(ListTile, {
|
||||
front: m(Icon, {
|
||||
avatar: true,
|
||||
size: "large",
|
||||
src: "../../img/yayasan.png"
|
||||
}),
|
||||
title: user.name,
|
||||
subContent: show ? m("div", {
|
||||
style: {fontSize: "smaller", marginTop: "1em"}
|
||||
}, [
|
||||
m("div", [
|
||||
"Alamat: ",
|
||||
user.address
|
||||
]),
|
||||
m("div", [
|
||||
"TTL: ",
|
||||
user.birth
|
||||
]),
|
||||
m("div", [
|
||||
"Telp.: ",
|
||||
user.phone
|
||||
]),
|
||||
m("div", [
|
||||
"Email: ",
|
||||
user.mail
|
||||
]),
|
||||
m("div", [
|
||||
"Tgl. Masuk: ",
|
||||
user.workEntry
|
||||
]),
|
||||
m("div", [
|
||||
"Lama Kerja: ",
|
||||
user.workPeriod
|
||||
]),
|
||||
m("div", [
|
||||
"Pendidikan: ",
|
||||
user.education
|
||||
])
|
||||
]) : null
|
||||
}),
|
||||
m("div", {
|
||||
style: {textAlign: "center"}
|
||||
}, m(Icon, {
|
||||
element: "a",
|
||||
svg: {content: m.trust(angleDownIcon), style: {color: "rgb(0, 145, 234)"}},
|
||||
style: {
|
||||
// opacity: ".5",
|
||||
cursor: "pointer",
|
||||
borderRadius: "50%",
|
||||
transform: show ? "rotateX(180deg)" : "rotateX(0)",
|
||||
webkitTransition: "all .25s linear",
|
||||
mozTransition: "all .25s linear",
|
||||
oTransition: "all .25s linear",
|
||||
transition: "all .25s linear"
|
||||
},
|
||||
events: {
|
||||
onclick: function() {
|
||||
state.show(!state.show())
|
||||
}
|
||||
}
|
||||
})),
|
||||
show ? _.filter(
|
||||
Dept.current.users,
|
||||
function(u) {return !u.super}
|
||||
).map(function(staff) {return m(staffList, {staff})}) : null
|
||||
]
|
||||
}
|
||||
}]
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
const staffList = {
|
||||
oninit: function(vnode) {
|
||||
var peek = stream(false)
|
||||
vnode.state = {peek}
|
||||
},
|
||||
view: function(vnode) {
|
||||
var state = vnode.state
|
||||
var peek = state.peek()
|
||||
var staff = vnode.attrs.staff
|
||||
return m(Card, {
|
||||
style: {
|
||||
width: "100%",
|
||||
webkitTransition: "all .1s cubic-bezier(0, 0, .6, 1)",
|
||||
mozTransition: "all .1s cubic-bezier(0, 0, .6, 1)",
|
||||
oTransition: "all .1s cubic-bezier(0, 0, .6, 1)",
|
||||
transition: "all .1s cubic-bezier(0, 0, .6, 1)",
|
||||
},
|
||||
content: [{
|
||||
text: {
|
||||
content: [
|
||||
m(ListTile, {
|
||||
front: m(Icon, {
|
||||
avatar: true,
|
||||
size: "large",
|
||||
src: "../../img/yayasan.png"
|
||||
}),
|
||||
title: staff.name,
|
||||
subContent: peek ? m("div", {
|
||||
style: {fontSize: "smaller", marginTop: "1em"}
|
||||
}, [
|
||||
m("div", [
|
||||
"Alamat: ",
|
||||
staff.address
|
||||
]),
|
||||
m("div", [
|
||||
"TTL: ",
|
||||
staff.birth
|
||||
]),
|
||||
m("div", [
|
||||
"Telp.: ",
|
||||
staff.phone
|
||||
]),
|
||||
m("div", [
|
||||
"Email: ",
|
||||
staff.mail
|
||||
]),
|
||||
m("div", [
|
||||
"Tgl. Masuk: ",
|
||||
staff.workEntry
|
||||
]),
|
||||
m("div", [
|
||||
"Lama Kerja: ",
|
||||
staff.workPeriod
|
||||
]),
|
||||
m("div", [
|
||||
"Pendidikan: ",
|
||||
staff.education
|
||||
])
|
||||
]) : null
|
||||
}),
|
||||
m("div", {
|
||||
style: {textAlign: "center"}
|
||||
}, m(Icon, {
|
||||
element: "a",
|
||||
svg: {content: m.trust(SVGAngleDown)},
|
||||
style: {
|
||||
opacity: ".5",
|
||||
cursor: "pointer",
|
||||
borderRadius: "50%",
|
||||
transform: peek ? "rotateX(180deg)" : "rotateX(0)",
|
||||
webkitTransition: "all .25s linear",
|
||||
mozTransition: "all .25s linear",
|
||||
oTransition: "all .25s linear",
|
||||
transition: "all .25s linear"
|
||||
},
|
||||
events: {
|
||||
onclick: function() {
|
||||
state.peek(!state.peek())
|
||||
}
|
||||
}
|
||||
}))
|
||||
]
|
||||
}
|
||||
}]
|
||||
})
|
||||
}
|
||||
}
|
79
assets/js/components/buttons.js
vendored
Normal file
79
assets/js/components/buttons.js
vendored
Normal file
@ -0,0 +1,79 @@
|
||||
import m from "mithril"
|
||||
import { Button} from "polythene-mithril"
|
||||
import { ButtonCSS } from "polythene-css"
|
||||
|
||||
ButtonCSS.addStyle(".bordered-button", {
|
||||
color_light_text: "#03a9f4",
|
||||
color_light_border: "#03a9f4",
|
||||
color_dark_text: "#03a9f4",
|
||||
color_dark_border: "#03a9f4",
|
||||
})
|
||||
|
||||
const buttonTextStyle = {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre"
|
||||
}
|
||||
|
||||
export const editButton = {
|
||||
view: function(vnode) {
|
||||
return m(Button, {
|
||||
id: "editBtn",
|
||||
style: buttonTextStyle,
|
||||
element: "div",
|
||||
className: "bordered-button absolute-button",
|
||||
borders: true,
|
||||
label: [m("i.fa.fa-edit.fa-fw"), m.trust(" "), m("span", "Ubah")],
|
||||
events: {
|
||||
onclick: function() {
|
||||
m.route.set(vnode.attrs.redirectURL)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export const seeButton = {
|
||||
view: function(vnode) {
|
||||
return m(Button, {
|
||||
style: buttonTextStyle,
|
||||
label: [m("i.fa.fa-eye.fa-fw"), m.trust(" "), m("span", "Lihat")],
|
||||
borders: true,
|
||||
className: "bordered-button",
|
||||
events: {
|
||||
onclick: function() {
|
||||
/* Request ke section model */
|
||||
// sModel.fetch(s.url)
|
||||
/* Route */
|
||||
m.route.set(vnode.attrs.redirectURL)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export const backButton = {
|
||||
view: function() {
|
||||
return m("span", {
|
||||
style: {
|
||||
fontSize: "14px",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre"
|
||||
}
|
||||
}, m("i.fa.fa-arrow-left.fa-fw"), m.trust(" "), m("span", "Kembali"))
|
||||
}
|
||||
}
|
||||
|
||||
export const logoutButton = {
|
||||
view: function() {
|
||||
return m("span", {
|
||||
style: {
|
||||
fontSize: "14px",
|
||||
textTransform: "uppercase"
|
||||
}
|
||||
}, m("i.fa.fa-sign-out.fa-fw"), m.trust(" "), m("span", "Keluar"))
|
||||
}
|
||||
}
|
742
assets/js/components/client/question.js
vendored
Normal file
742
assets/js/components/client/question.js
vendored
Normal file
@ -0,0 +1,742 @@
|
||||
import m from "mithril"
|
||||
import stream from "mithril/stream"
|
||||
import _ from "lodash"
|
||||
import powerform from "powerform"
|
||||
import { required } from "validatex"
|
||||
import { Card, TextField, RadioGroup, Button, Checkbox } from "polythene-mithril"
|
||||
import Section from "../../models/Section"
|
||||
import SectionQuestion from "../../models/SectionQuestion"
|
||||
import Question from "../../models/Question"
|
||||
import QuestionAnswer from "../../models/QuestionAnswer"
|
||||
import Answer from "../../models/Answer"
|
||||
import Respondent from "../../models/Respondent"
|
||||
|
||||
const text = {
|
||||
form: powerform({
|
||||
req: function(v) {
|
||||
if (!v) {
|
||||
return "Tuliskan jawaban Anda"
|
||||
}
|
||||
},
|
||||
}),
|
||||
oninit: function() {
|
||||
var lS = {}
|
||||
if (!_.isNil(window.localStorage.answers)) {
|
||||
lS = _.find(JSON.parse(window.localStorage.answers), function(o) {
|
||||
return o.id == SectionQuestion.current.data.id
|
||||
})
|
||||
}
|
||||
text.form.req(_.isNil(lS) ? "" : lS.answers[0].text)
|
||||
},
|
||||
view: function(vnode) {
|
||||
var attrs = vnode.attrs
|
||||
var data = attrs.data || {}
|
||||
return m(TextField, {
|
||||
id: data.elId || "question" + SectionQuestion.current.data.id,
|
||||
label: data.text || SectionQuestion.current.data.attributes.text,
|
||||
floatingLabel: true,
|
||||
help: SectionQuestion.current.data.attributes.description,
|
||||
onChange: function(state) {
|
||||
text.form.req(state.value)
|
||||
},
|
||||
validate: function() {
|
||||
return {
|
||||
valid: text.form.req.isValid(),
|
||||
error: text.form.req.error()
|
||||
}
|
||||
},
|
||||
value: text.form.req()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
const choice = {
|
||||
form: powerform({
|
||||
req: function(v) {
|
||||
if (!v) {
|
||||
return "Pilih salah satu jawaban di bawah ini"
|
||||
}
|
||||
var fill = _.find(SectionQuestion.current.data.attributes.choices, function(o) {
|
||||
return o.id == v
|
||||
})
|
||||
if (fill.fillable && !text.form.isValid()) {
|
||||
return "Tuliskan jawaban Anda"
|
||||
}
|
||||
}
|
||||
}),
|
||||
oninit: function() {
|
||||
var lS = {}
|
||||
if (!_.isNil(window.localStorage.answers)) {
|
||||
lS = _.find(JSON.parse(window.localStorage.answers), function(o) {
|
||||
return o.id == SectionQuestion.current.data.id
|
||||
})
|
||||
}
|
||||
choice.form.req(_.isNil(lS) ? "" : lS.answers[0].choice)
|
||||
},
|
||||
oncreate: function(vnode) {
|
||||
SectionQuestion.current.data.attributes.choices.map(function(c) {
|
||||
if (c.fillable) {
|
||||
var child = document.createElement("span")
|
||||
// child.style.marginTop = "1.4em"
|
||||
var input = { view: function() {
|
||||
return m(text, {
|
||||
data: {
|
||||
elId: "fillable-" + c.id,
|
||||
text: "Tuliskan"
|
||||
}
|
||||
})
|
||||
}}
|
||||
/* Get parent */
|
||||
var parent = document.getElementById("choice-" + c.id).childNodes[0]
|
||||
parent.appendChild(child)
|
||||
m.mount(parent.querySelector("span"), input)
|
||||
if (!parent.querySelector("input").checked) {
|
||||
document.getElementById("fillable-" + c.id).querySelector("input").disabled = true
|
||||
}
|
||||
}
|
||||
document.getElementById("choice-" + c.id)
|
||||
.childNodes[0].querySelector("input")
|
||||
.required = true
|
||||
})
|
||||
},
|
||||
view: function(vnode) {
|
||||
return [
|
||||
m("div", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)",
|
||||
fontSize: "16px",
|
||||
fontWeight: "400",
|
||||
lineHeight: "24px",
|
||||
marginTop: ".5em"
|
||||
}
|
||||
}, SectionQuestion.current.data.attributes.text + " *"),
|
||||
m("i", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)"
|
||||
}
|
||||
}, "(" + SectionQuestion.current.data.attributes.description + ")" || null),
|
||||
m(RadioGroup, {
|
||||
id: "choices" + SectionQuestion.current.data.id,
|
||||
all: {name: SectionQuestion.current.data.attributes.questionType},
|
||||
className: "flex",
|
||||
style: {
|
||||
margin: ".5rem 0",
|
||||
flexFlow: "row wrap"
|
||||
},
|
||||
buttons: SectionQuestion.current.data.attributes.choices.map(function(c) {
|
||||
return {
|
||||
id: "choice-" + c.id,
|
||||
value: c.id,
|
||||
label: c.text,
|
||||
defaultChecked: c.id == choice.form.req(),
|
||||
style: {
|
||||
marginTop: ".5em",
|
||||
marginBottom: ".5em",
|
||||
marginRight: "0",
|
||||
flexGrow: "1",
|
||||
flexBasis: "100%"
|
||||
}
|
||||
}
|
||||
}),
|
||||
onChange: function(state) {
|
||||
var chosen = _.find(SectionQuestion.current.data.attributes.choices, function(o) { return o.id == state.value })
|
||||
var target = document.getElementById("fillable-" + chosen.id)
|
||||
if (chosen.fillable) {
|
||||
target.querySelector("input").disabled = false
|
||||
target.querySelector("input").focus()
|
||||
} else {
|
||||
SectionQuestion.current.data.attributes.choices.map(function(c) {
|
||||
var target = document.getElementById("fillable-" + c.id)
|
||||
if (!_.isNil(target)) {
|
||||
target.querySelector("input").disabled = true
|
||||
text.form.req("")
|
||||
}
|
||||
})
|
||||
}
|
||||
choice.form.req(state.value)
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
const bool = {
|
||||
form: powerform({
|
||||
req: function(v) {
|
||||
if (v == null || v == "") {
|
||||
return "Pilih salah satu jawaban di bawah ini"
|
||||
}
|
||||
}
|
||||
}),
|
||||
oninit: function() {
|
||||
var lS = {}
|
||||
if (!_.isNil(window.localStorage.answers)) {
|
||||
lS = _.find(JSON.parse(window.localStorage.answers), function(o) {
|
||||
return o.id == SectionQuestion.current.data.id
|
||||
})
|
||||
}
|
||||
bool.form.req(_.isNil(lS) ? "" : lS.answers[0].choice)
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m("div", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)",
|
||||
fontSize: "16px",
|
||||
fontWeight: "400",
|
||||
lineHeight: "24px",
|
||||
marginTop: ".5em"
|
||||
}
|
||||
}, SectionQuestion.current.data.attributes.text + " *"),
|
||||
m("i", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)"
|
||||
}
|
||||
}, "(" + SectionQuestion.current.data.attributes.description + ")" || null),
|
||||
m(RadioGroup, {
|
||||
id: "bool" + SectionQuestion.current.data.id,
|
||||
all: {name: SectionQuestion.current.data.attributes.questionType},
|
||||
className: "flex",
|
||||
style: {
|
||||
margin: ".5rem 0",
|
||||
flexFlow: "row wrap"
|
||||
},
|
||||
buttons: [{label: "Benar", value: 1}, {label: "Salah", value: 0}].map(function(o) {
|
||||
return {
|
||||
id: "true",
|
||||
label: o.label,
|
||||
value: o.value,
|
||||
defaultChecked: o.value == SectionQuestion.current.data.attributes.answer.questionchoice_id,
|
||||
style: {
|
||||
marginTop: ".5em",
|
||||
marginBottom: ".5em",
|
||||
marginRight: "0",
|
||||
flexGrow: "1",
|
||||
flexBasis: "100%"
|
||||
}
|
||||
}
|
||||
}),
|
||||
onChange: function(state) {
|
||||
bool.form.req(Boolean(state.value).toString())
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
const numeric = {
|
||||
form: powerform({
|
||||
req: function(v) {
|
||||
if (v == null || v == "") {
|
||||
return "Pertanyaan ini harus dijawab"
|
||||
} else if (/[^\d]+/.test(v)) {
|
||||
return "Gunakan angka"
|
||||
}
|
||||
}
|
||||
}),
|
||||
oninit: function() {
|
||||
var lS = {}
|
||||
if (!_.isNil(window.localStorage.answers)) {
|
||||
lS = _.find(JSON.parse(window.localStorage.answers), function(o) {
|
||||
return o.id == SectionQuestion.current.data.id
|
||||
})
|
||||
}
|
||||
numeric.form.req(_.isNil(lS) ? "" : lS.answers[0].text)
|
||||
},
|
||||
view: function(vnode) {
|
||||
var attrs = vnode.attrs
|
||||
var data = attrs.data || {}
|
||||
return m(TextField, {
|
||||
id: data.elId || "question" + SectionQuestion.current.data.id,
|
||||
label: SectionQuestion.current.data.attributes.text,
|
||||
floatingLabel: true,
|
||||
help: Section.current.data.attributes.description,
|
||||
onChange: function(state) {
|
||||
numeric.form.req(state.value)
|
||||
},
|
||||
validate: function() {
|
||||
return {
|
||||
valid: numeric.form.req.isValid(),
|
||||
error: numeric.form.req.error()
|
||||
}
|
||||
},
|
||||
value: numeric.form.req()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
const multichoice = {
|
||||
form: powerform({
|
||||
req: function(v) {
|
||||
if (_.isEmpty(v) || _.isNil(v)) {
|
||||
return "Pilih minimal 1 jawaban"
|
||||
}
|
||||
var item = _.find(SectionQuestion.current.data.attributes.choices, function(o) {
|
||||
return o.fillable
|
||||
})
|
||||
if (
|
||||
_.find(v, function(o) { return o == item.id }) != undefined
|
||||
&& _.isEmpty(document.getElementById("mfillable-" + item.id)
|
||||
.querySelector("input").value)
|
||||
) {
|
||||
return "Tuliskan jawaban Anda"
|
||||
}
|
||||
}
|
||||
}),
|
||||
oninit: function() {
|
||||
var lS = {}
|
||||
if (!_.isNil(window.localStorage.answers)) {
|
||||
lS = _.find(JSON.parse(window.localStorage.answers), function(o) {
|
||||
return o.id == SectionQuestion.current.data.id
|
||||
})
|
||||
}
|
||||
var choices = []
|
||||
if (!_.isNil(lS)) {
|
||||
for (var i = 0; i < lS.answers.length; i++) {
|
||||
choices.push(lS.answers[i].choice)
|
||||
}
|
||||
}
|
||||
multichoice.form.req(choices)
|
||||
},
|
||||
oncreate: function(vnode) {
|
||||
SectionQuestion.current.data.attributes.choices.map(function(c) {
|
||||
if (c.fillable) {
|
||||
var child = document.createElement("span")
|
||||
// child.style.marginTop = "1.4em"
|
||||
var input = { view: function() {
|
||||
return m(text, {
|
||||
data: {
|
||||
elId: "mfillable-" + c.id,
|
||||
text: "Tuliskan",
|
||||
float: false
|
||||
}
|
||||
})
|
||||
}}
|
||||
/* Get parent */
|
||||
var parent = document.getElementById("mchoice-" + c.id).childNodes[0]
|
||||
parent.appendChild(child)
|
||||
m.mount(parent.querySelector("span"), input)
|
||||
document.getElementById("mfillable-" + c.id).querySelector("input").disabled = true
|
||||
}
|
||||
})
|
||||
},
|
||||
view: function(vnode) {
|
||||
var attrs = vnode.attrs
|
||||
var data = attrs.data || {}
|
||||
return [
|
||||
m("div", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)",
|
||||
fontSize: "16px",
|
||||
fontWeight: "400",
|
||||
lineHeight: "24px",
|
||||
marginTop: ".5em"
|
||||
}
|
||||
}, SectionQuestion.current.data.attributes.text + " *"),
|
||||
m("i", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)"
|
||||
}
|
||||
}, "(" + SectionQuestion.current.data.attributes.description + ")" || null),
|
||||
m(".flex", {
|
||||
style: {marginTop: "1em", marginBottom: "1em", flexFlow: "row wrap"}
|
||||
}, SectionQuestion.current.data.attributes.choices.map(function(o) {
|
||||
return m(Checkbox, {
|
||||
style: {margin: ".5em 0"},
|
||||
id: "mchoice-" + o.id,
|
||||
label: o.text,
|
||||
value: o.id,
|
||||
defaultChecked: multichoice.form.req().indexOf(o.id) != -1,
|
||||
onChange: function(state) {
|
||||
var choices = multichoice.form.req()
|
||||
if (state.checked) {
|
||||
choices.push(state.value)
|
||||
|
||||
if (o.fillable) {
|
||||
var target = document.getElementById("mfillable-" + o.id)
|
||||
.querySelector("input")
|
||||
target.disabled = false
|
||||
target.focus()
|
||||
}
|
||||
} else {
|
||||
var index = _.findIndex(choices, function(o) {
|
||||
return o == state.value
|
||||
})
|
||||
choices.splice(index, 1)
|
||||
|
||||
if (o.fillable) {
|
||||
var target = document.getElementById("mfillable-" + o.id)
|
||||
.querySelector("input")
|
||||
target.disabled = true
|
||||
}
|
||||
}
|
||||
multichoice.form.req(choices)
|
||||
}
|
||||
})
|
||||
}))
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
window.questionType = {text, choice, bool, numeric, multichoice}
|
||||
|
||||
const question = {
|
||||
oninit: function(vnode) {
|
||||
Respondent.fetch(1)
|
||||
Section.fetch(vnode.attrs.id)
|
||||
SectionQuestion.fetch(vnode.attrs.id)
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(".header-img", {
|
||||
style: {
|
||||
backgroundImage: "url('img/head1.jpg')"
|
||||
}
|
||||
}),
|
||||
m(".header-content", {
|
||||
style: {top: 0}
|
||||
}, m("article", {
|
||||
style: {backgroundColor: "#fff", minHeight: "100vh"}
|
||||
}, Section.loading ? null : [
|
||||
m("h2.article-title", [
|
||||
m("i.fa.fa-hashtag[aria-hidden=true]", {
|
||||
style: {color: "rgb(255, 153, 0)", cursor: "pointer"},
|
||||
onclick: function() {
|
||||
m.route.set("/questionnaires/" + Section.current.data.attributes.questionnaire.id)
|
||||
}
|
||||
}),
|
||||
m("div", {
|
||||
style: {marginTop: ".3em"}
|
||||
}, Section.current.data.attributes.title),
|
||||
]),
|
||||
_.isNil(Section.current.data.description) ? null : m("h6.article-title", "(" + Section.current.data.attributes.description + ")"),
|
||||
SectionQuestion.loading ? null : m("h4.article-title", m("div", m("span", {style: {flexGrow: "1"}}, [
|
||||
"Nomor: ",
|
||||
m("input", {
|
||||
placeholder: SectionQuestion.current.meta.pagination.current_page,
|
||||
style: {
|
||||
maxWidth: "3em",
|
||||
minHeight: "3em"
|
||||
},
|
||||
maxlength: SectionQuestion.current.meta.pagination.total_pages.toString().length,
|
||||
onchange: function(e) {
|
||||
// if (e.keyCode == 13 || e.which == 13 || e.key == "Enter") {
|
||||
var value = this.value
|
||||
var question = _.find(Section.current.data.attributes.questions, function(o) {
|
||||
return o.number == value
|
||||
})
|
||||
|
||||
if (!_.isNil(question)) {
|
||||
SectionQuestion.nextOrPrev(
|
||||
SectionQuestion.current
|
||||
.data.attributes.
|
||||
section.links.self
|
||||
+ "/questions?page=" + question.number
|
||||
)
|
||||
}
|
||||
// }
|
||||
}
|
||||
}),
|
||||
"/",
|
||||
SectionQuestion.current.meta.pagination.total_pages
|
||||
]))),
|
||||
SectionQuestion.loading ? null : m(".flex", {
|
||||
style: {flexFlow: "row wrap"}
|
||||
}, m(".constant"), m(Card, {
|
||||
style: {flexBasis: "80%"},
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
content: m("form#question-form", {
|
||||
onsubmit: function(e) {
|
||||
e.preventDefault()
|
||||
}
|
||||
}, [
|
||||
m(window.questionType[SectionQuestion.current.data.attributes.questionType]),
|
||||
m(".flex", [
|
||||
m(Button, {
|
||||
id: "prev",
|
||||
label: [
|
||||
m("i.fa.fa-chevron-left.fa-fw[aria-hidden=true]"),
|
||||
m.trust(" "),
|
||||
"prev"
|
||||
],
|
||||
style: {
|
||||
backgroundColor: "rgb(255, 153, 0)",
|
||||
padding: ".8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre"
|
||||
},
|
||||
tone: "dark",
|
||||
events: {
|
||||
onclick: function() {
|
||||
var qType =
|
||||
SectionQuestion.current
|
||||
.data.attributes
|
||||
.questionType
|
||||
|
||||
if (window.questionType[qType].form.isValid()) {
|
||||
var strQuestions = window.localStorage.getItem("answers")
|
||||
var questions = JSON.parse(strQuestions) || []
|
||||
var question = {
|
||||
id: SectionQuestion.current.data.id,
|
||||
answers: []
|
||||
}
|
||||
|
||||
if (qType == "multichoice") {
|
||||
var choices =
|
||||
window.questionType[qType]
|
||||
.form.req()
|
||||
for (var i = 0; i < choices.length; i++) {
|
||||
var answer = {}
|
||||
answer.choice = choices[i]
|
||||
answer.text =
|
||||
window.questionType["text"]
|
||||
.form.req()
|
||||
answer.respondent = {
|
||||
id: Respondent.current.data.id,
|
||||
name: Respondent.current.data.attributes.name,
|
||||
occupation: Respondent.current.data.attributes.occupation,
|
||||
gender: Respondent.current.data.attributes.gender
|
||||
}
|
||||
answer.question = {
|
||||
id: SectionQuestion.current.data.id,
|
||||
text: SectionQuestion.current.data.attributes.text,
|
||||
description: SectionQuestion.current.data.attributes.description,
|
||||
section: {
|
||||
id: Section.current.data.id,
|
||||
title: Section.current.data.attributes.title,
|
||||
description: Section.current.data.attributes.description
|
||||
}
|
||||
}
|
||||
|
||||
question.answers
|
||||
.push(answer)
|
||||
}
|
||||
} else {
|
||||
var answer = {
|
||||
respondent: {
|
||||
id: Respondent.current.data.id,
|
||||
name: Respondent.current.data.attributes.name,
|
||||
occupation: Respondent.current.data.attributes.occupation,
|
||||
gender: Respondent.current.data.attributes.gender
|
||||
},
|
||||
question: {
|
||||
id: SectionQuestion.current.data.id,
|
||||
text: SectionQuestion.current.data.attributes.text,
|
||||
description: SectionQuestion.current.data.attributes.description,
|
||||
section: {
|
||||
id: Section.current.data.id,
|
||||
title: Section.current.data.attributes.title,
|
||||
description: Section.current.data.attributes.description
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (qType == "choice" || qType == "bool") {
|
||||
var choice = window.questionType[qType]
|
||||
.form.req()
|
||||
answer.choice = choice
|
||||
answer.text = window.questionType["text"].form.req()
|
||||
} else {
|
||||
var text = window.questionType[qType]
|
||||
.form.req()
|
||||
answer.choice = null
|
||||
answer.text = text
|
||||
}
|
||||
question.answers
|
||||
.push(answer)
|
||||
}
|
||||
|
||||
var dupIndex =
|
||||
_.findIndex(questions, function(o) {
|
||||
return o.id == SectionQuestion.current.data.id
|
||||
})
|
||||
if (dupIndex == -1) questions.push(question)
|
||||
else questions[dupIndex] = question
|
||||
|
||||
window.localStorage
|
||||
.setItem(
|
||||
"answers",
|
||||
JSON.stringify(questions)
|
||||
)
|
||||
}
|
||||
|
||||
if (!_.isNil(SectionQuestion.current.links.prev)) {
|
||||
SectionQuestion.nextOrPrev(SectionQuestion.current.links.prev)
|
||||
}
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(".flex"),
|
||||
!_.isNil(window.localStorage.getItem("answers"))
|
||||
&& JSON.parse(window.localStorage.getItem("answers")).length
|
||||
== SectionQuestion.current.meta.pagination.total
|
||||
&& SectionQuestion.current.meta.pagination.current_page
|
||||
== SectionQuestion.current.meta.pagination.total_pages ?
|
||||
m(Button, {
|
||||
id: "finish",
|
||||
label: [
|
||||
"finish",
|
||||
m.trust(" "),
|
||||
m("i.fa.fa-check.fa-fw[aria-hidden=true]")
|
||||
],
|
||||
style: {
|
||||
backgroundColor: "rgb(255, 153, 0)",
|
||||
padding: ".8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre"
|
||||
},
|
||||
tone: "dark",
|
||||
events: {
|
||||
onclick: function() {
|
||||
var arrAnswers = JSON.parse(window.localStorage.getItem("answers"))
|
||||
// var answers = []
|
||||
for (var i = 0; i < arrAnswers.length; i++) {
|
||||
for (var o = 0; o < arrAnswers[i].answers.length; o++) {
|
||||
// answers.push(arrAnswers[i].answers[o])
|
||||
QuestionAnswer.current = arrAnswers[i].answers[o]
|
||||
QuestionAnswer.upload(QuestionAnswer.current.question.id)
|
||||
}
|
||||
}
|
||||
// console.log(answers);
|
||||
console.log("finished");
|
||||
}
|
||||
}
|
||||
})
|
||||
: m(Button, {
|
||||
id: "next",
|
||||
label: [
|
||||
"next",
|
||||
m.trust(" "),
|
||||
m("i.fa.fa-chevron-right.fa-fw[aria-hidden=true]")
|
||||
],
|
||||
style: {
|
||||
backgroundColor: "rgb(255, 153, 0)",
|
||||
padding: ".8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre"
|
||||
},
|
||||
tone: "dark",
|
||||
events: {
|
||||
onclick: function() {
|
||||
console.log(JSON.parse(window.localStorage.getItem("answers")).length);
|
||||
var qType =
|
||||
SectionQuestion.current
|
||||
.data.attributes
|
||||
.questionType
|
||||
|
||||
if (window.questionType[qType].form.isValid()) {
|
||||
var strQuestions = window.localStorage.getItem("answers")
|
||||
var questions = JSON.parse(strQuestions) || []
|
||||
var question = {
|
||||
id: SectionQuestion.current.data.id,
|
||||
answers: []
|
||||
}
|
||||
|
||||
if (qType == "multichoice") {
|
||||
var choices =
|
||||
window.questionType[qType]
|
||||
.form.req()
|
||||
for (var i = 0; i < choices.length; i++) {
|
||||
var answer = {}
|
||||
answer.choice = choices[i]
|
||||
answer.text =
|
||||
window.questionType["text"]
|
||||
.form.req()
|
||||
answer.respondent = {
|
||||
id: Respondent.current.data.id,
|
||||
name: Respondent.current.data.attributes.name,
|
||||
occupation: Respondent.current.data.attributes.occupation,
|
||||
gender: Respondent.current.data.attributes.gender
|
||||
}
|
||||
answer.question = {
|
||||
id: SectionQuestion.current.data.id,
|
||||
text: SectionQuestion.current.data.attributes.text,
|
||||
description: SectionQuestion.current.data.attributes.description,
|
||||
section: {
|
||||
id: Section.current.data.id,
|
||||
title: Section.current.data.attributes.title,
|
||||
description: Section.current.data.attributes.description
|
||||
}
|
||||
}
|
||||
|
||||
question.answers
|
||||
.push(answer)
|
||||
}
|
||||
} else {
|
||||
var answer = {
|
||||
respondent: {
|
||||
id: Respondent.current.data.id,
|
||||
name: Respondent.current.data.attributes.name,
|
||||
occupation: Respondent.current.data.attributes.occupation,
|
||||
gender: Respondent.current.data.attributes.gender
|
||||
},
|
||||
question: {
|
||||
id: SectionQuestion.current.data.id,
|
||||
text: SectionQuestion.current.data.attributes.text,
|
||||
description: SectionQuestion.current.data.attributes.description,
|
||||
section: {
|
||||
id: Section.current.data.id,
|
||||
title: Section.current.data.attributes.title,
|
||||
description: Section.current.data.attributes.description
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (qType == "choice" || qType == "bool") {
|
||||
var choice = window.questionType[qType]
|
||||
.form.req()
|
||||
answer.choice = choice
|
||||
answer.text = window.questionType["text"].form.req()
|
||||
} else {
|
||||
var text = window.questionType[qType]
|
||||
.form.req()
|
||||
answer.choice = null
|
||||
answer.text = text
|
||||
}
|
||||
question.answers
|
||||
.push(answer)
|
||||
}
|
||||
|
||||
var dupIndex =
|
||||
_.findIndex(questions, function(o) {
|
||||
return o.id == SectionQuestion.current.data.id
|
||||
})
|
||||
if (dupIndex == -1) questions.push(question)
|
||||
else questions[dupIndex] = question
|
||||
|
||||
window.localStorage
|
||||
.setItem(
|
||||
"answers",
|
||||
JSON.stringify(questions)
|
||||
)
|
||||
}
|
||||
|
||||
if (!_.isNil(SectionQuestion.current.links.next)) {
|
||||
SectionQuestion.nextOrPrev(SectionQuestion.current.links.next)
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
])
|
||||
])
|
||||
}
|
||||
}
|
||||
]
|
||||
}), m(".constant"))
|
||||
]))
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
export default question
|
65
assets/js/components/client/questionnaire.js
vendored
Normal file
65
assets/js/components/client/questionnaire.js
vendored
Normal file
@ -0,0 +1,65 @@
|
||||
import m from "mithril"
|
||||
import { Card, RaisedButton } from "polythene-mithril"
|
||||
import Questionnaire from "../../models/Questionnaire"
|
||||
import QuestionnaireSection from "../../models/QuestionnaireSection"
|
||||
|
||||
export const questionnaire = {
|
||||
oninit: function(vnode) {
|
||||
window.scrollTo(0, 0)
|
||||
if (
|
||||
_.isEmpty(QuestionnaireSection.current)
|
||||
|| _.isNil(QuestionnaireSection.current)
|
||||
|| _.isEmpty(Questionnaire.current)
|
||||
|| _.isNil(Qustionnaire.current)
|
||||
) {
|
||||
Questionnaire.fetch(vnode.attrs.id)
|
||||
QuestionnaireSection.fetch(vnode.attrs.id)
|
||||
}
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(".header-img", {
|
||||
style: {
|
||||
backgroundImage: "url('img/head1.jpg')"
|
||||
}
|
||||
}),
|
||||
m(".header-content", {
|
||||
style: {top: 0}
|
||||
}, m("article", {
|
||||
style: {backgroundColor: "#fff"}
|
||||
}, QuestionnaireSection.loading || Questionnaire.loading ? null : [
|
||||
m("h2.article-title", [
|
||||
m("i.fa.fa-book[aria-hidden=true]", {
|
||||
style: {color: "rgb(255, 153, 0)", cursor: "pointer"},
|
||||
onclick: function() {
|
||||
m.route.set('/questionnaires/')
|
||||
}
|
||||
}),
|
||||
m("div", {
|
||||
style: {marginTop: ".3em"}
|
||||
}, Questionnaire.current.data.attributes.title)
|
||||
]),
|
||||
m(".flex", {
|
||||
style: {flexFlow: "row wrap"}
|
||||
}, QuestionnaireSection.current.data.map(function(o) {
|
||||
return m(Card, {
|
||||
style: {width: "100%"},
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: m("a", {
|
||||
style: {cursor: "pointer"},
|
||||
onclick: function() {
|
||||
m.route.set("/sections/" + o.id)
|
||||
}
|
||||
}, o.title),
|
||||
// subtitle: o.description.length > 56 ? o.description.substr(0, 50) + " ..." : o.description
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
}))
|
||||
]))
|
||||
]
|
||||
}
|
||||
}
|
136
assets/js/components/client/questionnaireList.js
vendored
Normal file
136
assets/js/components/client/questionnaireList.js
vendored
Normal file
@ -0,0 +1,136 @@
|
||||
import m from "mithril"
|
||||
import { Card, Shadow } from "polythene-mithril"
|
||||
import Questionnaire from "../../models/Questionnaire"
|
||||
|
||||
export const questionnaireList = {
|
||||
oninit: function() {
|
||||
Questionnaire.loadList()
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(".header-img", {
|
||||
style: {
|
||||
backgroundImage: "url('img/head1.jpg')"
|
||||
}
|
||||
}),
|
||||
m(".header-title#header-top", {
|
||||
style: {
|
||||
display: "table",
|
||||
color: "#fff",
|
||||
position: "fixed"
|
||||
}
|
||||
}, m("div", {
|
||||
style: {
|
||||
display: "table-cell",
|
||||
verticalAlign: "middle",
|
||||
textAlign: "center"
|
||||
}
|
||||
}, [
|
||||
m("h1", {
|
||||
style: {
|
||||
fontWeight: "bold"
|
||||
}
|
||||
}, m("span", "Questionnaire List")),
|
||||
m("p", "Daftar kuesioner yang dapat Anda isi"),
|
||||
m("div", {
|
||||
style: {padding: "3em 0"}
|
||||
}),
|
||||
m("span.fa-stack.fa-2x", {
|
||||
id: "down",
|
||||
style: {cursor: "pointer"},
|
||||
onclick: function() {
|
||||
var scrollValue = 1
|
||||
var scrolling = setInterval(function() {
|
||||
window.scrollTo(0, window.scrollY + scrollValue)
|
||||
if (
|
||||
window.pageYOffset
|
||||
>= document.querySelector(".header-title").offsetHeight
|
||||
|| window.pageYOffset
|
||||
>= document.querySelector("article").offsetHeight
|
||||
) {
|
||||
window.clearInterval(scrolling)
|
||||
}
|
||||
scrollValue++
|
||||
}, 10)
|
||||
},
|
||||
onmouseover: function() {
|
||||
this.childNodes[0]
|
||||
.style.color = "#fff"
|
||||
this.childNodes[1]
|
||||
.style.transform = "translateY(0.15em)"
|
||||
this.childNodes[1]
|
||||
.style.color = "#000"
|
||||
},
|
||||
onmouseout: function() {
|
||||
this.childNodes[0]
|
||||
.style.color = "rgba(0, 0, 0, .4)"
|
||||
this.childNodes[1]
|
||||
.style.transform = "translateY(0)"
|
||||
this.childNodes[1]
|
||||
.style.color = "#fff"
|
||||
},
|
||||
oncreate: function() {
|
||||
document.getElementById("down")
|
||||
.childNodes[0].style.color = "rgba(0, 0, 0, .4)"
|
||||
document.getElementById("down")
|
||||
.childNodes[1].style.color = "#fff"
|
||||
}
|
||||
}, [
|
||||
m("i.fa.fa-circle.fa-stack-2x", {
|
||||
style: {
|
||||
transition: "all .3s ease .05s",
|
||||
webkitTransition: "all .3s ease .05s",
|
||||
mozTransition: "all .3s ease .05s",
|
||||
oTransition: "all .3s ease .05s"
|
||||
},
|
||||
}),
|
||||
m("i.fa.fa-angle-double-down.fa-stack-1x", {
|
||||
style: {
|
||||
transition: "all .3s ease .05s",
|
||||
webkitTransition: "all .3s ease .05s",
|
||||
mozTransition: "all .3s ease .05s",
|
||||
oTransition: "all .3s ease .05s"
|
||||
}
|
||||
})
|
||||
])
|
||||
])),
|
||||
m(".header-content", m("article", {
|
||||
style: {backgroundColor: "#fff"}
|
||||
}, [
|
||||
m("h2.article-title", [
|
||||
m("i.fa.fa-graduation-cap[aria-hidden=true]", {
|
||||
style: {color: "rgb(255, 153, 0)"}
|
||||
}),
|
||||
m("div", {
|
||||
style: {marginTop: ".3em"}
|
||||
}, "Mahasiswa STIE BISMA LEPISI")
|
||||
]),
|
||||
m(".flex", {
|
||||
style: {flexFlow: "row wrap"}
|
||||
}, Questionnaire.loading ? null : Questionnaire.list.map(function(o) {
|
||||
return m(Card, {
|
||||
style: {width: "100%"},
|
||||
before: m(Shadow),
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: m("a", {
|
||||
style: {cursor: "pointer"},
|
||||
onclick: function() {
|
||||
m.route.set("/questionnaires/" + o.id)
|
||||
}
|
||||
}, o.title),
|
||||
// subtitle: o.description.length > 56 ?
|
||||
// o.description.substr(0, 50) + " ..."
|
||||
// : o.description
|
||||
subtitle: o.description
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
// }
|
||||
}))
|
||||
]))
|
||||
]
|
||||
}
|
||||
}
|
651
assets/js/components/editQuestion.js
vendored
Normal file
651
assets/js/components/editQuestion.js
vendored
Normal file
@ -0,0 +1,651 @@
|
||||
import m from "mithril"
|
||||
import moment from "moment"
|
||||
import _ from "lodash"
|
||||
import powerform from "powerform"
|
||||
import { Card, Button, RaisedButton, TextField, RadioGroup, RadioButton, Checkbox, Dialog } from "polythene-mithril"
|
||||
// import DatePicker from "../custom/mithril-datepicker"
|
||||
import {} from "../../css/custom/mithril-datepicker.css"
|
||||
import { nav } from "./nav"
|
||||
import Question from "../models/Question"
|
||||
|
||||
var viewChoice = {
|
||||
view: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
return [
|
||||
m(Card, {
|
||||
style: {
|
||||
width: "100%",
|
||||
flexGrow: "1",
|
||||
paddingTop: "1.5em"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m("i.fa.fa-times.fa-fw#remove" + data.id, {
|
||||
style: {
|
||||
position: "absolute",
|
||||
top: "0",
|
||||
right: "0",
|
||||
cursor: "pointer"
|
||||
}
|
||||
}),
|
||||
Question.current.questionType == "multichoice" ?
|
||||
m(Checkbox, {
|
||||
className: "choice-view",
|
||||
label: data.text
|
||||
})
|
||||
: m(RadioButton, {
|
||||
className: "choice-view",
|
||||
label: data.text
|
||||
}),
|
||||
data.fillable ?
|
||||
m(TextField, {
|
||||
label: "Isikan jawaban anda",
|
||||
required: true,
|
||||
tight: true
|
||||
})
|
||||
: null
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
events: {
|
||||
onclick: function(e) {
|
||||
var parent = this.parentNode
|
||||
if (e.target != document.querySelector("#remove" + data.id)) {
|
||||
m.mount(parent, {
|
||||
view: function() {
|
||||
return m(editChoice, {data: data, parent: parent})
|
||||
}
|
||||
})
|
||||
} else {
|
||||
Dialog.show({
|
||||
body: [
|
||||
m(".pe-dialog-pane__title", "Hapus pilihan"),
|
||||
m("div", "Pilihan ini akan dihapus setelah klik pada tombol 'Simpan'.")
|
||||
],
|
||||
footerButtons: [
|
||||
m(Button, {
|
||||
label: "Konfirmasi",
|
||||
events: {
|
||||
onclick: function() {
|
||||
parent.removeChild(parent.childNodes[0])
|
||||
Dialog.hide()
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(Button, {
|
||||
label: "Batal",
|
||||
events: {
|
||||
onclick: function() {
|
||||
Dialog.hide()
|
||||
}
|
||||
}
|
||||
})
|
||||
],
|
||||
backdrop: true
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
var Choices = {
|
||||
data: [],
|
||||
oninit: function(vnode) {
|
||||
Choices.data = vnode.attrs.data
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(Checkbox, {
|
||||
label: "Dapat pilih lebih dari 1",
|
||||
checked: Question.current.questionType == "multichoice" ?
|
||||
true : false,
|
||||
onChange: function(state) {
|
||||
state.checked ?
|
||||
Question.current.questionType = "multichoice"
|
||||
: Question.current.questionType = "choice"
|
||||
}
|
||||
}),
|
||||
_.isEmpty(Choices.data) ?
|
||||
m(".flex#question-new", m(newChoice))
|
||||
: [
|
||||
Choices.data.map(function(choice) {
|
||||
var id = ".flex"
|
||||
return m(id, m(viewChoice, {data: choice}))
|
||||
}),
|
||||
m(Dialog),
|
||||
m(plusButton)
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
var plusButton = {
|
||||
view: function() {
|
||||
return m(".flex#choice-new", m(Button, {
|
||||
className: "flex",
|
||||
label: [
|
||||
m("i.fa.fa-plus.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Tambah"
|
||||
],
|
||||
style: {
|
||||
padding: ".8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
transition: ".2s all ease"
|
||||
},
|
||||
events: {
|
||||
onmouseover: function() {
|
||||
this.childNodes[0].style.backgroundColor = "rgba(255, 255, 255, .8)"
|
||||
},
|
||||
onmouseout: function() {
|
||||
this.childNodes[0].style.backgroundColor = "#fff"
|
||||
},
|
||||
onclick: function() {
|
||||
m.mount(document.getElementById("choice-new"), {
|
||||
view: function() {
|
||||
return m(newChoice)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
var editChoice = {
|
||||
oncreate: function() {
|
||||
var target = document.getElementsByClassName("choices")
|
||||
for (var i = 0; i < target.length; i++) {
|
||||
target[i].querySelector(".pe-card__content").style.width = "100%"
|
||||
}
|
||||
},
|
||||
view: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
return [
|
||||
m("div", {
|
||||
style: {
|
||||
flexGrow: "1"
|
||||
}
|
||||
}), m(Card, {
|
||||
className: "choices",
|
||||
style: {
|
||||
width: "100%",
|
||||
flexGrow: "1"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m(".flex", m(TextField, {
|
||||
label: "Teks",
|
||||
required: true,
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: data.text,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(value) {
|
||||
data.text = value
|
||||
})
|
||||
}
|
||||
}), m("div", m.trust(" ")), m(Checkbox, {
|
||||
style: {
|
||||
marginTop: "2.5em",
|
||||
flexBasis: "25%"
|
||||
},
|
||||
label: "Dapat diisi",
|
||||
checked: data.fillable,
|
||||
onChange: function(state) {
|
||||
data.fillable = state.checked
|
||||
}
|
||||
})),
|
||||
m(".flex", [
|
||||
m(TextField, {
|
||||
label: "Deskripsi",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: data.description,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(value) {
|
||||
data.description = value
|
||||
})
|
||||
}
|
||||
})
|
||||
]),
|
||||
m("div", {
|
||||
style: {
|
||||
textAlign: "right"
|
||||
}
|
||||
}, [
|
||||
m(RaisedButton, {
|
||||
label: [
|
||||
m("i.fa.fa-check.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Simpan"
|
||||
],
|
||||
tone: "dark",
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#009933"
|
||||
},
|
||||
events: {
|
||||
onclick: function() {
|
||||
m.mount(
|
||||
vnode.attrs.parent,
|
||||
{
|
||||
view: function() {
|
||||
return m(viewChoice, {data: data})
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(RaisedButton, {
|
||||
label: [
|
||||
m("i.fa.fa-times.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Batal"
|
||||
],
|
||||
tone: "dark",
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#ff0000"
|
||||
},
|
||||
events: {
|
||||
onclick: function() {
|
||||
m.mount(
|
||||
vnode.attrs.parent,
|
||||
{
|
||||
view: function() {
|
||||
return m(viewChoice, {data: data})
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
})
|
||||
])
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}), m("div", {
|
||||
style: {
|
||||
flexGrow: "1"
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
var newChoice = {
|
||||
data: {},
|
||||
oninit: function() {
|
||||
newChoice.data = {}
|
||||
},
|
||||
oncreate: function() {
|
||||
var target = document.getElementsByClassName("choices")
|
||||
for (var i = 0; i < target.length; i++) {
|
||||
target[i].querySelector(".pe-card__content").style.width = "100%"
|
||||
}
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m("div", {
|
||||
style: {
|
||||
flexGrow: "1"
|
||||
}
|
||||
}), m(Card, {
|
||||
className: "choices",
|
||||
style: {
|
||||
width: "100%",
|
||||
flexGrow: "1"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m(".flex", m(TextField, {
|
||||
label: "Teks",
|
||||
required: true,
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: newChoice.data.text,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(value) {
|
||||
newChoice.data.text = value
|
||||
})
|
||||
}
|
||||
}), m("div", m.trust(" ")), m(Checkbox, {
|
||||
style: {
|
||||
marginTop: "2.5em",
|
||||
flexBasis: "25%"
|
||||
},
|
||||
label: "Dapat diisi",
|
||||
checked: newChoice.data.fillable,
|
||||
onChange: function(state) {
|
||||
newChoice.data.fillable = state.checked
|
||||
}
|
||||
})),
|
||||
m(".flex", [
|
||||
m(TextField, {
|
||||
label: "Deskripsi",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: newChoice.data.description,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(value) {
|
||||
newChoice.data.description = value
|
||||
})
|
||||
}
|
||||
})
|
||||
]),
|
||||
m("div", {
|
||||
style: {
|
||||
textAlign: "right"
|
||||
}
|
||||
}, [
|
||||
m(RaisedButton, {
|
||||
label: [
|
||||
m("i.fa.fa-plus.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Tambah"
|
||||
],
|
||||
tone: "dark",
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#009933"
|
||||
},
|
||||
events: {
|
||||
onclick: function() {
|
||||
Choices.data.push(newChoice.data)
|
||||
m.mount(
|
||||
document.getElementById("choice-new"),
|
||||
{
|
||||
view: function() {
|
||||
return m(newChoice)
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(RaisedButton, {
|
||||
label: [
|
||||
m("i.fa.fa-times.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Batal"
|
||||
],
|
||||
tone: "dark",
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#ff0000"
|
||||
},
|
||||
events: {
|
||||
onclick: function() {
|
||||
m.mount(
|
||||
document.getElementById("choice-new"),
|
||||
{
|
||||
view: function() {
|
||||
return m(plusButton)
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
})
|
||||
])
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}), m("div", {
|
||||
style: {
|
||||
flexGrow: "1"
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
var qsCard = {
|
||||
form: powerform({
|
||||
text: function(v) {
|
||||
if (!v || v == "" || _.isNil(v) || _.isEmpty(v)) {
|
||||
return "Kolom ini harus diisi"
|
||||
}
|
||||
},
|
||||
length: function(v) {
|
||||
if (!_.isNil(v) || !_.isEmpty(v)) {
|
||||
if (/^\d+$/.test(v) == false) {
|
||||
return "Kolom ini diisi dengan angka"
|
||||
}
|
||||
}
|
||||
},
|
||||
type: function(v) {
|
||||
if (!v || v == "" || _.isNil(v) || _.isEmpty(v)) {
|
||||
return "Kolom ini harus diisi"
|
||||
}
|
||||
},
|
||||
// fill: function(v) {},
|
||||
// choices: function(v) {},
|
||||
}),
|
||||
oncreate: function() {
|
||||
qsCard.form.text(Question.current.text)
|
||||
qsCard.form.length(Question.current.expectedLength)
|
||||
qsCard.form.type(Question.current.questionType)
|
||||
},
|
||||
view: function() {
|
||||
return m("form", {
|
||||
onsubmit: function(e) {
|
||||
e.preventDefault()
|
||||
console.log(qsCard.form.isValid(), qsCard.form.error());
|
||||
},
|
||||
style: {
|
||||
flexGrow: "1",
|
||||
display: "flex"
|
||||
}
|
||||
}, m(Card, {
|
||||
style: {
|
||||
flexGrow: "1",
|
||||
marginBottom: "14vh",
|
||||
// marginTop: "11vh"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
className: "edit-body",
|
||||
content: [
|
||||
m(TextField, {
|
||||
label: "Judul",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: Question.current.text,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(v) {
|
||||
Question.current.text = v
|
||||
qsCard.form.text(v)
|
||||
})
|
||||
},
|
||||
validate: function() {
|
||||
return {
|
||||
valid: qsCard.form.text.isValid(),
|
||||
error: qsCard.form.text.error()
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(TextField, {
|
||||
label: "Deskripsi",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: Question.current.description,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(v) {
|
||||
Question.current.description = v
|
||||
})
|
||||
},
|
||||
}),
|
||||
m(TextField, {
|
||||
label: "Minimal Karakter",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
// type: "number",
|
||||
value: Question.current.expectedLength,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(v) {
|
||||
Question.current.expectedLength = v
|
||||
qsCard.form.length(v)
|
||||
})
|
||||
},
|
||||
validate: function(v) {
|
||||
if (_.isNil(v) || _.isEmpty(v)) {
|
||||
qsCard.form.length.isValid(true)
|
||||
} else {
|
||||
return {
|
||||
valid: qsCard.form.length.isValid(),
|
||||
error: qsCard.form.length.error()
|
||||
}
|
||||
}
|
||||
}
|
||||
}),
|
||||
m("div", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)",
|
||||
fontSize: "small",
|
||||
fontWeight: "400",
|
||||
lineHeight: "24px",
|
||||
marginBottom: ".5em"
|
||||
}
|
||||
}, "Tipe *"),
|
||||
m(RadioGroup, {
|
||||
name: "type",
|
||||
buttons: [
|
||||
{
|
||||
label: "Teks",
|
||||
value: "text",
|
||||
defaultChecked: Question.current.questionType == "text"
|
||||
},
|
||||
{
|
||||
label: "Pilihan",
|
||||
value: "choice",
|
||||
defaultChecked: Question.current.questionType == "choice"
|
||||
|| Question.current.questionType == "multichoice"
|
||||
},
|
||||
{
|
||||
label: "Angka",
|
||||
value: "numeric",
|
||||
defaultChecked: Question.current.questionType == "numeric"
|
||||
},
|
||||
{
|
||||
label: "Benar/Salah",
|
||||
value: "bool",
|
||||
defaultChecked: Question.current.questionType == "bool"
|
||||
}
|
||||
],
|
||||
onChange: function(state) {
|
||||
Question.current.questionType = state.value
|
||||
qsCard.form.type(state.value)
|
||||
}
|
||||
}),
|
||||
Question.current.questionType == "choice"
|
||||
|| Question.current.questionType == "multichoice" ?
|
||||
[
|
||||
m(Choices, {data: Question.current.choices})
|
||||
]
|
||||
: null
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
actions: {
|
||||
bordered: true,
|
||||
content: [
|
||||
m(RaisedButton, {
|
||||
element: "button",
|
||||
label: [
|
||||
m("i.fa.fa-floppy-o.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Simpan"
|
||||
],
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#00cc00"
|
||||
},
|
||||
tone: "dark"
|
||||
}),
|
||||
m(".flex"),
|
||||
m(RaisedButton, {
|
||||
label: [
|
||||
m("i.fa.fa-times.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Hapus"
|
||||
],
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#ff0000"
|
||||
},
|
||||
tone: "dark"
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
export const editQuestion = {
|
||||
oninit: function(vnode) {
|
||||
Question.current = {id: vnode.attrs.id}
|
||||
Question.fetchCurrent()
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(nav, {
|
||||
title: "Ubah - " + Question.current.text,
|
||||
back: "/user/questions/" + Question.current.id
|
||||
}),
|
||||
m(".flex", m(qsCard))
|
||||
]
|
||||
}
|
||||
}
|
159
assets/js/components/editQuestionnaire.js
vendored
Normal file
159
assets/js/components/editQuestionnaire.js
vendored
Normal file
@ -0,0 +1,159 @@
|
||||
import m from "mithril"
|
||||
import moment from "moment"
|
||||
import powerform from "powerform"
|
||||
import { Card, RaisedButton, TextField } from "polythene-mithril"
|
||||
import DatePicker from "../custom/mithril-datepicker"
|
||||
import {} from "../../css/custom/mithril-datepicker.css"
|
||||
import { nav } from "./nav"
|
||||
import Questionnaire from "../models/Questionnaire"
|
||||
|
||||
var qCard = {
|
||||
form: powerform({
|
||||
title: function(v) {
|
||||
if (!v || v == "" || _.isEmpty(v) || _.isNil(v)) {
|
||||
return "Kolom ini harus diisi"
|
||||
}
|
||||
},
|
||||
release: function(v) {
|
||||
if (!v || v == "" || _.isEmpty(v) || _.isNil(v)) {
|
||||
return "Kolom ini harus diisi"
|
||||
}
|
||||
}
|
||||
}),
|
||||
oninit: function() {
|
||||
qCard.form.title(Questionnaire.current.title)
|
||||
},
|
||||
oncreate: function() {
|
||||
Questionnaire.current.releasedAt = moment().format("YYYY-MM-DD HH:mm:ss")
|
||||
qCard.form.release(Questionnaire.current.releasedAt)
|
||||
},
|
||||
view: function() {
|
||||
return m("form", {
|
||||
style: {flexGrow: "1", display: "flex"},
|
||||
onsubmit: function(e) {
|
||||
e.preventDefault()
|
||||
if (qCard.form.isValid()) {
|
||||
m.route.set("/user/questionnaires/" + Questionnaire.current.id)
|
||||
}
|
||||
}
|
||||
}, m(Card, {
|
||||
style: {
|
||||
flexGrow: "1"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m(TextField, {
|
||||
label: "Judul",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: Questionnaire.current.title,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(v) {
|
||||
Questionnaire.current.title = v
|
||||
qCard.form.title(v)
|
||||
})
|
||||
},
|
||||
validate: function() {
|
||||
return {
|
||||
valid: qCard.form.title.isValid(),
|
||||
error: qCard.form.title.error()
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(TextField, {
|
||||
label: "Deskripsi",
|
||||
required: true,
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: Questionnaire.current.description,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(v) {
|
||||
Questionnaire.current.description = v
|
||||
})
|
||||
}
|
||||
}),
|
||||
m("div", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)",
|
||||
fontSize: "small",
|
||||
fontWeight: "400",
|
||||
lineHeight: "24px",
|
||||
marginBottom: ".5em"
|
||||
}
|
||||
}, "Tanggal Rilis *"),
|
||||
m(DatePicker, {
|
||||
date: moment(Questionnaire.current.releasedAt),
|
||||
locale: "id-id",
|
||||
onchange: function(v) {
|
||||
Questionnaire.current.releasedAt =
|
||||
moment(v).format("YYYY-MM-DD HH:mm:ss")
|
||||
qCard.form.release(Questionnaire.current.releasedAt)
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
actions: {
|
||||
bordered: true,
|
||||
content: [
|
||||
m(RaisedButton, {
|
||||
element: "button",
|
||||
label: [
|
||||
m("i.fa.fa-floppy-o.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Simpan"
|
||||
],
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "rgb(255, 153, 0)"
|
||||
},
|
||||
tone: "dark"
|
||||
}),
|
||||
m(".flex"),
|
||||
m(RaisedButton, {
|
||||
label: [
|
||||
m("i.fa.fa-times.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Hapus"
|
||||
],
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "rgb(255, 0, 0)"
|
||||
},
|
||||
tone: "dark"
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
export const editQuestionnaire = {
|
||||
oninit: function() {
|
||||
Questionnaire.fetchCurrent()
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(nav, {
|
||||
title: "Ubah - " + Questionnaire.current.title,
|
||||
back: "/user/questionnaires/" + Questionnaire.current.id
|
||||
}),
|
||||
m(".flex", m(qCard))
|
||||
]
|
||||
}
|
||||
}
|
644
assets/js/components/editSection.js
vendored
Normal file
644
assets/js/components/editSection.js
vendored
Normal file
@ -0,0 +1,644 @@
|
||||
import m from "mithril"
|
||||
import moment from "moment"
|
||||
import _ from "lodash"
|
||||
import powerform from "powerform"
|
||||
import { Card, Button, RaisedButton, TextField, Dialog, Snackbar } from "polythene-mithril"
|
||||
import DatePicker from "../custom/mithril-datepicker"
|
||||
import {} from "../../css/custom/mithril-datepicker.css"
|
||||
import { nav } from "./nav"
|
||||
import Section from "../models/Section"
|
||||
|
||||
var Question = {
|
||||
view: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
return _.isEmpty(data) ?
|
||||
m(".flex#question-new", m(newQuestion))
|
||||
: [
|
||||
m("div", data.map(function(question) {
|
||||
return m(".flex.drag-wrapper", m(viewQuestion, {data: question}))
|
||||
}), m(".flex", m(plusButton)))
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
var plusButton = {
|
||||
view: function() {
|
||||
return m(".flex#question-new", m(Button, {
|
||||
className: "flex",
|
||||
label: [
|
||||
m("i.fa.fa-plus.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Tambah"
|
||||
],
|
||||
style: {
|
||||
padding: ".8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
transition: ".2s all ease"
|
||||
},
|
||||
events: {
|
||||
onmouseover: function() {
|
||||
this.childNodes[0].style.backgroundColor = "rgba(255, 255, 255, .8)"
|
||||
},
|
||||
onmouseout: function() {
|
||||
this.childNodes[0].style.backgroundColor = "#fff"
|
||||
},
|
||||
onclick: function() {
|
||||
m.mount(document.getElementById("question-new"), {
|
||||
view: function() {
|
||||
return m(newQuestion)
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
var editQuestion = {
|
||||
view: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
return [
|
||||
m(Card, {
|
||||
style: {
|
||||
flexGrow: "1"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m(TextField, {
|
||||
label: "Teks",
|
||||
required: true,
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: data.text,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(value) {
|
||||
data.text = value
|
||||
})
|
||||
}
|
||||
}),
|
||||
m(TextField, {
|
||||
label: "Deskripsi",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: data.description,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(value) {
|
||||
data.description = value
|
||||
})
|
||||
}
|
||||
}),
|
||||
m("div", {
|
||||
style: {
|
||||
textAlign: "right"
|
||||
}
|
||||
}, [
|
||||
m(RaisedButton, {
|
||||
label: [
|
||||
m("i.fa.fa-check.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Simpan"
|
||||
],
|
||||
tone: "dark",
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#009933"
|
||||
},
|
||||
events: {
|
||||
onclick: function() {
|
||||
m.mount(
|
||||
vnode.attrs.parent,
|
||||
{
|
||||
view: function() {
|
||||
return m(viewQuestion, {data: data})
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(RaisedButton, {
|
||||
label: [
|
||||
m("i.fa.fa-check.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Batal"
|
||||
],
|
||||
tone: "dark",
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#ff0000"
|
||||
},
|
||||
events: {
|
||||
onclick: function() {
|
||||
m.mount(
|
||||
vnode.attrs.parent,
|
||||
{
|
||||
view: function() {
|
||||
return m(viewQuestion, {data: data})
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
})
|
||||
])
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
var newQuestion = {
|
||||
data: {},
|
||||
form: powerform({
|
||||
req: function(v) {
|
||||
if (!v || v == "" || _.isEmpty(v) || _.isNil(v)) {
|
||||
return "Kolom ini harus diisi"
|
||||
}
|
||||
}
|
||||
}),
|
||||
oninit: function() {
|
||||
newQuestion.data = {}
|
||||
},
|
||||
oncreate: function() {
|
||||
document.getElementById("question-text")
|
||||
.querySelector("input").focus()
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(Card, {
|
||||
style: {
|
||||
flexGrow: "1"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m("form", {
|
||||
onsubmit: function(e) {
|
||||
e.preventDefault()
|
||||
if (newQuestion.form.isValid()) {
|
||||
var target = document.getElementById("question-new")
|
||||
.parentNode
|
||||
var targetParent = Array.prototype
|
||||
.slice.call(target.parentNode.childNodes)
|
||||
var index = targetParent.indexOf(target) + 1
|
||||
newQuestion.data.number = index
|
||||
Section.current.questions
|
||||
.push(newQuestion.data)
|
||||
m.mount(
|
||||
document.getElementById("question-new"),
|
||||
{
|
||||
view: function() {
|
||||
return m(newQuestion)
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
}, [
|
||||
m(TextField, {
|
||||
id: "question-text",
|
||||
label: "Teks",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: newQuestion.data.text,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(value) {
|
||||
newQuestion.data.text = value
|
||||
newQuestion.form.req(value)
|
||||
})
|
||||
},
|
||||
validate: function() {
|
||||
return {
|
||||
valid: newQuestion.form.req.isValid(),
|
||||
error: newQuestion.form.req.error()
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(TextField, {
|
||||
id: "question-description",
|
||||
label: "Deskripsi",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: newQuestion.data.description,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(value) {
|
||||
newQuestion.data.description = value
|
||||
})
|
||||
}
|
||||
}),
|
||||
m("div", {
|
||||
style: {
|
||||
textAlign: "right"
|
||||
}
|
||||
}, [
|
||||
m(RaisedButton, {
|
||||
element: "button",
|
||||
type: "submit",
|
||||
label: [
|
||||
m("i.fa.fa-check.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Tambah"
|
||||
],
|
||||
tone: "dark",
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#009933"
|
||||
}
|
||||
}),
|
||||
m(RaisedButton, {
|
||||
label: [
|
||||
m("i.fa.fa-check.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Batal"
|
||||
],
|
||||
tone: "dark",
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#ff0000"
|
||||
},
|
||||
events: {
|
||||
onclick: function() {
|
||||
newQuestion.data = {}
|
||||
m.mount(
|
||||
document.getElementById("question-new"),
|
||||
{
|
||||
view: function() {
|
||||
return m(plusButton)
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
}
|
||||
})
|
||||
])
|
||||
])
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
var trashSVG = "<svg width=\"1792\" height=\"1792\" viewBox=\"0 0 1792 1792\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M704 736v576q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-576q0-14 9-23t23-9h64q14 0 23 9t9 23zm256 0v576q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-576q0-14 9-23t23-9h64q14 0 23 9t9 23zm256 0v576q0 14-9 23t-23 9h-64q-14 0-23-9t-9-23v-576q0-14 9-23t23-9h64q14 0 23 9t9 23zm128 724v-948h-896v948q0 22 7 40.5t14.5 27 10.5 8.5h832q3 0 10.5-8.5t14.5-27 7-40.5zm-672-1076h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z\"/></svg>"
|
||||
|
||||
var viewQuestion = {
|
||||
oncreate: function() {
|
||||
var drags = document.getElementsByClassName("draggable")
|
||||
for (var i = 0; i < drags.length; i++) {
|
||||
drags[i].draggable = true
|
||||
drags[i].ondragstart = sCard.onDrag
|
||||
drags[i].parentNode.ondrop = sCard.onDrop
|
||||
drags[i].parentNode.ondragover = sCard.onDragOver
|
||||
drags[i].parentNode.ondragleave = sCard.onDragLeave
|
||||
}
|
||||
},
|
||||
view: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
return [
|
||||
m(Card, {
|
||||
style: {
|
||||
flexGrow: "1"
|
||||
},
|
||||
id: "question-" + data.number,
|
||||
className: "draggable",
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m("i.fa.fa-times.fa-fw#remove" + data.id, {
|
||||
style: {
|
||||
position: "absolute",
|
||||
right: "0",
|
||||
cursor: "pointer"
|
||||
}
|
||||
}),
|
||||
m("h5", data.text),
|
||||
m("div", data.description)
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
events: {
|
||||
onclick: function(e) {
|
||||
var parent = this.parentNode
|
||||
if (e.target != document.querySelector("#remove" + data.id)) {
|
||||
return m.mount(parent, {
|
||||
view: function() {
|
||||
return m(editQuestion, {data: data, parent: parent})
|
||||
}
|
||||
})
|
||||
} else {
|
||||
Dialog.show({
|
||||
body: [
|
||||
m(".pe-dialog-pane__title", "Hapus " + data.text),
|
||||
m("div", "Pertanyaan ini akan dihapus setelah klik pada tombol 'Simpan'.")
|
||||
],
|
||||
footerButtons: [
|
||||
m(Button, {
|
||||
label: "Konfirmasi",
|
||||
events: {
|
||||
onclick: function() {
|
||||
_.remove(
|
||||
Section.current.questions,
|
||||
function(o) {
|
||||
return o.id == data.id
|
||||
}
|
||||
)
|
||||
// var target = document.getElementById("question-" + data.number)
|
||||
// target.parentNode.removeChild(target)
|
||||
for (var i = 0; i < Section.current.questions.length; i++) {
|
||||
Section.current.questions[i].number = i + 1
|
||||
}
|
||||
Dialog.hide()
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(Button, {
|
||||
label: "Batal",
|
||||
events: {
|
||||
onclick: Dialog.hide
|
||||
}
|
||||
})
|
||||
],
|
||||
backdrop: true,
|
||||
didHide: function() {
|
||||
if (document.body.querySelector(".flex .pe-dialog__holder") != null) {
|
||||
document.body.querySelector(".flex").removeChild(
|
||||
document.body.querySelector(".flex .pe-dialog__holder")
|
||||
)
|
||||
}
|
||||
document.body.className = ""
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
onmousedown: function() {
|
||||
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent) == false) {
|
||||
Snackbar.show({
|
||||
id: "protip",
|
||||
title: [
|
||||
m("span", {
|
||||
style: {color: "rgb(255, 153, 0)"}
|
||||
}, "Tips", m("i.fa.fa-lightbulb-o.fa-fw[aria-hidden=true]")),
|
||||
": Tahan dan geser item untuk memindahkan urutan"
|
||||
],
|
||||
action: m(Button, {
|
||||
id: "protip-button",
|
||||
label: m("i.fa.fa-times[aria-hidden=true]"),
|
||||
events: {
|
||||
onclick: function() {
|
||||
Snackbar.hide()
|
||||
},
|
||||
oncreate: function() {
|
||||
document.body
|
||||
.querySelector(".flex #protip #protip-button")
|
||||
.style.minWidth = "0"
|
||||
}
|
||||
}
|
||||
}),
|
||||
timeout: 5,
|
||||
didHide: function() {
|
||||
if (document.body.querySelector(".flex #protip") != null) {
|
||||
document.body.querySelector(".flex").removeChild(
|
||||
document.body.querySelector(".flex #protip").parentNode
|
||||
)
|
||||
}
|
||||
document.body.className = ""
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
var sCard = {
|
||||
onDrag: function(e) {
|
||||
e.dataTransfer.setData("element", e.target.id)
|
||||
},
|
||||
onDrop: function(e) {
|
||||
e.preventDefault()
|
||||
var data = document.getElementById(e.dataTransfer.getData("element"))
|
||||
var dataParent = data.parentNode
|
||||
var target = this
|
||||
var newIndex = Array.prototype.slice.call(target.parentNode.childNodes)
|
||||
.indexOf(this)
|
||||
var oldIndex = Array.prototype.slice.call(dataParent.parentNode.childNodes)
|
||||
.indexOf(dataParent)
|
||||
Section.current.questions[oldIndex].number = newIndex + 1
|
||||
Section.current.questions[newIndex].number = oldIndex + 1
|
||||
Section.current.questions = _.sortBy(Section.current.questions, function(o) {
|
||||
return o.number
|
||||
})
|
||||
m.redraw()
|
||||
|
||||
target.style.backgroundColor = "transparent"
|
||||
},
|
||||
onDragOver: function(e) {
|
||||
e.preventDefault()
|
||||
this.style.backgroundColor = "rgba(0, 0, 0, .2)"
|
||||
},
|
||||
onDragLeave: function(e) {
|
||||
e.preventDefault()
|
||||
this.style.backgroundColor = "transparent"
|
||||
},
|
||||
form: powerform({
|
||||
req: function(v) {
|
||||
if (!v || v == "" || _.isEmpty(v) || _.isNil(v)) {
|
||||
return "Kolom ini harus diisi"
|
||||
}
|
||||
}
|
||||
}),
|
||||
oninit: function() {
|
||||
sCard.form.req(Section.current.title)
|
||||
},
|
||||
view: function() {
|
||||
return m("form", {
|
||||
onsubmit: function(e) {
|
||||
e.preventDefault()
|
||||
if (sCard.form.isValid()) {
|
||||
m.route.set("/user/sections/" + Section.current.id)
|
||||
}
|
||||
},
|
||||
style: {
|
||||
flexGrow: "1",
|
||||
display: "flex"
|
||||
}
|
||||
}, m(Card, {
|
||||
style: {flexGrow: "1"},
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m(TextField, {
|
||||
label: "Judul",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: Section.current.title,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(v) {
|
||||
Section.current.title = v
|
||||
sCard.form.req(v)
|
||||
})
|
||||
},
|
||||
validate: function() {
|
||||
return {
|
||||
valid: sCard.form.req.isValid(),
|
||||
error: sCard.form.req.error()
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(TextField, {
|
||||
label: "Deskripsi",
|
||||
floatingLabel: true,
|
||||
tight: true,
|
||||
value: Section.current.description,
|
||||
events: {
|
||||
oninput: m.withAttr("value", function(v) {
|
||||
Section.current.description = v
|
||||
})
|
||||
}
|
||||
}),
|
||||
m(".flex", {
|
||||
style: {
|
||||
fontSize: "larger"
|
||||
}
|
||||
}, "Pertanyaan"),
|
||||
m(Question, {data: Section.current.questions})
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
actions: {
|
||||
bordered: true,
|
||||
content: [
|
||||
m(RaisedButton, {
|
||||
element: "button",
|
||||
label: [
|
||||
m("i.fa.fa-floppy-o.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Simpan"
|
||||
],
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#00cc00"
|
||||
},
|
||||
tone: "dark",
|
||||
}),
|
||||
m(".flex"),
|
||||
m(RaisedButton, {
|
||||
label: [
|
||||
m("i.fa.fa-times.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Hapus"
|
||||
],
|
||||
style: {
|
||||
padding: ".6em .8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
backgroundColor: "#ff0000"
|
||||
},
|
||||
tone: "dark",
|
||||
events: {
|
||||
onclick: function() {
|
||||
Dialog.show({
|
||||
body: [
|
||||
m(".pe-dialog-pane__title", "Hapus seksi"),
|
||||
m("div", "Apakah Anda yakin akan menghapus seksi ini?")
|
||||
],
|
||||
footerButtons: [
|
||||
m(Button, {
|
||||
label: "Ya",
|
||||
events: {
|
||||
onclick: function() {
|
||||
m.route.set("/user/questionnaires/" + Section.current.questionnaire.id)
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(Button, {
|
||||
label: "Tidak",
|
||||
events: {
|
||||
onclick: Dialog.hide
|
||||
}
|
||||
})
|
||||
],
|
||||
backdrop: true,
|
||||
didHide: function() {
|
||||
if (document.body.querySelector(".flex .pe-dialog__holder") != null) {
|
||||
document.body.querySelector(".flex").removeChild(
|
||||
document.body.querySelector(".flex .pe-dialog__holder")
|
||||
)
|
||||
}
|
||||
document.body.className = ""
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
export const editSection = {
|
||||
oninit: function() {
|
||||
Section.fetchCurrent()
|
||||
Section.current.questions = _.sortBy(Section.current.questions, function(o) {
|
||||
return o.number
|
||||
})
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(nav, {
|
||||
title: "Seksi - " + Section.current.title,
|
||||
back: "/user/sections/" + Section.current.id
|
||||
}),
|
||||
m(".flex", m(sCard), m(Dialog), m(Snackbar)),
|
||||
]
|
||||
}
|
||||
}
|
231
assets/js/components/header.js
vendored
Normal file
231
assets/js/components/header.js
vendored
Normal file
@ -0,0 +1,231 @@
|
||||
import m from "mithril"
|
||||
import { Toolbar, ToolbarTitle, TextField, Button } from "polythene-mithril"
|
||||
// import { User } from "../models/User"
|
||||
|
||||
var email = {
|
||||
value: "",
|
||||
setValue: function(v) { email.value = v },
|
||||
getValue: function() { return email.value }
|
||||
}
|
||||
|
||||
const workflow = [
|
||||
{
|
||||
number: 1,
|
||||
text: "Daftarkan email pada kolom email di atas.",
|
||||
subText: "Jika sudah pernah mendaftar, lanjut ke langkah 4"
|
||||
},
|
||||
{
|
||||
number: 2,
|
||||
text: "Isi formulir data diri."
|
||||
},
|
||||
{
|
||||
number: 3,
|
||||
text: "Server mengirim email berupa kode login."
|
||||
},
|
||||
{
|
||||
number: 4,
|
||||
text: "Pilih kuesioner yang akan diisi."
|
||||
},
|
||||
{
|
||||
number: 5,
|
||||
text: "Masukkan kode login Anda (langkah 3)."
|
||||
},
|
||||
{
|
||||
number: 6,
|
||||
text: "Silahkan isi kuesioner!"
|
||||
}
|
||||
]
|
||||
|
||||
export const header = {
|
||||
view: function() {
|
||||
return [
|
||||
m(".header-img", {
|
||||
style: {
|
||||
backgroundImage: "url('img/head1.jpg')"
|
||||
}
|
||||
}),
|
||||
m(".header-title#header-top", {
|
||||
style: {
|
||||
display: "table",
|
||||
color: "#fff",
|
||||
position: "fixed"
|
||||
}
|
||||
}, m("div", {
|
||||
style: {
|
||||
display: "table-cell",
|
||||
verticalAlign: "middle",
|
||||
textAlign: "center"
|
||||
}
|
||||
}, [
|
||||
m("h1", {
|
||||
style: {
|
||||
fontWeight: "bold"
|
||||
}
|
||||
}, [
|
||||
m("i.fa.fa-check-square.fa-fw[aria-hidden=true]"),
|
||||
m.trust(" "),
|
||||
m("span", "Questionnaire"),
|
||||
m.trust(" "),
|
||||
m("i.fa.fa-window-close.fa-fw[aria-hidden=true]")
|
||||
]),
|
||||
m("p", "Web-based kuesioner untuk Yayasan Widya Anindya"),
|
||||
m("div", { style: { margin: "5em 0" } }),
|
||||
m("form", {
|
||||
onsubmit: function(e) {
|
||||
e.preventDefault()
|
||||
/* upload data email */
|
||||
/* alias */
|
||||
// if (email.value == "admin@questionnaire.dev") {
|
||||
// m.route.set("/questionnaires")
|
||||
// } else if (email.value == "") {
|
||||
// document.getElementById("header-email")
|
||||
// .querySelector("input").focus()
|
||||
// } else {
|
||||
// m.route.set("/auth/register/?invoker=" + email.value)
|
||||
// }
|
||||
m.route.set("/auth/register")
|
||||
}
|
||||
}, m(TextField, {
|
||||
label: "E-mail",
|
||||
id: "header-email",
|
||||
name: "email",
|
||||
value: User.current.email,
|
||||
style: {
|
||||
padding: ".3em 1em .8em",
|
||||
borderRadius: "2px"
|
||||
},
|
||||
pattern: "[a-z\-\.0-9]+@[a-z\-\.]+[a-z]+",
|
||||
validateOnInput: true,
|
||||
tone: "dark",
|
||||
onChange: function(state) {
|
||||
User.current.email = state.value
|
||||
},
|
||||
events: {
|
||||
oncreate: function() {
|
||||
var target = document.getElementById("header-email")
|
||||
var selector = target.querySelector("input")
|
||||
selector.onfocus = function() {
|
||||
target.style
|
||||
.backgroundColor = "rgba(0, 0, 0, .5)"
|
||||
}
|
||||
selector.autocomplete = "off"
|
||||
target.removeChild(
|
||||
target.querySelector(
|
||||
".pe-textfield__error-placeholder"
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(Button, {
|
||||
element: "button",
|
||||
type: "submit",
|
||||
label: [
|
||||
m("i.fa.fa-check-square-o.fa-fw[aria-hidden=true]"),
|
||||
m.trust(" "),
|
||||
"Mulai"
|
||||
],
|
||||
style: {
|
||||
backgroundColor: "#fff",
|
||||
padding: ".8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
}
|
||||
}))
|
||||
])),
|
||||
m(".header-content", m("article", {
|
||||
style: {
|
||||
backgroundColor: "#fff",
|
||||
}
|
||||
}, [
|
||||
m("h2.article-title", [
|
||||
m("i.fa.fa-rocket[aria-hidden=true]", {
|
||||
style: {
|
||||
color: "rgb(255, 153, 0)"
|
||||
}
|
||||
}),
|
||||
m("div", {
|
||||
style: {
|
||||
marginTop: ".3em"
|
||||
}
|
||||
}, "Workflow")
|
||||
]),
|
||||
workflow.map(function(v) {
|
||||
return m(".workflow-items-wrapper.flex", v.number == workflow.length ? {
|
||||
style: {
|
||||
marginBottom: "0"
|
||||
}
|
||||
} : null, [
|
||||
m(".workflow-items", m("div", v.number)),
|
||||
m(".workflow-items-description", m("p", [
|
||||
v.text,
|
||||
!_.isNil(v.subText) ?
|
||||
[
|
||||
m("br"),
|
||||
m("i", "(" + v.subText + ")")
|
||||
]
|
||||
: null
|
||||
]))
|
||||
])
|
||||
}),
|
||||
m(".article-break"),
|
||||
m("h2.article-title", {
|
||||
style: {
|
||||
marginBottom: "0"
|
||||
}
|
||||
}, [
|
||||
m("i.fa.fa-space-shuttle.fa-rotate-270[aria-hidden=true]", {
|
||||
style: {
|
||||
color: "rgb(255, 153, 0)",
|
||||
cursor: "pointer",
|
||||
transition: "all .5s ease",
|
||||
webkitTransition: "all .5s ease",
|
||||
mozTransition: "all .5s ease",
|
||||
oTransition: "all .5s ease"
|
||||
},
|
||||
onclick: function() {
|
||||
var scrollValue = 1
|
||||
var scrolling = setInterval(function() {
|
||||
window.scrollTo(0, window.scrollY - scrollValue)
|
||||
if (window.scrollY <= 100) {
|
||||
scrollValue--
|
||||
} else if (window.scrollY <= 0) {
|
||||
window.clearInterval(scrolling)
|
||||
document.getElementById("header-email")
|
||||
.querySelector("input").focus()
|
||||
} else {
|
||||
scrollValue++
|
||||
}
|
||||
}, 10)
|
||||
},
|
||||
onmouseover: function() {
|
||||
this.style.transform = "translateY(-0.2em) rotate(270deg)"
|
||||
var target = document.getElementById("ready-text")
|
||||
target
|
||||
.style.color = "rgb(255, 153, 0)"
|
||||
target
|
||||
.innerHTML = target.innerHTML.replace("?", "!")
|
||||
},
|
||||
onmouseout: function() {
|
||||
this.style.transform = "translateY(0) rotate(270deg)"
|
||||
var target = document.getElementById("ready-text")
|
||||
target
|
||||
.style.color = "rgb(0, 0, 0)"
|
||||
target
|
||||
.innerHTML = target.innerHTML.replace("!", "?")
|
||||
}
|
||||
}),
|
||||
m("#ready-text", {
|
||||
style: {
|
||||
marginTop: ".3em"
|
||||
}
|
||||
}, "Siap?")
|
||||
]),
|
||||
m(".article-break")
|
||||
]))
|
||||
]
|
||||
}
|
||||
}
|
66
assets/js/components/hello.js
vendored
Normal file
66
assets/js/components/hello.js
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
// import m from "mithril"
|
||||
// import { Button } from "polythene-mithril"
|
||||
// import { Dialog } from "polythene-mithril"
|
||||
// import { addTypography } from "polythene-css"
|
||||
//
|
||||
// addTypography()
|
||||
//
|
||||
// export const hello = {
|
||||
// view: function() {
|
||||
// return [
|
||||
// m(Button, {
|
||||
// label: 'Show dialog',
|
||||
// events: {
|
||||
// onclick: function() {
|
||||
// return Dialog.show({
|
||||
// title: 'Hello',
|
||||
// body: 'Click outside to close, or press ESCAPE',
|
||||
// backdrop: true
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// }),
|
||||
// m(Dialog)
|
||||
// ]
|
||||
// }
|
||||
// }
|
||||
|
||||
import m from "mithril"
|
||||
import powerform from "powerform"
|
||||
import { required, equalsTo } from "validatex"
|
||||
|
||||
const form = powerform({
|
||||
username: required(true),
|
||||
password: required(true),
|
||||
confirmPassword: [required(true), equalsTo("password")]
|
||||
})
|
||||
|
||||
const signup = {
|
||||
view: function() {
|
||||
return [
|
||||
m("input", {
|
||||
placeholder: "Username",
|
||||
onkeyup: m.withAttr("value", form.username),
|
||||
onchange: form.username.isValid
|
||||
}),
|
||||
m("p.error", form.username.error()),
|
||||
m("input", {
|
||||
placeholder: "Password",
|
||||
onkeypress: m.withAttr("value", form.password),
|
||||
onchange: form.password.isValid
|
||||
}),
|
||||
m("p.error", form.password.error()),
|
||||
m("input", {
|
||||
placeholder: "Confirm Password",
|
||||
onkeypress: m.withAttr("value", form.confirmPassword),
|
||||
onchange: form.confirmPassword.isValid
|
||||
}),
|
||||
m("p.error", form.confirmPassword.error()),
|
||||
m("button", {
|
||||
onclick: form.isValid()
|
||||
}, "Submit")
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
export default signup
|
54
assets/js/components/nav.js
vendored
Normal file
54
assets/js/components/nav.js
vendored
Normal file
@ -0,0 +1,54 @@
|
||||
import m from "mithril"
|
||||
import { Toolbar, ToolbarTitle } from "polythene-mithril"
|
||||
import { backButton, logoutButton } from "./buttons"
|
||||
|
||||
export const nav = {
|
||||
view: function(vnode) {
|
||||
return m(Toolbar, {
|
||||
style: {
|
||||
backgroundColor: "rgb(255, 153, 0)",
|
||||
// position: "fixed",
|
||||
width: "100%",
|
||||
// zIndex: "12"
|
||||
},
|
||||
tone: "dark",
|
||||
compact: true
|
||||
}, [
|
||||
vnode.attrs.back != false ?
|
||||
m({
|
||||
view: function() {
|
||||
return m("div.nav-button", {
|
||||
style: {
|
||||
marginLeft: "1em",
|
||||
cursor: "pointer"
|
||||
},
|
||||
onclick: function() {
|
||||
/* Request ke question model */
|
||||
// qsModel.fetch(qsId.qsuestionnaire.url)
|
||||
/* Route */
|
||||
m.route.set(vnode.attrs.back)
|
||||
}
|
||||
}, m(backButton))
|
||||
}
|
||||
})
|
||||
: null,
|
||||
m(ToolbarTitle, {
|
||||
id: "nav-title",
|
||||
style: {
|
||||
margin: "0 auto"
|
||||
},
|
||||
text: m("span#nav-title__text", vnode.attrs.title),
|
||||
center: true
|
||||
}),
|
||||
m("div.nav-button", {
|
||||
style: {
|
||||
marginRight: "1em",
|
||||
cursor: "pointer"
|
||||
},
|
||||
onclick: function() {
|
||||
m.route.set("")
|
||||
}
|
||||
}, m(logoutButton))
|
||||
])
|
||||
}
|
||||
}
|
176
assets/js/components/question.js
vendored
Normal file
176
assets/js/components/question.js
vendored
Normal file
@ -0,0 +1,176 @@
|
||||
import m from "mithril"
|
||||
import { RaisedButton, Card, Button } from "polythene-mithril"
|
||||
import { nav } from "./nav"
|
||||
import * as QuestionType from "./questionType"
|
||||
import { editButton } from "./buttons"
|
||||
let qsList = require("../../json/section/id/questions/example")
|
||||
let qsId = require("../../json/question/id/example70203")
|
||||
|
||||
var executeFunctionByName = function(functionName, context) {
|
||||
var namespaces = functionName.split(".");
|
||||
var func = namespaces.pop();
|
||||
for(var i = 0; i < namespaces.length; i++) {
|
||||
context = context[namespaces[i]];
|
||||
}
|
||||
return context[func];
|
||||
}
|
||||
|
||||
var pagination = {
|
||||
oncreate: function() {
|
||||
for (var i = 0; i < document.getElementsByClassName("flex-single").length; i++) {
|
||||
document.getElementsByClassName("flex-single")[i].style.flexGrow = 1
|
||||
}
|
||||
},
|
||||
view: function() {
|
||||
return m(".flex", {
|
||||
style: {
|
||||
backgroundColor: "#fff",
|
||||
position: "fixed",
|
||||
bottom: "0",
|
||||
width: "100%",
|
||||
padding: "1em",
|
||||
zIndex: "21"
|
||||
}
|
||||
}, [
|
||||
m(".flex-single"),
|
||||
m(RaisedButton, {
|
||||
className: "flex-single",
|
||||
label: m("i.fa.fa-arrow-left.fa-fw", {
|
||||
style: {
|
||||
margin: "1em 0",
|
||||
}
|
||||
}),
|
||||
events: {
|
||||
onclick: function() {
|
||||
var prev = _.find(qsList.data, function(o) { return o.id == parseInt(sId.data.id) - 1 })
|
||||
if (prev != undefined) {
|
||||
/* Request pake url yang tersedia */
|
||||
// qModel.fetch(prev.url)
|
||||
m.route.set("/sections/" + prev.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(".flex-single"),
|
||||
m(RaisedButton, {
|
||||
className: "flex-single",
|
||||
label: m("i.fa.fa-arrow-right.fa-fw", {
|
||||
style: {
|
||||
margin: "1em 0",
|
||||
}
|
||||
}),
|
||||
events: {
|
||||
onclick: function() {
|
||||
var next = _.find(qsList.data, function(o) { return o.id == parseInt(sId.data.id) + 1 })
|
||||
if (next != undefined) {
|
||||
/* Request pake url yang tersedia */
|
||||
// sModel.fetch(next.url)
|
||||
m.route.set("/sections/" + next.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(".flex-single")
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
var qsCard = {
|
||||
view: function() {
|
||||
return m(".flex", m(Card, {
|
||||
style: {
|
||||
flexGrow: "1",
|
||||
marginBottom: "14vh",
|
||||
// marginTop: "11vh"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: [
|
||||
m(editButton, { redirectURL: "/questions/" + qsId.data.id + "/edit" }),
|
||||
m("#title", qsId.data.text)
|
||||
],
|
||||
subtitle: qsId.data.description
|
||||
}
|
||||
},
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m("div", {
|
||||
style: {
|
||||
marginBottom: "1em"
|
||||
}
|
||||
}, [
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Nomor: " + qsId.data.number),
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Tipe: " + qsId.data.questionType),
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Dibuat: " + qsId.data.createdAt),
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Pembuat: " + qsId.data.creator.name),
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Diubah: " + qsId.data.updatedAt)
|
||||
]),
|
||||
m("p", {
|
||||
style: {
|
||||
fontSize: "large"
|
||||
}
|
||||
}, "Tampilan"),
|
||||
m(".flex", {
|
||||
style: {
|
||||
flexFlow: "row wrap"
|
||||
}
|
||||
}, m(Card, {
|
||||
style: {
|
||||
flexGrow: "1",
|
||||
flexBasis: "100%"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m(executeFunctionByName(qsId.data.questionType, QuestionType), {
|
||||
data: qsId.data
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
)
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
export const question = {
|
||||
view: function() {
|
||||
return [
|
||||
m(nav, {
|
||||
title: "Pertanyaan #" + qsId.data.id,
|
||||
back: "/sections/" + qsId.data.sectionsUrl
|
||||
}),
|
||||
m(qsCard),
|
||||
m(pagination)
|
||||
]
|
||||
}
|
||||
}
|
220
assets/js/components/questionType.js
vendored
Normal file
220
assets/js/components/questionType.js
vendored
Normal file
@ -0,0 +1,220 @@
|
||||
import m from "mithril"
|
||||
import _ from "lodash"
|
||||
import { TextField, RadioGroup, Checkbox } from "polythene-mithril"
|
||||
|
||||
export const text = {
|
||||
view: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
return m(TextField, {
|
||||
id: data.elId || "",
|
||||
label: data.text,
|
||||
required: true,
|
||||
floatingLabel: data.floatingLabel || true,
|
||||
tight: true,
|
||||
help: data.description || null
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export const numeric = {
|
||||
view: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
return m(TextField, {
|
||||
label: data.text,
|
||||
required: true,
|
||||
floatingLabel: _.isNil(data.floatingLabel) ? true : data.floatingLabel,
|
||||
tight: true,
|
||||
help: data.description || null,
|
||||
validate: function(value) {
|
||||
if (isNaN(value)) {
|
||||
return {
|
||||
valid: false,
|
||||
error: "Gunakan angka"
|
||||
}
|
||||
} else {
|
||||
return { valid: true }
|
||||
}
|
||||
},
|
||||
validateOnInput: true
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export const bool = {
|
||||
view: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
return [
|
||||
m("div", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)",
|
||||
fontSize: "16px",
|
||||
fontWeight: "400",
|
||||
lineHeight: "24px",
|
||||
marginTop: ".5em"
|
||||
}
|
||||
}, data.text + " *"),
|
||||
m("i", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)"
|
||||
}
|
||||
}, "(" + data.description + ")" || null),
|
||||
m(RadioGroup, {
|
||||
id: "bool",
|
||||
className: "flex",
|
||||
style: {
|
||||
margin: ".5rem 0",
|
||||
flexFlow: "row wrap"
|
||||
},
|
||||
buttons: [
|
||||
{
|
||||
id: "true",
|
||||
label: "Benar",
|
||||
value: true,
|
||||
style: {
|
||||
marginTop: ".5em",
|
||||
marginBottom: ".5em",
|
||||
marginRight: "0",
|
||||
flexGrow: "1",
|
||||
flexBasis: "100%"
|
||||
}
|
||||
},
|
||||
{
|
||||
id: "false",
|
||||
label: "Salah",
|
||||
value: false,
|
||||
style: {
|
||||
marginTop: ".5em",
|
||||
marginBottom: ".5em",
|
||||
marginRight: "0",
|
||||
flexGrow: "1",
|
||||
flexBasis: "100%"
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
export const multichoice = {
|
||||
view: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
return [
|
||||
m("div", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)",
|
||||
fontSize: "16px",
|
||||
fontWeight: "400",
|
||||
lineHeight: "24px",
|
||||
marginTop: ".5em"
|
||||
}
|
||||
}, data.text + " *"),
|
||||
m("i", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)"
|
||||
}
|
||||
}, "(" + data.description + ")" || null),
|
||||
m(".flex", {
|
||||
style: {
|
||||
flexFlow: "row wrap"
|
||||
}
|
||||
}, data.choices.map(function(c) {
|
||||
return m(Checkbox, {
|
||||
id: "choice-" + c.id,
|
||||
label: c.text,
|
||||
value: c.id,
|
||||
style: {
|
||||
flexGrow: "1",
|
||||
flexBasis: "100%",
|
||||
marginTop: ".5em",
|
||||
marginBottom: ".5em"
|
||||
}
|
||||
})
|
||||
}))
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
export const choice = {
|
||||
oncreate: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
data.choices.map(function(c) {
|
||||
if (c.fillable) {
|
||||
var child = document.createElement("span")
|
||||
child.style.marginLeft = ".5em"
|
||||
child.style.marginTop = "1.4em"
|
||||
var input = { view: function() {
|
||||
return m(text, {
|
||||
data: {
|
||||
elId: "fillable-" + c.id,
|
||||
text: "",
|
||||
floatingLabel: false
|
||||
}
|
||||
})
|
||||
}}
|
||||
/* Get parent */
|
||||
var parent = document.getElementById("choice-" + c.id).childNodes[0]
|
||||
parent.appendChild(child)
|
||||
m.mount(parent.querySelector("span"), input)
|
||||
document.getElementById("fillable-" + c.id).querySelector("input").disabled = true
|
||||
}
|
||||
})
|
||||
},
|
||||
view: function(vnode) {
|
||||
var data = vnode.attrs.data
|
||||
return [
|
||||
m("div", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)",
|
||||
fontSize: "16px",
|
||||
fontWeight: "400",
|
||||
lineHeight: "24px",
|
||||
marginTop: ".5em"
|
||||
}
|
||||
}, data.text + " *"),
|
||||
m("i", {
|
||||
style: {
|
||||
color: "rgba(0, 0, 0, .4)"
|
||||
}
|
||||
}, "(" + data.description + ")" || null),
|
||||
m(RadioGroup, {
|
||||
id: "choices",
|
||||
className: "flex",
|
||||
style: {
|
||||
margin: ".5rem 0",
|
||||
flexFlow: "row wrap"
|
||||
},
|
||||
buttons: data.choices.map(function(c) {
|
||||
return {
|
||||
id: "choice-" + c.id,
|
||||
value: c.id,
|
||||
label: c.text,
|
||||
style: {
|
||||
marginTop: ".5em",
|
||||
marginBottom: ".5em",
|
||||
marginRight: "0",
|
||||
flexGrow: "1",
|
||||
flexBasis: "100%"
|
||||
}
|
||||
}
|
||||
}),
|
||||
onChange: function(state) {
|
||||
var chosen = _.find(data.choices, function(o) { return o.id == state.value })
|
||||
var target = document.getElementById("fillable-" + chosen.id)
|
||||
if (chosen.fillable) {
|
||||
target.querySelector("input").disabled = false
|
||||
target.querySelector("input").autofocus = true
|
||||
} else {
|
||||
data.choices.map(function(c) {
|
||||
var target = document.getElementById("fillable-" + c.id)
|
||||
if (!_.isNil(target)) {
|
||||
target.querySelector("input").disabled = true
|
||||
target.querySelector("input").value = ""
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
323
assets/js/components/questionnaire.js
vendored
Normal file
323
assets/js/components/questionnaire.js
vendored
Normal file
@ -0,0 +1,323 @@
|
||||
import m from "mithril"
|
||||
import _ from "lodash"
|
||||
import { Card, Button, RaisedButton, Shadow, Menu, List, ListTile } from "polythene-mithril"
|
||||
import { nav } from "./nav"
|
||||
import { editButton, seeButton } from "./buttons"
|
||||
import Questionnaire from "../models/Questionnaire"
|
||||
|
||||
const plusButton = {
|
||||
view: function() {
|
||||
return m(".flex#questionnaire-new", m(Button, {
|
||||
className: "flex",
|
||||
label: [
|
||||
m("i.fa.fa-plus.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Tambah"
|
||||
],
|
||||
style: {
|
||||
padding: ".8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
transition: ".2s all ease",
|
||||
maxWidth: "95%",
|
||||
margin: "0 auto"
|
||||
},
|
||||
events: {
|
||||
onmouseover: function() {
|
||||
this.childNodes[0].style.backgroundColor = "rgba(255, 255, 255, .8)"
|
||||
},
|
||||
onmouseout: function() {
|
||||
this.childNodes[0].style.backgroundColor = "#fff"
|
||||
},
|
||||
onclick: function() {
|
||||
}
|
||||
}
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
const filterMenu = {
|
||||
oninit: function(vnode) {
|
||||
var show = false
|
||||
var sections = Questionnaire.current.sections.map(function(o) {
|
||||
return {
|
||||
title: o.status.charAt(0).toUpperCase() + o.status.slice(1),
|
||||
value: o.status
|
||||
}
|
||||
})
|
||||
var menus = []
|
||||
menus.push({title: "All", value: "all"})
|
||||
menus = menus.concat(sections.filter(function(value, index, self) {
|
||||
return self.findIndex(function(v) {
|
||||
return v.title === value.title && v.value === value.value
|
||||
}) === index
|
||||
}))
|
||||
vnode.state = {
|
||||
show,
|
||||
menus
|
||||
}
|
||||
},
|
||||
view: function(vnode) {
|
||||
var state = vnode.state
|
||||
var show = state.show
|
||||
var menus = state.menus
|
||||
return [
|
||||
m(Shadow),
|
||||
m(Menu, {
|
||||
target: "#filter",
|
||||
origin: "top-left",
|
||||
show,
|
||||
didHide: function() {state.show = false},
|
||||
offset: 8,
|
||||
size: 3,
|
||||
hideDelay: .2,
|
||||
content: m(List, {
|
||||
tiles: menus.map(function(current) {
|
||||
return {
|
||||
title: current.title,
|
||||
ink: true,
|
||||
hoverable: true,
|
||||
value: current.value
|
||||
}
|
||||
}),
|
||||
keyboardControl: true,
|
||||
onSelect: function({attrs}) {
|
||||
if (attrs.value == "all") return Questionnaire.current.search = []
|
||||
return Questionnaire.current.search = _.filter(Questionnaire.current.sections, function(o) {
|
||||
return o.status == attrs.value
|
||||
})
|
||||
}
|
||||
})
|
||||
}),
|
||||
m(RaisedButton, {
|
||||
id: "filter",
|
||||
label: [
|
||||
m("i.fa.fa-filter.fa-fw[aria-hidden=true]"),
|
||||
m.trust(" "),
|
||||
"Saring"
|
||||
],
|
||||
style: {
|
||||
backgroundColor: "#fff",
|
||||
padding: ".8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
},
|
||||
events: {
|
||||
onclick: function() { state.show = true }
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
const qCard = {
|
||||
view: function() {
|
||||
var sections =
|
||||
_.isNil(Questionnaire.current.search)
|
||||
|| _.isNull(Questionnaire.current.search)
|
||||
|| _.isEmpty(Questionnaire.current.search) ?
|
||||
Questionnaire.current.sections
|
||||
: Questionnaire.current.search
|
||||
return m(Card, {
|
||||
style: {
|
||||
flexGrow: "1",
|
||||
marginBottom: "14vh",
|
||||
// marginTop: "11vh"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: [
|
||||
m(editButton, { redirectURL: "/user/questionnaires/" + Questionnaire.current.id + "/edit"}),
|
||||
m("#title", Questionnaire.current.title)
|
||||
],
|
||||
subtitle: Questionnaire.current.description
|
||||
}
|
||||
},
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m("div", {
|
||||
style: {
|
||||
marginBottom: "1em"
|
||||
}
|
||||
}, [
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Dibuat: " + Questionnaire.current.createdAt),
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Pembuat: " + Questionnaire.current.creator.name),
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Dirilis: " + Questionnaire.current.releasedAt),
|
||||
// m("div.info", {
|
||||
// style: {
|
||||
// color: "#999"
|
||||
// }
|
||||
// }, "Diperiksa: " + Questionnaire.current.reviewedAt),
|
||||
// m("div.info", {
|
||||
// style: {
|
||||
// color: "#999"
|
||||
// }
|
||||
// }, "Pemeriksa: " + Questionnaire.current.reviewer.name),
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Diubah: " + Questionnaire.current.updatedAt)
|
||||
]),
|
||||
m("p", {
|
||||
style: {
|
||||
fontSize: "large"
|
||||
}
|
||||
}, "Seksi"),
|
||||
// m(filterMenu),
|
||||
m("div", {
|
||||
style: {margin: "0 1em"}
|
||||
}, m("i.fa.fa-filter.fa-fw[aria-hidden=true]"), " Saring: ", [
|
||||
{title: "Semua", icon: "circle-o", value: "all"},
|
||||
{title: "Dirilis", icon:"upload", value: "released"},
|
||||
{title: "Draft", icon:"file-text-o", value: "draft"},
|
||||
{title: "Ditutup", icon:"times", value: "closed"}
|
||||
].map(function(o) {
|
||||
return m("a", {
|
||||
style: {
|
||||
color: "rgb(0, 0, 255)",
|
||||
cursor: "pointer",
|
||||
margin: "0 1em"
|
||||
},
|
||||
onclick: function() {
|
||||
Questionnaire.current.search =
|
||||
_.filter(
|
||||
Questionnaire.current.sections,
|
||||
function(i) {return i.status == o.value}
|
||||
)
|
||||
console.log(Questionnaire.current.search);
|
||||
}
|
||||
}, m("i.fa.fa-fw.fa-" + o.icon + "[aria-hidden=true]"), m.trust(" "), o.title)
|
||||
})),
|
||||
m(".flex", {
|
||||
style: {
|
||||
flexFlow: "row wrap"
|
||||
}
|
||||
}, sections.map(function(s) {
|
||||
return m(Card, {
|
||||
style: {
|
||||
flexGrow: "1",
|
||||
flexBasis: "100%"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: m("a", {
|
||||
style: {
|
||||
cursor: "pointer"
|
||||
},
|
||||
onclick: function() {
|
||||
m.route.set("/user/sections/" + s.id)
|
||||
}
|
||||
}, s.title + "[" + s.status + "]"),
|
||||
subtitle: s.description
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
})),
|
||||
m(plusButton)
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
const pagination = {
|
||||
oncreate: function() {
|
||||
for (var i = 0; i < document.getElementsByClassName("flex-single").length; i++) {
|
||||
document.getElementsByClassName("flex-single")[i].style.flexGrow = 1
|
||||
}
|
||||
},
|
||||
view: function() {
|
||||
return m(".flex", {
|
||||
style: {
|
||||
backgroundColor: "#fff",
|
||||
position: "fixed",
|
||||
bottom: "0",
|
||||
width: "100%",
|
||||
padding: "1em"
|
||||
}
|
||||
}, [
|
||||
m(".flex-single"),
|
||||
m(RaisedButton, {
|
||||
className: "flex-single",
|
||||
label: m("i.fa.fa-arrow-left.fa-fw", {
|
||||
style: {
|
||||
margin: "1em 0",
|
||||
}
|
||||
}),
|
||||
events: {
|
||||
onclick: function() {
|
||||
// var prev = _.find(qModel.list, function(o) { return o.id == parseInt(qModel.current.id) - 1 })
|
||||
var prev = _.find(qJSON.data, function(o) { return o.id == parseInt(Questionnaire.current.id) - 1 })
|
||||
if (prev != undefined) {
|
||||
/* Request pake url yang tersedia */
|
||||
// qModel.fetch(prev.url)
|
||||
m.route.set("/questionnaires/" + prev.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(".flex-single"),
|
||||
m(RaisedButton, {
|
||||
className: "flex-single",
|
||||
label: m("i.fa.fa-arrow-right.fa-fw", {
|
||||
style: {
|
||||
margin: "1em 0",
|
||||
}
|
||||
}),
|
||||
events: {
|
||||
onclick: function() {
|
||||
// var next = _.find(qModel.list, function(o) { return o.id == parseInt(qModel.current.id) + 1 })
|
||||
var next = _.find(qJSON.data, function(o) { return o.id == parseInt(Questionnaire.current.id) + 1 })
|
||||
if (next != undefined) {
|
||||
/* Request pake url yang tersedia */
|
||||
// qModel.fetch(next.url)
|
||||
m.route.set("/questionnaires/" + next.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(".flex-single")
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
export const questionnaire = {
|
||||
oninit: function() {
|
||||
Questionnaire.fetchCurrent()
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(nav, {
|
||||
title: "Kuesioner #" + Questionnaire.current.id,
|
||||
back: "/user/questionnaires"
|
||||
}),
|
||||
m(".flex", m(qCard)),
|
||||
m(pagination)
|
||||
]
|
||||
}
|
||||
}
|
235
assets/js/components/questionnaireList.js
vendored
Normal file
235
assets/js/components/questionnaireList.js
vendored
Normal file
@ -0,0 +1,235 @@
|
||||
import m from "mithril"
|
||||
import { Card, Button, RaisedButton, Toolbar, ToolbarTitle, Search, Shadow, Menu, List, ListTile } from "polythene-mithril"
|
||||
import { ButtonCSS, addTypography } from "polythene-css"
|
||||
import { nav } from "./nav"
|
||||
import Questionnaire from "../models/Questionnaire"
|
||||
|
||||
ButtonCSS.addStyle(".bordered-button", {
|
||||
color_light_text: "#03a9f4",
|
||||
color_light_border: "#03a9f4",
|
||||
color_dark_text: "#03a9f4",
|
||||
color_dark_border: "#03a9f4"
|
||||
})
|
||||
|
||||
addTypography()
|
||||
|
||||
const head = {
|
||||
view: function() {
|
||||
return [
|
||||
m(".header-nav.left", {
|
||||
style: {
|
||||
color: "#fff"
|
||||
}
|
||||
}, m("p", {
|
||||
style: {
|
||||
fontSize: "larger"
|
||||
}
|
||||
}, "Questionnaire")),
|
||||
m(".header-nav", {
|
||||
style: {
|
||||
color: "#fff",
|
||||
cursor: "pointer"
|
||||
},
|
||||
onclick: function() {
|
||||
m.route.set("")
|
||||
}
|
||||
}, m("i.fa.fa-home.fa-lg")),
|
||||
m(".header-img", {
|
||||
style: {
|
||||
backgroundImage: "url('img/head1.jpg')",
|
||||
position: "fixed",
|
||||
color: "#FFFFFF",
|
||||
textAlign: "center",
|
||||
width: "100%"
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
const plusButton = {
|
||||
view: function() {
|
||||
return m(".flex#questionnaire-new", m(Button, {
|
||||
className: "flex",
|
||||
label: [
|
||||
m("i.fa.fa-plus.fa-fw"),
|
||||
m.trust(" "),
|
||||
"Tambah"
|
||||
],
|
||||
style: {
|
||||
padding: ".8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
transition: ".2s all ease",
|
||||
maxWidth: "95%",
|
||||
margin: "0 auto"
|
||||
},
|
||||
events: {
|
||||
onmouseover: function() {
|
||||
this.childNodes[0].style.backgroundColor = "rgba(255, 255, 255, .8)"
|
||||
},
|
||||
onmouseout: function() {
|
||||
this.childNodes[0].style.backgroundColor = "#fff"
|
||||
},
|
||||
onclick: function() {
|
||||
}
|
||||
}
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
const filterMenu = {
|
||||
oninit: function(vnode) {
|
||||
var show = false
|
||||
vnode.state = {
|
||||
show
|
||||
}
|
||||
},
|
||||
view: function(vnode) {
|
||||
var state = vnode.state
|
||||
var show = state.show
|
||||
return [
|
||||
m(Shadow),
|
||||
m(Menu, {
|
||||
target: "#filter",
|
||||
origin: "top-left",
|
||||
show,
|
||||
didHide: function() { state.show = false },
|
||||
offset: 8,
|
||||
size: 3,
|
||||
hideDelay: .240,
|
||||
content: m(List, {
|
||||
tiles: Questionnaire.questionnaire.map(function(value) {
|
||||
return {
|
||||
title: value.status.charAt(0).toUpperCase() + value.status.slice(1),
|
||||
value: value.status
|
||||
}
|
||||
}).map(function(current) {
|
||||
return {
|
||||
title: current.title,
|
||||
ink: true,
|
||||
hoverable: true,
|
||||
value: current.value
|
||||
}
|
||||
}),
|
||||
keyboardControl: true,
|
||||
onSelect: function({attrs}) {
|
||||
return Questionnaire.search = _.filter(Questionnaire.data, function(o) {
|
||||
return o.status == attrs.value
|
||||
})
|
||||
}
|
||||
})
|
||||
}),
|
||||
m(RaisedButton, {
|
||||
id: "filter",
|
||||
label: [
|
||||
m("i.fa.fa-filter.fa-fw[aria-hidden=true]"),
|
||||
m.trust(" "),
|
||||
"Saring"
|
||||
],
|
||||
style: {
|
||||
backgroundColor: "#fff",
|
||||
padding: ".8em",
|
||||
fontSize: "14px",
|
||||
lineHeight: "14px",
|
||||
fontWeight: "500",
|
||||
textTransform: "uppercase",
|
||||
whiteSpace: "pre",
|
||||
},
|
||||
events: {
|
||||
onclick: function() { state.show = true }
|
||||
}
|
||||
})
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
export const questionnaireList = {
|
||||
oninit: function() {
|
||||
Questionnaire.fetchList()
|
||||
},
|
||||
view: function() {
|
||||
var questionnaire =
|
||||
_.isNil(Questionnaire.search)
|
||||
|| _.isNull(Questionnaire.search)
|
||||
|| _.isEmpty(Questionnaire.search) ?
|
||||
Questionnaire.list : Questionnaire.search
|
||||
return [
|
||||
m(nav, { title: "Questionnaires", back: false }),
|
||||
m(Search, {
|
||||
id: "search-questionnaire",
|
||||
textfield: {
|
||||
label: "Search",
|
||||
autofocus: true,
|
||||
onChange: function({value}) {
|
||||
var regex = new RegExp(value, "gi")
|
||||
Questionnaire.search = _.filter(Questionnaire.list, function(o) {
|
||||
return o.title.match(regex)
|
||||
})
|
||||
}
|
||||
},
|
||||
before: m(Shadow)
|
||||
}),
|
||||
// m(filterMenu),
|
||||
m("div", {
|
||||
style: {margin: "1em 1em 0"}
|
||||
}, m("i.fa.fa-filter.fa-fw[aria-hidden=true]"), " Saring: ", [
|
||||
{title: "Semua", icon: "circle-o", value: "all"},
|
||||
{title: "Dirilis", icon:"upload", value: "released"},
|
||||
{title: "Draft", icon:"file-text-o", value: "draft"},
|
||||
{title: "Ditutup", icon:"times", value: "closed"}
|
||||
].map(function(o) {
|
||||
return m("a", {
|
||||
style: {
|
||||
color: "rgb(0, 0, 255)",
|
||||
cursor: "pointer",
|
||||
margin: "0 1em"
|
||||
},
|
||||
onclick: function() {
|
||||
Questionnaire.search =
|
||||
_.filter(
|
||||
Questionnaire.list,
|
||||
function(i) {return i.status == o.value}
|
||||
)
|
||||
console.log(Questionnaire.search);
|
||||
}
|
||||
}, m("i.fa.fa-fw.fa-" + o.icon + "[aria-hidden=true]"), m.trust(" "), o.title)
|
||||
})),
|
||||
m("div.flex", {
|
||||
style: {
|
||||
flexFlow: "row wrap",
|
||||
justifyContent: "flex-start",
|
||||
}
|
||||
}, questionnaire.map(function(qs) {
|
||||
return m(Card, {
|
||||
className: "box",
|
||||
style: {
|
||||
flexGrow: "1"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: m("a", {
|
||||
style: {
|
||||
cursor: "pointer"
|
||||
},
|
||||
onclick: function() {
|
||||
/* Request ke questionnaire model masuk ke current */
|
||||
// qModel.fetch(qs.url)
|
||||
/* Route */
|
||||
m.route.set("/user/questionnaires/" + qs.id)
|
||||
}
|
||||
}, qs.title),
|
||||
subtitle: qs.description.length > 56 ? qs.description.substr(0, 50) + " ..." : qs.desc
|
||||
}
|
||||
}
|
||||
]
|
||||
})
|
||||
})),
|
||||
m(plusButton)
|
||||
]
|
||||
}
|
||||
}
|
174
assets/js/components/section.js
vendored
Normal file
174
assets/js/components/section.js
vendored
Normal file
@ -0,0 +1,174 @@
|
||||
import m from "mithril"
|
||||
import { RaisedButton, Card, Button } from "polythene-mithril"
|
||||
import { nav } from "./nav"
|
||||
import { editButton, seeButton } from "./buttons"
|
||||
import Section from "../models/Section"
|
||||
let sId = require("../../json/section/id/example")
|
||||
let sList = require("../../json/questionnaire/id/sections/example")
|
||||
|
||||
var pagination = {
|
||||
oncreate: function() {
|
||||
for (var i = 0; i < document.getElementsByClassName("flex-single").length; i++) {
|
||||
document.getElementsByClassName("flex-single")[i].style.flexGrow = 1
|
||||
}
|
||||
},
|
||||
view: function() {
|
||||
return m(".flex", {
|
||||
style: {
|
||||
backgroundColor: "#fff",
|
||||
position: "fixed",
|
||||
bottom: "0",
|
||||
width: "100%",
|
||||
padding: "1em"
|
||||
}
|
||||
}, [
|
||||
m(".flex-single"),
|
||||
m(RaisedButton, {
|
||||
className: "flex-single",
|
||||
label: m("i.fa.fa-arrow-left.fa-fw", {
|
||||
style: {
|
||||
margin: "1em 0",
|
||||
}
|
||||
}),
|
||||
events: {
|
||||
onclick: function() {
|
||||
// var prev = _.find(sModel.list, function(o) { return o.id == parseInt(sModel.current.id) - 1 })
|
||||
var prev = _.find(Section.list, function(o) { return o.id == parseInt(Section.current.id) - 1 })
|
||||
if (prev != undefined) {
|
||||
/* Request pake url yang tersedia */
|
||||
// qModel.fetch(prev.url)
|
||||
m.route.set("/sections/" + prev.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(".flex-single"),
|
||||
m(RaisedButton, {
|
||||
className: "flex-single",
|
||||
label: m("i.fa.fa-arrow-right.fa-fw", {
|
||||
style: {
|
||||
margin: "1em 0",
|
||||
}
|
||||
}),
|
||||
events: {
|
||||
onclick: function() {
|
||||
// var next = _.find(sModel.list, function(o) { return o.id == parseInt(sModel.current.id) + 1 })
|
||||
var next = _.find(Section.list, function(o) { return o.id == parseInt(Section.current.id) + 1 })
|
||||
if (next != undefined) {
|
||||
/* Request pake url yang tersedia */
|
||||
// sModel.fetch(next.url)
|
||||
m.route.set("/sections/" + next.id)
|
||||
}
|
||||
}
|
||||
}
|
||||
}),
|
||||
m(".flex-single")
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
var sCard = {
|
||||
view: function() {
|
||||
return m(".flex", m(Card, {
|
||||
style: {
|
||||
flexGrow: "1",
|
||||
marginBottom: "14vh",
|
||||
// marginTop: "11vh"
|
||||
},
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: [
|
||||
m(editButton, { redirectURL: "/user/sections/" + Section.current.id + "/edit" }),
|
||||
m("#title", Section.current.title)
|
||||
],
|
||||
subtitle: Section.current.description
|
||||
}
|
||||
},
|
||||
{
|
||||
text: {
|
||||
content: [
|
||||
m("div", {
|
||||
style: {
|
||||
marginBottom: "1em"
|
||||
}
|
||||
}, [
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Dibuat: " + Section.current.createdAt),
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Pembuat: " + Section.current.creator.name),
|
||||
m("div.info", {
|
||||
style: {
|
||||
color: "#999"
|
||||
}
|
||||
}, "Diubah: " + Section.current.updatedAt)
|
||||
]),
|
||||
m("p", {
|
||||
style: {
|
||||
fontSize: "large"
|
||||
}
|
||||
}, "Pertanyaan"),
|
||||
m(".flex", {
|
||||
style: {
|
||||
flexFlow: "row wrap"
|
||||
}
|
||||
}, _.sortBy(Section.current.questions, [function(o) {
|
||||
return o.number
|
||||
}]).map(function(sq) {
|
||||
return m("#drag-wrapper-" + sq.id, {
|
||||
style: {
|
||||
flexGrow: "1",
|
||||
flexBasis: "100%",
|
||||
minHeight: "94px",
|
||||
margin: ".5em 0"
|
||||
}
|
||||
}, m(Card, {
|
||||
style: {width: "100%", margin: "0", padding: "0"},
|
||||
id: sq.id,
|
||||
className: "draggable",
|
||||
content: [
|
||||
{
|
||||
primary: {
|
||||
title: m("a", {
|
||||
style: {
|
||||
cursor: "pointer"
|
||||
},
|
||||
onclick: function() {
|
||||
m.route.set("/user/questions/" + sq.id)
|
||||
}
|
||||
}, sq.text),
|
||||
subtitle: sq.description
|
||||
}
|
||||
}
|
||||
]
|
||||
}))
|
||||
}))
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}))
|
||||
}
|
||||
}
|
||||
|
||||
export const section = {
|
||||
oninit: function() {
|
||||
if (_.isNil(Section.current) || _.isEmpty(Section.current)) Section.fetchCurrent()
|
||||
},
|
||||
view: function() {
|
||||
return [
|
||||
m(nav, {
|
||||
title: "Seksi #" + Section.current.id,
|
||||
back: "/user/questionnaires/" + Section.current.questionnaire.id
|
||||
}),
|
||||
m(sCard),
|
||||
m(pagination)
|
||||
]
|
||||
}
|
||||
}
|
393
assets/js/custom/mithril-datepicker.js
vendored
Normal file
393
assets/js/custom/mithril-datepicker.js
vendored
Normal file
@ -0,0 +1,393 @@
|
||||
;(function () {
|
||||
var m = (typeof global !== 'undefined')
|
||||
? (global.m || require('mithril'))
|
||||
: window.m
|
||||
|
||||
if (!m) throw ("mithril-datepicker can't find Mithril.js")
|
||||
|
||||
var days = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']
|
||||
var months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
|
||||
// var prevNextTitles = ['1 Mo', '1 Yr', '10 Yr']
|
||||
var prevNextTitles = ['', '', '']
|
||||
var weekStart = 0
|
||||
var locale = 'en-us'
|
||||
var formatOptions = null
|
||||
|
||||
/***************************************
|
||||
*
|
||||
* actions
|
||||
*
|
||||
***************************************/
|
||||
|
||||
function chooseDate(props, e) {
|
||||
var box = e.target
|
||||
var selectedDate = parseInt(box.textContent)
|
||||
var dateObj = props.date
|
||||
if (box.classList.contains('other-scope')) {
|
||||
dateObj.setFullYear(dateObj.getFullYear(), dateObj.getMonth() + (selectedDate > 6 ? -1 : 1), selectedDate)
|
||||
} else {
|
||||
dateObj.setDate(selectedDate)
|
||||
}
|
||||
}
|
||||
|
||||
function dismissAndCommit(props, onchange) {
|
||||
props.view = 0
|
||||
props.active = false
|
||||
if (onchange) onchange(props.date)
|
||||
}
|
||||
|
||||
function prevNext(props, delta){
|
||||
var newDate = new Date(props.date)
|
||||
switch (props.view) {
|
||||
case 0:
|
||||
newDate.setMonth(newDate.getMonth() + delta)
|
||||
break
|
||||
case 1:
|
||||
newDate.setFullYear(newDate.getFullYear() + delta)
|
||||
break
|
||||
default:
|
||||
newDate.setFullYear(newDate.getFullYear() + (delta * 10))
|
||||
}
|
||||
props.date = pushToLastDay(props.date, newDate)
|
||||
}
|
||||
|
||||
/***************************************
|
||||
*
|
||||
* utility
|
||||
*
|
||||
***************************************/
|
||||
|
||||
function adjustedProps(date, delta) {
|
||||
var month = date.getMonth() + delta, year = date.getFullYear()
|
||||
var over = month > 11, under = month < 0
|
||||
return {
|
||||
month: over ? 0 : under ? 11 : month,
|
||||
year: over ? year + 1 : under ? year - 1 : year
|
||||
}
|
||||
}
|
||||
|
||||
function lastDateInMonth(date, delta) {
|
||||
var obj = adjustedProps(date, delta)
|
||||
if ([0, 2, 4, 6, 7, 9, 11].indexOf(obj.month) > -1) return 31 // array of 31-day props.months
|
||||
if (obj.month === 1) { // February
|
||||
if (!(obj.year % 400)) return 29
|
||||
if (!(obj.year % 100)) return 28
|
||||
return (obj.year % 4) ? 28 : 29
|
||||
}
|
||||
return 30
|
||||
}
|
||||
|
||||
function pushToLastDay(oldDate, newDate) {
|
||||
if (oldDate.getDate() !== newDate.getDate()) {
|
||||
newDate.setMonth(newDate.getMonth() - 1, lastDateInMonth(newDate, -1))
|
||||
}
|
||||
return newDate
|
||||
}
|
||||
|
||||
function stringsForLocale(locale) {
|
||||
var date = new Date('jan 1 2017'), _months = [], _days = [] // 1/1/2017 was month:0 and weekday:0, so perfect
|
||||
while (_days.length < 7) {
|
||||
_days.push(date.toLocaleDateString(locale, { weekday: 'long' }))
|
||||
date.setDate(date.getDate() + 1)
|
||||
}
|
||||
while (_months.length < 12) {
|
||||
_months.push(date.toLocaleDateString(locale, { month: 'long' }))
|
||||
date.setMonth(date.getMonth() + 1)
|
||||
}
|
||||
return { days: _days, months: _months }
|
||||
}
|
||||
|
||||
function wrapAround(idx, array) {
|
||||
var len = array.length
|
||||
var n = idx >= len ? idx - len : idx
|
||||
return array[n]
|
||||
}
|
||||
|
||||
/***************************************
|
||||
*
|
||||
* generators
|
||||
*
|
||||
***************************************/
|
||||
|
||||
function daysFromLastMonth(props){
|
||||
var month = props.date.getMonth(), year = props.date.getFullYear()
|
||||
var firstDay = (new Date(year, month, 1)).getDay() - props.weekStart
|
||||
if (firstDay < 0) firstDay += 7
|
||||
var array = []
|
||||
var lastDate = lastDateInMonth(props.date, -1)
|
||||
var offsetStart = lastDate - firstDay + 1
|
||||
for (var i=offsetStart; i<=lastDate; i++) { array.push(i) }
|
||||
return array
|
||||
}
|
||||
|
||||
function daysFromThisMonth(props) {
|
||||
var max = lastDateInMonth(props.date, 0)
|
||||
var array = []
|
||||
for (var i=1; i<=max; i++) {
|
||||
array.push(i)
|
||||
}
|
||||
return array
|
||||
}
|
||||
|
||||
function daysFromNextMonth(prev, these) {
|
||||
var soFar = prev.concat(these)
|
||||
var mod = soFar.length % 7
|
||||
var array = []
|
||||
if (mod > 0) {
|
||||
var n = 7 - mod
|
||||
for (var i=1; i<=n; i++) { array.push(i) }
|
||||
}
|
||||
return array
|
||||
}
|
||||
|
||||
function defaultDate() {
|
||||
var now = new Date()
|
||||
now.setHours(0, 0, 0, 0)
|
||||
return now
|
||||
}
|
||||
|
||||
function yearsForDecade(date) {
|
||||
var year = date.getFullYear()
|
||||
var array = []
|
||||
var start = year - (year % 10)
|
||||
for (var i=start; i<=start+10; i++) { array.push(i) }
|
||||
return array
|
||||
}
|
||||
|
||||
/***************************************
|
||||
*
|
||||
* view helpers
|
||||
*
|
||||
***************************************/
|
||||
|
||||
function classForBox(a, b) { return a === b ? 'chosen' : '' }
|
||||
|
||||
function displayDate(props) {
|
||||
return props.date
|
||||
.toLocaleDateString(props.locale, props.formatOptions || {
|
||||
weekday: 'short',
|
||||
month: 'short',
|
||||
day: 'numeric',
|
||||
year: 'numeric'
|
||||
})
|
||||
}
|
||||
|
||||
/***************************************
|
||||
*
|
||||
* components
|
||||
*
|
||||
***************************************/
|
||||
|
||||
var Header = {
|
||||
view: function (vnode) {
|
||||
var props = vnode.attrs.props
|
||||
var date = props.date
|
||||
var theseMonths = props.months || months
|
||||
return m('.header'
|
||||
// , m('.button-bg', { class: 'v' + props.view })
|
||||
// , m('.fake-border')
|
||||
, m('.button.prev'
|
||||
, { onclick: prevNext.bind(null, props, -1) }
|
||||
, prevNextTitles[props.view]
|
||||
)
|
||||
, m('.button.segment', { onclick: function () { props.view = 0 } }, m(".number", date.getDate()))
|
||||
, m('.button.segment', { onclick: function () { props.view = 1 } }, m(".number", theseMonths[date.getMonth()].substr(0, 3)))
|
||||
, m('.button.segment', { onclick: function () { props.view = 2 } }, m(".number", date.getFullYear()))
|
||||
, m('.button.next'
|
||||
, { onclick: prevNext.bind(null, props, 1) }
|
||||
, prevNextTitles[props.view]
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
var MonthView = {
|
||||
view: function (vnode) {
|
||||
var props = vnode.attrs.props
|
||||
var prevDates = daysFromLastMonth(props)
|
||||
var theseDates = daysFromThisMonth(props)
|
||||
var nextDates = daysFromNextMonth(prevDates, theseDates)
|
||||
var theseWeekdays = props.days || days
|
||||
return m('.calendar'
|
||||
, m('.weekdays'
|
||||
, theseWeekdays.map(function (_, idx) {
|
||||
var day = wrapAround(idx + props.weekStart, theseWeekdays)
|
||||
return m('.day.dummy', day.substring(0, 2))
|
||||
})
|
||||
)
|
||||
, m('.weekdays'
|
||||
, {
|
||||
onclick: function(e){
|
||||
chooseDate(props, e)
|
||||
dismissAndCommit(props, vnode.attrs.onchange)
|
||||
}
|
||||
}
|
||||
, prevDates.map(function (date) {
|
||||
return m('.button.day.other-scope', m(".number", date))
|
||||
})
|
||||
, theseDates.map(function (date) {
|
||||
return m('.button.day'
|
||||
, { class: classForBox(props.date.getDate(), date) }
|
||||
, m('.number', date)
|
||||
)
|
||||
})
|
||||
, nextDates.map(function (date) {
|
||||
return m('.button.day.other-scope', date)
|
||||
})
|
||||
)
|
||||
)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
var YearView = {
|
||||
view: function (vnode) {
|
||||
var props = vnode.attrs.props
|
||||
var theseMonths = props.months || months
|
||||
return m('.calendar'
|
||||
, m('.months'
|
||||
, theseMonths.map(function (month, idx) {
|
||||
return m('.button.month'
|
||||
, {
|
||||
class: classForBox(props.date.getMonth(), idx),
|
||||
onclick: function () {
|
||||
var newDate = new Date(props.date)
|
||||
newDate.setMonth(idx)
|
||||
props.date = pushToLastDay(props.date, newDate)
|
||||
props.view = 0
|
||||
}
|
||||
}
|
||||
, m('.number', month.substring(0, 3))
|
||||
)
|
||||
})
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
var DecadeView = {
|
||||
view: function (vnode) {
|
||||
var props = vnode.attrs.props
|
||||
var decade = yearsForDecade(props.date)
|
||||
return m('.calendar'
|
||||
, m('.years'
|
||||
, {
|
||||
style: {
|
||||
display: "flex",
|
||||
flexWrap: "wrap"
|
||||
}
|
||||
}
|
||||
, decade.map(function (year) {
|
||||
return m('.button.year'
|
||||
, {
|
||||
class: classForBox(props.date.getFullYear(), year),
|
||||
onclick: function () {
|
||||
var newDate = new Date(props.date)
|
||||
newDate.setFullYear(year)
|
||||
props.date = pushToLastDay(props.date, newDate)
|
||||
props.view = 1
|
||||
}
|
||||
}
|
||||
, m('.number', year)
|
||||
)
|
||||
})
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
var Editor = {
|
||||
oncreate: function (vnode) {
|
||||
requestAnimationFrame(function () { vnode.dom.classList.add('active') })
|
||||
},
|
||||
onbeforeremove: function (vnode) {
|
||||
vnode.dom.classList.remove('active')
|
||||
return new Promise(function (done) { setTimeout(done, 200) })
|
||||
},
|
||||
view: function (vnode) {
|
||||
var props = vnode.attrs.props
|
||||
return m('.editor'
|
||||
, {
|
||||
style: {
|
||||
display: "table-cell",
|
||||
verticalAlign: "middle"
|
||||
}
|
||||
}
|
||||
, m(Header, { props: props })
|
||||
, m('.sled'
|
||||
, { class: 'p' + props.view }
|
||||
, m(MonthView, { props: props, onchange: vnode.attrs.onchange })
|
||||
, m(YearView, { props: props })
|
||||
, m(DecadeView, {props: props })
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
var DatePicker = {
|
||||
localize: function (loc) {
|
||||
if (loc) {
|
||||
prevNextTitles = loc.prevNextTitles || prevNextTitles
|
||||
locale = loc.locale || locale
|
||||
formatOptions = loc.formatOptions || formatOptions
|
||||
weekStart = typeof loc.weekStart === 'number'
|
||||
? loc.weekStart
|
||||
: weekStart
|
||||
|
||||
var strings = stringsForLocale(locale)
|
||||
days = strings.days
|
||||
months = strings.months
|
||||
}
|
||||
},
|
||||
oninit: function (vnode) {
|
||||
var attrs = vnode.attrs
|
||||
var props = {
|
||||
date: new Date(attrs.date || defaultDate()),
|
||||
active: false,
|
||||
view: 0
|
||||
}
|
||||
|
||||
;['prevNextTitles', 'locale', 'formatOptions'].forEach(function (prop) {
|
||||
props[prop] = attrs[prop] || eval(prop)
|
||||
})
|
||||
props.weekStart = typeof attrs.weekStart === 'number' ? attrs.weekStart : weekStart
|
||||
|
||||
if (attrs.locale && attrs.locale !== locale) {
|
||||
var strings = stringsForLocale(props.locale)
|
||||
props.days = strings.days
|
||||
props.months = strings.months
|
||||
}
|
||||
|
||||
vnode.state.props = props
|
||||
},
|
||||
view: function(vnode){
|
||||
var props = vnode.state.props
|
||||
var displayText = displayDate(props)
|
||||
return m('.mithril-date-picker-container'
|
||||
, { class: props.active ? 'active' : '' }
|
||||
, m('.mithril-date-picker'
|
||||
, {
|
||||
style: {
|
||||
display: "table"
|
||||
}
|
||||
}
|
||||
, m('.button.current-date'
|
||||
, {
|
||||
onclick: function(){
|
||||
if (props.active) props.view = 0
|
||||
props.active = !props.active
|
||||
}
|
||||
}
|
||||
, displayText
|
||||
)
|
||||
, props.active && m('.overlay', { onclick: dismissAndCommit.bind(null, props, vnode.attrs.onchange) })
|
||||
, props.active && m(Editor, { props: props, onchange: vnode.attrs.onchange })
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof module === 'object') module.exports = DatePicker
|
||||
else if (typeof window !== 'undefined') window.DatePicker = DatePicker
|
||||
else global.DatePicker = DatePicker
|
||||
})()
|
39
assets/js/index.js
vendored
Normal file
39
assets/js/index.js
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
import m from "mithril"
|
||||
import { nav } from "./components/nav"
|
||||
import { header } from "./components/header"
|
||||
import { register, login, loginUser } from "./components/auth"
|
||||
import { questionnaireList } from "./components/questionnaireList"
|
||||
import { questionnaireList as clientQuestionnaireList } from "./components/client/questionnaireList"
|
||||
import { questionnaire } from "./components/questionnaire"
|
||||
import { questionnaire as clientQuestionnaire } from "./components/client/questionnaire"
|
||||
import { editQuestionnaire } from "./components/editQuestionnaire"
|
||||
import { section } from "./components/section"
|
||||
import { editSection } from "./components/editSection"
|
||||
import { question } from "./components/question"
|
||||
import clientQuestion from "./components/client/question"
|
||||
import { editQuestion } from "./components/editQuestion"
|
||||
import signup from "./components/hello"
|
||||
import {userList, userAll} from "./components/beta/userList"
|
||||
|
||||
m.route.prefix("#")
|
||||
m.route(document.body, "/", {
|
||||
"/": header,
|
||||
"/auth": "/auth/register",
|
||||
"/auth/register": register,
|
||||
"/auth/login": login,
|
||||
"/login": loginUser,
|
||||
"/questionnaires": clientQuestionnaireList,
|
||||
"/questionnaires/:id": clientQuestionnaire,
|
||||
"/sections/:id": clientQuestion,
|
||||
"/questions/:id": clientQuestion,
|
||||
"/questions/:id/edit": editQuestion,
|
||||
"/user/questionnaires": questionnaireList,
|
||||
"/user/questionnaires/:id": questionnaire,
|
||||
"/user/questionnaires/:id/edit": editQuestionnaire,
|
||||
"/user/sections/:id": section,
|
||||
"/user/sections/:id/edit": editSection,
|
||||
"/user/questions/:id": question,
|
||||
"/user/questions/:id/edit": editQuestion,
|
||||
"/beta/departments/:id": userList,
|
||||
"/beta/users": userAll
|
||||
})
|
48
assets/js/models.bak/Answer.js
vendored
Normal file
48
assets/js/models.bak/Answer.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
import m from "mithril"
|
||||
|
||||
export const Answer = {
|
||||
list: [],
|
||||
current: {},
|
||||
message: "",
|
||||
error: "",
|
||||
fetchList: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/answers"
|
||||
})
|
||||
.then(function(res) {
|
||||
Answer.list = res.data
|
||||
})
|
||||
},
|
||||
fetchCurrent: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/answers/:id",
|
||||
data: Answer.current
|
||||
})
|
||||
.then(function(res) {
|
||||
Answer.current = res.data
|
||||
})
|
||||
},
|
||||
upload: function() {
|
||||
m.request({
|
||||
method: "POST",
|
||||
url: "/questions/:qId/anwers",
|
||||
data: _.assign(Answer.current, {qId: Answer.current.question.id})
|
||||
})
|
||||
},
|
||||
update: function() {
|
||||
m.request({
|
||||
method: "PUT",
|
||||
url: "/answers/:id",
|
||||
data: Answer.current
|
||||
})
|
||||
},
|
||||
remove: function() {
|
||||
m.request({
|
||||
method: "DELETE",
|
||||
url: "/answers/:id",
|
||||
data: Answer.current
|
||||
})
|
||||
}
|
||||
}
|
48
assets/js/models.bak/Choice.js
vendored
Normal file
48
assets/js/models.bak/Choice.js
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
import m from "mithril"
|
||||
|
||||
export const Choice = {
|
||||
list: [],
|
||||
current: {},
|
||||
message: "",
|
||||
error: "",
|
||||
fetchList: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/choices"
|
||||
})
|
||||
.then(function(res) {
|
||||
Choice.list = res.data
|
||||
})
|
||||
},
|
||||
fetchCurrent: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/choices/:id",
|
||||
data: Choice.current
|
||||
})
|
||||
.then(function(res) {
|
||||
Choice.current = res.data
|
||||
})
|
||||
},
|
||||
upload: function() {
|
||||
m.request({
|
||||
method: "POST",
|
||||
url: "/question/:qId/choices/",
|
||||
data: _.assign(Choice.current, {qId: Choice.current.question.id})
|
||||
})
|
||||
},
|
||||
update: function() {
|
||||
m.request({
|
||||
method: "PUT",
|
||||
url: "/choices/:id",
|
||||
data: Choice.current
|
||||
})
|
||||
},
|
||||
remove: function() {
|
||||
m.request({
|
||||
method: "DELETE",
|
||||
url: "/choices/:id",
|
||||
data: Choice.current
|
||||
})
|
||||
}
|
||||
}
|
76
assets/js/models.bak/Question.js
vendored
Normal file
76
assets/js/models.bak/Question.js
vendored
Normal file
@ -0,0 +1,76 @@
|
||||
import m from "mithril"
|
||||
|
||||
export const Question = {
|
||||
list: [],
|
||||
current: {},
|
||||
choices: [],
|
||||
answers: [],
|
||||
message: "",
|
||||
error: "",
|
||||
fetchList: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/questions"
|
||||
})
|
||||
.then(function(res) {
|
||||
Question.list = res.data
|
||||
})
|
||||
},
|
||||
fetchCurrent: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/questions/:id",
|
||||
data: Question.current
|
||||
})
|
||||
.then(function(res) {
|
||||
Question.current = res.data
|
||||
})
|
||||
},
|
||||
fetchChoices: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/questions/:id/choices",
|
||||
data: Question.current
|
||||
})
|
||||
.then(function(res) {
|
||||
Question.choices = res.data
|
||||
})
|
||||
},
|
||||
fetchAnswers: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/questions/:id/answers",
|
||||
data: Question.current
|
||||
})
|
||||
.then(function(res) {
|
||||
Question.answers = res.data
|
||||
})
|
||||
},
|
||||
upload: function() {
|
||||
m.request({
|
||||
method: "POST",
|
||||
url: "/sections/:sId/questions",
|
||||
data: _.assign(Question.current, {sId: Question.current.section.id})
|
||||
})
|
||||
},
|
||||
uploadChoice: function() {
|
||||
|
||||
},
|
||||
uploadAnswer: function() {
|
||||
|
||||
},
|
||||
update: function() {
|
||||
m.request({
|
||||
method: "PUT",
|
||||
url: "/questions/:id",
|
||||
data: Question.current
|
||||
})
|
||||
},
|
||||
remove: function() {
|
||||
m.request({
|
||||
method: "DELETE",
|
||||
url: "/questions/:id",
|
||||
data: Question.current
|
||||
})
|
||||
}
|
||||
}
|
76
assets/js/models.bak/Questionnaire.js
vendored
Normal file
76
assets/js/models.bak/Questionnaire.js
vendored
Normal file
@ -0,0 +1,76 @@
|
||||
import m from "mithril"
|
||||
|
||||
export const Questionnaire = {
|
||||
list: [],
|
||||
current: {},
|
||||
sections: [],
|
||||
reports: [],
|
||||
message: "",
|
||||
error: "",
|
||||
fetchList: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/questionnaires"
|
||||
})
|
||||
.then(function(res) {
|
||||
Questionnaire.list = res.data
|
||||
})
|
||||
},
|
||||
fetchCurrent: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/questionnaires/:id",
|
||||
data: Questionnaire.current
|
||||
})
|
||||
.then(function(res) {
|
||||
Questionnaire.current = res.data
|
||||
})
|
||||
},
|
||||
fetchSections: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/questionnaires/:id/sections",
|
||||
data: Questionnaire.current
|
||||
})
|
||||
.then(function(res) {
|
||||
Questionnaire.sections = res.data
|
||||
})
|
||||
},
|
||||
fetchReports: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/questionnaires/:id/reports",
|
||||
data: Questionnaire.current
|
||||
})
|
||||
.then(function(res) {
|
||||
Questionnaire.reports = res.data
|
||||
})
|
||||
},
|
||||
upload: function() {
|
||||
m.request({
|
||||
method: "POST",
|
||||
url: "/questionnaires",
|
||||
data: Questionnaire.current
|
||||
})
|
||||
.then(function(res) {
|
||||
Questionnaire.current = res.data
|
||||
})
|
||||
},
|
||||
uploadSection: function() {
|
||||
|
||||
}
|
||||
update: function() {
|
||||
m.request({
|
||||
method: "PUT",
|
||||
url: "/questionnaires/:id",
|
||||
data: Questionnaire.current
|
||||
})
|
||||
},
|
||||
remove: function() {
|
||||
m.request({
|
||||
method: "DELETE",
|
||||
url: "/questionnaires/:id",
|
||||
data: Questionnaire.current
|
||||
})
|
||||
}
|
||||
}
|
62
assets/js/models.bak/Section.js
vendored
Normal file
62
assets/js/models.bak/Section.js
vendored
Normal file
@ -0,0 +1,62 @@
|
||||
import m from "mithril"
|
||||
|
||||
export const Section = {
|
||||
list: [],
|
||||
current: {},
|
||||
questions: [],
|
||||
message: "",
|
||||
error: "",
|
||||
fetchList: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/sections"
|
||||
})
|
||||
.then(function(res) {
|
||||
Section.list = res.data
|
||||
})
|
||||
},
|
||||
fetchCurrent: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/sections",
|
||||
data: Section.current
|
||||
})
|
||||
.then(function(res) {
|
||||
Section.current = res.data
|
||||
})
|
||||
},
|
||||
fetchQuestions: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "/sections/:id/questions",
|
||||
data: Section.current
|
||||
}).
|
||||
then(function(res) {
|
||||
Section.questions = res.data
|
||||
})
|
||||
},
|
||||
upload: function() {
|
||||
m.request({
|
||||
method: "POST",
|
||||
url: "/questionnaires/:qId/sections",
|
||||
data: _.assign(Section.current, {qId: Section.current.questionnaire.id})
|
||||
})
|
||||
},
|
||||
uploadQuestion: function() {
|
||||
|
||||
},
|
||||
update: function() {
|
||||
m.request({
|
||||
method: "PUT",
|
||||
url: "/sections/:id",
|
||||
data: Section.current
|
||||
})
|
||||
},
|
||||
remove: function() {
|
||||
m.request({
|
||||
method: "DELETE",
|
||||
url: "/sections/:id",
|
||||
data: Section.current
|
||||
})
|
||||
}
|
||||
}
|
20
assets/js/models/Answer.js
vendored
Normal file
20
assets/js/models/Answer.js
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
import m from "mithril"
|
||||
|
||||
const Answer = {
|
||||
list: [],
|
||||
current: {},
|
||||
loading: false,
|
||||
fetch: function(answerId) {
|
||||
Answer.loading = true
|
||||
m.request({
|
||||
url: "http://api.questionnaire.dev/v1/answers/" + answerId,
|
||||
method: "GET"
|
||||
})
|
||||
.then(function(res) {
|
||||
Answer.loading = false
|
||||
console.log("response: ", res);
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export default Answer
|
22
assets/js/models/Question.js
vendored
Normal file
22
assets/js/models/Question.js
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
import m from "mithril"
|
||||
|
||||
const Question = {
|
||||
current: {},
|
||||
list: [],
|
||||
loading: false,
|
||||
fetchCurrent: function(sectionId, url) {
|
||||
Question.loading = true
|
||||
if (_.isNil(url)) url = "http://api.questionnaire.dev/v1/sections/" + sectionId + "/questions"
|
||||
m.request({
|
||||
url,
|
||||
method: "GET",
|
||||
})
|
||||
.then(function(res) {
|
||||
res.data = res.data[0]
|
||||
Question.current = res
|
||||
Question.loading = false
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export default Question
|
32
assets/js/models/QuestionAnswer.js
vendored
Normal file
32
assets/js/models/QuestionAnswer.js
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
import m from "mithril"
|
||||
|
||||
const QuestionAnswer = {
|
||||
list: [],
|
||||
current: {},
|
||||
loading: false,
|
||||
fetch: function(questionId) {
|
||||
QuestionAnswer.loading = true
|
||||
m.request({
|
||||
url: "http://api.questionnaire.dev/v1/questions/" + questionId + "/answers",
|
||||
method: "GET"
|
||||
})
|
||||
.then(function(res) {
|
||||
QuestionAnswer.loading = false
|
||||
console.log("response: ", res);
|
||||
})
|
||||
},
|
||||
upload: function(questionId) {
|
||||
QuestionAnswer.loading = true
|
||||
m.request({
|
||||
url: "http://api.questionnaire.dev/v1/questions/" + questionId + "/answers",
|
||||
method: "POST",
|
||||
data: QuestionAnswer.current
|
||||
})
|
||||
.then(function(res) {
|
||||
QuestionAnswer.loading = false
|
||||
console.log("response: ", res);
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export default QuestionAnswer
|
31
assets/js/models/Questionnaire.js
vendored
Normal file
31
assets/js/models/Questionnaire.js
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
import m from "mithril"
|
||||
|
||||
const Questionnaire = {
|
||||
current: {},
|
||||
list: [],
|
||||
loading: false,
|
||||
fetch: function(id) {
|
||||
Questionnaire.loading = true
|
||||
m.request({
|
||||
url: "http://api.questionnaire.dev/v1/questionnaires/" + id,
|
||||
method: "GET"
|
||||
})
|
||||
.then(function(res) {
|
||||
Questionnaire.current = res
|
||||
Questionnaire.loading = false
|
||||
})
|
||||
},
|
||||
loadList: function() {
|
||||
Questionnaire.loading = true
|
||||
m.request({
|
||||
url: "http://api.questionnaire.dev/v1/questionnaires",
|
||||
method: "GET"
|
||||
})
|
||||
.then(function(res) {
|
||||
Questionnaire.list = res.data
|
||||
Questionnaire.loading = false
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export default Questionnaire
|
20
assets/js/models/QuestionnaireSection.js
vendored
Normal file
20
assets/js/models/QuestionnaireSection.js
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
import m from "mithril"
|
||||
|
||||
const QuestionnaireSection = {
|
||||
current: {},
|
||||
list: [],
|
||||
loading: false,
|
||||
fetch: function(questionnaireId) {
|
||||
QuestionnaireSection.loading = true
|
||||
m.request({
|
||||
url: "http://api.questionnaire.dev/v1/questionnaires/" + questionnaireId + "/sections",
|
||||
method: "GET"
|
||||
})
|
||||
.then(function(res) {
|
||||
QuestionnaireSection.current = res
|
||||
QuestionnaireSection.loading = false
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export default QuestionnaireSection
|
20
assets/js/models/Respondent.js
vendored
Normal file
20
assets/js/models/Respondent.js
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
import m from "mithril"
|
||||
|
||||
const Respondent = {
|
||||
list: [],
|
||||
current: {},
|
||||
loading: false,
|
||||
fetch: function(id) {
|
||||
Respondent.loading = true
|
||||
m.request({
|
||||
url: "http://api.questionnaire.dev/v1/respondents/" + id,
|
||||
method: "GET"
|
||||
})
|
||||
.then(function(res) {
|
||||
Respondent.current = res
|
||||
Respondent.loading = false
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export default Respondent
|
20
assets/js/models/Section.js
vendored
Normal file
20
assets/js/models/Section.js
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
import m from "mithril"
|
||||
|
||||
const Section = {
|
||||
current: {},
|
||||
list: [],
|
||||
loading: false,
|
||||
fetch: function(id) {
|
||||
Section.loading = true
|
||||
m.request({
|
||||
url: "http://api.questionnaire.dev/v1/sections/" + id,
|
||||
method: "GET"
|
||||
})
|
||||
.then(function(res) {
|
||||
Section.current = res
|
||||
Section.loading = false
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export default Section
|
33
assets/js/models/SectionQuestion.js
vendored
Normal file
33
assets/js/models/SectionQuestion.js
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
import m from "mithril"
|
||||
|
||||
const SectionQuestion = {
|
||||
current: {},
|
||||
list: [],
|
||||
loading: false,
|
||||
fetch: function(sectionId) {
|
||||
SectionQuestion.loading = true
|
||||
m.request({
|
||||
url: "http://api.questionnaire.dev/v1/sections/" + sectionId + "/questions",
|
||||
method: "GET"
|
||||
})
|
||||
.then(function(res) {
|
||||
res.data = res.data[0]
|
||||
SectionQuestion.current = res
|
||||
SectionQuestion.loading = false
|
||||
})
|
||||
},
|
||||
nextOrPrev: function(url) {
|
||||
SectionQuestion.loading = true
|
||||
m.request({
|
||||
url,
|
||||
method: "GET"
|
||||
})
|
||||
.then(function(res) {
|
||||
res.data = res.data[0]
|
||||
SectionQuestion.current = res
|
||||
SectionQuestion.loading = false
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
export default SectionQuestion
|
74
assets/js/models/User.bak.js
vendored
Normal file
74
assets/js/models/User.bak.js
vendored
Normal file
@ -0,0 +1,74 @@
|
||||
import m from "mithril"
|
||||
|
||||
export const User = {
|
||||
list: [],
|
||||
current: {},
|
||||
message: "",
|
||||
error: "",
|
||||
fetchList: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: ""
|
||||
})
|
||||
.then(function(res) {
|
||||
User.list = res
|
||||
})
|
||||
.catch(function(e) {
|
||||
User.error = e.message
|
||||
})
|
||||
},
|
||||
fetchCurrent: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: ""
|
||||
})
|
||||
.then(function(res) {
|
||||
User.current = res
|
||||
})
|
||||
.catch(function(e) {
|
||||
User.error = e.message
|
||||
})
|
||||
},
|
||||
regist: function() {
|
||||
m.request({
|
||||
method: "POST",
|
||||
url: "",
|
||||
data: User.current,
|
||||
withCredentials: true
|
||||
})
|
||||
.then(function(res) {
|
||||
User.message = res
|
||||
})
|
||||
.catch(function(e) {
|
||||
User.error = e.message
|
||||
})
|
||||
},
|
||||
login: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "",
|
||||
data: User.current,
|
||||
withCredentials: true
|
||||
})
|
||||
.then(function(res) {
|
||||
/* Must set header here*/
|
||||
User.message = res
|
||||
})
|
||||
.catch(function(e) {
|
||||
User.error = e.message
|
||||
})
|
||||
},
|
||||
logout: function() {
|
||||
m.request({
|
||||
method: "GET",
|
||||
url: "",
|
||||
withCredentials: true
|
||||
})
|
||||
.then(function(res) {
|
||||
User.message = res
|
||||
})
|
||||
.catch(function(e) {
|
||||
User.error = e.message
|
||||
})
|
||||
}
|
||||
}
|
32
assets/js/models/User.js
vendored
Normal file
32
assets/js/models/User.js
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
import m from "mithril"
|
||||
|
||||
const User = {
|
||||
list: [],
|
||||
current: {},
|
||||
loading: false,
|
||||
fetchList: function() {
|
||||
User.list = require("../../json/users/example").data
|
||||
},
|
||||
fetchCurrent: function(userId) {
|
||||
User.loading = true
|
||||
m.request({
|
||||
url: "http://api.questionnaire.dev/v1/users/" + userId,
|
||||
method: "GET"
|
||||
})
|
||||
.then(function(res) {
|
||||
User.current = res
|
||||
User.loading = false
|
||||
})
|
||||
},
|
||||
regist: function() {
|
||||
|
||||
},
|
||||
login: function() {
|
||||
m.route.set("/user/questionnaires")
|
||||
},
|
||||
logout: function() {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
export default User
|
24
assets/js/models/beta/Dept.js
vendored
Normal file
24
assets/js/models/beta/Dept.js
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
const Dept = {
|
||||
list: [
|
||||
{id: 1, name: "BPH Yayasan"},
|
||||
{id: 2, name: "Sekretariat Yayasan"},
|
||||
{id: 3, name: "HRD"},
|
||||
{id: 4, name: "Keuangan"},
|
||||
{id: 5, name: "Pimpinan Perguruan Tinggi"},
|
||||
{id: 6, name: "LC & LPU"},
|
||||
{id: 7, name: "Pelaksana Kerjasama"},
|
||||
{id: 8, name: "Esbed"},
|
||||
{id: 9, name: "Kemahasiswaan"},
|
||||
{id: 10, name: "Kreatif"},
|
||||
{id: 11, name: "Web & IT"},
|
||||
{id: 12, name: "Humas"},
|
||||
{id: 12, name: "TU SMK"},
|
||||
{id: 13, name: "Marketing, Receptionist, and Student Adminision"},
|
||||
{id: 14, name: "P3S dan Umum"},
|
||||
{id: 15, name: "Lab. Komputer"},
|
||||
{id: 16, name: "Satpam"}
|
||||
],
|
||||
current: {}
|
||||
}
|
||||
|
||||
export default Dept
|
69
assets/js/models/beta/User.js
vendored
Normal file
69
assets/js/models/beta/User.js
vendored
Normal file
@ -0,0 +1,69 @@
|
||||
const User = {
|
||||
list: [
|
||||
{
|
||||
id: 1,
|
||||
name: "Dhimas",
|
||||
dept: 11,
|
||||
super: 1,
|
||||
address: "Perum Paku Jaya Permai A2/8 007/05 Paku Jaya Tangerang",
|
||||
birth: "Madiun, 2 Agustus 1990",
|
||||
phone: "083895518773",
|
||||
mail: "dhimas@lepisi.ac.id",
|
||||
workEntry: "1 Maret 2012",
|
||||
workPeriod: "4 tahun",
|
||||
education: "S2 Sistem Informasi"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: "Barsan",
|
||||
dept: 11,
|
||||
address: "Persada Raya J6/16 005/008 Gembor Tangerang",
|
||||
birth: "Tangerang, 13 April 1996",
|
||||
phone: "085892313773",
|
||||
mail: "barsan@lepisi.ac.id",
|
||||
workEntry: "4 Oktober 2017",
|
||||
workPeriod: "2 bulan",
|
||||
education: "S1 Teknik Informatika"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
name: "Gregorio",
|
||||
dept: 11,
|
||||
address: "Jalan Cempaka III HQ/22 Bumi Indah Kab. Tangerang",
|
||||
birth: "Tangerang, 23 Mei 1999",
|
||||
phone: "085819967701",
|
||||
mail: "gregorio@lepisi.ac.id",
|
||||
workEntry: "1 Agustus 2017",
|
||||
workPeriod: "4 bulan",
|
||||
education: "S1 Teknik Informatika"
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
name: "Donny",
|
||||
dept: 10,
|
||||
address: "Jl. Pepaya Raya E/22 No. 15 05/17 Bumi Asri, Tangerang",
|
||||
birth: "Tangerang, 14 Januari 1997",
|
||||
phone: "083813154407",
|
||||
mail: "donny@lepisi.ac.id",
|
||||
workEntry: "25 Juni 2014",
|
||||
workPeriod: "2 tahun",
|
||||
education: "TK III STT"
|
||||
},
|
||||
{
|
||||
id: 5,
|
||||
name: "Widi",
|
||||
dept: 10,
|
||||
super: 1,
|
||||
address: "Dasana Indah UD 4/26 No. 26 Tangerang",
|
||||
birth: "Tangerang, 30 September 1995",
|
||||
phone: "081298877765",
|
||||
mail: "widi@lepisi.ac.id",
|
||||
workEntry: "25 Juni 2014",
|
||||
workPeriod: "2 tahun",
|
||||
education: "TK III STT"
|
||||
}
|
||||
],
|
||||
current: {}
|
||||
}
|
||||
|
||||
export default User
|
19
assets/json/answer/example.json
Normal file
19
assets/json/answer/example.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"id": 6808,
|
||||
"choice": null,
|
||||
"text": "Jl. KS. Tubun no 113",
|
||||
"url": "https://q.ywa.or.id/answers/41642",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"questionUrl": "https://q.ywa.or.id/questions/442",
|
||||
"respondentUrl": "https://q.ywa.or.id/respondents/74"
|
||||
}
|
||||
]
|
||||
}
|
36
assets/json/answer/id/example.json
Normal file
36
assets/json/answer/id/example.json
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": {
|
||||
"id": 6808,
|
||||
"choice": null,
|
||||
"text": "Jl. KS. Tubun no 113",
|
||||
"respondent": {
|
||||
"id": 32,
|
||||
"name": "Andi Siahaan, SE., MM.",
|
||||
"occupation": "Dosen STIE BISMA LEPISI",
|
||||
"gender": "m"
|
||||
},
|
||||
"question": {
|
||||
"id": 70202,
|
||||
"text": "Nama dosen pembimbing",
|
||||
"description": "Isilah dengan nama dosen pembimbing Anda"
|
||||
},
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"questionsUrl": "https://q.ywa.or.id/questions/32012",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": "43",
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
}
|
17
assets/json/category/example.json
Normal file
17
assets/json/category/example.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"id": "43",
|
||||
"name": "Mahasiswa STIE BISMA LEPISI",
|
||||
"code": "MHSW-LPS",
|
||||
"url": "https://q.ywa.or.id/categories/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32"
|
||||
}
|
||||
]
|
||||
}
|
24
assets/json/category/id/example.json
Normal file
24
assets/json/category/id/example.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": {
|
||||
"id": "43",
|
||||
"name": "Mahasiswa STIE BISMA LEPISI",
|
||||
"code": "MHSW-LPS",
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": "43",
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
}
|
19
assets/json/choice/example.json
Normal file
19
assets/json/choice/example.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"id": 5208,
|
||||
"number": 6,
|
||||
"text": "5.000.000 s.d. 9.000.000",
|
||||
"fillable": false,
|
||||
"description": "Jumlah honor per bulan diantara 5.000.000 s.d. 9.000.000",
|
||||
"url": "https://q.ywa.or.id/choices/642",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32"
|
||||
}
|
||||
]
|
||||
}
|
32
assets/json/choice/id/example.json
Normal file
32
assets/json/choice/id/example.json
Normal file
@ -0,0 +1,32 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": {
|
||||
"id": 5208,
|
||||
"number": 6,
|
||||
"text": "5.000.000 s.d. 9.000.000",
|
||||
"fillable": false,
|
||||
"description": "Jumlah honor per bulan diantara 5.000.000 s.d. 9.000.000",
|
||||
"question": {
|
||||
"id": 70202,
|
||||
"text": "Nama dosen pembimbing",
|
||||
"description": "Isilah dengan nama dosen pembimbing Anda"
|
||||
},
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"questionsUrl": "https://q.ywa.or.id/questions/12",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": "43",
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
}
|
22
assets/json/question/example.json
Normal file
22
assets/json/question/example.json
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"id": 70202,
|
||||
"text": "Nama dosen pembimbing",
|
||||
"description": "Isilah dengan nama dosen pembimbing Anda",
|
||||
"section": {
|
||||
"id": 43,
|
||||
"title": "Pendahuluan",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar"
|
||||
},
|
||||
"url": "https://q.ywa.or.id/questions/42",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32"
|
||||
}
|
||||
]
|
||||
}
|
19
assets/json/question/id/answers/example.json
Normal file
19
assets/json/question/id/answers/example.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"id": 6808,
|
||||
"choice": null,
|
||||
"text": "Jl. KS. Tubun no 113",
|
||||
"url": "https://q.ywa.or.id/answers/41642",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"questionUrl": "https://q.ywa.or.id/questions/442",
|
||||
"respondentUrl": "https://q.ywa.or.id/respondents/74"
|
||||
}
|
||||
]
|
||||
}
|
19
assets/json/question/id/choices/example.json
Normal file
19
assets/json/question/id/choices/example.json
Normal file
@ -0,0 +1,19 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"id": 5208,
|
||||
"number": 6,
|
||||
"text": "5.000.000 s.d. 9.000.000",
|
||||
"fillable": false,
|
||||
"description": "Jumlah honor per bulan diantara 5.000.000 s.d. 9.000.000",
|
||||
"url": "https://q.ywa.or.id/choices/642",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32"
|
||||
}
|
||||
]
|
||||
}
|
56
assets/json/question/id/example70202.json
Normal file
56
assets/json/question/id/example70202.json
Normal file
@ -0,0 +1,56 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": {
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": 70202,
|
||||
"text": "Honor kepala jurusan",
|
||||
"description": "Isilah dengan perkiraan honor per bulan kepala jurusan Anda",
|
||||
"section": {
|
||||
"id": 43,
|
||||
"title": "Pendahuluan",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar"
|
||||
},
|
||||
"number": 2,
|
||||
"questionType": "choice",
|
||||
"choices": [
|
||||
{
|
||||
"id": 5208,
|
||||
"number": 1,
|
||||
"text": "5.000.000 s.d. 9.000.000",
|
||||
"fillable": false,
|
||||
"description": "Jumlah honor per bulan diantara 5.000.000 s.d. 9.000.000"
|
||||
},
|
||||
{
|
||||
"id": 5209,
|
||||
"number": 2,
|
||||
"text": "10.000.000 s.d. 14.000.000",
|
||||
"fillable": false,
|
||||
"description": "Jumlah honor per bulan diantara 10.000.000 s.d. 14.000.000"
|
||||
},
|
||||
{
|
||||
"id": 5210,
|
||||
"number": 2,
|
||||
"text": "Lainnya",
|
||||
"fillable": true,
|
||||
"description": "Tuliskan jumlah honor per bulan"
|
||||
}
|
||||
],
|
||||
"sectionsUrl": "https://q.ywa.or.id/sections/12",
|
||||
"choicesUrl": "https://q.ywa.or.id/choices/12",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": 43,
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
}
|
47
assets/json/question/id/example70203.json
Normal file
47
assets/json/question/id/example70203.json
Normal file
@ -0,0 +1,47 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": {
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": 70203,
|
||||
"text": "Nama kepala jurusan",
|
||||
"description": "Isilah dengan nama kepala jurusan Anda",
|
||||
"section": {
|
||||
"id": 43,
|
||||
"title": "Pendahuluan",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar"
|
||||
},
|
||||
"number": 1,
|
||||
"questionType": "text",
|
||||
"choices": [
|
||||
{
|
||||
"id": 5208,
|
||||
"number": 6,
|
||||
"text": "5.000.000 s.d. 9.000.000",
|
||||
"fillable": false,
|
||||
"description": "Jumlah honor per bulan diantara 5.000.000 s.d. 9.000.000"
|
||||
}
|
||||
],
|
||||
"answer": {
|
||||
"id": 6808,
|
||||
"choice": null,
|
||||
"text": "Jl. KS. Tubun no 113"
|
||||
},
|
||||
"sectionsUrl": "https://q.ywa.or.id/sections/12",
|
||||
"choicesUrl": "https://q.ywa.or.id/choices/12",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": 43,
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
}
|
33
assets/json/question/id/example70204.json
Normal file
33
assets/json/question/id/example70204.json
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": {
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": 70204,
|
||||
"text": "Kenal dengan kepala jurusan Anda",
|
||||
"description": "Apakah Anda kenal dengan kepala jurusan Anda",
|
||||
"section": {
|
||||
"id": 43,
|
||||
"title": "Pendahuluan",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar"
|
||||
},
|
||||
"number": 3,
|
||||
"questionType": "bool",
|
||||
"sectionsUrl": "https://q.ywa.or.id/sections/12",
|
||||
"choicesUrl": "https://q.ywa.or.id/choices/12",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": 43,
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
}
|
33
assets/json/question/id/example70205.json
Normal file
33
assets/json/question/id/example70205.json
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": {
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": 70205,
|
||||
"text": "Berapa nomor hp kepala jurusan Anda",
|
||||
"description": "Isi dengan nomor hp kepala jurusan Anda",
|
||||
"section": {
|
||||
"id": 43,
|
||||
"title": "Pendahuluan",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar"
|
||||
},
|
||||
"number": 4,
|
||||
"questionType": "numeric",
|
||||
"sectionsUrl": "https://q.ywa.or.id/sections/12",
|
||||
"choicesUrl": "https://q.ywa.or.id/choices/12",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": 43,
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
}
|
66
assets/json/question/id/example70206.json
Normal file
66
assets/json/question/id/example70206.json
Normal file
@ -0,0 +1,66 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": {
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": 70206,
|
||||
"text": "Kepemilikan kepala jurusan",
|
||||
"description": "Isilah dengan perkiraan harta apa yang dimiliki kepala jurusan Anda",
|
||||
"section": {
|
||||
"id": 43,
|
||||
"title": "Pendahuluan",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar"
|
||||
},
|
||||
"number": 5,
|
||||
"questionType": "multichoice",
|
||||
"choices": [
|
||||
{
|
||||
"id": 5207,
|
||||
"number": 1,
|
||||
"text": "Istana",
|
||||
"fillable": false
|
||||
},
|
||||
{
|
||||
"id": 5208,
|
||||
"number": 2,
|
||||
"text": "Rumah",
|
||||
"fillable": false,
|
||||
"description": "Rumah sendiri"
|
||||
},
|
||||
{
|
||||
"id": 5209,
|
||||
"number": 3,
|
||||
"text": "Mobil Keluarga",
|
||||
"fillable": false
|
||||
},
|
||||
{
|
||||
"id": 5210,
|
||||
"number": 4,
|
||||
"text": "Mobil Pribadi",
|
||||
"fillable": false
|
||||
},
|
||||
{
|
||||
"id": 5211,
|
||||
"number": 5,
|
||||
"text": "Lainnya",
|
||||
"fillable": true
|
||||
}
|
||||
],
|
||||
"sectionsUrl": "https://q.ywa.or.id/sections/12",
|
||||
"choicesUrl": "https://q.ywa.or.id/choices/12",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": 43,
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
}
|
51
assets/json/questionnaire/example.json
Normal file
51
assets/json/questionnaire/example.json
Normal file
@ -0,0 +1,51 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"url": "https://q.ywa.or.id/questionnaires/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": "43",
|
||||
"category": {
|
||||
"id": "43",
|
||||
"name": "Mahasiswa STIE BISMA LEPISI",
|
||||
"code": "MHSW-LPS"
|
||||
},
|
||||
"title": "Kuesioner Kepuasan Pelayanan Akademik",
|
||||
"description": "Kuesioner kepuasan pelayanan akademik untuk diisi oleh mahasiswa",
|
||||
"status": "closed"
|
||||
},
|
||||
{
|
||||
"url": "https://q.ywa.or.id/questionnaires/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": "45",
|
||||
"category": {
|
||||
"id": "45",
|
||||
"name": "Mahasiswa AKSEMA LEPISI",
|
||||
"code": "MHSW-AKS"
|
||||
},
|
||||
"title": "Kuesioner Baru Dosen",
|
||||
"description": "Kuesioner kepuasan pelayanan akademik untuk diisi oleh mahasiswa",
|
||||
"status": "released"
|
||||
},
|
||||
{
|
||||
"url": "https://q.ywa.or.id/questionnaires/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": "46",
|
||||
"category": {
|
||||
"id": "43",
|
||||
"name": "Mahasiswa STIE BISMA LEPISI",
|
||||
"code": "MHSW-LPS"
|
||||
},
|
||||
"title": "Kuesioner Baru Staff",
|
||||
"description": "Kuesioner kepuasan pelayanan akademik untuk diisi oleh mahasiswa",
|
||||
"status": "draft"
|
||||
}
|
||||
]
|
||||
}
|
57
assets/json/questionnaire/id/example.json
Normal file
57
assets/json/questionnaire/id/example.json
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": {
|
||||
"url": "https://q.ywa.or.id/questionnaires/12",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": "43",
|
||||
"category": {
|
||||
"id": "43",
|
||||
"name": "Mahasiswa STIE BISMA LEPISI",
|
||||
"code": "MHSW-LPS"
|
||||
},
|
||||
"title": "Kuesioner Kepuasan Pelayanan Akademik",
|
||||
"description": "Kuesioner kepuasan pelayanan akademik untuk diisi oleh mahasiswa",
|
||||
"sections": [
|
||||
{
|
||||
"id": "43",
|
||||
"title": "Pendahuluan",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar",
|
||||
"status": "closed"
|
||||
},
|
||||
{
|
||||
"id": "44",
|
||||
"title": "Pendahuluin",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar",
|
||||
"status": "draft"
|
||||
},
|
||||
{
|
||||
"id": "45",
|
||||
"title": "Pendahuluen",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar",
|
||||
"status": "released"
|
||||
},
|
||||
{
|
||||
"id": "46",
|
||||
"title": "Pendahuluon",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar",
|
||||
"status": "released"
|
||||
}
|
||||
],
|
||||
"questionnairesUrl": "https://q.ywa.or.id/questionnaires",
|
||||
"sectionsUrl": "https://q.ywa.or.id/questionnaires/12/sections",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": "43",
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
}
|
34
assets/json/questionnaire/id/reports/example.json
Normal file
34
assets/json/questionnaire/id/reports/example.json
Normal file
@ -0,0 +1,34 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"response": {
|
||||
"id": "43",
|
||||
"finishedAt": null,
|
||||
"questionnaire": {
|
||||
"id": "43",
|
||||
"category": {
|
||||
"id": "43",
|
||||
"name": "Mahasiswa STIE BISMA LEPISI",
|
||||
"code": "MHSW-LPS"
|
||||
},
|
||||
"title": "Kuesioner Kepuasan Pelayanan Akademik",
|
||||
"description": "Kuesioner kepuasan pelayanan akademik untuk diisi oleh mahasiswa"
|
||||
},
|
||||
"respondent": {
|
||||
"id": 32,
|
||||
"name": "Andi Siahaan, SE., MM.",
|
||||
"occupation": "Dosen STIE BISMA LEPISI",
|
||||
"gender": "m"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
26
assets/json/questionnaire/id/sections/example.json
Normal file
26
assets/json/questionnaire/id/sections/example.json
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"id": "43",
|
||||
"title": "Pendahuluan",
|
||||
"description": "Isilah pertanyaan di bawah ini dengan benar",
|
||||
"url": "https://q.ywa.or.id/sections/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": "43",
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
20
assets/json/respondent/example.json
Normal file
20
assets/json/respondent/example.json
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": [
|
||||
{
|
||||
"id": 32,
|
||||
"name": "Andi Siahaan, SE., MM.",
|
||||
"occupation": "Dosen STIE BISMA LEPISI",
|
||||
"gender": "m",
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"categoriesUrl": "https://q.ywa.or.id/respondents/32/categories",
|
||||
"questionnairesUrl": "https://q.ywa.or.id/respondents/32/questionnaires",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32"
|
||||
}
|
||||
]
|
||||
}
|
48
assets/json/respondent/id/example.json
Normal file
48
assets/json/respondent/id/example.json
Normal file
@ -0,0 +1,48 @@
|
||||
{
|
||||
"meta": {
|
||||
"code": 200,
|
||||
"type": "success",
|
||||
"message": null
|
||||
},
|
||||
"data": {
|
||||
"id": 32,
|
||||
"name": "Andi Siahaan, SE., MM.",
|
||||
"occupation": "Dosen STIE BISMA LEPISI",
|
||||
"gender": "m",
|
||||
"birthdate": "1945-08-17",
|
||||
"email": "andi@lepisi.ac.id",
|
||||
"handphone": "081300299002",
|
||||
"questionnaires": [
|
||||
{
|
||||
"id": "43",
|
||||
"category": {
|
||||
"id": "43",
|
||||
"name": "Mahasiswa STIE BISMA LEPISI",
|
||||
"code": "MHSW-LPS"
|
||||
},
|
||||
"title": "Kuesioner Kepuasan Pelayanan Akademik",
|
||||
"description": "Kuesioner kepuasan pelayanan akademik untuk diisi oleh mahasiswa"
|
||||
}
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"id": "43",
|
||||
"name": "Mahasiswa STIE BISMA LEPISI",
|
||||
"code": "MHSW-LPS"
|
||||
}
|
||||
],
|
||||
"url": "https://q.ywa.or.id/resources",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"questionsUrl": "https://q.ywa.or.id/questions/32012",
|
||||
"creator": {
|
||||
"url": "https://q.ywa.or.id/users/2",
|
||||
"createdAt": "2014-07-17 10:08:32",
|
||||
"updatedAt": "2014-07-17 10:08:32",
|
||||
"id": "43",
|
||||
"username": "admin003",
|
||||
"name": "Udin Muamar",
|
||||
"email": "udin@ywa.or.id"
|
||||
}
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user