Skip to content

Commit

Permalink
style: 调整 app 详情页几个功能按钮的间距
Browse files Browse the repository at this point in the history
  • Loading branch information
icyleaf committed Jan 4, 2020
1 parent 8b9513b commit 794ca9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/releases/body/_metadata.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,17 @@
- if detect_device(@release.channel.device_type) == :ios
== render 'releases/body/install_cert'

button.btn.bg-success.btn-lg id="download_it" data-install-url="#{@release.install_url}" data-release-version="#{@release.version}" data-slug="#{@release.channel.slug}" data-toggle="modal" data-loading-text="<i class='fa fa-circle-o-notch fa-spin'></i> 正在安装..." data-target="#install-tips"
button.btn.btn-icon.bg-success.btn-lg id="download_it" data-install-url="#{@release.install_url}" data-release-version="#{@release.version}" data-slug="#{@release.channel.slug}" data-toggle="modal" data-loading-text="<i class='fa fa-circle-o-notch fa-spin'></i> 正在安装..." data-target="#install-tips"
i.fa.fa-paper-plane
| 在线安装
- else
a.btn.bg-success.btn-social href="#{@release.download_url}" target="_blank"
a.btn.btn-icon.bg-success.btn-social href="#{@release.download_url}" target="_blank"
i.fa.fa-download
| 本地下载

span style=("margin:0 5px")
- unless @release.ci_url.blank?
button#build_it.btn.bg-success.btn-social data-app-id="#{@release.app.id}" data-job="#{@release.ci_url}" data-loading-text=("<i class='fa fa-circle-o-notch fa-spin'></i> 正在构建...") data-toggle="modal" onclick="build()" style=("margin-left: 10px")
button#build_it.btn.btn-icon.bg-success.btn-social data-app-id="#{@release.app.id}" data-job="#{@release.ci_url}" data-loading-text=("<i class='fa fa-circle-o-notch fa-spin'></i> 正在构建...") data-toggle="modal" onclick="build()" style=("margin-left: 10px")
i.fa.fa-wrench
| 构建新版

Expand Down

0 comments on commit 794ca9a

Please sign in to comment.