diff --git a/Gemfile b/Gemfile index 5eceb52..978b2d0 100644 --- a/Gemfile +++ b/Gemfile @@ -19,7 +19,7 @@ gem 'bluecloth', '~> 2.2.0' gem 'newrelic_rpm', '~> 3.13.0.299' gem 'will_paginate', '~> 3.0.5' gem 'dynamic_form', '~> 1.1.4' -gem 'country_code_select', '~> 1.0.1' +gem 'country_select', require: 'country_select_without_sort_alphabetical' gem 'active_link_to', '~> 1.0.2' gem 'rmagick', '~> 2.13.4', require: false gem 'steam-condenser', github: 'koraktor/steam-condenser-ruby' diff --git a/Gemfile.lock b/Gemfile.lock index d6bba31..5c2bc3d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -96,8 +96,14 @@ GEM execjs coffee-script-source (1.7.0) columnize (0.8.9) - country_code_select (1.0.1) - activesupport (>= 3.0) + countries (2.1.2) + i18n_data (~> 0.8.0) + money (~> 6.9) + sixarm_ruby_unaccent (~> 1.1) + unicode_utils (~> 1.4) + country_select (3.1.0) + countries (~> 2.0) + sort_alphabetical (~> 1.0) dalli (2.7.1) database_cleaner (1.2.0) debug_inspector (0.0.2) @@ -146,6 +152,7 @@ GEM httpclient (2.8.3) hurley (0.2) i18n (0.7.0) + i18n_data (0.8.0) journey (1.0.4) jquery-rails (2.0.3) railties (>= 3.1.0, < 5.0) @@ -164,6 +171,8 @@ GEM method_source (0.8.2) mime-types (1.25.1) mini_portile (0.6.2) + money (6.9.0) + i18n (>= 0.6.4, < 0.9) multi_json (1.11.2) multi_xml (0.5.5) multipart-post (2.0.0) @@ -271,7 +280,10 @@ GEM multi_json (~> 1.0) simplecov-html (~> 0.7.1) simplecov-html (0.7.1) + sixarm_ruby_unaccent (1.2.0) slop (3.5.0) + sort_alphabetical (1.1.0) + unicode_utils (>= 1.2.2) sprockets (2.2.3) hike (~> 1.2) multi_json (~> 1.0) @@ -302,6 +314,7 @@ GEM uglifier (2.5.0) execjs (>= 0.3.0) json (>= 1.8.0) + unicode_utils (1.4.0) websocket (1.0.7) websocket-driver (0.5.4) websocket-extensions (>= 0.1.0) @@ -329,7 +342,7 @@ DEPENDENCIES carrierwave (~> 0.10.0) codeclimate-test-reporter (~> 0.3.0) coffee-rails (~> 3.2.2) - country_code_select (~> 1.0.1) + country_select dalli (~> 2.7.0) database_cleaner (~> 1.2.0) dotenv-rails (~> 0.10.0) @@ -372,4 +385,4 @@ RUBY VERSION ruby 2.2.2p95 BUNDLED WITH - 1.14.6 + 1.15.1 diff --git a/app/assets/images/flags/AD.png b/app/assets/images/flags/AD.png deleted file mode 100644 index 52b3f8d..0000000 Binary files a/app/assets/images/flags/AD.png and /dev/null differ diff --git a/app/assets/images/flags/AE.png b/app/assets/images/flags/AE.png deleted file mode 100644 index a4383d2..0000000 Binary files a/app/assets/images/flags/AE.png and /dev/null differ diff --git a/app/assets/images/flags/AF.png b/app/assets/images/flags/AF.png deleted file mode 100644 index 11074cc..0000000 Binary files a/app/assets/images/flags/AF.png and /dev/null differ diff --git a/app/assets/images/flags/AG.png b/app/assets/images/flags/AG.png deleted file mode 100644 index ca68482..0000000 Binary files a/app/assets/images/flags/AG.png and /dev/null differ diff --git a/app/assets/images/flags/AI.png b/app/assets/images/flags/AI.png deleted file mode 100644 index c2d32a3..0000000 Binary files a/app/assets/images/flags/AI.png and /dev/null differ diff --git a/app/assets/images/flags/AL.png b/app/assets/images/flags/AL.png deleted file mode 100644 index 9b6ce18..0000000 Binary files a/app/assets/images/flags/AL.png and /dev/null differ diff --git a/app/assets/images/flags/AM.png b/app/assets/images/flags/AM.png deleted file mode 100644 index 30975d0..0000000 Binary files a/app/assets/images/flags/AM.png and /dev/null differ diff --git a/app/assets/images/flags/AN.png b/app/assets/images/flags/AN.png deleted file mode 100644 index b09f152..0000000 Binary files a/app/assets/images/flags/AN.png and /dev/null differ diff --git a/app/assets/images/flags/AO.png b/app/assets/images/flags/AO.png deleted file mode 100644 index f73e6e3..0000000 Binary files a/app/assets/images/flags/AO.png and /dev/null differ diff --git a/app/assets/images/flags/AQ.png b/app/assets/images/flags/AQ.png deleted file mode 100644 index cfd62d0..0000000 Binary files a/app/assets/images/flags/AQ.png and /dev/null differ diff --git a/app/assets/images/flags/AR.png b/app/assets/images/flags/AR.png deleted file mode 100644 index 3f11d75..0000000 Binary files a/app/assets/images/flags/AR.png and /dev/null differ diff --git a/app/assets/images/flags/AS.png b/app/assets/images/flags/AS.png deleted file mode 100644 index bc04b1d..0000000 Binary files a/app/assets/images/flags/AS.png and /dev/null differ diff --git a/app/assets/images/flags/AT.png b/app/assets/images/flags/AT.png deleted file mode 100644 index 563e011..0000000 Binary files a/app/assets/images/flags/AT.png and /dev/null differ diff --git a/app/assets/images/flags/AU.png b/app/assets/images/flags/AU.png deleted file mode 100644 index 1f60807..0000000 Binary files a/app/assets/images/flags/AU.png and /dev/null differ diff --git a/app/assets/images/flags/AW.png b/app/assets/images/flags/AW.png deleted file mode 100644 index 6416975..0000000 Binary files a/app/assets/images/flags/AW.png and /dev/null differ diff --git a/app/assets/images/flags/AX.png b/app/assets/images/flags/AX.png deleted file mode 100644 index 32d8161..0000000 Binary files a/app/assets/images/flags/AX.png and /dev/null differ diff --git a/app/assets/images/flags/AZ.png b/app/assets/images/flags/AZ.png deleted file mode 100644 index f2c8a78..0000000 Binary files a/app/assets/images/flags/AZ.png and /dev/null differ diff --git a/app/assets/images/flags/BA.png b/app/assets/images/flags/BA.png deleted file mode 100644 index a4b3d21..0000000 Binary files a/app/assets/images/flags/BA.png and /dev/null differ diff --git a/app/assets/images/flags/BB.png b/app/assets/images/flags/BB.png deleted file mode 100644 index 863a347..0000000 Binary files a/app/assets/images/flags/BB.png and /dev/null differ diff --git a/app/assets/images/flags/BD.png b/app/assets/images/flags/BD.png deleted file mode 100644 index 88e78d7..0000000 Binary files a/app/assets/images/flags/BD.png and /dev/null differ diff --git a/app/assets/images/flags/BE.png b/app/assets/images/flags/BE.png deleted file mode 100644 index c3ea8ce..0000000 Binary files a/app/assets/images/flags/BE.png and /dev/null differ diff --git a/app/assets/images/flags/BF.png b/app/assets/images/flags/BF.png deleted file mode 100644 index cb5daf2..0000000 Binary files a/app/assets/images/flags/BF.png and /dev/null differ diff --git a/app/assets/images/flags/BG.png b/app/assets/images/flags/BG.png deleted file mode 100644 index ffb444a..0000000 Binary files a/app/assets/images/flags/BG.png and /dev/null differ diff --git a/app/assets/images/flags/BH.png b/app/assets/images/flags/BH.png deleted file mode 100644 index 3ac5bae..0000000 Binary files a/app/assets/images/flags/BH.png and /dev/null differ diff --git a/app/assets/images/flags/BI.png b/app/assets/images/flags/BI.png deleted file mode 100644 index ebe14f3..0000000 Binary files a/app/assets/images/flags/BI.png and /dev/null differ diff --git a/app/assets/images/flags/BJ.png b/app/assets/images/flags/BJ.png deleted file mode 100644 index d78c94c..0000000 Binary files a/app/assets/images/flags/BJ.png and /dev/null differ diff --git a/app/assets/images/flags/BL.png b/app/assets/images/flags/BL.png deleted file mode 100644 index ade01d4..0000000 Binary files a/app/assets/images/flags/BL.png and /dev/null differ diff --git a/app/assets/images/flags/BM.png b/app/assets/images/flags/BM.png deleted file mode 100644 index ed7fb2f..0000000 Binary files a/app/assets/images/flags/BM.png and /dev/null differ diff --git a/app/assets/images/flags/BN.png b/app/assets/images/flags/BN.png deleted file mode 100644 index d6d0d6c..0000000 Binary files a/app/assets/images/flags/BN.png and /dev/null differ diff --git a/app/assets/images/flags/BO.png b/app/assets/images/flags/BO.png deleted file mode 100644 index ac32cdf..0000000 Binary files a/app/assets/images/flags/BO.png and /dev/null differ diff --git a/app/assets/images/flags/BR.png b/app/assets/images/flags/BR.png deleted file mode 100644 index e660338..0000000 Binary files a/app/assets/images/flags/BR.png and /dev/null differ diff --git a/app/assets/images/flags/BS.png b/app/assets/images/flags/BS.png deleted file mode 100644 index 24db9da..0000000 Binary files a/app/assets/images/flags/BS.png and /dev/null differ diff --git a/app/assets/images/flags/BT.png b/app/assets/images/flags/BT.png deleted file mode 100644 index 13989ed..0000000 Binary files a/app/assets/images/flags/BT.png and /dev/null differ diff --git a/app/assets/images/flags/BW.png b/app/assets/images/flags/BW.png deleted file mode 100644 index 77c3761..0000000 Binary files a/app/assets/images/flags/BW.png and /dev/null differ diff --git a/app/assets/images/flags/BY.png b/app/assets/images/flags/BY.png deleted file mode 100644 index 784f69c..0000000 Binary files a/app/assets/images/flags/BY.png and /dev/null differ diff --git a/app/assets/images/flags/BZ.png b/app/assets/images/flags/BZ.png deleted file mode 100644 index ca66a15..0000000 Binary files a/app/assets/images/flags/BZ.png and /dev/null differ diff --git a/app/assets/images/flags/CA.png b/app/assets/images/flags/CA.png deleted file mode 100644 index fd089c2..0000000 Binary files a/app/assets/images/flags/CA.png and /dev/null differ diff --git a/app/assets/images/flags/CC.png b/app/assets/images/flags/CC.png deleted file mode 100644 index 35cfe7f..0000000 Binary files a/app/assets/images/flags/CC.png and /dev/null differ diff --git a/app/assets/images/flags/CD.png b/app/assets/images/flags/CD.png deleted file mode 100644 index bec710d..0000000 Binary files a/app/assets/images/flags/CD.png and /dev/null differ diff --git a/app/assets/images/flags/CF.png b/app/assets/images/flags/CF.png deleted file mode 100644 index ae33452..0000000 Binary files a/app/assets/images/flags/CF.png and /dev/null differ diff --git a/app/assets/images/flags/CG.png b/app/assets/images/flags/CG.png deleted file mode 100644 index c0b72bc..0000000 Binary files a/app/assets/images/flags/CG.png and /dev/null differ diff --git a/app/assets/images/flags/CH.png b/app/assets/images/flags/CH.png deleted file mode 100644 index 2f22b90..0000000 Binary files a/app/assets/images/flags/CH.png and /dev/null differ diff --git a/app/assets/images/flags/CI.png b/app/assets/images/flags/CI.png deleted file mode 100644 index 8326e1d..0000000 Binary files a/app/assets/images/flags/CI.png and /dev/null differ diff --git a/app/assets/images/flags/CK.png b/app/assets/images/flags/CK.png deleted file mode 100644 index fbdb7dd..0000000 Binary files a/app/assets/images/flags/CK.png and /dev/null differ diff --git a/app/assets/images/flags/CL.png b/app/assets/images/flags/CL.png deleted file mode 100644 index 6768c75..0000000 Binary files a/app/assets/images/flags/CL.png and /dev/null differ diff --git a/app/assets/images/flags/CM.png b/app/assets/images/flags/CM.png deleted file mode 100644 index c03409b..0000000 Binary files a/app/assets/images/flags/CM.png and /dev/null differ diff --git a/app/assets/images/flags/CN.png b/app/assets/images/flags/CN.png deleted file mode 100644 index 08fca13..0000000 Binary files a/app/assets/images/flags/CN.png and /dev/null differ diff --git a/app/assets/images/flags/CO.png b/app/assets/images/flags/CO.png deleted file mode 100644 index af86cd0..0000000 Binary files a/app/assets/images/flags/CO.png and /dev/null differ diff --git a/app/assets/images/flags/CR.png b/app/assets/images/flags/CR.png deleted file mode 100644 index 9de7a24..0000000 Binary files a/app/assets/images/flags/CR.png and /dev/null differ diff --git a/app/assets/images/flags/CU.png b/app/assets/images/flags/CU.png deleted file mode 100644 index 4ba1a41..0000000 Binary files a/app/assets/images/flags/CU.png and /dev/null differ diff --git a/app/assets/images/flags/CV.png b/app/assets/images/flags/CV.png deleted file mode 100644 index b8bf179..0000000 Binary files a/app/assets/images/flags/CV.png and /dev/null differ diff --git a/app/assets/images/flags/CW.png b/app/assets/images/flags/CW.png deleted file mode 100644 index 58b08de..0000000 Binary files a/app/assets/images/flags/CW.png and /dev/null differ diff --git a/app/assets/images/flags/CX.png b/app/assets/images/flags/CX.png deleted file mode 100644 index 0916464..0000000 Binary files a/app/assets/images/flags/CX.png and /dev/null differ diff --git a/app/assets/images/flags/CY.png b/app/assets/images/flags/CY.png deleted file mode 100644 index 885bfd6..0000000 Binary files a/app/assets/images/flags/CY.png and /dev/null differ diff --git a/app/assets/images/flags/CZ.png b/app/assets/images/flags/CZ.png deleted file mode 100644 index 73ac442..0000000 Binary files a/app/assets/images/flags/CZ.png and /dev/null differ diff --git a/app/assets/images/flags/DE.png b/app/assets/images/flags/DE.png deleted file mode 100644 index 0c229c3..0000000 Binary files a/app/assets/images/flags/DE.png and /dev/null differ diff --git a/app/assets/images/flags/DJ.png b/app/assets/images/flags/DJ.png deleted file mode 100644 index 68a297b..0000000 Binary files a/app/assets/images/flags/DJ.png and /dev/null differ diff --git a/app/assets/images/flags/DK.png b/app/assets/images/flags/DK.png deleted file mode 100644 index 6edf00b..0000000 Binary files a/app/assets/images/flags/DK.png and /dev/null differ diff --git a/app/assets/images/flags/DM.png b/app/assets/images/flags/DM.png deleted file mode 100644 index 7cd1131..0000000 Binary files a/app/assets/images/flags/DM.png and /dev/null differ diff --git a/app/assets/images/flags/DO.png b/app/assets/images/flags/DO.png deleted file mode 100644 index d2ae5b6..0000000 Binary files a/app/assets/images/flags/DO.png and /dev/null differ diff --git a/app/assets/images/flags/DZ.png b/app/assets/images/flags/DZ.png deleted file mode 100644 index 9cde087..0000000 Binary files a/app/assets/images/flags/DZ.png and /dev/null differ diff --git a/app/assets/images/flags/EC.png b/app/assets/images/flags/EC.png deleted file mode 100644 index ba11aaa..0000000 Binary files a/app/assets/images/flags/EC.png and /dev/null differ diff --git a/app/assets/images/flags/EE.png b/app/assets/images/flags/EE.png deleted file mode 100644 index 20150fc..0000000 Binary files a/app/assets/images/flags/EE.png and /dev/null differ diff --git a/app/assets/images/flags/EG.png b/app/assets/images/flags/EG.png deleted file mode 100644 index 9b157a4..0000000 Binary files a/app/assets/images/flags/EG.png and /dev/null differ diff --git a/app/assets/images/flags/EH.png b/app/assets/images/flags/EH.png deleted file mode 100644 index caec718..0000000 Binary files a/app/assets/images/flags/EH.png and /dev/null differ diff --git a/app/assets/images/flags/ER.png b/app/assets/images/flags/ER.png deleted file mode 100644 index c36d218..0000000 Binary files a/app/assets/images/flags/ER.png and /dev/null differ diff --git a/app/assets/images/flags/ES.png b/app/assets/images/flags/ES.png deleted file mode 100644 index 39d0c76..0000000 Binary files a/app/assets/images/flags/ES.png and /dev/null differ diff --git a/app/assets/images/flags/ET.png b/app/assets/images/flags/ET.png deleted file mode 100644 index 87da26f..0000000 Binary files a/app/assets/images/flags/ET.png and /dev/null differ diff --git a/app/assets/images/flags/EU.png b/app/assets/images/flags/EU.png deleted file mode 100644 index ccdf7d8..0000000 Binary files a/app/assets/images/flags/EU.png and /dev/null differ diff --git a/app/assets/images/flags/FI.png b/app/assets/images/flags/FI.png deleted file mode 100644 index c9f17f6..0000000 Binary files a/app/assets/images/flags/FI.png and /dev/null differ diff --git a/app/assets/images/flags/FJ.png b/app/assets/images/flags/FJ.png deleted file mode 100644 index 13a8bfd..0000000 Binary files a/app/assets/images/flags/FJ.png and /dev/null differ diff --git a/app/assets/images/flags/FK.png b/app/assets/images/flags/FK.png deleted file mode 100644 index f9ebef2..0000000 Binary files a/app/assets/images/flags/FK.png and /dev/null differ diff --git a/app/assets/images/flags/FM.png b/app/assets/images/flags/FM.png deleted file mode 100644 index e4596ce..0000000 Binary files a/app/assets/images/flags/FM.png and /dev/null differ diff --git a/app/assets/images/flags/FO.png b/app/assets/images/flags/FO.png deleted file mode 100644 index 8cb6c90..0000000 Binary files a/app/assets/images/flags/FO.png and /dev/null differ diff --git a/app/assets/images/flags/FR.png b/app/assets/images/flags/FR.png deleted file mode 100644 index f27f411..0000000 Binary files a/app/assets/images/flags/FR.png and /dev/null differ diff --git a/app/assets/images/flags/FX.png b/app/assets/images/flags/FX.png deleted file mode 100644 index f27f411..0000000 Binary files a/app/assets/images/flags/FX.png and /dev/null differ diff --git a/app/assets/images/flags/GA.png b/app/assets/images/flags/GA.png deleted file mode 100644 index 317dd67..0000000 Binary files a/app/assets/images/flags/GA.png and /dev/null differ diff --git a/app/assets/images/flags/GB.png b/app/assets/images/flags/GB.png deleted file mode 100644 index 02fa2a1..0000000 Binary files a/app/assets/images/flags/GB.png and /dev/null differ diff --git a/app/assets/images/flags/GD.png b/app/assets/images/flags/GD.png deleted file mode 100644 index 1670317..0000000 Binary files a/app/assets/images/flags/GD.png and /dev/null differ diff --git a/app/assets/images/flags/GE.png b/app/assets/images/flags/GE.png deleted file mode 100644 index eda18d8..0000000 Binary files a/app/assets/images/flags/GE.png and /dev/null differ diff --git a/app/assets/images/flags/GG.png b/app/assets/images/flags/GG.png deleted file mode 100644 index 273e5e7..0000000 Binary files a/app/assets/images/flags/GG.png and /dev/null differ diff --git a/app/assets/images/flags/GH.png b/app/assets/images/flags/GH.png deleted file mode 100644 index 4fcc198..0000000 Binary files a/app/assets/images/flags/GH.png and /dev/null differ diff --git a/app/assets/images/flags/GI.png b/app/assets/images/flags/GI.png deleted file mode 100644 index 8b76b45..0000000 Binary files a/app/assets/images/flags/GI.png and /dev/null differ diff --git a/app/assets/images/flags/GL.png b/app/assets/images/flags/GL.png deleted file mode 100644 index a3835b7..0000000 Binary files a/app/assets/images/flags/GL.png and /dev/null differ diff --git a/app/assets/images/flags/GM.png b/app/assets/images/flags/GM.png deleted file mode 100644 index 814d391..0000000 Binary files a/app/assets/images/flags/GM.png and /dev/null differ diff --git a/app/assets/images/flags/GN.png b/app/assets/images/flags/GN.png deleted file mode 100644 index 1c3b5b2..0000000 Binary files a/app/assets/images/flags/GN.png and /dev/null differ diff --git a/app/assets/images/flags/GQ.png b/app/assets/images/flags/GQ.png deleted file mode 100644 index ce53907..0000000 Binary files a/app/assets/images/flags/GQ.png and /dev/null differ diff --git a/app/assets/images/flags/GR.png b/app/assets/images/flags/GR.png deleted file mode 100644 index 5f6320f..0000000 Binary files a/app/assets/images/flags/GR.png and /dev/null differ diff --git a/app/assets/images/flags/GS.png b/app/assets/images/flags/GS.png deleted file mode 100644 index 00d20b6..0000000 Binary files a/app/assets/images/flags/GS.png and /dev/null differ diff --git a/app/assets/images/flags/GT.png b/app/assets/images/flags/GT.png deleted file mode 100644 index a587b51..0000000 Binary files a/app/assets/images/flags/GT.png and /dev/null differ diff --git a/app/assets/images/flags/GU.png b/app/assets/images/flags/GU.png deleted file mode 100644 index 5004db6..0000000 Binary files a/app/assets/images/flags/GU.png and /dev/null differ diff --git a/app/assets/images/flags/GW.png b/app/assets/images/flags/GW.png deleted file mode 100644 index 808a1ef..0000000 Binary files a/app/assets/images/flags/GW.png and /dev/null differ diff --git a/app/assets/images/flags/GY.png b/app/assets/images/flags/GY.png deleted file mode 100644 index b94d736..0000000 Binary files a/app/assets/images/flags/GY.png and /dev/null differ diff --git a/app/assets/images/flags/HK.png b/app/assets/images/flags/HK.png deleted file mode 100644 index c17e4ce..0000000 Binary files a/app/assets/images/flags/HK.png and /dev/null differ diff --git a/app/assets/images/flags/HN.png b/app/assets/images/flags/HN.png deleted file mode 100644 index 9635f7e..0000000 Binary files a/app/assets/images/flags/HN.png and /dev/null differ diff --git a/app/assets/images/flags/HR.png b/app/assets/images/flags/HR.png deleted file mode 100644 index e4fc75a..0000000 Binary files a/app/assets/images/flags/HR.png and /dev/null differ diff --git a/app/assets/images/flags/HT.png b/app/assets/images/flags/HT.png deleted file mode 100644 index 9f52fc4..0000000 Binary files a/app/assets/images/flags/HT.png and /dev/null differ diff --git a/app/assets/images/flags/HU.png b/app/assets/images/flags/HU.png deleted file mode 100644 index 6d4478f..0000000 Binary files a/app/assets/images/flags/HU.png and /dev/null differ diff --git a/app/assets/images/flags/IC.png b/app/assets/images/flags/IC.png deleted file mode 100644 index 5f2343f..0000000 Binary files a/app/assets/images/flags/IC.png and /dev/null differ diff --git a/app/assets/images/flags/ID.png b/app/assets/images/flags/ID.png deleted file mode 100644 index 63ad1fc..0000000 Binary files a/app/assets/images/flags/ID.png and /dev/null differ diff --git a/app/assets/images/flags/IE.png b/app/assets/images/flags/IE.png deleted file mode 100644 index 44062f6..0000000 Binary files a/app/assets/images/flags/IE.png and /dev/null differ diff --git a/app/assets/images/flags/IL.png b/app/assets/images/flags/IL.png deleted file mode 100644 index 8a8d4a8..0000000 Binary files a/app/assets/images/flags/IL.png and /dev/null differ diff --git a/app/assets/images/flags/IM.png b/app/assets/images/flags/IM.png deleted file mode 100644 index 3f30b7a..0000000 Binary files a/app/assets/images/flags/IM.png and /dev/null differ diff --git a/app/assets/images/flags/IN.png b/app/assets/images/flags/IN.png deleted file mode 100644 index 3e43337..0000000 Binary files a/app/assets/images/flags/IN.png and /dev/null differ diff --git a/app/assets/images/flags/IQ.png b/app/assets/images/flags/IQ.png deleted file mode 100644 index 6418593..0000000 Binary files a/app/assets/images/flags/IQ.png and /dev/null differ diff --git a/app/assets/images/flags/IR.png b/app/assets/images/flags/IR.png deleted file mode 100644 index 1506e99..0000000 Binary files a/app/assets/images/flags/IR.png and /dev/null differ diff --git a/app/assets/images/flags/IS.png b/app/assets/images/flags/IS.png deleted file mode 100644 index 33d2499..0000000 Binary files a/app/assets/images/flags/IS.png and /dev/null differ diff --git a/app/assets/images/flags/IT.png b/app/assets/images/flags/IT.png deleted file mode 100644 index 53ec702..0000000 Binary files a/app/assets/images/flags/IT.png and /dev/null differ diff --git a/app/assets/images/flags/JE.png b/app/assets/images/flags/JE.png deleted file mode 100644 index 2e3a1a7..0000000 Binary files a/app/assets/images/flags/JE.png and /dev/null differ diff --git a/app/assets/images/flags/JM.png b/app/assets/images/flags/JM.png deleted file mode 100644 index b55ccfc..0000000 Binary files a/app/assets/images/flags/JM.png and /dev/null differ diff --git a/app/assets/images/flags/JO.png b/app/assets/images/flags/JO.png deleted file mode 100644 index 7a3be3f..0000000 Binary files a/app/assets/images/flags/JO.png and /dev/null differ diff --git a/app/assets/images/flags/JP.png b/app/assets/images/flags/JP.png deleted file mode 100644 index 0516af4..0000000 Binary files a/app/assets/images/flags/JP.png and /dev/null differ diff --git a/app/assets/images/flags/KE.png b/app/assets/images/flags/KE.png deleted file mode 100644 index 7296684..0000000 Binary files a/app/assets/images/flags/KE.png and /dev/null differ diff --git a/app/assets/images/flags/KG.png b/app/assets/images/flags/KG.png deleted file mode 100644 index 1b38e31..0000000 Binary files a/app/assets/images/flags/KG.png and /dev/null differ diff --git a/app/assets/images/flags/KH.png b/app/assets/images/flags/KH.png deleted file mode 100644 index 4881570..0000000 Binary files a/app/assets/images/flags/KH.png and /dev/null differ diff --git a/app/assets/images/flags/KI.png b/app/assets/images/flags/KI.png deleted file mode 100644 index 0bf057e..0000000 Binary files a/app/assets/images/flags/KI.png and /dev/null differ diff --git a/app/assets/images/flags/KM.png b/app/assets/images/flags/KM.png deleted file mode 100644 index eef9dcb..0000000 Binary files a/app/assets/images/flags/KM.png and /dev/null differ diff --git a/app/assets/images/flags/KN.png b/app/assets/images/flags/KN.png deleted file mode 100644 index 55a0a88..0000000 Binary files a/app/assets/images/flags/KN.png and /dev/null differ diff --git a/app/assets/images/flags/KP.png b/app/assets/images/flags/KP.png deleted file mode 100644 index 8323a97..0000000 Binary files a/app/assets/images/flags/KP.png and /dev/null differ diff --git a/app/assets/images/flags/KR.png b/app/assets/images/flags/KR.png deleted file mode 100644 index f6f6baa..0000000 Binary files a/app/assets/images/flags/KR.png and /dev/null differ diff --git a/app/assets/images/flags/KW.png b/app/assets/images/flags/KW.png deleted file mode 100644 index 3e899f6..0000000 Binary files a/app/assets/images/flags/KW.png and /dev/null differ diff --git a/app/assets/images/flags/KY.png b/app/assets/images/flags/KY.png deleted file mode 100644 index 49e4c7c..0000000 Binary files a/app/assets/images/flags/KY.png and /dev/null differ diff --git a/app/assets/images/flags/KZ.png b/app/assets/images/flags/KZ.png deleted file mode 100644 index 04e0e42..0000000 Binary files a/app/assets/images/flags/KZ.png and /dev/null differ diff --git a/app/assets/images/flags/LA.png b/app/assets/images/flags/LA.png deleted file mode 100644 index e3d22fd..0000000 Binary files a/app/assets/images/flags/LA.png and /dev/null differ diff --git a/app/assets/images/flags/LB.png b/app/assets/images/flags/LB.png deleted file mode 100644 index 04d889c..0000000 Binary files a/app/assets/images/flags/LB.png and /dev/null differ diff --git a/app/assets/images/flags/LC.png b/app/assets/images/flags/LC.png deleted file mode 100644 index fbba84e..0000000 Binary files a/app/assets/images/flags/LC.png and /dev/null differ diff --git a/app/assets/images/flags/LI.png b/app/assets/images/flags/LI.png deleted file mode 100644 index 78ddc1f..0000000 Binary files a/app/assets/images/flags/LI.png and /dev/null differ diff --git a/app/assets/images/flags/LK.png b/app/assets/images/flags/LK.png deleted file mode 100644 index d393119..0000000 Binary files a/app/assets/images/flags/LK.png and /dev/null differ diff --git a/app/assets/images/flags/LR.png b/app/assets/images/flags/LR.png deleted file mode 100644 index 17954ee..0000000 Binary files a/app/assets/images/flags/LR.png and /dev/null differ diff --git a/app/assets/images/flags/LS.png b/app/assets/images/flags/LS.png deleted file mode 100644 index 9eca793..0000000 Binary files a/app/assets/images/flags/LS.png and /dev/null differ diff --git a/app/assets/images/flags/LT.png b/app/assets/images/flags/LT.png deleted file mode 100644 index 3d2b525..0000000 Binary files a/app/assets/images/flags/LT.png and /dev/null differ diff --git a/app/assets/images/flags/LU.png b/app/assets/images/flags/LU.png deleted file mode 100644 index 36171c8..0000000 Binary files a/app/assets/images/flags/LU.png and /dev/null differ diff --git a/app/assets/images/flags/LV.png b/app/assets/images/flags/LV.png deleted file mode 100644 index 89f459f..0000000 Binary files a/app/assets/images/flags/LV.png and /dev/null differ diff --git a/app/assets/images/flags/LY.png b/app/assets/images/flags/LY.png deleted file mode 100644 index 58ad284..0000000 Binary files a/app/assets/images/flags/LY.png and /dev/null differ diff --git a/app/assets/images/flags/MA.png b/app/assets/images/flags/MA.png deleted file mode 100644 index 055948e..0000000 Binary files a/app/assets/images/flags/MA.png and /dev/null differ diff --git a/app/assets/images/flags/MC.png b/app/assets/images/flags/MC.png deleted file mode 100644 index 63ad1fc..0000000 Binary files a/app/assets/images/flags/MC.png and /dev/null differ diff --git a/app/assets/images/flags/MD.png b/app/assets/images/flags/MD.png deleted file mode 100644 index 6713c38..0000000 Binary files a/app/assets/images/flags/MD.png and /dev/null differ diff --git a/app/assets/images/flags/ME.png b/app/assets/images/flags/ME.png deleted file mode 100644 index 663cd07..0000000 Binary files a/app/assets/images/flags/ME.png and /dev/null differ diff --git a/app/assets/images/flags/MF.png b/app/assets/images/flags/MF.png deleted file mode 100644 index af19531..0000000 Binary files a/app/assets/images/flags/MF.png and /dev/null differ diff --git a/app/assets/images/flags/MG.png b/app/assets/images/flags/MG.png deleted file mode 100644 index 78baaa8..0000000 Binary files a/app/assets/images/flags/MG.png and /dev/null differ diff --git a/app/assets/images/flags/MH.png b/app/assets/images/flags/MH.png deleted file mode 100644 index 3ead7c0..0000000 Binary files a/app/assets/images/flags/MH.png and /dev/null differ diff --git a/app/assets/images/flags/MK.png b/app/assets/images/flags/MK.png deleted file mode 100644 index 3bdb9a8..0000000 Binary files a/app/assets/images/flags/MK.png and /dev/null differ diff --git a/app/assets/images/flags/ML.png b/app/assets/images/flags/ML.png deleted file mode 100644 index a027a3c..0000000 Binary files a/app/assets/images/flags/ML.png and /dev/null differ diff --git a/app/assets/images/flags/MM.png b/app/assets/images/flags/MM.png deleted file mode 100644 index 798d802..0000000 Binary files a/app/assets/images/flags/MM.png and /dev/null differ diff --git a/app/assets/images/flags/MN.png b/app/assets/images/flags/MN.png deleted file mode 100644 index 2f71455..0000000 Binary files a/app/assets/images/flags/MN.png and /dev/null differ diff --git a/app/assets/images/flags/MO.png b/app/assets/images/flags/MO.png deleted file mode 100644 index 3d9e0e0..0000000 Binary files a/app/assets/images/flags/MO.png and /dev/null differ diff --git a/app/assets/images/flags/MP.png b/app/assets/images/flags/MP.png deleted file mode 100644 index 5b59f91..0000000 Binary files a/app/assets/images/flags/MP.png and /dev/null differ diff --git a/app/assets/images/flags/MQ.png b/app/assets/images/flags/MQ.png deleted file mode 100644 index 45766c2..0000000 Binary files a/app/assets/images/flags/MQ.png and /dev/null differ diff --git a/app/assets/images/flags/MR.png b/app/assets/images/flags/MR.png deleted file mode 100644 index e5f0792..0000000 Binary files a/app/assets/images/flags/MR.png and /dev/null differ diff --git a/app/assets/images/flags/MS.png b/app/assets/images/flags/MS.png deleted file mode 100644 index 7f9ee94..0000000 Binary files a/app/assets/images/flags/MS.png and /dev/null differ diff --git a/app/assets/images/flags/MT.png b/app/assets/images/flags/MT.png deleted file mode 100644 index a44e22f..0000000 Binary files a/app/assets/images/flags/MT.png and /dev/null differ diff --git a/app/assets/images/flags/MU.png b/app/assets/images/flags/MU.png deleted file mode 100644 index 1c27411..0000000 Binary files a/app/assets/images/flags/MU.png and /dev/null differ diff --git a/app/assets/images/flags/MV.png b/app/assets/images/flags/MV.png deleted file mode 100644 index 4e92401..0000000 Binary files a/app/assets/images/flags/MV.png and /dev/null differ diff --git a/app/assets/images/flags/MW.png b/app/assets/images/flags/MW.png deleted file mode 100644 index 149a1d1..0000000 Binary files a/app/assets/images/flags/MW.png and /dev/null differ diff --git a/app/assets/images/flags/MX.png b/app/assets/images/flags/MX.png deleted file mode 100644 index 86f1272..0000000 Binary files a/app/assets/images/flags/MX.png and /dev/null differ diff --git a/app/assets/images/flags/MY.png b/app/assets/images/flags/MY.png deleted file mode 100644 index 7ba7b03..0000000 Binary files a/app/assets/images/flags/MY.png and /dev/null differ diff --git a/app/assets/images/flags/MZ.png b/app/assets/images/flags/MZ.png deleted file mode 100644 index f20e525..0000000 Binary files a/app/assets/images/flags/MZ.png and /dev/null differ diff --git a/app/assets/images/flags/NA.png b/app/assets/images/flags/NA.png deleted file mode 100644 index 100b38e..0000000 Binary files a/app/assets/images/flags/NA.png and /dev/null differ diff --git a/app/assets/images/flags/NC.png b/app/assets/images/flags/NC.png deleted file mode 100644 index 2c8bb2a..0000000 Binary files a/app/assets/images/flags/NC.png and /dev/null differ diff --git a/app/assets/images/flags/NE.png b/app/assets/images/flags/NE.png deleted file mode 100644 index 8f501cd..0000000 Binary files a/app/assets/images/flags/NE.png and /dev/null differ diff --git a/app/assets/images/flags/NF.png b/app/assets/images/flags/NF.png deleted file mode 100644 index be1ed10..0000000 Binary files a/app/assets/images/flags/NF.png and /dev/null differ diff --git a/app/assets/images/flags/NG.png b/app/assets/images/flags/NG.png deleted file mode 100644 index 4a00307..0000000 Binary files a/app/assets/images/flags/NG.png and /dev/null differ diff --git a/app/assets/images/flags/NI.png b/app/assets/images/flags/NI.png deleted file mode 100644 index 709fcc6..0000000 Binary files a/app/assets/images/flags/NI.png and /dev/null differ diff --git a/app/assets/images/flags/NL.png b/app/assets/images/flags/NL.png deleted file mode 100644 index 505b9ce..0000000 Binary files a/app/assets/images/flags/NL.png and /dev/null differ diff --git a/app/assets/images/flags/NO.png b/app/assets/images/flags/NO.png deleted file mode 100644 index 20d6534..0000000 Binary files a/app/assets/images/flags/NO.png and /dev/null differ diff --git a/app/assets/images/flags/NP.png b/app/assets/images/flags/NP.png deleted file mode 100644 index 75c012e..0000000 Binary files a/app/assets/images/flags/NP.png and /dev/null differ diff --git a/app/assets/images/flags/NR.png b/app/assets/images/flags/NR.png deleted file mode 100644 index a970507..0000000 Binary files a/app/assets/images/flags/NR.png and /dev/null differ diff --git a/app/assets/images/flags/NU.png b/app/assets/images/flags/NU.png deleted file mode 100644 index cd3c5dc..0000000 Binary files a/app/assets/images/flags/NU.png and /dev/null differ diff --git a/app/assets/images/flags/NZ.png b/app/assets/images/flags/NZ.png deleted file mode 100644 index 0c5a8e0..0000000 Binary files a/app/assets/images/flags/NZ.png and /dev/null differ diff --git a/app/assets/images/flags/OM.png b/app/assets/images/flags/OM.png deleted file mode 100644 index 384def2..0000000 Binary files a/app/assets/images/flags/OM.png and /dev/null differ diff --git a/app/assets/images/flags/PA.png b/app/assets/images/flags/PA.png deleted file mode 100644 index e20a743..0000000 Binary files a/app/assets/images/flags/PA.png and /dev/null differ diff --git a/app/assets/images/flags/PE.png b/app/assets/images/flags/PE.png deleted file mode 100644 index 616b655..0000000 Binary files a/app/assets/images/flags/PE.png and /dev/null differ diff --git a/app/assets/images/flags/PF.png b/app/assets/images/flags/PF.png deleted file mode 100644 index 2ad2502..0000000 Binary files a/app/assets/images/flags/PF.png and /dev/null differ diff --git a/app/assets/images/flags/PG.png b/app/assets/images/flags/PG.png deleted file mode 100644 index 13dc48a..0000000 Binary files a/app/assets/images/flags/PG.png and /dev/null differ diff --git a/app/assets/images/flags/PH.png b/app/assets/images/flags/PH.png deleted file mode 100644 index 36b3612..0000000 Binary files a/app/assets/images/flags/PH.png and /dev/null differ diff --git a/app/assets/images/flags/PK.png b/app/assets/images/flags/PK.png deleted file mode 100644 index 317e02d..0000000 Binary files a/app/assets/images/flags/PK.png and /dev/null differ diff --git a/app/assets/images/flags/PL.png b/app/assets/images/flags/PL.png deleted file mode 100644 index 92cd1ca..0000000 Binary files a/app/assets/images/flags/PL.png and /dev/null differ diff --git a/app/assets/images/flags/PN.png b/app/assets/images/flags/PN.png deleted file mode 100644 index e26fad9..0000000 Binary files a/app/assets/images/flags/PN.png and /dev/null differ diff --git a/app/assets/images/flags/PR.png b/app/assets/images/flags/PR.png deleted file mode 100644 index b466682..0000000 Binary files a/app/assets/images/flags/PR.png and /dev/null differ diff --git a/app/assets/images/flags/PS.png b/app/assets/images/flags/PS.png deleted file mode 100644 index d95bacb..0000000 Binary files a/app/assets/images/flags/PS.png and /dev/null differ diff --git a/app/assets/images/flags/PT.png b/app/assets/images/flags/PT.png deleted file mode 100644 index 6e4d734..0000000 Binary files a/app/assets/images/flags/PT.png and /dev/null differ diff --git a/app/assets/images/flags/PW.png b/app/assets/images/flags/PW.png deleted file mode 100644 index 6852102..0000000 Binary files a/app/assets/images/flags/PW.png and /dev/null differ diff --git a/app/assets/images/flags/PY.png b/app/assets/images/flags/PY.png deleted file mode 100644 index e4445d5..0000000 Binary files a/app/assets/images/flags/PY.png and /dev/null differ diff --git a/app/assets/images/flags/QA.png b/app/assets/images/flags/QA.png deleted file mode 100644 index e3fa51f..0000000 Binary files a/app/assets/images/flags/QA.png and /dev/null differ diff --git a/app/assets/images/flags/RO.png b/app/assets/images/flags/RO.png deleted file mode 100644 index e7fa4f5..0000000 Binary files a/app/assets/images/flags/RO.png and /dev/null differ diff --git a/app/assets/images/flags/RS.png b/app/assets/images/flags/RS.png deleted file mode 100644 index 4c1e9f5..0000000 Binary files a/app/assets/images/flags/RS.png and /dev/null differ diff --git a/app/assets/images/flags/RU.png b/app/assets/images/flags/RU.png deleted file mode 100644 index d9624ca..0000000 Binary files a/app/assets/images/flags/RU.png and /dev/null differ diff --git a/app/assets/images/flags/RW.png b/app/assets/images/flags/RW.png deleted file mode 100644 index 6f5f588..0000000 Binary files a/app/assets/images/flags/RW.png and /dev/null differ diff --git a/app/assets/images/flags/SA.png b/app/assets/images/flags/SA.png deleted file mode 100644 index d386dc0..0000000 Binary files a/app/assets/images/flags/SA.png and /dev/null differ diff --git a/app/assets/images/flags/SB.png b/app/assets/images/flags/SB.png deleted file mode 100644 index 1c25553..0000000 Binary files a/app/assets/images/flags/SB.png and /dev/null differ diff --git a/app/assets/images/flags/SC.png b/app/assets/images/flags/SC.png deleted file mode 100644 index dd27a21..0000000 Binary files a/app/assets/images/flags/SC.png and /dev/null differ diff --git a/app/assets/images/flags/SD.png b/app/assets/images/flags/SD.png deleted file mode 100644 index 4cbba36..0000000 Binary files a/app/assets/images/flags/SD.png and /dev/null differ diff --git a/app/assets/images/flags/SE.png b/app/assets/images/flags/SE.png deleted file mode 100644 index fd0b55b..0000000 Binary files a/app/assets/images/flags/SE.png and /dev/null differ diff --git a/app/assets/images/flags/SG.png b/app/assets/images/flags/SG.png deleted file mode 100644 index a3dbbfc..0000000 Binary files a/app/assets/images/flags/SG.png and /dev/null differ diff --git a/app/assets/images/flags/SH.png b/app/assets/images/flags/SH.png deleted file mode 100644 index 2250413..0000000 Binary files a/app/assets/images/flags/SH.png and /dev/null differ diff --git a/app/assets/images/flags/SI.png b/app/assets/images/flags/SI.png deleted file mode 100644 index 9938bee..0000000 Binary files a/app/assets/images/flags/SI.png and /dev/null differ diff --git a/app/assets/images/flags/SK.png b/app/assets/images/flags/SK.png deleted file mode 100644 index bf7a247..0000000 Binary files a/app/assets/images/flags/SK.png and /dev/null differ diff --git a/app/assets/images/flags/SL.png b/app/assets/images/flags/SL.png deleted file mode 100644 index f5ccc93..0000000 Binary files a/app/assets/images/flags/SL.png and /dev/null differ diff --git a/app/assets/images/flags/SM.png b/app/assets/images/flags/SM.png deleted file mode 100644 index fc5036c..0000000 Binary files a/app/assets/images/flags/SM.png and /dev/null differ diff --git a/app/assets/images/flags/SN.png b/app/assets/images/flags/SN.png deleted file mode 100644 index 861df13..0000000 Binary files a/app/assets/images/flags/SN.png and /dev/null differ diff --git a/app/assets/images/flags/SO.png b/app/assets/images/flags/SO.png deleted file mode 100644 index ea7eb21..0000000 Binary files a/app/assets/images/flags/SO.png and /dev/null differ diff --git a/app/assets/images/flags/SR.png b/app/assets/images/flags/SR.png deleted file mode 100644 index 4fa6114..0000000 Binary files a/app/assets/images/flags/SR.png and /dev/null differ diff --git a/app/assets/images/flags/SS.png b/app/assets/images/flags/SS.png deleted file mode 100644 index 7e64489..0000000 Binary files a/app/assets/images/flags/SS.png and /dev/null differ diff --git a/app/assets/images/flags/ST.png b/app/assets/images/flags/ST.png deleted file mode 100644 index 3486853..0000000 Binary files a/app/assets/images/flags/ST.png and /dev/null differ diff --git a/app/assets/images/flags/SU.png b/app/assets/images/flags/SU.png deleted file mode 100644 index d9624ca..0000000 Binary files a/app/assets/images/flags/SU.png and /dev/null differ diff --git a/app/assets/images/flags/SV.png b/app/assets/images/flags/SV.png deleted file mode 100644 index a369796..0000000 Binary files a/app/assets/images/flags/SV.png and /dev/null differ diff --git a/app/assets/images/flags/SY.png b/app/assets/images/flags/SY.png deleted file mode 100644 index aee3c96..0000000 Binary files a/app/assets/images/flags/SY.png and /dev/null differ diff --git a/app/assets/images/flags/SZ.png b/app/assets/images/flags/SZ.png deleted file mode 100644 index b89f4d1..0000000 Binary files a/app/assets/images/flags/SZ.png and /dev/null differ diff --git a/app/assets/images/flags/TC.png b/app/assets/images/flags/TC.png deleted file mode 100644 index f076b4a..0000000 Binary files a/app/assets/images/flags/TC.png and /dev/null differ diff --git a/app/assets/images/flags/TD.png b/app/assets/images/flags/TD.png deleted file mode 100644 index 8b17d5c..0000000 Binary files a/app/assets/images/flags/TD.png and /dev/null differ diff --git a/app/assets/images/flags/TF.png b/app/assets/images/flags/TF.png deleted file mode 100644 index 64a3748..0000000 Binary files a/app/assets/images/flags/TF.png and /dev/null differ diff --git a/app/assets/images/flags/TG.png b/app/assets/images/flags/TG.png deleted file mode 100644 index 00933c4..0000000 Binary files a/app/assets/images/flags/TG.png and /dev/null differ diff --git a/app/assets/images/flags/TH.png b/app/assets/images/flags/TH.png deleted file mode 100644 index 0ea4ed8..0000000 Binary files a/app/assets/images/flags/TH.png and /dev/null differ diff --git a/app/assets/images/flags/TJ.png b/app/assets/images/flags/TJ.png deleted file mode 100644 index 6922244..0000000 Binary files a/app/assets/images/flags/TJ.png and /dev/null differ diff --git a/app/assets/images/flags/TK.png b/app/assets/images/flags/TK.png deleted file mode 100644 index 466a67b..0000000 Binary files a/app/assets/images/flags/TK.png and /dev/null differ diff --git a/app/assets/images/flags/TL.png b/app/assets/images/flags/TL.png deleted file mode 100644 index a8e5a43..0000000 Binary files a/app/assets/images/flags/TL.png and /dev/null differ diff --git a/app/assets/images/flags/TM.png b/app/assets/images/flags/TM.png deleted file mode 100644 index e0813d0..0000000 Binary files a/app/assets/images/flags/TM.png and /dev/null differ diff --git a/app/assets/images/flags/TN.png b/app/assets/images/flags/TN.png deleted file mode 100644 index deacc5b..0000000 Binary files a/app/assets/images/flags/TN.png and /dev/null differ diff --git a/app/assets/images/flags/TO.png b/app/assets/images/flags/TO.png deleted file mode 100644 index f2e9026..0000000 Binary files a/app/assets/images/flags/TO.png and /dev/null differ diff --git a/app/assets/images/flags/TR.png b/app/assets/images/flags/TR.png deleted file mode 100644 index 786d736..0000000 Binary files a/app/assets/images/flags/TR.png and /dev/null differ diff --git a/app/assets/images/flags/TT.png b/app/assets/images/flags/TT.png deleted file mode 100644 index 99b1d60..0000000 Binary files a/app/assets/images/flags/TT.png and /dev/null differ diff --git a/app/assets/images/flags/TV.png b/app/assets/images/flags/TV.png deleted file mode 100644 index 3c36378..0000000 Binary files a/app/assets/images/flags/TV.png and /dev/null differ diff --git a/app/assets/images/flags/TW.png b/app/assets/images/flags/TW.png deleted file mode 100644 index 0bd4125..0000000 Binary files a/app/assets/images/flags/TW.png and /dev/null differ diff --git a/app/assets/images/flags/TZ.png b/app/assets/images/flags/TZ.png deleted file mode 100644 index c927c65..0000000 Binary files a/app/assets/images/flags/TZ.png and /dev/null differ diff --git a/app/assets/images/flags/UA.png b/app/assets/images/flags/UA.png deleted file mode 100644 index e46611f..0000000 Binary files a/app/assets/images/flags/UA.png and /dev/null differ diff --git a/app/assets/images/flags/UG.png b/app/assets/images/flags/UG.png deleted file mode 100644 index 209aa45..0000000 Binary files a/app/assets/images/flags/UG.png and /dev/null differ diff --git a/app/assets/images/flags/UK.png b/app/assets/images/flags/UK.png deleted file mode 100644 index 02fa2a1..0000000 Binary files a/app/assets/images/flags/UK.png and /dev/null differ diff --git a/app/assets/images/flags/US.png b/app/assets/images/flags/US.png deleted file mode 100644 index 2b04dcf..0000000 Binary files a/app/assets/images/flags/US.png and /dev/null differ diff --git a/app/assets/images/flags/UY.png b/app/assets/images/flags/UY.png deleted file mode 100644 index 0edaf69..0000000 Binary files a/app/assets/images/flags/UY.png and /dev/null differ diff --git a/app/assets/images/flags/UZ.png b/app/assets/images/flags/UZ.png deleted file mode 100644 index 19f5c39..0000000 Binary files a/app/assets/images/flags/UZ.png and /dev/null differ diff --git a/app/assets/images/flags/VA.png b/app/assets/images/flags/VA.png deleted file mode 100644 index ed1d70a..0000000 Binary files a/app/assets/images/flags/VA.png and /dev/null differ diff --git a/app/assets/images/flags/VC.png b/app/assets/images/flags/VC.png deleted file mode 100644 index 5191c65..0000000 Binary files a/app/assets/images/flags/VC.png and /dev/null differ diff --git a/app/assets/images/flags/VE.png b/app/assets/images/flags/VE.png deleted file mode 100644 index e28cbf7..0000000 Binary files a/app/assets/images/flags/VE.png and /dev/null differ diff --git a/app/assets/images/flags/VG.png b/app/assets/images/flags/VG.png deleted file mode 100644 index 00c72f8..0000000 Binary files a/app/assets/images/flags/VG.png and /dev/null differ diff --git a/app/assets/images/flags/VI.png b/app/assets/images/flags/VI.png deleted file mode 100644 index bce202d..0000000 Binary files a/app/assets/images/flags/VI.png and /dev/null differ diff --git a/app/assets/images/flags/VN.png b/app/assets/images/flags/VN.png deleted file mode 100644 index 33385c1..0000000 Binary files a/app/assets/images/flags/VN.png and /dev/null differ diff --git a/app/assets/images/flags/VU.png b/app/assets/images/flags/VU.png deleted file mode 100644 index 08534b9..0000000 Binary files a/app/assets/images/flags/VU.png and /dev/null differ diff --git a/app/assets/images/flags/WF.png b/app/assets/images/flags/WF.png deleted file mode 100644 index 97678d8..0000000 Binary files a/app/assets/images/flags/WF.png and /dev/null differ diff --git a/app/assets/images/flags/WS.png b/app/assets/images/flags/WS.png deleted file mode 100644 index 520b84f..0000000 Binary files a/app/assets/images/flags/WS.png and /dev/null differ diff --git a/app/assets/images/flags/YE.png b/app/assets/images/flags/YE.png deleted file mode 100644 index 651c4f0..0000000 Binary files a/app/assets/images/flags/YE.png and /dev/null differ diff --git a/app/assets/images/flags/YT.png b/app/assets/images/flags/YT.png deleted file mode 100644 index dea0a0f..0000000 Binary files a/app/assets/images/flags/YT.png and /dev/null differ diff --git a/app/assets/images/flags/ZA.png b/app/assets/images/flags/ZA.png deleted file mode 100644 index 177fe75..0000000 Binary files a/app/assets/images/flags/ZA.png and /dev/null differ diff --git a/app/assets/images/flags/ZM.png b/app/assets/images/flags/ZM.png deleted file mode 100644 index 26f9969..0000000 Binary files a/app/assets/images/flags/ZM.png and /dev/null differ diff --git a/app/assets/images/flags/ZW.png b/app/assets/images/flags/ZW.png deleted file mode 100644 index 6cccf56..0000000 Binary files a/app/assets/images/flags/ZW.png and /dev/null differ diff --git a/app/assets/images/shared/blank.gif b/app/assets/images/shared/blank.gif new file mode 100644 index 0000000..f55d454 Binary files /dev/null and b/app/assets/images/shared/blank.gif differ diff --git a/app/assets/images/shared/flags.png b/app/assets/images/shared/flags.png new file mode 100644 index 0000000..f44efd3 Binary files /dev/null and b/app/assets/images/shared/flags.png differ diff --git a/app/assets/stylesheets/themes/default/components/_flags.scss b/app/assets/stylesheets/themes/default/components/_flags.scss new file mode 100644 index 0000000..4b96619 --- /dev/null +++ b/app/assets/stylesheets/themes/default/components/_flags.scss @@ -0,0 +1,249 @@ +.flag { + width: 16px; + height: 11px; + background: image_url('shared/flags.png') no-repeat; + display: inline-block; +} + +.flag.flag-ad {background-position: -16px 0} +.flag.flag-ae {background-position: -32px 0} +.flag.flag-af {background-position: -48px 0} +.flag.flag-ag {background-position: -64px 0} +.flag.flag-ai {background-position: -80px 0} +.flag.flag-al {background-position: -96px 0} +.flag.flag-am {background-position: -112px 0} +.flag.flag-an {background-position: -128px 0} +.flag.flag-ao {background-position: -144px 0} +.flag.flag-ar {background-position: -160px 0} +.flag.flag-as {background-position: -176px 0} +.flag.flag-at {background-position: -192px 0} +.flag.flag-au {background-position: -208px 0} +.flag.flag-aw {background-position: -224px 0} +.flag.flag-ax {background-position: -240px 0} +.flag.flag-az {background-position: 0 -11px} +.flag.flag-ba {background-position: -16px -11px} +.flag.flag-bb {background-position: -32px -11px} +.flag.flag-bd {background-position: -48px -11px} +.flag.flag-be {background-position: -64px -11px} +.flag.flag-bf {background-position: -80px -11px} +.flag.flag-bg {background-position: -96px -11px} +.flag.flag-bh {background-position: -112px -11px} +.flag.flag-bi {background-position: -128px -11px} +.flag.flag-bj {background-position: -144px -11px} +.flag.flag-bm {background-position: -160px -11px} +.flag.flag-bn {background-position: -176px -11px} +.flag.flag-bo {background-position: -192px -11px} +.flag.flag-br {background-position: -208px -11px} +.flag.flag-bs {background-position: -224px -11px} +.flag.flag-bt {background-position: -240px -11px} +.flag.flag-bv {background-position: 0 -22px} +.flag.flag-bw {background-position: -16px -22px} +.flag.flag-by {background-position: -32px -22px} +.flag.flag-bz {background-position: -48px -22px} +.flag.flag-ca {background-position: -64px -22px} +.flag.flag-cc {background-position: -80px -22px} +.flag.flag-cd {background-position: -96px -22px} +.flag.flag-cf {background-position: -112px -22px} +.flag.flag-cg {background-position: -128px -22px} +.flag.flag-ch {background-position: -144px -22px} +.flag.flag-ci {background-position: -160px -22px} +.flag.flag-ck {background-position: -176px -22px} +.flag.flag-cl {background-position: -192px -22px} +.flag.flag-cm {background-position: -208px -22px} +.flag.flag-cn {background-position: -224px -22px} +.flag.flag-co {background-position: -240px -22px} +.flag.flag-cr {background-position: 0 -33px} +.flag.flag-cu {background-position: -16px -33px} +.flag.flag-cv {background-position: -32px -33px} +.flag.flag-cx {background-position: -48px -33px} +.flag.flag-cy {background-position: -64px -33px} +.flag.flag-cz {background-position: -80px -33px} +.flag.flag-de {background-position: -96px -33px} +.flag.flag-dj {background-position: -112px -33px} +.flag.flag-dk {background-position: -128px -33px} +.flag.flag-dm {background-position: -144px -33px} +.flag.flag-do {background-position: -160px -33px} +.flag.flag-dz {background-position: -176px -33px} +.flag.flag-ec {background-position: -192px -33px} +.flag.flag-ee {background-position: -208px -33px} +.flag.flag-eg {background-position: -224px -33px} +.flag.flag-eh {background-position: -240px -33px} +.flag.flag-er {background-position: 0 -44px} +.flag.flag-es {background-position: -16px -44px} +.flag.flag-et {background-position: -32px -44px} +.flag.flag-eu {background-position: -48px -44px} +.flag.flag-fi {background-position: -64px -44px} +.flag.flag-fj {background-position: -80px -44px} +.flag.flag-fk {background-position: -96px -44px} +.flag.flag-fm {background-position: -112px -44px} +.flag.flag-fo {background-position: -128px -44px} +.flag.flag-fr {background-position: -144px -44px} +.flag.flag-ga {background-position: -160px -44px} +.flag.flag-gb {background-position: -176px -44px} +.flag.flag-gd {background-position: -192px -44px} +.flag.flag-ge {background-position: -208px -44px} +.flag.flag-gf {background-position: -224px -44px} +.flag.flag-gh {background-position: -240px -44px} +.flag.flag-gi {background-position: 0 -55px} +.flag.flag-gl {background-position: -16px -55px} +.flag.flag-gm {background-position: -32px -55px} +.flag.flag-gn {background-position: -48px -55px} +.flag.flag-gp {background-position: -64px -55px} +.flag.flag-gq {background-position: -80px -55px} +.flag.flag-gr {background-position: -96px -55px} +.flag.flag-gs {background-position: -112px -55px} +.flag.flag-gt {background-position: -128px -55px} +.flag.flag-gu {background-position: -144px -55px} +.flag.flag-gw {background-position: -160px -55px} +.flag.flag-gy {background-position: -176px -55px} +.flag.flag-hk {background-position: -192px -55px} +.flag.flag-hm {background-position: -208px -55px} +.flag.flag-hn {background-position: -224px -55px} +.flag.flag-hr {background-position: -240px -55px} +.flag.flag-ht {background-position: 0 -66px} +.flag.flag-hu {background-position: -16px -66px} +.flag.flag-id {background-position: -32px -66px} +.flag.flag-ie {background-position: -48px -66px} +.flag.flag-il {background-position: -64px -66px} +.flag.flag-in {background-position: -80px -66px} +.flag.flag-io {background-position: -96px -66px} +.flag.flag-iq {background-position: -112px -66px} +.flag.flag-ir {background-position: -128px -66px} +.flag.flag-is {background-position: -144px -66px} +.flag.flag-it {background-position: -160px -66px} +.flag.flag-jm {background-position: -176px -66px} +.flag.flag-jo {background-position: -192px -66px} +.flag.flag-jp {background-position: -208px -66px} +.flag.flag-ke {background-position: -224px -66px} +.flag.flag-kg {background-position: -240px -66px} +.flag.flag-kh {background-position: 0 -77px} +.flag.flag-ki {background-position: -16px -77px} +.flag.flag-km {background-position: -32px -77px} +.flag.flag-kn {background-position: -48px -77px} +.flag.flag-kp {background-position: -64px -77px} +.flag.flag-kr {background-position: -80px -77px} +.flag.flag-kw {background-position: -96px -77px} +.flag.flag-ky {background-position: -112px -77px} +.flag.flag-kz {background-position: -128px -77px} +.flag.flag-la {background-position: -144px -77px} +.flag.flag-lb {background-position: -160px -77px} +.flag.flag-lc {background-position: -176px -77px} +.flag.flag-li {background-position: -192px -77px} +.flag.flag-lk {background-position: -208px -77px} +.flag.flag-lr {background-position: -224px -77px} +.flag.flag-ls {background-position: -240px -77px} +.flag.flag-lt {background-position: 0 -88px} +.flag.flag-lu {background-position: -16px -88px} +.flag.flag-lv {background-position: -32px -88px} +.flag.flag-ly {background-position: -48px -88px} +.flag.flag-ma {background-position: -64px -88px} +.flag.flag-mc {background-position: -80px -88px} +.flag.flag-md {background-position: -96px -88px} +.flag.flag-me {background-position: -112px -88px} +.flag.flag-mg {background-position: -128px -88px} +.flag.flag-mh {background-position: -144px -88px} +.flag.flag-mk {background-position: -160px -88px} +.flag.flag-ml {background-position: -176px -88px} +.flag.flag-mm {background-position: -192px -88px} +.flag.flag-mn {background-position: -208px -88px} +.flag.flag-mo {background-position: -224px -88px} +.flag.flag-mp {background-position: -240px -88px} +.flag.flag-mq {background-position: 0 -99px} +.flag.flag-mr {background-position: -16px -99px} +.flag.flag-ms {background-position: -32px -99px} +.flag.flag-mt {background-position: -48px -99px} +.flag.flag-mu {background-position: -64px -99px} +.flag.flag-mv {background-position: -80px -99px} +.flag.flag-mw {background-position: -96px -99px} +.flag.flag-mx {background-position: -112px -99px} +.flag.flag-my {background-position: -128px -99px} +.flag.flag-mz {background-position: -144px -99px} +.flag.flag-na {background-position: -160px -99px} +.flag.flag-nc {background-position: -176px -99px} +.flag.flag-ne {background-position: -192px -99px} +.flag.flag-nf {background-position: -208px -99px} +.flag.flag-ng {background-position: -224px -99px} +.flag.flag-ni {background-position: -240px -99px} +.flag.flag-nl {background-position: 0 -110px} +.flag.flag-no {background-position: -16px -110px} +.flag.flag-np {background-position: -32px -110px} +.flag.flag-nr {background-position: -48px -110px} +.flag.flag-nu {background-position: -64px -110px} +.flag.flag-nz {background-position: -80px -110px} +.flag.flag-om {background-position: -96px -110px} +.flag.flag-pa {background-position: -112px -110px} +.flag.flag-pe {background-position: -128px -110px} +.flag.flag-pf {background-position: -144px -110px} +.flag.flag-pg {background-position: -160px -110px} +.flag.flag-ph {background-position: -176px -110px} +.flag.flag-pk {background-position: -192px -110px} +.flag.flag-pl {background-position: -208px -110px} +.flag.flag-pm {background-position: -224px -110px} +.flag.flag-pn {background-position: -240px -110px} +.flag.flag-pr {background-position: 0 -121px} +.flag.flag-ps {background-position: -16px -121px} +.flag.flag-pt {background-position: -32px -121px} +.flag.flag-pw {background-position: -48px -121px} +.flag.flag-py {background-position: -64px -121px} +.flag.flag-qa {background-position: -80px -121px} +.flag.flag-re {background-position: -96px -121px} +.flag.flag-ro {background-position: -112px -121px} +.flag.flag-rs {background-position: -128px -121px} +.flag.flag-ru {background-position: -144px -121px} +.flag.flag-rw {background-position: -160px -121px} +.flag.flag-sa {background-position: -176px -121px} +.flag.flag-sb {background-position: -192px -121px} +.flag.flag-sc {background-position: -208px -121px} +.flag.flag-sd {background-position: -224px -121px} +.flag.flag-se {background-position: -240px -121px} +.flag.flag-sg {background-position: 0 -132px} +.flag.flag-sh {background-position: -16px -132px} +.flag.flag-si {background-position: -32px -132px} +.flag.flag-sj {background-position: -48px -132px} +.flag.flag-sk {background-position: -64px -132px} +.flag.flag-sl {background-position: -80px -132px} +.flag.flag-sm {background-position: -96px -132px} +.flag.flag-sn {background-position: -112px -132px} +.flag.flag-so {background-position: -128px -132px} +.flag.flag-sr {background-position: -144px -132px} +.flag.flag-ss {background-position: -160px -132px} +.flag.flag-st {background-position: -176px -132px} +.flag.flag-sv {background-position: -192px -132px} +.flag.flag-sy {background-position: -208px -132px} +.flag.flag-sz {background-position: -224px -132px} +.flag.flag-tc {background-position: -240px -132px} +.flag.flag-td {background-position: 0 -143px} +.flag.flag-tf {background-position: -16px -143px} +.flag.flag-tg {background-position: -32px -143px} +.flag.flag-th {background-position: -48px -143px} +.flag.flag-tj {background-position: -64px -143px} +.flag.flag-tk {background-position: -80px -143px} +.flag.flag-tl {background-position: -96px -143px} +.flag.flag-tm {background-position: -112px -143px} +.flag.flag-tn {background-position: -128px -143px} +.flag.flag-to {background-position: -144px -143px} +.flag.flag-tr {background-position: -160px -143px} +.flag.flag-tt {background-position: -176px -143px} +.flag.flag-tv {background-position: -192px -143px} +.flag.flag-tw {background-position: -208px -143px} +.flag.flag-tz {background-position: -224px -143px} +.flag.flag-ua {background-position: -240px -143px} +.flag.flag-ug {background-position: 0 -154px} +.flag.flag-um {background-position: -16px -154px} +.flag.flag-us {background-position: -32px -154px} +.flag.flag-uy {background-position: -48px -154px} +.flag.flag-uz {background-position: -64px -154px} +.flag.flag-va {background-position: -80px -154px} +.flag.flag-vc {background-position: -96px -154px} +.flag.flag-ve {background-position: -112px -154px} +.flag.flag-vg {background-position: -128px -154px} +.flag.flag-vi {background-position: -144px -154px} +.flag.flag-vn {background-position: -160px -154px} +.flag.flag-vu {background-position: -176px -154px} +.flag.flag-wf {background-position: -192px -154px} +.flag.flag-ws {background-position: -208px -154px} +.flag.flag-ye {background-position: -224px -154px} +.flag.flag-yt {background-position: -240px -154px} +.flag.flag-za {background-position: 0 -165px} +.flag.flag-zm {background-position: -16px -165px} +.flag.flag-zw {background-position: -32px -165px} diff --git a/app/assets/stylesheets/themes/default/layout/_helpers.scss b/app/assets/stylesheets/themes/default/layout/_helpers.scss index 3a007d8..d276d24 100644 --- a/app/assets/stylesheets/themes/default/layout/_helpers.scss +++ b/app/assets/stylesheets/themes/default/layout/_helpers.scss @@ -2,12 +2,6 @@ Global Helpers */ -img.flag { - display: inline-block; - vertical-align: - 6px; - margin-right: 10px; -} - .actions-bottom { @include span-columns(12); margin-top: 20px; diff --git a/app/assets/stylesheets/themes/default/theme.css.scss b/app/assets/stylesheets/themes/default/theme.css.scss index 9e54cac..b109fbe 100644 --- a/app/assets/stylesheets/themes/default/theme.css.scss +++ b/app/assets/stylesheets/themes/default/theme.css.scss @@ -42,6 +42,7 @@ @import "components/pagination"; @import "components/tabs"; @import "components/shoutbox"; +@import "components/flags"; /* Pages diff --git a/app/assets/stylesheets/themes/flat/components/_flags.scss b/app/assets/stylesheets/themes/flat/components/_flags.scss new file mode 100644 index 0000000..330fe2d --- /dev/null +++ b/app/assets/stylesheets/themes/flat/components/_flags.scss @@ -0,0 +1,249 @@ +.flag { + width: 16px; + height: 11px; + background: url(shared/flags.png) no-repeat; + display: inline-block; +} + +.flag.flag-ad {background-position: -16px 0} +.flag.flag-ae {background-position: -32px 0} +.flag.flag-af {background-position: -48px 0} +.flag.flag-ag {background-position: -64px 0} +.flag.flag-ai {background-position: -80px 0} +.flag.flag-al {background-position: -96px 0} +.flag.flag-am {background-position: -112px 0} +.flag.flag-an {background-position: -128px 0} +.flag.flag-ao {background-position: -144px 0} +.flag.flag-ar {background-position: -160px 0} +.flag.flag-as {background-position: -176px 0} +.flag.flag-at {background-position: -192px 0} +.flag.flag-au {background-position: -208px 0} +.flag.flag-aw {background-position: -224px 0} +.flag.flag-ax {background-position: -240px 0} +.flag.flag-az {background-position: 0 -11px} +.flag.flag-ba {background-position: -16px -11px} +.flag.flag-bb {background-position: -32px -11px} +.flag.flag-bd {background-position: -48px -11px} +.flag.flag-be {background-position: -64px -11px} +.flag.flag-bf {background-position: -80px -11px} +.flag.flag-bg {background-position: -96px -11px} +.flag.flag-bh {background-position: -112px -11px} +.flag.flag-bi {background-position: -128px -11px} +.flag.flag-bj {background-position: -144px -11px} +.flag.flag-bm {background-position: -160px -11px} +.flag.flag-bn {background-position: -176px -11px} +.flag.flag-bo {background-position: -192px -11px} +.flag.flag-br {background-position: -208px -11px} +.flag.flag-bs {background-position: -224px -11px} +.flag.flag-bt {background-position: -240px -11px} +.flag.flag-bv {background-position: 0 -22px} +.flag.flag-bw {background-position: -16px -22px} +.flag.flag-by {background-position: -32px -22px} +.flag.flag-bz {background-position: -48px -22px} +.flag.flag-ca {background-position: -64px -22px} +.flag.flag-cc {background-position: -80px -22px} +.flag.flag-cd {background-position: -96px -22px} +.flag.flag-cf {background-position: -112px -22px} +.flag.flag-cg {background-position: -128px -22px} +.flag.flag-ch {background-position: -144px -22px} +.flag.flag-ci {background-position: -160px -22px} +.flag.flag-ck {background-position: -176px -22px} +.flag.flag-cl {background-position: -192px -22px} +.flag.flag-cm {background-position: -208px -22px} +.flag.flag-cn {background-position: -224px -22px} +.flag.flag-co {background-position: -240px -22px} +.flag.flag-cr {background-position: 0 -33px} +.flag.flag-cu {background-position: -16px -33px} +.flag.flag-cv {background-position: -32px -33px} +.flag.flag-cx {background-position: -48px -33px} +.flag.flag-cy {background-position: -64px -33px} +.flag.flag-cz {background-position: -80px -33px} +.flag.flag-de {background-position: -96px -33px} +.flag.flag-dj {background-position: -112px -33px} +.flag.flag-dk {background-position: -128px -33px} +.flag.flag-dm {background-position: -144px -33px} +.flag.flag-do {background-position: -160px -33px} +.flag.flag-dz {background-position: -176px -33px} +.flag.flag-ec {background-position: -192px -33px} +.flag.flag-ee {background-position: -208px -33px} +.flag.flag-eg {background-position: -224px -33px} +.flag.flag-eh {background-position: -240px -33px} +.flag.flag-er {background-position: 0 -44px} +.flag.flag-es {background-position: -16px -44px} +.flag.flag-et {background-position: -32px -44px} +.flag.flag-eu {background-position: -48px -44px} +.flag.flag-fi {background-position: -64px -44px} +.flag.flag-fj {background-position: -80px -44px} +.flag.flag-fk {background-position: -96px -44px} +.flag.flag-fm {background-position: -112px -44px} +.flag.flag-fo {background-position: -128px -44px} +.flag.flag-fr {background-position: -144px -44px} +.flag.flag-ga {background-position: -160px -44px} +.flag.flag-gb {background-position: -176px -44px} +.flag.flag-gd {background-position: -192px -44px} +.flag.flag-ge {background-position: -208px -44px} +.flag.flag-gf {background-position: -224px -44px} +.flag.flag-gh {background-position: -240px -44px} +.flag.flag-gi {background-position: 0 -55px} +.flag.flag-gl {background-position: -16px -55px} +.flag.flag-gm {background-position: -32px -55px} +.flag.flag-gn {background-position: -48px -55px} +.flag.flag-gp {background-position: -64px -55px} +.flag.flag-gq {background-position: -80px -55px} +.flag.flag-gr {background-position: -96px -55px} +.flag.flag-gs {background-position: -112px -55px} +.flag.flag-gt {background-position: -128px -55px} +.flag.flag-gu {background-position: -144px -55px} +.flag.flag-gw {background-position: -160px -55px} +.flag.flag-gy {background-position: -176px -55px} +.flag.flag-hk {background-position: -192px -55px} +.flag.flag-hm {background-position: -208px -55px} +.flag.flag-hn {background-position: -224px -55px} +.flag.flag-hr {background-position: -240px -55px} +.flag.flag-ht {background-position: 0 -66px} +.flag.flag-hu {background-position: -16px -66px} +.flag.flag-id {background-position: -32px -66px} +.flag.flag-ie {background-position: -48px -66px} +.flag.flag-il {background-position: -64px -66px} +.flag.flag-in {background-position: -80px -66px} +.flag.flag-io {background-position: -96px -66px} +.flag.flag-iq {background-position: -112px -66px} +.flag.flag-ir {background-position: -128px -66px} +.flag.flag-is {background-position: -144px -66px} +.flag.flag-it {background-position: -160px -66px} +.flag.flag-jm {background-position: -176px -66px} +.flag.flag-jo {background-position: -192px -66px} +.flag.flag-jp {background-position: -208px -66px} +.flag.flag-ke {background-position: -224px -66px} +.flag.flag-kg {background-position: -240px -66px} +.flag.flag-kh {background-position: 0 -77px} +.flag.flag-ki {background-position: -16px -77px} +.flag.flag-km {background-position: -32px -77px} +.flag.flag-kn {background-position: -48px -77px} +.flag.flag-kp {background-position: -64px -77px} +.flag.flag-kr {background-position: -80px -77px} +.flag.flag-kw {background-position: -96px -77px} +.flag.flag-ky {background-position: -112px -77px} +.flag.flag-kz {background-position: -128px -77px} +.flag.flag-la {background-position: -144px -77px} +.flag.flag-lb {background-position: -160px -77px} +.flag.flag-lc {background-position: -176px -77px} +.flag.flag-li {background-position: -192px -77px} +.flag.flag-lk {background-position: -208px -77px} +.flag.flag-lr {background-position: -224px -77px} +.flag.flag-ls {background-position: -240px -77px} +.flag.flag-lt {background-position: 0 -88px} +.flag.flag-lu {background-position: -16px -88px} +.flag.flag-lv {background-position: -32px -88px} +.flag.flag-ly {background-position: -48px -88px} +.flag.flag-ma {background-position: -64px -88px} +.flag.flag-mc {background-position: -80px -88px} +.flag.flag-md {background-position: -96px -88px} +.flag.flag-me {background-position: -112px -88px} +.flag.flag-mg {background-position: -128px -88px} +.flag.flag-mh {background-position: -144px -88px} +.flag.flag-mk {background-position: -160px -88px} +.flag.flag-ml {background-position: -176px -88px} +.flag.flag-mm {background-position: -192px -88px} +.flag.flag-mn {background-position: -208px -88px} +.flag.flag-mo {background-position: -224px -88px} +.flag.flag-mp {background-position: -240px -88px} +.flag.flag-mq {background-position: 0 -99px} +.flag.flag-mr {background-position: -16px -99px} +.flag.flag-ms {background-position: -32px -99px} +.flag.flag-mt {background-position: -48px -99px} +.flag.flag-mu {background-position: -64px -99px} +.flag.flag-mv {background-position: -80px -99px} +.flag.flag-mw {background-position: -96px -99px} +.flag.flag-mx {background-position: -112px -99px} +.flag.flag-my {background-position: -128px -99px} +.flag.flag-mz {background-position: -144px -99px} +.flag.flag-na {background-position: -160px -99px} +.flag.flag-nc {background-position: -176px -99px} +.flag.flag-ne {background-position: -192px -99px} +.flag.flag-nf {background-position: -208px -99px} +.flag.flag-ng {background-position: -224px -99px} +.flag.flag-ni {background-position: -240px -99px} +.flag.flag-nl {background-position: 0 -110px} +.flag.flag-no {background-position: -16px -110px} +.flag.flag-np {background-position: -32px -110px} +.flag.flag-nr {background-position: -48px -110px} +.flag.flag-nu {background-position: -64px -110px} +.flag.flag-nz {background-position: -80px -110px} +.flag.flag-om {background-position: -96px -110px} +.flag.flag-pa {background-position: -112px -110px} +.flag.flag-pe {background-position: -128px -110px} +.flag.flag-pf {background-position: -144px -110px} +.flag.flag-pg {background-position: -160px -110px} +.flag.flag-ph {background-position: -176px -110px} +.flag.flag-pk {background-position: -192px -110px} +.flag.flag-pl {background-position: -208px -110px} +.flag.flag-pm {background-position: -224px -110px} +.flag.flag-pn {background-position: -240px -110px} +.flag.flag-pr {background-position: 0 -121px} +.flag.flag-ps {background-position: -16px -121px} +.flag.flag-pt {background-position: -32px -121px} +.flag.flag-pw {background-position: -48px -121px} +.flag.flag-py {background-position: -64px -121px} +.flag.flag-qa {background-position: -80px -121px} +.flag.flag-re {background-position: -96px -121px} +.flag.flag-ro {background-position: -112px -121px} +.flag.flag-rs {background-position: -128px -121px} +.flag.flag-ru {background-position: -144px -121px} +.flag.flag-rw {background-position: -160px -121px} +.flag.flag-sa {background-position: -176px -121px} +.flag.flag-sb {background-position: -192px -121px} +.flag.flag-sc {background-position: -208px -121px} +.flag.flag-sd {background-position: -224px -121px} +.flag.flag-se {background-position: -240px -121px} +.flag.flag-sg {background-position: 0 -132px} +.flag.flag-sh {background-position: -16px -132px} +.flag.flag-si {background-position: -32px -132px} +.flag.flag-sj {background-position: -48px -132px} +.flag.flag-sk {background-position: -64px -132px} +.flag.flag-sl {background-position: -80px -132px} +.flag.flag-sm {background-position: -96px -132px} +.flag.flag-sn {background-position: -112px -132px} +.flag.flag-so {background-position: -128px -132px} +.flag.flag-sr {background-position: -144px -132px} +.flag.flag-ss {background-position: -160px -132px} +.flag.flag-st {background-position: -176px -132px} +.flag.flag-sv {background-position: -192px -132px} +.flag.flag-sy {background-position: -208px -132px} +.flag.flag-sz {background-position: -224px -132px} +.flag.flag-tc {background-position: -240px -132px} +.flag.flag-td {background-position: 0 -143px} +.flag.flag-tf {background-position: -16px -143px} +.flag.flag-tg {background-position: -32px -143px} +.flag.flag-th {background-position: -48px -143px} +.flag.flag-tj {background-position: -64px -143px} +.flag.flag-tk {background-position: -80px -143px} +.flag.flag-tl {background-position: -96px -143px} +.flag.flag-tm {background-position: -112px -143px} +.flag.flag-tn {background-position: -128px -143px} +.flag.flag-to {background-position: -144px -143px} +.flag.flag-tr {background-position: -160px -143px} +.flag.flag-tt {background-position: -176px -143px} +.flag.flag-tv {background-position: -192px -143px} +.flag.flag-tw {background-position: -208px -143px} +.flag.flag-tz {background-position: -224px -143px} +.flag.flag-ua {background-position: -240px -143px} +.flag.flag-ug {background-position: 0 -154px} +.flag.flag-um {background-position: -16px -154px} +.flag.flag-us {background-position: -32px -154px} +.flag.flag-uy {background-position: -48px -154px} +.flag.flag-uz {background-position: -64px -154px} +.flag.flag-va {background-position: -80px -154px} +.flag.flag-vc {background-position: -96px -154px} +.flag.flag-ve {background-position: -112px -154px} +.flag.flag-vg {background-position: -128px -154px} +.flag.flag-vi {background-position: -144px -154px} +.flag.flag-vn {background-position: -160px -154px} +.flag.flag-vu {background-position: -176px -154px} +.flag.flag-wf {background-position: -192px -154px} +.flag.flag-ws {background-position: -208px -154px} +.flag.flag-ye {background-position: -224px -154px} +.flag.flag-yt {background-position: -240px -154px} +.flag.flag-za {background-position: 0 -165px} +.flag.flag-zm {background-position: -16px -165px} +.flag.flag-zw {background-position: -32px -165px} diff --git a/app/assets/stylesheets/themes/flat/layout/_helpers.scss b/app/assets/stylesheets/themes/flat/layout/_helpers.scss index 3a007d8..d276d24 100644 --- a/app/assets/stylesheets/themes/flat/layout/_helpers.scss +++ b/app/assets/stylesheets/themes/flat/layout/_helpers.scss @@ -2,12 +2,6 @@ Global Helpers */ -img.flag { - display: inline-block; - vertical-align: - 6px; - margin-right: 10px; -} - .actions-bottom { @include span-columns(12); margin-top: 20px; diff --git a/app/assets/stylesheets/themes/flat/theme.css.scss b/app/assets/stylesheets/themes/flat/theme.css.scss index 9e54cac..b109fbe 100644 --- a/app/assets/stylesheets/themes/flat/theme.css.scss +++ b/app/assets/stylesheets/themes/flat/theme.css.scss @@ -42,6 +42,7 @@ @import "components/pagination"; @import "components/tabs"; @import "components/shoutbox"; +@import "components/flags"; /* Pages diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index f13e54d..5b0fbab 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -126,9 +126,9 @@ module ApplicationHelper def flag country if country and country.to_s.size > 0 - image_tag "flags/#{country}.png", class: 'flag' + image_tag 'shared/blank.gif', class: "flag flag-#{country.downcase}" else - image_tag 'flags/EU.png', class: 'flag' + image_tag 'shared/blank.gif', class: 'flag' end end diff --git a/app/models/user.rb b/app/models/user.rb index c9349c6..32a1f46 100755 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -21,7 +21,7 @@ # public_email :boolean default(FALSE), not null # -require 'country_code_select/countries' + require 'digest/md5' require File.join(Rails.root, 'vendor', 'plugins', 'acts_as_versioned', 'lib', 'acts_as_versioned.rb') @@ -144,12 +144,8 @@ class User < ActiveRecord::Base end def country_s - CountryCodeSelect::Countries::COUNTRIES.each do |c| - if c[1] == country - return c[0] - end - end - country + country = ISO3166::Country[self.country] + country ? country.name : 'Earth' end def realname diff --git a/app/views/users/edit.html.erb b/app/views/users/edit.html.erb index b4fcba7..0acad7b 100644 --- a/app/views/users/edit.html.erb +++ b/app/views/users/edit.html.erb @@ -97,7 +97,7 @@
<%= f.label :country %>
- <%= country_code_select :user, :country, [['EU', 'EU']] %> + <%= country_select :user, :country, include_blank: true %>
diff --git a/config/initializers/countries.rb b/config/initializers/countries.rb new file mode 100644 index 0000000..7f11e87 --- /dev/null +++ b/config/initializers/countries.rb @@ -0,0 +1,10 @@ +# Add EU for legacy support +ISO3166::Data.register( + alpha2: "EU", + name: 'Europe', + translations: { + en: 'Europe' + } +) +# Remove countries which don't have their flag represented in flags.png and are not independent according to ISO3166 +%w{AQ BQ IM JE CW GG MF}.each {|code| ISO3166::Data.unregister code} \ No newline at end of file