Skip to content

Commit 45fd440

Browse files
committed
added missing changes to app templates
1 parent 926be8d commit 45fd440

File tree

3 files changed

+31
-11
lines changed

3 files changed

+31
-11
lines changed

hicbrowser/client/README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
1-
# HiCBrowser-web-client
2-
A web client for HiCBrowser
1+
# HiCBrowser web client
2+
3+
This project aims to visualize gene expression profiles in the context of mitochondrial processes. See a working demo [here](http://jmvillaveces.github.io/mito_models_visualization/dist/).
4+
5+
## Getting Started
6+
7+
1. Clone the project
8+
`git clone https://github.com/maxplanck-ie/HiCBrowser`
9+
2. Install dependencies
10+
`npm i`
11+
3. Compile the project
12+
`grunt dist`
13+
14+
## Built With
15+
16+
* [NPM](https://www.npmjs.com/) - Dependency Management
17+
* [GRUNT](http://gruntjs.com/) - Task Runner
18+
* [Backbone](http://backbonejs.org/) - model–view–presenter (MVP) application design paradigm
19+
* [Handlebars](http://handlebarsjs.com/) - HTML templating
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div class="container-fixed">
22
<div class="row">
33
{{#each tracks}}
4-
<div class="col-xs-4 img_wrapper">
4+
<div class="col-xs-12 img_wrapper">
55
<img class="lazy" data-original="{{this}}">
66
<!--<img src="{{this}}" onload="imgLoaded(this)">-->
77
</div>
88
{{/each}}
99
</div>
10-
</div>
10+
</div>

hicbrowser/client/templates/gene.hbs

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
<div class="col-lg-12">
2-
2+
33
{{#if name}}
44
<h1 class="page-header">
55
{{name}}
6-
<small>
6+
<small>
77
chromosome {{chromosome}} (start: {{start}}, end: {{end}})
88
</small>
99
</h1>
1010
<div style="width: 900px;" id="{{feature_viewer}}"></div>
11-
<a href="/#/browser/{{chromosome}}:{{start}}-{{end}}">
12-
<img class="img-responsive" src="{{img}}" alt="" data-toggle="tooltip" title="Click image to explore region in browser">
13-
</a>
11+
12+
<ul class="nav nav-pills">
13+
<li class="active">
14+
<a href="/#/browser/{{chromosome}}:{{start}}-{{end}}">Explore region in browser</a>
15+
</li>
16+
</ul>
1417
{{/if}}
15-
18+
1619
{{#if error}}
1720
<div style="height:55%">
1821
<div class="alert alert-danger" role="alert">
@@ -23,4 +26,4 @@
2326
</div>
2427
{{/if}}
2528
<hr>
26-
</div>
29+
</div>

0 commit comments

Comments
 (0)