Skip to content

Commit

Permalink
fix ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ACTom committed Nov 26, 2024
1 parent 4fc52e2 commit def8c98
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ source_dir=$(build_dir)/source
sign_dir=$(build_dir)/sign
package_name=$(app_name)
cert_dir=$(CURDIR)/../../key
version+=0.0.31
version+=0.0.32

all: build-front appstore

Expand Down Expand Up @@ -39,6 +39,9 @@ appstore: clean
--exclude=/Makefile \
--exclude=/node_modules \
--exclude=/src \
--exclude=/package-lock.json \
--exclude=/package.json \
--exclude=/vite.config.ts \
$(project_dir)/ $(sign_dir)/$(app_name)

@if [[ -f $(cert_dir)/$(app_name).key && -f $(cert_dir)/$(app_name).crt ]]; then \
Expand Down
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<name>Mind Map</name>
<summary>A Mind map editor</summary>
<description><![CDATA[This application enables Nextcloud users to open, save and edit mind map files in the web browser. If enabled, an entry in the New button at the top of the web browser the Mindmap file entry appears. When clicked, a new mindmap file opens in the browser and the file can be saved into the current Nextcloud directory.]]></description>
<version>0.0.31</version>
<version>0.0.32</version>
<licence>agpl</licence>
<author mail="i@actom.me" homepage="https://actom.me">Jingtao Yan</author>
<namespace>Files_MindMap</namespace>
Expand Down
4 changes: 0 additions & 4 deletions src/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,6 @@ redirectIfNotDisplayedInFrame();
$('#save-button').click(function() {
self.save();
});
$('#close-button').click(function() {
self.close();
return false;
});
},
close: function() {
var self = this;
Expand Down
16 changes: 8 additions & 8 deletions templates/viewer.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
}
#autosave-div {
position: absolute;
right: 240px;
right: 260px;
z-index: 10000;
width: 100px;
}
Expand All @@ -64,9 +64,9 @@
}
#save-div {
position: absolute;
right: 140px;
right: 105px;
z-index: 10000;
width: 60px;
width: 160px;
}

#export-button {
Expand Down Expand Up @@ -99,19 +99,19 @@ class="btn btn-default export-caption dropdown-toggle"
</button>
<ul class="dropdown-menu" role="menu">
<li>
<a id="export-png" href"><?php p($l->t('Export to PNG')); ?></a>
<a id="export-png" href="javascript:void(0)" target="_self"><?php p($l->t('Export to PNG')); ?></a>
</li>
<li>
<a id="export-svg" href"><?php p($l->t('Export to SVG')); ?></a>
<a id="export-svg" href="javascript:void(0)" target="_self"><?php p($l->t('Export to SVG')); ?></a>
</li>
<li>
<a id="export-pdf" href"><?php p($l->t('Export to PDF')); ?></a>
<a id="export-pdf" href="javascript:void(0)" target="_self"><?php p($l->t('Export to PDF')); ?></a>
</li>
<li>
<a id="export-markdown" href"><?php p($l->t('Export to Markdown')); ?></a>
<a id="export-markdown" href="javascript:void(0)" target="_self"><?php p($l->t('Export to Markdown')); ?></a>
</li>
<li>
<a id="export-text" href"><?php p($l->t('Export to Text')); ?></a>
<a id="export-text" href="javascript:void(0)" target="_self"><?php p($l->t('Export to Text')); ?></a>
</li>
</ul>
</div>
Expand Down

0 comments on commit def8c98

Please sign in to comment.