0.2.1: fix style.

This commit is contained in:
2025-11-23 12:57:50 +08:00
parent d2625039e9
commit d33ce4c99b
3 changed files with 6 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ git clone https://git.licsber.site/ruby/open_explorer
## ChangeLog
```
251123周日0.2.1)改进样式 恢复button为a
251123周日0.2.0)对复制和打开功能作区分
250824周六0.1.2)增加复制功能
250823周六0.0.9)修改按钮出现位置;优化样式

View File

@@ -19,11 +19,12 @@
一键打开
</a>
<% else %>
<button onclick="copyLink(String.raw`<%= archive_url %>`); return false;"
<a href="#"
onclick="copyLink(String.raw`<%= archive_url %>`); return false;"
class="archive-button">
<span class="archive-icon">📋</span>
一键复制
</button>
</a>
<% end %>
<% end %>

View File

@@ -2,7 +2,7 @@ Redmine::Plugin.register :open_explorer do
name 'Open Explorer plugin'
author 'licsber'
description 'Open archive path using explorer.'
version '0.2.0'
version '0.2.1'
url 'https://git.licsber.site/ruby/open_explorer'
author_url 'https://licsber.site'
end