Commit f55010072fc163bece5c8953855a277e4d18473a

Authored by Adhidarma Hadiwinoto
1 parent ee4b9bcb3d
Exists in master

logo diatas, close #1

Showing 2 changed files with 7 additions and 1 deletions Side-by-side Diff

... ... @@ -47,6 +47,8 @@ app.get('/', function(req, res) {
47 47 //balances = getBalances(suppliers);
48 48  
49 49 res.render('basic_template.html', {
  50 + // logo, berdasar isu #1
  51 + logo: 'http://reload97.com/sites/default/files/web-reload97.png',
50 52 title: 'Supplier Balances',
51 53 balances: balances,
52 54 timestamp: new Date(),
views/basic_template.html
... ... @@ -18,7 +18,11 @@
18 18 <![endif]-->
19 19 </head>
20 20 <body>
21   - <h1>{title}</h1>
  21 + <h1>
  22 + <img src="{logo}">
  23 + <br/><br/>
  24 + {title}
  25 + </h1>
22 26  
23 27 <table class="table table-hover table-striped">
24 28 {for balance in balances}