diff --git a/coinmanager/coinc/static/coinc/main.js b/coinmanager/coinc/static/coinc/main.js index 2bce27b..4fb1717 100644 --- a/coinmanager/coinc/static/coinc/main.js +++ b/coinmanager/coinc/static/coinc/main.js @@ -149,7 +149,7 @@ function render_response(data, td, set) { /* add or update marker (and name) if found */ if (set['found'] && set['found_by'] && set['exists']) { div_class = set['found_by']; - $(td).find('div.coin span').html('').html('✔'); } + $(td).find('div.coin span').html('').html('✓'); } /* add/update name */ if ([201, 202, 203].includes(data['value'])) { @@ -163,7 +163,7 @@ function render_response(data, td, set) { if (div_special_name.length == 0) { /* append div if not found */ - $(td).append('
' + name + '
'); + $(td).append('
' + name + '
'); } else if (div_special_name.length == 1) { @@ -173,7 +173,7 @@ function render_response(data, td, set) { /* remove name */ } else if (!set['exists']) { - $(td).find('div.special' + c + '_name').html(); + $(td).find('div.special_name').html(''); } } @@ -306,7 +306,7 @@ $(document).ready(function() { $(td).css('cursor', 'cell'); if (response.status === 0) { render_response(data, this.td, settings); - detach('add_coin_name'); + detach('#add_coin_name'); } else { alert(response.message); } @@ -409,7 +409,7 @@ $(document).ready(function() { if (response.status === 0) { render_login(name, color); - detach('add_user'); + detach('#add_user'); } else { $('#response').html(response.message); $('#response').css('color', 'red'); diff --git a/coinmanager/coinc/static/coinc/styles.css b/coinmanager/coinc/static/coinc/styles.css index 3345fe8..32ae558 100644 --- a/coinmanager/coinc/static/coinc/styles.css +++ b/coinmanager/coinc/static/coinc/styles.css @@ -257,10 +257,13 @@ td > * { td.coin { background-color: #cec6ca; - font-size: 1.1rem; border: 2px solid white; + font-size: 1.3rem; + font-family: sans-serif; } + + .brass { background-color: #dec1a8 !important; } @@ -293,13 +296,18 @@ td.coin { /* coin div text style */ .ec { - color: #dc3545; - font-weight: bold; + color: #dc3545 !important; + font-weight: bold !important; +} +@-moz-document url-prefix() { + td.ec, td.checked { + font-size: 1.7rem !important; + } } .checked { - color: #28a745; - font-weight: bold; + color: #28a745 !important; + font-weight: bold !important; } @@ -315,7 +323,7 @@ div.coin { z-index: 1000; height: 40px; width: 40px; - text-align: inherit; + text-align: center; line-height: 40px; float: left; } diff --git a/coinmanager/coinc/templates/coinc/coin.html b/coinmanager/coinc/templates/coinc/coin.html index 7854f04..08a2f0d 100644 --- a/coinmanager/coinc/templates/coinc/coin.html +++ b/coinmanager/coinc/templates/coinc/coin.html @@ -1,9 +1,7 @@ - -
- {{ marker }} -
-
-{% if name %} -
{{ name }}
-{% endif %} - + +
+ {{ marker }} +
+
{% if name %} +
{{ name }}
{% endif %} + diff --git a/coinmanager/coinc/templates/coinc/controlbar.html b/coinmanager/coinc/templates/coinc/controlbar.html index 5cf984e..9387442 100644 --- a/coinmanager/coinc/templates/coinc/controlbar.html +++ b/coinmanager/coinc/templates/coinc/controlbar.html @@ -1,108 +1,108 @@ - + - + - - - - -