Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
784eec17
Commit
784eec17
authored
Nov 05, 2019
by
alexcherman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix settings button position
parent
fee8634d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
9 deletions
+5
-9
plugin-manager-component.js
src/app/components/plugin-manager-component.js
+1
-1
plugin-manager-settings.js
src/app/components/plugin-manager-settings.js
+3
-7
theme-module.js
src/app/tabs/theme-module.js
+1
-1
No files found.
src/app/components/plugin-manager-component.js
View file @
784eec17
...
@@ -115,7 +115,7 @@ class PluginManagerComponent extends ViewPlugin {
...
@@ -115,7 +115,7 @@ class PluginManagerComponent extends ViewPlugin {
</button>`
</button>`
return
yo
`
return
yo
`
<article id="remixPluginManagerListItem_
${
name
}
" class="list-group-item p
x-2 pt-2 pb-0
plugins-list-group-item" title="
${
displayName
}
" >
<article id="remixPluginManagerListItem_
${
name
}
" class="list-group-item p
y-1
plugins-list-group-item" title="
${
displayName
}
" >
<div class="
${
css
.
row
}
justify-content-between align-items-center mb-2">
<div class="
${
css
.
row
}
justify-content-between align-items-center mb-2">
<h6 class="
${
css
.
displayName
}
plugin-name">
<h6 class="
${
css
.
displayName
}
plugin-name">
${
displayName
}
${
displayName
}
...
...
src/app/components/plugin-manager-settings.js
View file @
784eec17
...
@@ -11,12 +11,8 @@ const css = csjs`
...
@@ -11,12 +11,8 @@ const css = csjs`
align-items: center;
align-items: center;
padding: 5px 20px;
padding: 5px 20px;
}
}
.permissionsButton {
.permissions button {
height: 32px;
padding: 2px 5px;
padding: 0 12px;
font-weight: 700;
font-size: 12px;
line-height: 16px;
cursor: pointer;
cursor: pointer;
}
}
.permissionForm h4 {
.permissionForm h4 {
...
@@ -131,7 +127,7 @@ export class PluginManagerSettings {
...
@@ -131,7 +127,7 @@ export class PluginManagerSettings {
render
()
{
render
()
{
return
yo
`
return
yo
`
<footer class="bg-light
${
css
.
permissions
}
remix-bg-opacity">
<footer class="bg-light
${
css
.
permissions
}
remix-bg-opacity">
<button onclick="
${()
=>
this
.
openDialog
()}
" class="btn btn-primary
btn-sm
${
css
.
permissionsButton
}
">Settings</button>
<button onclick="
${()
=>
this
.
openDialog
()}
" class="btn btn-primary
settings-button
">Settings</button>
</footer>`
</footer>`
}
}
...
...
src/app/tabs/theme-module.js
View file @
784eec17
...
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events'
...
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events'
import
*
as
packageJson
from
'../../../package.json'
import
*
as
packageJson
from
'../../../package.json'
const
themes
=
[
const
themes
=
[
{
name
:
'Dark'
,
quality
:
'dark'
,
url
:
'https://res.cloudinary.com/dvtmp0niu/raw/upload/v1572
885068
/remix-custom-dark.css'
},
{
name
:
'Dark'
,
quality
:
'dark'
,
url
:
'https://res.cloudinary.com/dvtmp0niu/raw/upload/v1572
963493
/remix-custom-dark.css'
},
{
name
:
'Light'
,
quality
:
'light'
,
url
:
'https://res.cloudinary.com/dvtmp0niu/raw/upload/v1572342742/light-theme.css'
},
{
name
:
'Light'
,
quality
:
'light'
,
url
:
'https://res.cloudinary.com/dvtmp0niu/raw/upload/v1572342742/light-theme.css'
},
// switching to the url Todo: remove when the theme is ready
// switching to the url Todo: remove when the theme is ready
...
...
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