Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/helpers/links_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def link_agent_to_icon(link_agent)
return :wallpaper_engine if link_agent.include? 'Wallpaper-Engine-Client'
return :automate if link_agent.include? 'walltaker-android-automate'
return :arson_automate if link_agent.include? 'arson-walltaker-automate'
return :iphone_shortcuts if link_agent.include? 'WalltakeriOS-iPhone-Shortcut (mikapika.)'
return :ipad_shortcuts if link_agent.include? 'WalltakeriOS-iPad-Shortcut (mikapika.)'
return :ioswidget if link_agent.include? 'widgetExtension'
return :swift if link_agent.include? 'CFNetwork/'
return :android_changer if link_agent.include? 'Walltaker-Changer/'
Expand Down
2 changes: 2 additions & 0 deletions app/views/links/_details.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
automate: :mobile,
arson_automate: :mobile,
wallpaper_engine: :desktop,
ipad_shortcuts: :desktop,
iphone_shortcuts: :mobile,
ioswidget: :mobile,
swift: :desktop,
android_changer: :mobile,
Expand Down
8 changes: 7 additions & 1 deletion app/views/links/_link.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@
<% when :joihow %>
<span>JOI.how</span>
<ion-icon role="presentation" name="earth-outline"></ion-icon>
<% when :ipad_shortcuts>
<span>Walltaker Getter via Shortcuts</span>
<iconify-icon icon="solar:tablet-bold-duotone"></iconify-icon>
<% when :iphone_shortcuts>
<span>Walltaker Getter via Shortcuts</span>
<iconify-icon icon="solar:smartphone-bold-duotone"></iconify-icon>
<% when :automate %>
<span>Deans' Client</span>
<svg height="28" width="28">
Expand Down Expand Up @@ -219,4 +225,4 @@
<% if !link.never_expires && link.expires <= Time.now.utc %>
</div>
<% end %>
<% end %>
<% end %>
4 changes: 3 additions & 1 deletion public/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,10 @@ h3 span.beta-tag {

h2 > .online {
font-size: 1rem;
transform: translateY(-0.9rem);
vertical-align: middle;
transform: none;
display: inline-block;
padding-bottom: 0;
}

h2 ion-icon {
Expand Down
5 changes: 3 additions & 2 deletions public/link.css
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,12 @@ strong.online ion-icon {
strong.online::after {
content: '';
display: inline-block;
width: 1ch;
height: 1ch;
width: 10px;
height: 10px;
background: currentColor;
border-radius: 100%;
margin-left: 0.25rem;
vertical-align: 3px;
}

strong.offline {
Expand Down