This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#new_user_session | |
@include box-shadow($login-box-shadow-color 0 0 2px, $login-box-shadow-color 0 1px 1px, #fff 0 3px 0, $login-box-shadow-color 0 4px 0, #fff 0 6px 0, $login-box-shadow-color 0 7px 0) | |
padding: 30px 40px 20px 40px | |
margin: 0px 1px 5px 1px | |
@include border-radius(10px) | |
@include background(linear-gradient(darken($login-background, 10), #FFF)) | |
@include center-horizontally(320px) | |
#new_user_session | |
label |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input, textarea | |
padding: 9px | |
border: 1px solid $text-box-border | |
width: 200px | |
background: $text-box-bg | |
input | |
@include border-radius(5px) | |
input, text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input, textarea | |
&:hover | |
background: darken($text-box-from-gradient, 10) | |
border-color: $text-box-hover | |
input, textarea | |
@include transition-property(background) | |
@include transition-duration(0.5s) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
generate: => | |
values = _.map($('input:checked'), (check) -> | |
$(check).val()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
generate: => | |
identifiers = _.map($('input:checked'), (check) -> | |
{Uid: $(check).val()}) | |
return if identifiers.length == 0 | |
managementView = new ManagementReportView({vent: @vent, el: $('#managementReport'), collection: new BusinessUnits(identifiers)}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var results = from name in Enum.GetNames(typeof(ReviewPeriodTimes)) | |
let temp = name.SplitTextAndNumbers() | |
select new { Value = temp.Split()[1], Text = temp.Split()[0] }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
do($ = jQuery) -> | |
$.fn.extend | |
readonlyDocumentsTable: (options) -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BaseView | |
constructor: (options) -> | |
@bindings = [] | |
Backbone.View.apply(@, [options]) | |
_.extend(BaseView.prototype, Backbone.View.prototype, { | |
bindTo: (model, ev, callback) -> | |
model.bind(ev, callback, @) | |
@bindings.push({model: model, ev: ev, callback: callback}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public virtual IList<Plan> GetPlansForBusinessUnits(Guid[] businessUnitUids) | |
{ | |
using (var session = _sessionManager.OpenSession()) | |
{ | |
return session.QueryOver<Plan>() | |
.Where(Restrictions.On<Plan>(x => x.BusinessUnit.Uid) | |
.IsIn(businessUnitUids)) | |
.List() | |
.OrderBy(x => x.Title).ToList(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BaseView | |
constructor: (options) -> | |
@bindings = [] | |
Backbone.View.apply(@, [options]) | |
_.extend(BaseView.prototype, Backbone.View.prototype, { | |
bindTo: (model, ev, callback) -> | |
model.bind(ev, callback, @) | |
@bindings.push({model: model, ev: ev, callback: callback}) |