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 @@
...
@@ -15,7 +15,7 @@
[instance]
[instance]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
a5c23358b8435b516e9e78bd71b5b819
md5sum =
310dd1d78df8ab74ac7b8e8ee139c5b8
[yarn.lock]
[yarn.lock]
filename = yarn.lock
filename = yarn.lock
...
@@ -27,4 +27,8 @@ md5sum = d2ce161244ce9ebce5295302a1b2a7df
...
@@ -27,4 +27,8 @@ md5sum = d2ce161244ce9ebce5295302a1b2a7df
[preloadTemplate.html]
[preloadTemplate.html]
filename = 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:
...
@@ -54,7 +54,7 @@ template = inline:
root $${directory:frontend-static}
root $${directory:frontend-static}
browse
browse
proxy / $${theia-instance:base-url} {
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} {
proxy /services $${theia-instance:base-url} {
websocket
websocket
...
@@ -84,6 +84,7 @@ pidfile = $${directory:pidfiles}/$${:_buildout_section_name_}.pid
...
@@ -84,6 +84,7 @@ pidfile = $${directory:pidfiles}/$${:_buildout_section_name_}.pid
url = https://$${:hostname}:$${:port}/
url = https://$${:hostname}:$${:port}/
[frontend-instance-fonts]
[frontend-instance-fonts]
; TODO: this is ugly
recipe = plone.recipe.command
recipe = plone.recipe.command
location = $${directory:frontend-static}/$${:folder-name}
location = $${directory:frontend-static}/$${:folder-name}
folder-name = fonts
folder-name = fonts
...
@@ -93,6 +94,13 @@ command =
...
@@ -93,6 +94,13 @@ command =
ln -s ${jetbrains-mono-fonts:location} $${:location}/jetbrains-mono
ln -s ${jetbrains-mono-fonts:location} $${:location}/jetbrains-mono
stop-on-error = true
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]
[frontend-reload]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
wrapper-path = $${directory:services}/$${:_buildout_section_name_}
wrapper-path = $${directory:services}/$${:_buildout_section_name_}
...
@@ -333,3 +341,4 @@ project = $${:srv}/project
...
@@ -333,3 +341,4 @@ project = $${:srv}/project
slapos = $${:srv}/slapos
slapos = $${:srv}/slapos
frontend-static = $${:srv}/frontend-static
frontend-static = $${:srv}/frontend-static
frontend-static-public = $${:frontend-static}/public
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 =
...
@@ -117,6 +117,12 @@ eggs =
supervisor
supervisor
setuptools
setuptools
[template-base]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
[python-language-server]
[python-language-server]
version = 0.19.0
version = 0.19.0
recipe = plone.recipe.command
recipe = plone.recipe.command
...
@@ -128,10 +134,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
...
@@ -128,10 +134,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
stop-on-error = true
[python-language-server-requirements.txt]
[python-language-server-requirements.txt]
recipe = slapos.recipe.template
<= template-base
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
# TODO: file
# TODO: file
[theia]
[theia]
...
@@ -153,16 +156,13 @@ uses = ${yarn.lock:recipe}
...
@@ -153,16 +156,13 @@ uses = ${yarn.lock:recipe}
THEIA_DEFAULT_PLUGINS = ${:location}/plugins/
THEIA_DEFAULT_PLUGINS = ${:location}/plugins/
[yarn.lock]
[yarn.lock]
recipe = slapos.recipe.template
<= template-base
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
mode = 0644
[preloadTemplate.html]
[preloadTemplate.html]
recipe = slapos.recipe.templat
e
<= template-bas
e
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:parts-directory}/${:_buildout_section_name_}
[slapos.css.in]
mode = 0644
<= template-base
[package.json]
[package.json]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
...
@@ -357,9 +357,7 @@ template =
...
@@ -357,9 +357,7 @@ template =
[instance]
[instance]
recipe = slapos.recipe.template
<= template-base
url = ${:_profile_base_location_}/${:filename}
mode = 0644
output = ${buildout:directory}/instance.cfg
output = ${buildout:directory}/instance.cfg
[versions]
[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