2015-04-12 08:42:47 +02:00
|
|
|
// nav(ng-include='"components/navbar/navbar.html"')
|
|
|
|
|
2015-04-17 18:59:48 +02:00
|
|
|
nav(ng-include='"components/elements/header.html"', onload='title = "dubdiff"; subtitle ="results"')
|
2015-04-12 08:42:47 +02:00
|
|
|
|
|
|
|
.container
|
|
|
|
.row
|
|
|
|
.col-md-2.col-sm-12
|
2015-05-26 16:41:06 +02:00
|
|
|
.controls.well.btn-group.col-lg-12
|
2015-04-12 08:42:47 +02:00
|
|
|
a.btn.btn-block.btn-primary(ng-class='{"active": isShowBefore}', type='submit', ng-click='showBefore()')
|
|
|
|
| Original
|
|
|
|
a.btn.btn-block.btn-primary(ng-class='{"active": isShowAfter}', type='submit', ng-click='showAfter()')
|
|
|
|
| Final
|
|
|
|
a.btn.btn-block.btn-primary(ng-class='{"active": isShowWdiff}', type='submit', ng-click='showWdiff()')
|
|
|
|
| Difference
|
|
|
|
|
2015-05-26 16:41:06 +02:00
|
|
|
.controls.well.btn-group.col-lg-12
|
|
|
|
a.btn.btn-block.btn-primary(ng-class='{"active": isMarkdownFormat}', type='submit', ng-click='toggleMarkdownFormat()')
|
|
|
|
span.glyphicon(ng-class='{"glyphicon-ok": isMarkdownFormat}')
|
|
|
|
| As Markdown
|
2015-04-12 08:42:47 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-26 16:41:06 +02:00
|
|
|
div(ng-if='isMarkdownFormat')
|
|
|
|
|
|
|
|
.col-md-10.col-sm-12.content-well(ng-show='isShowBefore')
|
|
|
|
div.before(btf-markdown='before')
|
|
|
|
|
|
|
|
.col-md-10.col-sm-12.content-well(ng-show='isShowWdiff')
|
|
|
|
div.wdiff(btf-markdown='wdiff')
|
|
|
|
|
|
|
|
.col-md-10.col-sm-12.content-well(ng-show='isShowAfter')
|
|
|
|
div.after(btf-markdown='after')
|
|
|
|
|
|
|
|
|
|
|
|
div(ng-if='!isMarkdownFormat')
|
|
|
|
|
|
|
|
.col-md-10.col-sm-12.content-well(ng-show='isShowBefore')
|
|
|
|
.content-pre.before(ng-bind-html='before')
|
|
|
|
|
|
|
|
.col-md-10.col-sm-12.content-well(ng-show='isShowWdiff')
|
|
|
|
.content-pre.wdiff(ng-bind-html='wdiff')
|
|
|
|
|
|
|
|
.col-md-10.col-sm-12.content-well(ng-show='isShowAfter')
|
|
|
|
.content-pre.after(ng-bind-html='after')
|
2015-04-12 08:42:47 +02:00
|
|
|
|
|
|
|
footer(ng-include='"components/elements/footer.html"')
|