diff --git a/client/projectPage/projectPage.css b/client/projectPage/projectPage.css index 45ffd21b783eb3632e692969438ef4a1d3e85ce7..31796bdeb1ea2ddb1c7178c970bd6ad0a7fe3873 100644 --- a/client/projectPage/projectPage.css +++ b/client/projectPage/projectPage.css @@ -346,4 +346,35 @@ body{ .flexDirectionRow{ display: flex; flex-direction: row; -} \ No newline at end of file +} +#startPauseButton{ + background-color: #845380; + border: none; + padding: 6px; + color: #fffafa; + font-weight: 1700; + border-radius: 8px; + font-family: "Roboto", sans-serif; + font-weight: 400; + font-size: medium; + text-align: center; + margin-left: 0%; + margin-top: 1%; + width: 20vh; +} + +#uploadButton{ + background-color: #845380; + border: none; + padding: 6px; + color: #fffafa; + font-weight: 1700; + border-radius: 8px; + font-family: "Roboto", sans-serif; + font-weight: 400; + font-size: medium; + text-align: center; + margin-left: 0%; + margin-top: 1%; + width: 20vh; +} diff --git a/client/projectPage/projectPageA.html b/client/projectPage/projectPageA.html index 88fb8e9be2a51e6327b3cb4b847ce7446ce8ff65..946c280f6d4a9d769c3f81f1c1333a95b8985af8 100644 --- a/client/projectPage/projectPageA.html +++ b/client/projectPage/projectPageA.html @@ -87,7 +87,7 @@ <textarea id="a4" class="textArea" name="answer4" rows="7" cols="50" placeholder="Svara på frågan här..." required></textarea> </form> <div class="saveEditDiv"> - <button id="saveEditBtnA" class="saveBtn">Spara</button> + <button class="btn btn-secondary"id="saveEditBtnA" >Spara</button> </div> </div> @@ -129,7 +129,7 @@ <ul id="tasksA" class="documentList taskList"> </ul> </div> - <button id="new-task-button-a" style="margin-top: 1vh;">+ Ny aktivitet</button> + <button class ="btn btn-secondary"id="new-task-button-a" style="margin-top: 1vh;">+ Ny aktivitet</button> </div> </div> diff --git a/client/projectPage/projectPageG.html b/client/projectPage/projectPageG.html index 58f6c3dce40a66400eef8f05ea0c6ec00e173f66..f330208813bb0413195178b2a9ab57bf1e21b8c0 100644 --- a/client/projectPage/projectPageG.html +++ b/client/projectPage/projectPageG.html @@ -133,7 +133,7 @@ <ul id="tasksG" class="documentList taskList"> </ul> </div> - <button id="new-task-button-g" style="margin-top: 1vh;">+ Ny aktivitet</button> + <button class ="btn btn-secondary"id="new-task-button-g" style="margin-top: 1vh;">+ Ny aktivitet</button> </div> </div> diff --git a/client/projectPage/projectPageP.html b/client/projectPage/projectPageP.html index a39b830ed4037322fd5c90e5ef76ea82c4e87a4e..4319d8f0a5098d4fdcc6628e013df3c2df1983c7 100644 --- a/client/projectPage/projectPageP.html +++ b/client/projectPage/projectPageP.html @@ -103,7 +103,7 @@ <textarea id="p7" class="textArea" name="answer6" rows="5" cols="50" placeholder="Svara på frågan här..." required></textarea> </form> <div class="saveEditDiv"> - <button id="saveEditBtnP" class="saveBtn">Spara</button> + <button id="saveEditBtnP" class="btn btn-secondary">Spara</button> </div> </div> @@ -138,7 +138,7 @@ <ul id="tasksP" class="documentList taskList"> </ul> </div> - <button id="new-task-button-p" style="margin-top: 1vh;">+ Ny aktivitet</button> + <button class ="btn btn-secondary"id="new-task-button-p" style="margin-top: 1vh;">+ Ny aktivitet</button> </div> </div> diff --git a/client/projectPage/projectPageP.ts b/client/projectPage/projectPageP.ts index 295beee0b51f93ebe3cc33190f1481bf5d940c65..d1541e535b3ac3fab6f378628d6af8935ad668f5 100644 --- a/client/projectPage/projectPageP.ts +++ b/client/projectPage/projectPageP.ts @@ -120,6 +120,7 @@ export function loadPauseRestartButton(projectId : string, ongoing : boolean, di //Creates button with classname and text const pauseRestartButton = document.createElement("button"); + pauseRestartButton.id = 'startPauseButton' if (ongoing) { pauseRestartButton.textContent = "Pausa förbättringsarbete"; pauseRestartButton.className = "pause-button" diff --git a/client/projectPage/projectPageS.html b/client/projectPage/projectPageS.html index c7d221232a6feb8a7bc3a0a2e21c93310cd9f691..66b3e9107d59c7798f517ed46521f1ad4c0db54a 100644 --- a/client/projectPage/projectPageS.html +++ b/client/projectPage/projectPageS.html @@ -119,7 +119,7 @@ <ul id="tasksS" class="documentList taskList"> </ul> </div> - <button id="new-task-button-s" style="margin-top: 1vh;">+ Ny aktivitet</button> + <button class ="btn btn-secondary"id="new-task-button-s" style="margin-top: 1vh;">+ Ny aktivitet</button> </div> </div>