mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2025-12-23 21:22:48 +01:00
Improved result display
This commit is contained in:
@@ -48,5 +48,4 @@
|
|||||||
|
|
||||||
return new app.models.BitwiseNumbers(numbers);
|
return new app.models.BitwiseNumbers(numbers);
|
||||||
}
|
}
|
||||||
|
|
||||||
})(window.app);
|
})(window.app);
|
||||||
@@ -10,7 +10,7 @@ code { font-size: 1.2em; font-weight: bold; }
|
|||||||
.result .content { padding-left: 10px}
|
.result .content { padding-left: 10px}
|
||||||
.result .cur { color: lightgray; margin-right: 5px }
|
.result .cur { color: lightgray; margin-right: 5px }
|
||||||
|
|
||||||
.expression .label { font-weight: bold; padding-right: 5px }
|
.expression .label { font-weight: bold; padding-right: 5px; text-align: right; }
|
||||||
.expression .bin { letter-spacing: 3px; }
|
.expression .bin { letter-spacing: 3px; }
|
||||||
.expression .one { color: #6d9ad3 }
|
.expression .one { color: #6d9ad3 }
|
||||||
.expression .zero { color: #70d351 }
|
.expression .zero { color: #70d351 }
|
||||||
|
|||||||
@@ -82,8 +82,8 @@
|
|||||||
<td class="label">{operand1}</td>
|
<td class="label">{operand1}</td>
|
||||||
<td class="bin">{operand1Binary}</td>
|
<td class="bin">{operand1Binary}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr class="result">
|
||||||
<td class="label">{operand1}{sign}{operand2}</td>
|
<td class="label">{operand1}{sign}{operand2}={result}</td>
|
||||||
<td class="bin">{resultBinary}</td>
|
<td class="bin">{resultBinary}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
<td class="label">{operand2}</td>
|
<td class="label">{operand2}</td>
|
||||||
<td class="bin">{operand2Binary}</td>
|
<td class="bin">{operand2Binary}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr class="result">
|
||||||
<td>=</td>
|
<td>=</td>
|
||||||
<td class="label">{result}</td>
|
<td class="label">{result}</td>
|
||||||
<td class="bin">{resultBinary}</td>
|
<td class="bin">{resultBinary}</td>
|
||||||
@@ -134,6 +134,7 @@
|
|||||||
app.debugMode = true;
|
app.debugMode = true;
|
||||||
|
|
||||||
dispatcher.dispatch('help');
|
dispatcher.dispatch('help');
|
||||||
|
dispatcher.dispatch('1 2 3 4 5 6 7 8');
|
||||||
dispatcher.dispatch('3 << 4');
|
dispatcher.dispatch('3 << 4');
|
||||||
dispatcher.dispatch('233 | 322');
|
dispatcher.dispatch('233 | 322');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user