Skip to content

Commit

Permalink
update webpage based on the feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Chang Sun authored and Chang Sun committed Sep 15, 2023
1 parent 2136c30 commit f9e1a76
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 24 deletions.
17 changes: 10 additions & 7 deletions dist/cmlconsent.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,22 +249,25 @@ <h3 class="ui header">Contribute to research studies</h3>
<div class="three wide column">
<h4 class="ui inverted header">About</h4>
<div class="ui inverted link list">
<a href="https://www.maastrichtuniversity.nl/chang.sun" class="item">Contact us</a>
<a href="https://www.maastrichtuniversity.nl/research/institute-data-science" class="item">Our group</a>
<a href="https://github.com/sunchang0124/sunchang0124.github.io" class="item">Open-source code</a>
<a href="https://www.cmylife.nl/" class="item">CMyLife</a>
<a href="https://www.cmylife.nl/projecten/cmyguideline" class="item">CMyGuideline</a>
<!-- <a href="https://www.maastrichtuniversity.nl/chang.sun" class="item">Contact us</a> -->
<!-- <a href="https://www.maastrichtuniversity.nl/research/institute-data-science" class="item">Our group</a> -->
<!-- <a href="https://github.com/sunchang0124/sunchang0124.github.io" class="item">Open-source code</a> -->
</div>
</div>
<div class="three wide column">
<h4 class="ui inverted header">Resources</h4>
<h4 class="ui inverted header">Contact</h4>
<div class="ui inverted link list">
<a href="https://www.cmylife.nl/" class="item">CMLife Website</a>
<a href="https://www.cmylife.nl/projecten/cmyguideline" class="item">CMyGuideline</a>
<a href="mailto:[email protected]" class="item">General questions: Corien Kromkamp</a>
<a href="mailto:[email protected]" class="item">Consent questions: Rianne Fijten</a>
<a href="mailto:[email protected]" class="item">Technical questions: Chang Sun</a>
</div>
</div>
<div class="seven wide column">
<h4 class="ui inverted header">Message to users</h4>
<p>This project is still working in progress so that some improvements and changes mighe be taken in place in the future.
You are very welcome to comment or contribute to the project.
You are very welcome to comment or contribute to the project by email Chang Sun ([email protected]).
</p>
</div>
</div>
Expand Down
29 changes: 15 additions & 14 deletions dist/cmlparticipate.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
<a class="item" href="cmlconsent.html">Home</a>
<!-- <a class="item" href="cmlfetch.html">View my Data</a> -->
<a class="active item" href="cmlparticipate.html">Contribute to studies</a>
<a class="item" href="cmlrequest.html">Ask for Consent [Researcher portal]</a>
<!-- <a class="item" href="cmlrequest.html">Ask for Consent [Researcher portal]</a> -->
<div class="right menu">
<div class="item">
<a class="ui primary login button" href="cmllogin.html" id="logStatusFollowing">Log out</a>
Expand All @@ -230,7 +230,7 @@
<a class="item" href="cmlconsent.html">Home</a>
<!-- <a class="item" href="cmlfetch.html">View my Data</a> -->
<a class="active item" href="cmlparticipate.html">Contribute to studies</a>
<a class="item" href="cmlrequest.html">Ask for Consent [Researcher portal]</a>
<!-- <a class="item" href="cmlrequest.html">Ask for Consent [Researcher portal]</a> -->
<div class="right item">
<a class="ui inverted login button" href="cmllogin.html"><span id="logStatusPage">Log out</span></a>
</div>
Expand All @@ -240,16 +240,16 @@
<div class="ui text container">
<h1 class="ui inverted header">
<i class="handshake outline icon"></i>
Open Digital consent
Open Digital consents
</h1>
<h3>View and approve/decline digital consent to contribute to research studies.</h3>
<h3>View and approve/decline digital consents to contribute to research studies.</h3>
<!--<a class="ui primary button" href="register.html"> Register to be a study participant<i class="right arrow icon"></i></a>-->
</div>
</div>

<div class="ui vertical stripe segment">
<div class="ui container">
<h3 class="ui header center aligned">Onging studies asking for your consent</h3>
<h3 class="ui header center aligned">Ongoing studies asking for your consents</h3>
<!-- <h4 class="ui teal header center aligned">!! Refresh the page after you take actions to the consent !!</h4> -->
<div class="ui right aligned container">
<!--<div class="ui action input">
Expand Down Expand Up @@ -300,26 +300,27 @@ <h4 class="ui divider"></h4>
<div class="three wide column">
<h4 class="ui inverted header">About</h4>
<div class="ui inverted link list">
<a href="https://www.maastrichtuniversity.nl/chang.sun" class="item">Contact author</a>
<a href="https://www.maastrichtuniversity.nl/research/institute-data-science" class="item">Our group</a>
<a href="https://github.com/sunchang0124/sunchang0124.github.io" class="item">Open-source code</a>
<a href="https://www.cmylife.nl/" class="item">CMyLife</a>
<a href="https://www.cmylife.nl/projecten/cmyguideline" class="item">CMyGuideline</a>
<!-- <a href="https://www.maastrichtuniversity.nl/chang.sun" class="item">Contact us</a> -->
<!-- <a href="https://www.maastrichtuniversity.nl/research/institute-data-science" class="item">Our group</a> -->
<!-- <a href="https://github.com/sunchang0124/sunchang0124.github.io" class="item">Open-source code</a> -->
</div>
</div>
<div class="three wide column">
<h4 class="ui inverted header">Resources</h4>
<h4 class="ui inverted header">Contact</h4>
<div class="ui inverted link list">
<a href="https://www.cmylife.nl/" class="item">CMLife Website</a>
<a href="https://www.cmylife.nl/projecten/cmyguideline" class="item">CMyGuideline</a>
<a href="mailto:[email protected]" class="item">General: Corien Kromkamp</a>
<a href="mailto:[email protected]" class="item">Consent: Rianne Fijten</a>
<a href="mailto:[email protected]" class="item">Technical: Chang Sun</a>
</div>
</div>
<div class="seven wide column">
<h4 class="ui inverted header">Message to users</h4>
<p>This project is still working in progress so that some improvements and changes mighe be taken in place in the future.
You are very welcome to comment or contribute to the project.
You are very welcome to comment or contribute to the project by email Chang Sun ([email protected]).
</p>

</div>

</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion dist/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ async function generateCards(requestContentList, userRole, session, participant_
document.getElementById('extraID' + i.toString()).appendChild(div_untilDate_des);

const div_forDate = document.createElement("div");
div_forDate.className = "ui transparent input";
div_forDate.className = "ui input";
div_forDate.id = "forDate" + i.toString();
document.getElementById('untilDate_des' + i.toString()).appendChild(div_forDate);

Expand Down Expand Up @@ -1440,7 +1440,7 @@ async function generateCards(requestContentList, userRole, session, participant_

}else if(requestContentList[i].participation == "http://www.w3.org/ns/dpv#consented"){
const div_greenButton = document.createElement("button");
div_greenButton.className = "ui red toggle approve button answer index_" + i.toString();
div_greenButton.className = "ui red toggle deny button answer index_" + i.toString();
div_greenButton.id = "greenButtonID" + i.toString();
div_greenButton.textContent = "Decline";
document.getElementById('buttonsID' + i.toString()).appendChild(div_greenButton);
Expand Down

0 comments on commit f9e1a76

Please sign in to comment.