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
fee8634d
Commit
fee8634d
authored
Nov 04, 2019
by
alexcherman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move style changes to bootstrap theme
parent
62ebec6c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
plugin-manager-component.js
src/app/components/plugin-manager-component.js
+7
-11
theme-module.js
src/app/tabs/theme-module.js
+1
-1
No files found.
src/app/components/plugin-manager-component.js
View file @
fee8634d
...
...
@@ -30,10 +30,6 @@ const css = csjs`
display: flex;
align-items: center;
justify-content: space-between;
margin: 0;
font-size: 13px;
line-height: 16px;
text-transform: uppercase;
}
.description {
font-size: 13px;
...
...
@@ -121,7 +117,7 @@ class PluginManagerComponent extends ViewPlugin {
return
yo
`
<article id="remixPluginManagerListItem_
${
name
}
" class="list-group-item px-2 pt-2 pb-0 plugins-list-group-item" title="
${
displayName
}
" >
<div class="
${
css
.
row
}
justify-content-between align-items-center mb-2">
<h6 class="
${
css
.
displayName
}
">
<h6 class="
${
css
.
displayName
}
plugin-name
">
${
displayName
}
${
versionWarning
}
</h6>
...
...
@@ -179,16 +175,16 @@ class PluginManagerComponent extends ViewPlugin {
const
activeTile
=
actives
.
length
!==
0
?
yo
`
<nav class="plugins-list-header justify-content-
start navbar navbar-expand-lg bg-light navbar-light align-items-center px-4 py-3
">
<span class="
h6 mb-0 mr-2
">Active Modules</span>
<span class="badge badge-p
ill badge-warning
">
${
actives
.
length
}
</span>
<nav class="plugins-list-header justify-content-
between navbar navbar-expand-lg bg-light navbar-light align-items-center
">
<span class="
navbar-brand plugins-list-title
">Active Modules</span>
<span class="badge badge-p
rimary
">
${
actives
.
length
}
</span>
</nav>`
:
''
const
inactiveTile
=
inactives
.
length
!==
0
?
yo
`
<nav class="plugins-list-header justify-content-
start navbar navbar-expand-lg bg-light navbar-light align-items-center px-4 py-3
">
<span class="h6 mb-0 mr-2">Inactive Modules</span>
<span class="badge badge-p
ill badge-warning
" style = "cursor: default;">
${
inactives
.
length
}
</span>
<nav class="plugins-list-header justify-content-
between navbar navbar-expand-lg bg-light navbar-light align-items-center
">
<span class="
navbar-brand plugins-list-title
h6 mb-0 mr-2">Inactive Modules</span>
<span class="badge badge-p
rimary
" style = "cursor: default;">
${
inactives
.
length
}
</span>
</nav>`
:
''
...
...
src/app/tabs/theme-module.js
View file @
fee8634d
...
...
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events'
import
*
as
packageJson
from
'../../../package.json'
const
themes
=
[
{
name
:
'Dark'
,
quality
:
'dark'
,
url
:
'https://res.cloudinary.com/dvtmp0niu/raw/upload/v15728
68094
/remix-custom-dark.css'
},
{
name
:
'Dark'
,
quality
:
'dark'
,
url
:
'https://res.cloudinary.com/dvtmp0niu/raw/upload/v15728
85068
/remix-custom-dark.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
...
...
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