Merge branch 'master' into groups
This commit is contained in:
commit
d7350838ba
1
Gemfile
1
Gemfile
|
@ -28,6 +28,7 @@ gem 'devise'
|
|||
gem 'devise-async'
|
||||
gem 'bootstrap_form'
|
||||
gem 'font-kit-rails'
|
||||
gem 'nprogress-rails'
|
||||
gem 'font-awesome-rails', '~> 4.2.0.0'
|
||||
gem 'rails-assets-growl'
|
||||
gem "paperclip", "~> 4.2"
|
||||
|
|
|
@ -165,6 +165,7 @@ GEM
|
|||
mini_portile (~> 0.6.0)
|
||||
nokogumbo (1.2.0)
|
||||
nokogiri
|
||||
nprogress-rails (0.1.6.3)
|
||||
oauth (0.4.7)
|
||||
omniauth (1.2.2)
|
||||
hashie (>= 1.2, < 4)
|
||||
|
@ -378,6 +379,7 @@ DEPENDENCIES
|
|||
jquery-rails
|
||||
jquery-turbolinks
|
||||
mysql2
|
||||
nprogress-rails
|
||||
omniauth
|
||||
omniauth-tumblr
|
||||
omniauth-twitter
|
||||
|
|
|
@ -3,13 +3,16 @@
|
|||
#= require jquery.turbolinks
|
||||
#= require turbolinks
|
||||
#= require bootstrap
|
||||
#= require nprogress
|
||||
#= require nprogress-turbolinks
|
||||
#= require growl
|
||||
#= require cheet
|
||||
#= require jquery.guillotine
|
||||
#= require sweet-alert
|
||||
#= require_tree .
|
||||
|
||||
Turbolinks.enableProgressBar()
|
||||
NProgress.configure
|
||||
showSpinner: false
|
||||
|
||||
window.showNotification = (text, success=true) ->
|
||||
args =
|
||||
|
|
|
@ -7,12 +7,11 @@
|
|||
*/
|
||||
|
||||
@import url(https://fonts.googleapis.com/css?family=Exo+2:400,700);
|
||||
@import "bootswatch/paper/variables";
|
||||
|
||||
$font-family-sans-serif: "Exo 2","Open Sans", "Helvetica Neue", Helvetica, "DejaVu Sans", Arial, sans-serif;
|
||||
$font-family-serif: Georgia, "DejaVu Serif", "Times New Roman", Times, serif;
|
||||
//** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
|
||||
$font-family-monospace: Monaco, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace;
|
||||
$font-family-monospace: "PragmataPro", Monaco, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace;
|
||||
$font-family-base: $font-family-sans-serif;
|
||||
|
||||
$font-size-base: 14px;
|
||||
|
@ -26,6 +25,24 @@ $font-size-h4: ceil(($font-size-base * 1.25)); // ~18px
|
|||
$font-size-h5: $font-size-base;
|
||||
$font-size-h6: ceil(($font-size-base * 0.85)); // ~12px
|
||||
|
||||
$brand-primary: #5e35b1;
|
||||
$navbar-inverse-bg: #5e35b1;
|
||||
$navbar-inverse-link-color: #ffffff;
|
||||
$navbar-inverse-link-hover-color: #bfbfbf;
|
||||
$navbar-inverse-link-hover-bg: transparent;
|
||||
$navbar-inverse-link-active-color: #bfbfbf;
|
||||
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 6.5%);
|
||||
$navbar-inverse-link-disabled-color: darken(#fff, 12.5%);
|
||||
$navbar-inverse-link-disabled-bg: transparent;
|
||||
$navbar-inverse-brand-color: $navbar-inverse-link-color;
|
||||
$navbar-inverse-brand-hover-color: darken($navbar-inverse-link-color, 10%);
|
||||
$navbar-inverse-brand-hover-bg: transparent;
|
||||
$navbar-inverse-toggle-hover-bg: #512da8;
|
||||
$navbar-inverse-toggle-icon-bar-bg: #7e57c2;
|
||||
$navbar-inverse-toggle-border-color: #512da8;
|
||||
|
||||
@import "bootswatch/paper/variables";
|
||||
|
||||
@import "bootstrap";
|
||||
body { padding-top: $navbar-height; }
|
||||
@import "bootswatch/paper/bootswatch";
|
||||
|
@ -34,8 +51,6 @@ body { padding-top: $navbar-height; }
|
|||
|
||||
@import "font-awesome";
|
||||
|
||||
html.turbolinks-progress-bar::before {
|
||||
background-color: darken($navbar-inverse-bg, 15%) !important;
|
||||
box-shadow: 0px 0px 10px darken($navbar-inverse-bg, 15%), 0px 0px 5px darken($navbar-inverse-bg, 15%);
|
||||
height: 2px !important;
|
||||
}
|
||||
$nprogress-color: darken($navbar-inverse-bg, 15%);
|
||||
@import 'nprogress';
|
||||
@import 'nprogress-bootstrap';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
%meta{charset: 'utf-8'}
|
||||
%meta{'http-equiv' => 'X-UA-Compatible' ,content: 'IE=edge'}
|
||||
%meta{name: 'viewport', content: 'width=device-width, initial-scale=1, user-scalable=no'}
|
||||
%meta{name: 'theme-color', content: '#0C84E4'}
|
||||
%meta{name: 'theme-color', content: '#5e35b1'}
|
||||
%meta{name: "mobile-web-app-capable", content: "yes"}
|
||||
%meta{name: "apple-mobile-web-app-capable", content: "yes"}
|
||||
%meta{name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent'}
|
||||
|
|
|
@ -6,15 +6,18 @@
|
|||
.panel-body
|
||||
- if @services.count > 0
|
||||
Sharing is enabled for the following services:
|
||||
%ul
|
||||
- @services.each do |service|
|
||||
%li
|
||||
%strong= service.provider.capitalize
|
||||
(#{service.nickname})
|
||||
= link_to 'Disconnect', service_path(service), data: { confirm: "Really disconnect service #{service.provider.capitalize}?" }, method: :delete
|
||||
- else
|
||||
You have not connected any services yet.
|
||||
|
||||
- APP_CONFIG['sharing'].each do |service, service_options|
|
||||
- if service_options['enabled'] and !@services.any? { |x| x.provider == service.to_s }
|
||||
%p=link_to "Connect to #{service.capitalize}", "/auth/#{service}"
|
||||
%p=link_to "Connect to #{service.capitalize}", "/auth/#{service}"
|
||||
|
||||
- if @services.count > 0
|
||||
%ul.list-group
|
||||
- @services.each do |service|
|
||||
%li.list-group-item
|
||||
%i{class: "fa fa-#{service.provider}"}
|
||||
%strong= service.provider.capitalize
|
||||
(#{service.nickname})
|
||||
= link_to 'Disconnect', service_path(service), data: { confirm: "Really disconnect service #{service.provider.capitalize}?" }, method: :delete
|
Loading…
Reference in New Issue