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