diff --git a/stylesheets/voting.css b/stylesheets/voting.css index 4b2c67d..da16572 100644 --- a/stylesheets/voting.css +++ b/stylesheets/voting.css @@ -95,7 +95,6 @@ display: flex; } .tableStyle { - width: 100%; padding: 0; margin: 0; } diff --git a/voting.html b/voting.html index f9032ad..1ef0aca 100644 --- a/voting.html +++ b/voting.html @@ -102,10 +102,11 @@ // Define a YouAreThere inline glyph const yrhIcon = document.createElementNS("http://www.w3.org/2000/svg", "svg"); - yrhIcon.setAttribute("width", "18"); - yrhIcon.setAttribute("height", "18"); + yrhIcon.setAttribute("width", "20"); + yrhIcon.setAttribute("height", "20"); yrhIcon.setAttribute("viewBox", "0 0 32 32"); yrhIcon.setAttribute("fill", "currentColor"); + yrhIcon.setAttribute("color", "black"); yrhIcon.innerHTML = ``; // Will set up the progress bars with numberOfContests contests @@ -538,6 +539,7 @@

Your RCV selection:

const col1 = document.createElement("td"); const col2 = document.createElement("td"); col1.appendChild(setupNavigationButtonListener(previousButtonString, thisContestNum, thisContestValue, prevContestNum)); + col2.innerHTML = "  "; col2.appendChild(setupNavigationButtonListener(nextButtonString, thisContestNum, thisContestValue, nextContestNum)); row.appendChild(col1); row.appendChild(col2); @@ -681,18 +683,16 @@

Your RCV selection:

} } - // 3) Create two buttons. The first is a simply vote button. The - // second is a vote button that also momentarily returns the voter's - // row offset. Create both and place then in a flex-box row. + // 3) For the demo, create two buttons for now: vote and spoil. + // Spoil returns to the welcome page (index.html) without + // voting. Vote submits the ballot and proceeds to the VTP + // part of the demo. Voting: + // - prints the cast-ballot to the page (for now) - can just + // continue appending to rootElement + // - when integrated with the web-api, will send the modified + // blankBallot.json which will re-verify the ballot and + // casts it, returning the ballot receipt and row number - // When either button is clicked: - // - print the selections to the console - // - send the modified blankBallot.json to the web-api that will - // cast the voter's ballot and return the ballot receipt and - // optionally return the voter's row index. - - // Place the two buttons in the bottomSection - // ZZZ } // Setup a new contest. Note - when navigating to a new contest,