Skip to content

Commit

Permalink
add unit_test.html
Browse files Browse the repository at this point in the history
  • Loading branch information
gshank committed Feb 29, 2024
1 parent fc54238 commit 51b4f5f
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
61 changes: 61 additions & 0 deletions src/app/docs/unit_test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<style>
/* TODO */
.section-target {
top: -8em;
}

.noflex {
flex: 0 0 160px !important;
}

.highlight {
color: #24292e;
background-color: white;
}

</style>

<div class='app-scroll'>
<div class="app-links app-sticky">
<div class="app-title">
<div class="app-frame app-pad app-flush-bottom">
<h1>
<span class="break">{{ model.name }}</span>
<small>test</small>
</h1>
</div>
</div>
<div class="app-frame app-pad-h">
<ul class="nav nav-tabs">
<li ui-sref-active='active'><a ui-sref="dbt.test({'#': 'description'})">Description</a></li>
<li ui-sref-active='active' ng-show = "parentsLength != 0"><a ui-sref="dbt.test({'#': 'depends_on'})">Depends On</a></li>
<li ui-sref-active='active'><a ui-sref="dbt.test({'#': 'code'})">SQL</a></li>
</ul>
</div>
</div>
<div class="app-details">
<div class="app-frame app-pad">
<section class="section">
<div class="section-target" id="description"></div>
<div class="section-content">
<h6>Description</h6>
<div class="panel">
<div class="panel-body">
<div ng-if="model.description" class="model-markdown" marked="model.description"></div>
<div ng-if="!model.description">This {{ model.resource_type }} is not currently documented</div>
</div>
</div>
</div>
</section>

<section class="section" ng-show = "parentsLength != 0">
<div class="section-target" id="depends_on"></div>
<div class="section-content">
<h6>Depends On</h6>
<reference-list references="parents" node="model" />
</div>
</section>

</div>
</div>
</div>
2 changes: 1 addition & 1 deletion src/app/index.routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const templates = {
snapshot: require('./docs/snapshot.html'),
seed: require('./docs/seed.html'),
test: require('./docs/test.html'),
unit_test: require('./docs/test.html'),
unit_test: require('./docs/unit_test.html'),
analysis: require('./docs/analysis.html'),
macro: require('./docs/macro.html'),
exposure: require('./docs/exposure.html'),
Expand Down

0 comments on commit 51b4f5f

Please sign in to comment.