Merge branch '44768-lazy-load-xterm-css' into 'master'
Lazy load xterm css custom colors file Closes #44768 See merge request gitlab-org/gitlab-ce!21804
This commit is contained in:
commit
8c2192943a
4 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
@import 'framework/variables';
|
||||
|
||||
.build-page {
|
||||
// color codes are based on http://en.wikipedia.org/wiki/File:Xterm_256color_chart.svg
|
||||
// see also: https://gist.github.com/jasonm23/2868981
|
|
@ -3,6 +3,9 @@
|
|||
- breadcrumb_title "##{@build.id}"
|
||||
- page_title "#{@build.name} (##{@build.id})", "Jobs"
|
||||
|
||||
- content_for :page_specific_javascripts do
|
||||
= stylesheet_link_tag 'page_bundles/xterm'
|
||||
|
||||
%div{ class: container_class }
|
||||
.build-page.js-build-page
|
||||
#js-build-header-vue
|
||||
|
|
5
changelogs/unreleased/44768-lazy-load-xterm-css.yml
Normal file
5
changelogs/unreleased/44768-lazy-load-xterm-css.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Lazy load xterm custom colors css
|
||||
merge_request:
|
||||
author:
|
||||
type: performance
|
|
@ -134,6 +134,7 @@ module Gitlab
|
|||
config.assets.precompile << "notify.css"
|
||||
config.assets.precompile << "mailers/*.css"
|
||||
config.assets.precompile << "page_bundles/ide.css"
|
||||
config.assets.precompile << "page_bundles/xterm.css"
|
||||
config.assets.precompile << "performance_bar.css"
|
||||
config.assets.precompile << "lib/ace.js"
|
||||
config.assets.precompile << "test.css"
|
||||
|
|
Loading…
Reference in a new issue