Skip to content

Commit

Permalink
Fixes #17415: Missing information that markdown is supported for tech…
Browse files Browse the repository at this point in the history
…nique documentation
  • Loading branch information
ElaadF committed May 26, 2020
1 parent b5c3a48 commit 35a7aba
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
14 changes: 13 additions & 1 deletion builder/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,19 @@ body > .container-fluid > .row > div {
display: none;
}

/* ===== TECHNIQUES & METHODS ===== */
.markdown-icon {
width: 25px;
margin: 10px;
}

#markdown-info {
color: #938ea2;
font-style: italic;
font-size: 0.8em;
margin-bottom: 10px;
margin-left: 15px;
}
/* ===== TECHNIQUES & M {ETHODS ===== */
.col-techniques,
.col-methods{
background: #fff;
Expand Down
1 change: 1 addition & 0 deletions builder/css/markdown-mark-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 15 additions & 2 deletions builder/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,22 @@ <h3 ng-if="originalTechnique.name == ''"><i>New Technique</i></h3>
<span class="text-danger col-sm-8 col-sm-offset-3" ng-show="ui.editForm.name.$error.required && ui.editForm.name.$dirty">Technique name is required</span>
</div>
<div class="form-group">
<label for="techniqueDescription" class="col-sm-3 control-label"><span class="text-fit">Description</span></label>
<label for="techniqueDescription" class="col-sm-3 control-label">
<span class="text-fit">Documentation</span>
<img
class="markdown-icon tooltip-icon popover-bs"
src="ncf-builder/css/markdown-mark-solid.svg"
data-toggle="popover"
data-trigger="hover"
data-container="body"
data-placement="right"
data-content="Markdown format"
data-html="true"
/>
</label>
<div id="markdown-info">This content will be displayed in directives using this technique</div>
<div class="col-sm-8">
<textarea name="description" class="form-control" id="techniqueDescription" msd-elastic rows="1" ng-model="selectedTechnique.description" placeholder="Technique Description"></textarea>
<textarea name="description" class="form-control" id="techniqueDescription" type="text" msd-elastic rows="4" ng-model="selectedTechnique.description" placeholder="Technique Documentation"></textarea>
</div>
</div>
<div class="form-group" show-errors>
Expand Down

0 comments on commit 35a7aba

Please sign in to comment.