Skip to content

Commit

Permalink
add api key parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Nohzoh committed Nov 19, 2019
1 parent bcecc9d commit b1f5d0a
Show file tree
Hide file tree
Showing 9 changed files with 82,284 additions and 95,833 deletions.
49 changes: 27 additions & 22 deletions dist/diagramControl.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/diagramControl.js.map

Large diffs are not rendered by default.

56 changes: 31 additions & 25 deletions dist/diagramEditor.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
<h5 class="section-heading">Diagram Definition</h5>


<label><input type="radio" ng-model="ctrl.panel.mode" value="url" ng-change="ctrl.refresh()">URL</label>
<span> (This service should respond with a text/plain response containing <a target="_blank"
href="http://knsv.github.io/mermaid/">Mermaid syntax</a>.)
</span>
<input type="text"
style="width: 95%"
ng-model="ctrl.panel.mermaidServiceUrl"
ng-change="ctrl.refresh()"
ng-model-onblur/>
<label>
<input type="radio"
ng-model="ctrl.panel.mode"
ng-change="ctrl.refresh()"
value="content">Content</label>
<span> (This area uses <a target="_blank"
href="http://knsv.github.io/mermaid/">Mermaid syntax</a>.)
</span>
<textarea class="gf-form-input" ng-model="ctrl.panel.content" rows="25"
style="width: 95%" ng-change="ctrl.refresh()" ng-model-onblur></textarea>

<label>Custom Styles</label>
<textarea class="gf-form-input" ng-model="ctrl.panel.style" rows="10"
<h5 class="section-heading">Diagram Definition</h5>


<label><input type="radio" ng-model="ctrl.panel.mode" value="url" ng-change="ctrl.refresh()">URL</label>
<span> (This service should respond with a text/plain response containing <a target="_blank"
href="http://knsv.github.io/mermaid/">Mermaid syntax</a>.)
</span>
<input type="text"
style="width: 95%"
ng-model="ctrl.panel.mermaidServiceUrl"
ng-change="ctrl.refresh()"
ng-model-onblur/>
<label>Api key</label>
<input type="text"
style="width: 95%"
ng-model="ctrl.panel.mermaidServiceKey"
ng-change="ctrl.refresh()"
ng-model-onblur/>
<label>
<input type="radio"
ng-model="ctrl.panel.mode"
ng-change="ctrl.refresh()"
value="content">Content</label>
<span> (This area uses <a target="_blank"
href="http://knsv.github.io/mermaid/">Mermaid syntax</a>.)
</span>
<textarea class="gf-form-input" ng-model="ctrl.panel.content" rows="25"
style="width: 95%" ng-change="ctrl.refresh()" ng-model-onblur></textarea>

<label>Custom Styles</label>
<textarea class="gf-form-input" ng-model="ctrl.panel.style" rows="10"
style="width: 95%" ng-change="ctrl.refresh()" ng-model-onblur></textarea>
Loading

0 comments on commit b1f5d0a

Please sign in to comment.