Skip to content

Commit

Permalink
Adds stylesheet.
Browse files Browse the repository at this point in the history
Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>
  • Loading branch information
mkouhei committed Aug 20, 2016
1 parent bde0b0b commit 913fc79
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backyard/inventory/templates/inventories/show.html
Expand Up @@ -14,8 +14,10 @@ <h3>{{ inventory.product.name }}</h3>
<a href="/products/{{ inventory.product.id }}/unpacks/" class="list-group-item">unpacked <span class="tag tag-default tag-pill pull-xs-right">{{ quantity.unpacked_quantity }}</span></a>
<a class="list-group-item">remain <span class="tag tag-default tag-pill pull-xs-right">{{ quantity.remain_quantity }}</span></a>
</div>
<div>
<div class="button-group">
<button id="button-order-modal" type="button" class="btn btn-primary" data-toggle="modal" data-target="#order-modal">order</button>
</div>
<div>
<div id="order-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="order-moda-label" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
Expand Down
3 changes: 3 additions & 0 deletions backyard/static/css/common.css
@@ -0,0 +1,3 @@
.button-group {
margin-top: 10px;
}
2 changes: 2 additions & 0 deletions backyard/templates/layout.html
Expand Up @@ -7,6 +7,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Backyard</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.3/css/bootstrap.min.css" integrity="sha384-MIwDKRSSImVFAZCVLtU0LMDdON6KVCrZHyVQQj6e8wIEJkW4tvwqXrbMIya1vriY" crossorigin="anonymous">
{% load static %}
<link href="{% static 'css/common.css' %}" rel="stylesheet">
</head>
<body>
<!-- Navigation -->
Expand Down

0 comments on commit 913fc79

Please sign in to comment.