Add link to library page from editor
This commit is contained in:
parent
dce39792ac
commit
a9d65b10b7
|
@ -11,7 +11,7 @@
|
|||
form-action 'none';
|
||||
">
|
||||
|
||||
<title>Sequence Diagram Plugin</title>
|
||||
<title>Sequence Diagram Library</title>
|
||||
<link rel="icon" href="favicon.png">
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Vollkorn" rel="stylesheet">
|
||||
|
|
|
@ -70,14 +70,20 @@ define([
|
|||
}
|
||||
|
||||
buildOptionsLinks() {
|
||||
const libLink = makeNode('a', {
|
||||
'href': '.',
|
||||
'target': '_blank',
|
||||
});
|
||||
libLink.appendChild(makeText('Library'));
|
||||
|
||||
const githubLink = makeNode('a', {
|
||||
'class': 'github',
|
||||
'href': 'https://github.com/davidje13/SequenceDiagram',
|
||||
'target': '_blank',
|
||||
});
|
||||
githubLink.appendChild(makeText('GitHub'));
|
||||
|
||||
const options = makeNode('div', {'class': 'options links'});
|
||||
options.appendChild(libLink);
|
||||
options.appendChild(githubLink);
|
||||
return options;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue