public virtual void initialisation() { PageTitle = "CoreUI - Open Source Bootstrap Admin Template"; Metas.Add("viewport", "width=device-width, initial-scale=1, shrink-to-fit=no"); Metas.Add("description", "CoreUI - Open Source Bootstrap Admin Template"); Metas.Add("author", "Łukasz Holeczek / Labaste Hugues"); Metas.Add("keyword", "Bootstrap,Admin,Template,Open,Source,AngularJS,Angular,Angular2,Angular 2,Angular4,Angular 4,jQuery,CSS,HTML,RWD,Dashboard,React,React.js,Vue,Vue.js"); StyleSheets.Add("/content/core-ui/css/font-awesome.min.css"); StyleSheets.Add("/content/core-ui/css/simple-line-icons.css"); StyleSheets.Add("/content/core-ui/css/style.css"); Javascripts.Add("/scripts/core-ui/bower_components/jquery/dist/jquery.min.js"); Javascripts.Add("/scripts/core-ui/bower_components/tether/dist/js/tether.min.js"); Javascripts.Add("/scripts/core-ui/bower_components/bootstrap/dist/js/bootstrap.min.js"); Javascripts.Add("/scripts/core-ui/bower_components/pace/pace.min.js"); Javascripts.Add("/scripts/core-ui/bower_components/chart.js/dist/Chart.min.js"); Javascripts.Add("/scripts/core-ui/js/app.js"); Javascripts.Add("/scripts/core-ui/js/views/main.js"); ShortcutIcon = "img/favicon.png"; }
internal void Add(StyleSheets.StyleSheet styleSheet) { StyleSheets = StyleSheets ?? new List <StyleSheets.StyleSheet>(2); StyleSheets.Add(styleSheet); ValuesChanged?.Invoke(this, ResourcesChangedEventArgs.StyleSheets); }
public ServerPropertiesModel(NancyContext context) : base(context) { StyleSheets.Add("/static/serverproperties.css"); Scripts.Add("/static/serverproperties.js"); }
/// <summary> /// Add a CSS style sheet that will be applied to each input document. /// </summary> /// <param name="styleSheet">The CSS style sheet as a byte array.</param> public void AddStyleSheet(byte[] styleSheet) { _resources.Add(styleSheet); StyleSheets.Add("job-resource:" + (_resources.Count - 1)); }