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
c28e66f2
Commit
c28e66f2
authored
Oct 06, 2020
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/theia: add a SlapOS logo
parent
4056fa7e
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
3 deletions
+26
-3
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/logo.png
software/theia/logo.png
+0
-0
software/theia/slapos.css.in
software/theia/slapos.css.in
+7
-0
software/theia/software.cfg
software/theia/software.cfg
+3
-0
No files found.
software/theia/buildout.hash.cfg
View file @
c28e66f2
...
...
@@ -15,7 +15,7 @@
[instance]
filename = instance.cfg.in
md5sum =
3bc174f9ec19721ab21491eb51cc45b7
md5sum =
20ed8af8526775d0da936e38f6c68ba0
[yarn.lock]
filename = yarn.lock
...
...
@@ -31,4 +31,8 @@ md5sum = 8157c22134200bd862a07c6521ebf799
[slapos.css.in]
filename = slapos.css.in
md5sum = 456dd5931e7c86456c69af062a2d2368
md5sum = d2930ec3ef973b7908f0fa896033fd64
[logo.png]
filename = logo.png
md5sum = 97bd0f828ffbac2681af0f4bd72cba27
software/theia/instance.cfg.in
View file @
c28e66f2
...
...
@@ -54,7 +54,7 @@ template = inline:
root $${directory:frontend-static}
browse
proxy / $${theia-instance:base-url} {
except $${frontend-instance-fonts:folder-name} $${frontend-instance-slapos.css:folder-name} public $${favicon.ico:filename}
except $${frontend-instance-fonts:folder-name} $${frontend-instance-slapos.css:folder-name} public $${favicon.ico:filename}
$${frontend-instance-logo:filename}
}
proxy /services $${theia-instance:base-url} {
websocket
...
...
@@ -95,11 +95,20 @@ command =
ln -s ${jetbrains-mono-fonts:location} $${:location}/jetbrains-mono
stop-on-error = true
[frontend-instance-logo]
recipe = plone.recipe.command
filename = logo.png
command =
ln -s ${logo.png:output} $${directory:frontend-static}/$${:filename}
stop-on-error = true
[frontend-instance-slapos.css]
recipe = slapos.recipe.template:jinja2
template = ${slapos.css.in:output}
rendered = $${directory:frontend-static}/$${:folder-name}/slapos.css
folder-name = css
context =
key logo_image frontend-instance-logo:filename
[frontend-reload]
recipe = slapos.cookbook:wrapper
...
...
software/theia/logo.png
0 → 100644
View file @
c28e66f2
16.5 KB
software/theia/slapos.css.in
View file @
c28e66f2
/* logo */
.theia-icon {
background-image: url('/{{ logo_image }}');
background-size: contain;
background-repeat: no-repeat;
}
/* Source Code Pro */
@font-face{
font-family: 'Source Code Pro';
...
...
software/theia/software.cfg
View file @
c28e66f2
...
...
@@ -163,6 +163,9 @@ THEIA_DEFAULT_PLUGINS = ${:location}/plugins/
[slapos.css.in]
<= template-base
[logo.png]
<= template-base
[package.json]
recipe = slapos.recipe.template:jinja2
# this comes from https://github.com/theia-ide/theia-apps/blob/a54aaa676e3db07d22ab75dde9f3447576135b4d/theia-full-docker/latest.package.json
...
...
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