]> foleosoft.com Git - QAnsel.git/commitdiff
Sun 08 Dec 2024 10:53:27 PM EST
authora <[email protected]>
Mon, 9 Dec 2024 03:53:27 +0000 (22:53 -0500)
committera <[email protected]>
Mon, 9 Dec 2024 03:53:27 +0000 (22:53 -0500)
src/index.html

index 3814bbe3201c4c6cda17cb9f4638b8ee75e52601..c1f3100dbef281c8ce920c85aa0c1d0a93d9c34d 100644 (file)
                                        $("#modal-main-content")[0].innerHTML = `
                                                <p>API key: </p><input type='text' id='apikey' />
                                                <br />
-                                               <p>Shots: </p><input type='number' id='shots' step='1' />
-                                               <br />
-                                               <p>Noise: </p><input type='number' id='noise' step='0.01' />
-                                               <br />
-                                               <p>No-Measurement Policy: </p>
-                                                       <select id='nmpolicy'>
-                                                               <option value='born'>Born Rule</option>
-                                                               <option value='sample'>Sample Qubits</option>
-                                                       </select>
-                                               <br />
-                                               <p>Hidden variable: </p><input type='number' id='hvar' step='0.01' />
+                                               <table style='width: 100%;'>
+                                                       <tr>
+                                                               <td style='width: 50%;'>
+                                                                       <p>Shots: </p><input type='number' id='shots' step='1' />
+                                                               </td>
+                                                               <td style='width: 50%;'>
+                                                                       <p>Noise: </p><input type='number' id='noise' step='0.01' />
+                                                               </td>
+                                                       </tr>
+                                                       <tr>
+                                                               <td style='width: 50%;'>
+                                                                       <p>No-Measurement Policy: </p>
+                                                                               <select id='nmpolicy'>
+                                                                                       <option value='born'>Born Rule</option>
+                                                                                       <option value='sample'>Sample Qubits</option>
+                                                                               </select>
+                                                               </td>
+                                                               <td style='width: 50%;'>
+                                                                       <p>Hidden variable: </p><input type='number' id='hvar' step='0.01' />
+                                                               </td>
+                                                       </tr>
+                                               </table>
                                        `;
                                        $("#apikey")[0].style.width = "100%";
                                        $("#noise")[0].style.width = "100%";