aboutsummaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2012-11-11 21:57:11 -0800
committerAdam Soltys <[email protected]>2012-11-11 21:57:11 -0800
commit81b30afabd1736e3dec4bb05c377b2d28317c2fe (patch)
treedd71cb80284d29be0e635f95025e46f24b1fb94b /public
parent3e900e0bba211c2bbf2bb10c85a82dd9ce6943f0 (diff)
downloadcoinos-server-81b30afabd1736e3dec4bb05c377b2d28317c2fe.tar.gz
coinos-server-81b30afabd1736e3dec4bb05c377b2d28317c2fe.zip
Save calculator params to database
Diffstat (limited to 'public')
-rw-r--r--public/css/calculator.less3
-rw-r--r--public/css/common.less2
-rw-r--r--public/img/bitcoin.pngbin0 -> 17755 bytes
-rw-r--r--public/js/calculator.coffee4
4 files changed, 5 insertions, 4 deletions
diff --git a/public/css/calculator.less b/public/css/calculator.less
index 8103ed5e..bdacbd0c 100644
--- a/public/css/calculator.less
+++ b/public/css/calculator.less
@@ -6,5 +6,6 @@ input[type="text"] { height: 1.4em; }
span.btn { font-size: 1.4em; width: 80%; }
small, label { color: #999; font-size: 1.2em; }
strong#total { font-size: 2em; }
-#logo { padding: 10px 0; }
+#title { display: none; }
+#logo { display: none; padding: 10px 0; }
#error { margin-top: 10px; }
diff --git a/public/css/common.less b/public/css/common.less
index fb105aec..05af2492 100644
--- a/public/css/common.less
+++ b/public/css/common.less
@@ -3,7 +3,7 @@
body { text-align: center; }
body { font-size: 100%; line-height: 100%; }
-h1 { width: 100%; text-align: center; }
+h1 { width: 100%; }
div.container-fluid {
width: 600px;
diff --git a/public/img/bitcoin.png b/public/img/bitcoin.png
new file mode 100644
index 00000000..148d0c0b
--- /dev/null
+++ b/public/img/bitcoin.png
Binary files differ
diff --git a/public/js/calculator.coffee b/public/js/calculator.coffee
index ed199920..08757249 100644
--- a/public/js/calculator.coffee
+++ b/public/js/calculator.coffee
@@ -21,7 +21,7 @@ $(->
if client? and client
$.getJSON('client/' + client, (data) ->
user = data[0]
- g.title = user.title
+ g.title = user.name
g.address = user.address
g.commission = user.commission
g.logo = user.logo
@@ -81,7 +81,7 @@ setupPage = ->
if logo
$('#logo').attr('src', logo).show()
else
- $('#title').html(title)
+ $('#title').html(title).show()
$('#address').html(address)
$('#received').hide()