Skip to content

Commit

Permalink
Release SP2020 Survey
Browse files Browse the repository at this point in the history
  • Loading branch information
Lilyheart committed Apr 29, 2020
1 parent 3b8b09f commit 9a8ea6c
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,14 +200,14 @@ <h3 class="pad-below">Gitlab Setup</h3>
<li class="nav-item">
<a class="nav-link active" id="faq-tab" data-toggle="tab" href="#faqtab" role="tab" aria-controls="faqtab" aria-selected="true" onclick="checkForUpdates()">FAQ</a>
</li>
<!-- <li class="nav-item d-none" id="survey-tab-item">
<li class="nav-item d-none" id="survey-tab-item">
<a class="nav-link survey-tab" id="survey-tab" data-toggle="tab" href="#surveytab" role="tab" aria-controls="surveytab" aria-selected="true" onclick="checkForUpdates()">
Survey
<button type="button" class="close surveyclose" aria-label="Close" onclick="document.getElementById('survey-tab-item').classList.add('d-none');">
<span aria-hidden="true"> &times;</span>
</button>
</a>
</li> -->
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade" id="issuestab" role="tabpanel" aria-labelledby="issues-tab">
Expand Down Expand Up @@ -378,13 +378,13 @@ <h4 class="d-inline-flex">Warnings</h4>
</script>
</div>
</div>
<!-- <div class="tab-pane fade pb-5" id="surveytab" role="tabpanel" aria-labelledby="survey-tab">
<div class="tab-pane fade pb-5" id="surveytab" role="tabpanel" aria-labelledby="survey-tab">
<div class="card">
<div class="card-body p-0">
<div id="surveyContainer"></div>
</div>
</div>
</div> -->
</div>
</div>
</div>
</div> <!-- end class="row" -->
Expand All @@ -409,12 +409,12 @@ <h4 class="d-inline-flex">Warnings</h4>
<script type="text/javascript" src="libraries/feedback.js?ver=2012"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/0.4.1/html2canvas.js" integrity="sha256-my/qJggBjG+JoaR9MUSkYM+EpxVkxZRNn3KODs+el74=" crossorigin="anonymous"></script>
<!-- Survey -->
<!-- <script src="libraries/survey.jquery.min.js?ver=1.1.23"></script>
<script type="text/javascript" src="scripts/surveyJSON.js?ver=0.2.8"></script> -->
<script src="libraries/survey.jquery.min.js?ver=1.1.23"></script>
<script type="text/javascript" src="scripts/surveyJSON.js?ver=0.2.8"></script>
<!-- Local -->
<script type="text/javascript" src="libraries/selectize.min.js?ver=v0.12.6"></script>
<script type="text/javascript" src="libraries/defiant.min.js?ver=v2.2.6"></script>
<!-- <script type="text/javascript" src="scripts/survey.js?ver=0.2.8"></script> -->
<script type="text/javascript" src="scripts/survey.js?ver=0.2.8"></script>
<script type="text/javascript" src="scripts/projects.js?ver=0.2.8"></script>
<script type="text/javascript" src="scripts/issues.js?ver=0.3.1"></script>
<script type="text/javascript" src="scripts/burndown.js?ver=0.3.1"></script>
Expand Down
2 changes: 1 addition & 1 deletion scripts/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var projects = (function () {
// projFilter = ["user", "all", "auto", "bookmarked"]
let url, projectPages;

// survey.surveyInit();
survey.surveyInit();

// Build URL and get project list
if (projFilter === "all" || currUserName === null) {
Expand Down
13 changes: 13 additions & 0 deletions scripts/surveyJSON.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,19 @@ var surveyJSON = {
"type": "text",
"name": "wish",
"title": "What else do you wish the website would do?"
},
{
"type": "boolean",
"name": "isContact",
"title": "Would you like to be involved the next version of the tool? This could be as easy as a quick interview after the semester ends or as involved as testing and informing the direction of the new website. (Note: toggle is buggy on some browsers, make sure your selection is correct.)",
"labelTrue": "Yes",
"labelFalse": "No"
},
{
"type": "text",
"name": "contact",
"visibleIf": "{isContact} = true",
"title": "Please enter your email address (an address you will check during the summer semester). This email address will not be made public."
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion style/main.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions style/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,9 @@ td a {
-webkit-animation: flash linear 1.5s infinite;
animation: flash linear 1.5s infinite;
}
.sv_main.sv_main .sv-boolean__switch {
background-color: $color-primary-0; !important;
}
@-webkit-keyframes flash {
0% { opacity: 1; }
50% { opacity: .35; }
Expand Down

0 comments on commit 9a8ea6c

Please sign in to comment.