Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
slapos
Commits
24693cfc
Commit
24693cfc
authored
Sep 29, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
theia: WIP fonts + css
parent
c020f044
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
294 additions
and
294 deletions
+294
-294
software/theia/buildout.hash.cfg
software/theia/buildout.hash.cfg
+6
-2
software/theia/instance.cfg.in
software/theia/instance.cfg.in
+10
-1
software/theia/preloadTemplate.html
software/theia/preloadTemplate.html
+5
-276
software/theia/slapos.css.in
software/theia/slapos.css.in
+260
-0
software/theia/software.cfg
software/theia/software.cfg
+13
-15
No files found.
software/theia/buildout.hash.cfg
View file @
24693cfc
...
...
@@ -15,7 +15,7 @@
[instance]
filename = instance.cfg.in
md5sum =
a5c23358b8435b516e9e78bd71b5b819
md5sum =
310dd1d78df8ab74ac7b8e8ee139c5b8
[yarn.lock]
filename = yarn.lock
...
...
@@ -27,4 +27,8 @@ md5sum = d2ce161244ce9ebce5295302a1b2a7df
[preloadTemplate.html]
filename = preloadTemplate.html
md5sum = 8f5758f2e0ff7c4600c73ce54c9a70aa
md5sum = b6e5ebd004c6336ae8d9d4ee24412b8a
[slapos.css.in]
filename = slapos.css.in
md5sum = 3ed13872f1c540e170075c7535e69fb3
software/theia/instance.cfg.in
View file @
24693cfc
...
...
@@ -54,7 +54,7 @@ template = inline:
root $${directory:frontend-static}
browse
proxy / $${theia-instance:base-url} {
except $${frontend-instance-fonts:folder-name} public $${favicon.ico:filename}
except $${frontend-instance-fonts:folder-name}
$${frontend-instance-slapos.css:folder-name}
public $${favicon.ico:filename}
}
proxy /services $${theia-instance:base-url} {
websocket
...
...
@@ -84,6 +84,7 @@ pidfile = $${directory:pidfiles}/$${:_buildout_section_name_}.pid
url = https://$${:hostname}:$${:port}/
[frontend-instance-fonts]
; TODO: this is ugly
recipe = plone.recipe.command
location = $${directory:frontend-static}/$${:folder-name}
folder-name = fonts
...
...
@@ -93,6 +94,13 @@ command =
ln -s ${jetbrains-mono-fonts:location} $${:location}/jetbrains-mono
stop-on-error = true
[frontend-instance-slapos.css]
; TODO: do we need a template recipe ? we don't subsitute anything here
recipe = slapos.recipe.template:jinja2
template = ${slapos.css.in:output}
rendered = $${directory:frontend-static}/$${:folder-name}/slapos.css
folder-name = css
[frontend-reload]
recipe = slapos.cookbook:wrapper
wrapper-path = $${directory:services}/$${:_buildout_section_name_}
...
...
@@ -333,3 +341,4 @@ project = $${:srv}/project
slapos = $${:srv}/slapos
frontend-static = $${:srv}/frontend-static
frontend-static-public = $${:frontend-static}/public
frontend-static-css = $${:frontend-static}/css
software/theia/preloadTemplate.html
View file @
24693cfc
This diff is collapsed.
Click to expand it.
software/theia/slapos.css.in
0 → 100644
View file @
24693cfc
This diff is collapsed.
Click to expand it.
software/theia/software.cfg
View file @
24693cfc
...
...
@@ -117,6 +117,12 @@ eggs =
supervisor
setuptools
[template-base]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
[python-language-server]
version = 0.19.0
recipe = plone.recipe.command
...
...
@@ -128,10 +134,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
[python-language-server-requirements.txt]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
<= template-base
# TODO: file
[theia]
...
...
@@ -153,16 +156,13 @@ uses = ${yarn.lock:recipe}
THEIA_DEFAULT_PLUGINS = ${:location}/plugins/
[yarn.lock]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
<= template-base
[preloadTemplate.html]
recipe = slapos.recipe.templat
e
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
<= template-bas
e
[slapos.css.in]
<= template-base
[package.json]
recipe = slapos.recipe.template:jinja2
...
...
@@ -357,9 +357,7 @@ template =
[instance]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
mode = 0644
<= template-base
output = ${buildout:directory}/instance.cfg
[versions]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment