mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +01:00
using bootsrap-sass + erb fixes
This commit is contained in:
parent
85a51e1b46
commit
4e076c32ee
@ -3,7 +3,7 @@ import 'regenerator-runtime/runtime';
|
|||||||
|
|
||||||
import 'jquery';
|
import 'jquery';
|
||||||
import 'jquery_ujs';
|
import 'jquery_ujs';
|
||||||
import 'bootstrap';
|
import 'bootstrap-sass';
|
||||||
import 'polyfill';
|
import 'polyfill';
|
||||||
import 'angular';
|
import 'angular';
|
||||||
import 'angular-cookies';
|
import 'angular-cookies';
|
||||||
@ -70,11 +70,12 @@ import 'angular-ui-tour/dist/angular-ui-tour';
|
|||||||
|
|
||||||
import '../src/javascript/app.js';
|
import '../src/javascript/app.js';
|
||||||
import '../src/javascript/router.js.erb';
|
import '../src/javascript/router.js.erb';
|
||||||
import '../src/javascript/controllers/*';
|
|
||||||
import '../src/javascript/services/*';
|
|
||||||
import '../src/javascript/directives/*';
|
|
||||||
import '../src/javascript/filters/*';
|
|
||||||
import '../src/javascript/plugins.js.erb';
|
import '../src/javascript/plugins.js.erb';
|
||||||
|
|
||||||
|
require.context('../src/javascript/controllers/', true, /.*/);
|
||||||
|
require.context('../src/javascript/services/', true, /.*/);
|
||||||
|
require.context('../src/javascript/directives/', true, /.*/);
|
||||||
|
require.context('../src/javascript/filters/', true, /.*/);
|
||||||
|
|
||||||
require.context('../images', true);
|
require.context('../images', true);
|
||||||
require.context('../templates', true);
|
require.context('../templates', true);
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
@import '~angular-xeditable/dist/css/xeditable';
|
@import '~angular-xeditable/dist/css/xeditable';
|
||||||
@import '~angular-loading-bar/build/loading-bar';
|
@import '~angular-loading-bar/build/loading-bar';
|
||||||
@import '~nvd3/build/nv.d3';
|
@import '~nvd3/build/nv.d3';
|
||||||
@import '~font-awesome';
|
@import '~font-awesome/css/font-awesome';
|
||||||
@import '~medium-editor/dist/css/medium-editor';
|
@import '~medium-editor/dist/css/medium-editor';
|
||||||
@import '~medium-editor/dist/css/themes/default';
|
@import '~medium-editor/dist/css/themes/default';
|
||||||
@import '~bootstrap-switch/dist/css/bootstrap3/bootstrap-switch';
|
@import '~bootstrap-switch/dist/css/bootstrap3/bootstrap-switch';
|
||||||
|
@ -42,7 +42,7 @@ Application.Controllers.controller('EventsController', ['$scope', '$state', 'Eve
|
|||||||
age_range_id: null
|
age_range_id: null
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.monthNames = [<%= t('date.month_names')[1..-1].map { |m| "\"#{m}\"" }.join(', ') %>];
|
$scope.monthNames = [<%= I18n.t('date.month_names')[1..-1].map { |m| "\"#{m}\"" }.join(', ') %>];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds a resultset of events to the bottom of the page, grouped by month
|
* Adds a resultset of events to the bottom of the page, grouped by month
|
||||||
|
@ -1032,51 +1032,51 @@ $hr-border: $gray-lighter !default;
|
|||||||
|
|
||||||
// Core variables and mixins
|
// Core variables and mixins
|
||||||
// @import "bootstrap/variables"; //overrides
|
// @import "bootstrap/variables"; //overrides
|
||||||
@import "bootstrap/mixins";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/mixins";
|
||||||
|
|
||||||
// Reset and dependencies
|
// Reset and dependencies
|
||||||
@import "bootstrap/normalize";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/normalize";
|
||||||
@import "bootstrap/print";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/print";
|
||||||
@import "bootstrap/glyphicons";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/glyphicons";
|
||||||
|
|
||||||
// Core CSS
|
// Core CSS
|
||||||
@import "bootstrap/scaffolding";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/scaffolding";
|
||||||
@import "bootstrap/type";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/type";
|
||||||
@import "bootstrap/code";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/code";
|
||||||
@import "bootstrap/grid";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/grid";
|
||||||
@import "bootstrap/tables";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/tables";
|
||||||
@import "bootstrap/forms";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/forms";
|
||||||
@import "bootstrap/buttons";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/buttons";
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
@import "bootstrap/component-animations";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/component-animations";
|
||||||
@import "bootstrap/dropdowns";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/dropdowns";
|
||||||
@import "bootstrap/button-groups";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/button-groups";
|
||||||
@import "bootstrap/input-groups";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/input-groups";
|
||||||
@import "bootstrap/navs";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/navs";
|
||||||
@import "bootstrap/navbar";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/navbar";
|
||||||
@import "bootstrap/breadcrumbs";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/breadcrumbs";
|
||||||
@import "bootstrap/pagination";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/pagination";
|
||||||
@import "bootstrap/pager";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/pager";
|
||||||
@import "bootstrap/labels";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/labels";
|
||||||
@import "bootstrap/badges";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/badges";
|
||||||
@import "bootstrap/jumbotron";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/jumbotron";
|
||||||
@import "bootstrap/thumbnails";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/thumbnails";
|
||||||
@import "bootstrap/alerts";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/alerts";
|
||||||
@import "bootstrap/progress-bars";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/progress-bars";
|
||||||
@import "bootstrap/media";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/media";
|
||||||
@import "bootstrap/list-group";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/list-group";
|
||||||
@import "bootstrap/panels";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/panels";
|
||||||
@import "bootstrap/responsive-embed";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/responsive-embed";
|
||||||
@import "bootstrap/wells";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/wells";
|
||||||
@import "bootstrap/close";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/close";
|
||||||
|
|
||||||
// Components w/ JavaScript
|
// Components w/ JavaScript
|
||||||
@import "bootstrap/modals";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/modals";
|
||||||
@import "bootstrap/tooltip";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/tooltip";
|
||||||
@import "bootstrap/popovers";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/popovers";
|
||||||
@import "bootstrap/carousel";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/carousel";
|
||||||
|
|
||||||
// Utility classes
|
// Utility classes
|
||||||
@import "bootstrap/utilities";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/utilities";
|
||||||
@import "bootstrap/responsive-utilities";
|
@import "~bootstrap-sass/assets/stylesheets/bootstrap/responsive-utilities";
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
<% include Rails.application.routes.url_helpers %>
|
||||||
|
|
||||||
<section class="heading b-b">
|
<section class="heading b-b">
|
||||||
<div class="row no-gutter">
|
<div class="row no-gutter">
|
||||||
<div class="col-xs-2 col-sm-2 col-md-1">
|
<div class="col-xs-2 col-sm-2 col-md-1">
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<a ng-click="toggleNavSize($event)" class="btn btn-link visible-xs" data-toggle="class:nav-off-screen" data-target="#nav"><i class="fa fa-bars"></i></a>
|
<a ng-click="toggleNavSize($event)" class="btn btn-link visible-xs" data-toggle="class:nav-off-screen" data-target="#nav"><i class="fa fa-bars"></i></a>
|
||||||
<a ui-sref="app.public.home" class="navbar-brand" ng-click="goabout = false">
|
<a ui-sref="app.public.home" class="navbar-brand" ng-click="goabout = false">
|
||||||
<img ng-src="{{logo.custom_asset_file_attributes.attachment_url}}" alt="{{logo.custom_asset_file_attributes.attachment}}" class="m-r-sm"/>
|
<img ng-src="{{logo.custom_asset_file_attributes.attachment_url}}" alt="{{logo.custom_asset_file_attributes.attachment}}" class="m-r-sm"/>
|
||||||
<%= raw "<label class='label-staging label label-warning text-sm hidden-sm hidden-xs'>Staging</label>" if Rails.env.staging? %></a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="nav navbar-nav hidden-xs">
|
<ul class="nav navbar-nav hidden-xs">
|
@ -61,7 +61,7 @@
|
|||||||
"angular-ui-tour": "https://github.com/Ross-Byrne/angular-ui-tour.git#master",
|
"angular-ui-tour": "https://github.com/Ross-Byrne/angular-ui-tour.git#master",
|
||||||
"angular-unsavedchanges": "0.2",
|
"angular-unsavedchanges": "0.2",
|
||||||
"angular-xeditable": "0.10",
|
"angular-xeditable": "0.10",
|
||||||
"bootstrap": "3.4.1",
|
"bootstrap-sass": "3.4.1",
|
||||||
"bootstrap-switch": "3.3.2",
|
"bootstrap-switch": "3.3.2",
|
||||||
"checklist-model": "0.2",
|
"checklist-model": "0.2",
|
||||||
"codemirror": "^4.8.0",
|
"codemirror": "^4.8.0",
|
||||||
|
10
yarn.lock
10
yarn.lock
@ -1749,6 +1749,11 @@ boolbase@^1.0.0, boolbase@~1.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
|
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
|
||||||
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
|
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
|
||||||
|
|
||||||
|
bootstrap-sass@3.4.1:
|
||||||
|
version "3.4.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/bootstrap-sass/-/bootstrap-sass-3.4.1.tgz#6843c73b1c258a0ac5cb2cc6f6f5285b664a8e9a"
|
||||||
|
integrity sha512-p5rxsK/IyEDQm2CwiHxxUi0MZZtvVFbhWmyMOt4lLkA4bujDA1TGoKT0i1FKIWiugAdP+kK8T5KMDFIKQCLYIA==
|
||||||
|
|
||||||
bootstrap-switch@3.3.2:
|
bootstrap-switch@3.3.2:
|
||||||
version "3.3.2"
|
version "3.3.2"
|
||||||
resolved "https://registry.yarnpkg.com/bootstrap-switch/-/bootstrap-switch-3.3.2.tgz#79ddb49fadc308fb731e257f95957af48996eea7"
|
resolved "https://registry.yarnpkg.com/bootstrap-switch/-/bootstrap-switch-3.3.2.tgz#79ddb49fadc308fb731e257f95957af48996eea7"
|
||||||
@ -1756,11 +1761,6 @@ bootstrap-switch@3.3.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
jquery ">=1.9.0"
|
jquery ">=1.9.0"
|
||||||
|
|
||||||
bootstrap@3.4.1:
|
|
||||||
version "3.4.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-3.4.1.tgz#c3a347d419e289ad11f4033e3c4132b87c081d72"
|
|
||||||
integrity sha512-yN5oZVmRCwe5aKwzRj6736nSmKDX7pLYwsXiCj/EYmo16hODaBiT4En5btW/jhBF/seV+XMx3aYwukYC3A49DA==
|
|
||||||
|
|
||||||
brace-expansion@^1.1.7:
|
brace-expansion@^1.1.7:
|
||||||
version "1.1.11"
|
version "1.1.11"
|
||||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
||||||
|
Loading…
Reference in New Issue
Block a user