FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update flag images to better ones; add retina versions by tjschuck · Pull Request #459 · tip4commit/tip4commit · GitHub

Repository navigation

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

Filter by extension

Filter by extension .css  (1) .haml  (1) .png  (48) All 3 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Binary file modified app/assets/images/flags/cn.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/cn@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/cn@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file modified app/assets/images/flags/de.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/de@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/de@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file modified app/assets/images/flags/en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/en@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/en@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file modified app/assets/images/flags/es.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/es@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/es@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file modified app/assets/images/flags/fr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/fr@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/fr@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file modified app/assets/images/flags/hk.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/hk@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/hk@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file modified app/assets/images/flags/hr.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/hr@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/hr@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file modified app/assets/images/flags/id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/id@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/id@4x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file modified app/assets/images/flags/ja.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Viewer requires iframe.
Binary file added app/assets/images/flags/ja@2x.png
Binary file added app/assets/images/flags/ja@4x.png
Binary file modified app/assets/images/flags/ko.png
Binary file added app/assets/images/flags/ko@2x.png
Binary file added app/assets/images/flags/ko@4x.png
Binary file modified app/assets/images/flags/my.png
Binary file added app/assets/images/flags/my@2x.png
Binary file added app/assets/images/flags/my@4x.png
Binary file modified app/assets/images/flags/nl.png
100755 → 100644
Binary file added app/assets/images/flags/nl@2x.png
Binary file added app/assets/images/flags/nl@4x.png
Binary file modified app/assets/images/flags/pl.png
Binary file added app/assets/images/flags/pl@2x.png
Binary file added app/assets/images/flags/pl@4x.png
Binary file modified app/assets/images/flags/pt.png
Binary file added app/assets/images/flags/pt@2x.png
Binary file added app/assets/images/flags/pt@4x.png
Binary file modified app/assets/images/flags/ro.png
Binary file added app/assets/images/flags/ro@2x.png
Binary file added app/assets/images/flags/ro@4x.png
Binary file modified app/assets/images/flags/ru.png
100755 → 100644
Binary file added app/assets/images/flags/ru@2x.png
Binary file added app/assets/images/flags/ru@4x.png
4 changes: 3 additions & 1 deletion app/assets/stylesheets/application.css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@

.rjust { text-align: right ; }

.qrcode { text-align: center; }
.qrcode { text-align: center; }

.flag { outline: 1px solid #ddd; }
3 changes: 2 additions & 1 deletion app/views/layouts/application.html.haml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@

%p.pull-right
- ::Rails.application.config.available_locales.each do |locale|
= link_to image_tag("flags/#{locale}.png"), "?locale=#{locale}", data: {no_turbolink: true}
- flag_basename = "flags/#{locale}"
= link_to image_tag("#{flag_basename}.png", srcset: { "#{flag_basename}@2x.png" => "2x", "#{flag_basename}@4x.png" => "4x" }, class: "flag"), "?locale=#{locale}", data: {no_turbolink: true}
%p
©
= link_to t('tip4commit'), 'http://tip4commit.com/', target: '_blank'
Expand Down

Back | FazBrowse Home | New Git URL