Permalink
Browse files

Make sure newly added hop and spice rows properly right-align the alpha

acid table column
  • Loading branch information...
1 parent 473a9c0 commit d769d68d31209e0d0aabfa160ae7bf3896e759d3 @danielgtaylor committed Aug 27, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 static/scripts/recipe.coffee
  2. +2 −2 templates/base.html
@@ -157,7 +157,7 @@ class Recipe
next = 5
form = 'ground'
- row = '<tr><td contentEditable="true">boil</td><td class="num" contentEditable="true">' + next + 'min</td><td class="num" contentEditable="true">1.00</td><td contentEditable="true">' + template.dataset.description + '</td><td contentEditable="true">' + form + '</td><td contentEditable="true">' + template.dataset.aa + '</td><td class="edit-show" style="display: block"><a href="#" class="remove"><i class="icon-remove"></i></a></td></tr>'
+ row = '<tr><td contentEditable="true">boil</td><td class="num" contentEditable="true">' + next + 'min</td><td class="num" contentEditable="true">1.00</td><td contentEditable="true">' + template.dataset.description + '</td><td contentEditable="true">' + form + '</td><td class="num" contentEditable="true">' + template.dataset.aa + '</td><td class="edit-show" style="display: block"><a href="#" class="remove"><i class="icon-remove"></i></a></td></tr>'
table.innerHTML += row
$('#hops_data tr:last td:nth-child(1)').focus()
@updateStats()
View
@@ -4,7 +4,7 @@
<title>{% block title %}Malt.io{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="/static/styles/bootstrap.min.css"/>
- <link rel="stylesheet" type="text/css" href="/static/styles/main.css?v=1345608897"/>
+ <link rel="stylesheet" type="text/css" href="/static/styles/main.css?v=1346036426"/>
{% block head %}{% endblock %}
</head>
<body>
@@ -107,7 +107,7 @@
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<!--<script type="text/javascript" src="/static/scripts/jquery.js"></script>-->
<script type="text/javascript" src="/static/scripts/bootstrap.min.js"></script>
- <script type="text/javascript" src="/static/scripts/main.js?v=1345608897"></script>
+ <script type="text/javascript" src="/static/scripts/main.js?v=1346036426"></script>
<script type="text/javascript">
user = '{% if user %}{{ user.name }}{% else %}{% endif %}';
</script>

0 comments on commit d769d68

Please sign in to comment.