Skip to content

Commit

Permalink
F: OpenSeaMap#187 fix divs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Kuebler committed Feb 20, 2017
1 parent a4c5003 commit 72e5101
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 28 deletions.
1 change: 0 additions & 1 deletion src/js/oseam-views-gaugedialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ OSeaM.views.GaugeDialog = OSeaM.View.extend({
OSeaM.frontend.on("change:language", this.render, this);
},
render : function() {
new OSeaM.views.Wizard();
var language = OSeaM.frontend.getLanguage();
var template = OSeaM.loadTemplate('gaugedialog-' + language);
//var template = OSeaM.loadTemplate('vessel');
Expand Down
53 changes: 26 additions & 27 deletions src/js/templates/gaugedialog-en.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,33 @@
<div class="span8">
<h4>Gauge</h4>
<h5>Edit details of gauge</h5>

<div class="control-group">
<p><label class="tableft50">Name</label></p>
<div class="input-append">
<input type="text" class="input-mini" id="name" name="name" placeholder="0.00" value="{{name}}" title="Gauge Name"/>
<span class="add-on">m</span>
<span class="help-inline helpOsm"></span>
</div>
</div>

<div class="control-group">
<p><label class="tableft50">Latitude</label></p>
<div class="input-append">
<input type="text" class="input-mini" id="latitude" name="latitude" placeholder="0.0" value="{{latitude}}" title="Latitude"/>
<span class="add-on">Decimal Degree</span>
<span class="help-inline helpOsm"></span>
</div>
<div class="control-group">
<p><label class="tableft50">Name</label></p>
<div class="input-append">
<input type="text" id="name" name="name" placeholder="0.00" value="{{name}}" title="Gauge Name"/>
<span class="add-on">m</span>
<span class="help-inline helpOsm"></span>
</div>
</div>

<div class="control-group">
<p><label class="tableft50">Longitude</label></p>
<div class="input-append">
<input type="text" class="input-mini" id="longitude" name="longitude" placeholder="0.0" value="{{longitude}}" title="Longitude"/>
<span class="add-on">m</span>
<span class="help-inline helpOsm"></span>
</div>
</div>


<div class="control-group">
<p><label class="tableft50">Latitude</label></p>
<div class="input-append">
<input type="text" id="latitude" name="latitude" placeholder="0.0" value="{{latitude}}" title="Latitude"/>
<span class="add-on">°</span>
<span class="help-inline helpOsm"></span>
</div>
</div>

<div class="control-group">
<p><label class="tableft50">Longitude</label></p>
<div class="input-append">
<input type="text" id="longitude" name="longitude" placeholder="0.0" value="{{longitude}}" title="Longitude"/>
<span class="add-on">°</span>
<span class="help-inline helpOsm"></span>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" id="oseam-cancel" aria-hidden="true">Cancel</button>
Expand Down

0 comments on commit 72e5101

Please sign in to comment.