mirror of
https://github.com/documize/community.git
synced 2025-08-02 20:15:26 +02:00
Support custom URLS for Diagrams.net
This commit is contained in:
parent
607a2d5797
commit
1a909dd046
8 changed files with 40 additions and 9 deletions
|
@ -17,11 +17,18 @@
|
|||
<small class="form-text text-muted">{{localize 'integration_jira_password_explain'}}</small>
|
||||
</div>
|
||||
|
||||
<h2>Diagrams.net</h2>
|
||||
<div class="form-group">
|
||||
<label for="flowchart-url">{{localize 'integration_jira_url'}}</label>
|
||||
{{focus-input id="flowchart-url" type="text" value=flowchart.url class="form-control"}}
|
||||
<small class="form-text text-muted">https://embed.diagrams.net/?embed=1&ui=Kennedy&spin=0&proto=json&splash=0</small>
|
||||
</div>
|
||||
|
||||
{{#if session.isGlobalAdmin}}
|
||||
<h2>Trello</h2>
|
||||
<div class="form-group">
|
||||
<label for="trello-key">{{localize 'integration_trello_appkey'}}</label>
|
||||
{{input id="trello-key" type="text" value=trelloCreds.appKey class="form-control"}}
|
||||
{{input id="trello-key" type="text" value=trelloCreds.appKey class="form-control"}}
|
||||
<small class="form-text text-muted"><a href="https://trello.com/app-key">https://trello.com/app-key</a></small>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{#section/base-editor document=document folder=folder page=page busy=waiting isDirty=(action "isDirty") onCancel=(action "onCancel") onAction=(action "onAction")}}
|
||||
<div class="section-flowchart-diagram">
|
||||
<iframe id={{editorId}}
|
||||
src="https://embed.diagrams.net/?embed=1&ui=Kennedy&spin=0&proto=json&splash=0"
|
||||
src={{serviceUrl}}
|
||||
style="frameborder:0; border: 0; width: 100%; height: 1000px;">
|
||||
</iframe>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue