Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter-ui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
modules
duniter-ui
Commits
f305ff2c
Commit
f305ff2c
authored
8 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
[fix] Could no more installa any module through UI
parent
af25e7e3
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
app/views/main/settings/tabs/modules.jade
+1
-1
1 addition, 1 deletion
app/views/main/settings/tabs/modules.jade
public/templates.js
+1
-1
1 addition, 1 deletion
public/templates.js
with
2 additions
and
2 deletions
app/views/main/settings/tabs/modules.jade
+
1
−
1
View file @
f305ff2c
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
h5(ng-if="mod.installed === true") {{ 'settings.modules.installing' | translate }}
h5(ng-if="mod.installed === true") {{ 'settings.modules.installing' | translate }}
h5(ng-if="mod.installed !== true") {{ 'settings.modules.uninstalling' | translate }}
h5(ng-if="mod.installed !== true") {{ 'settings.modules.uninstalling' | translate }}
blockquote.left-align.orange.lighten-5(translate='settings.modules.installing_warn')
blockquote.left-align.orange.lighten-5(translate='settings.modules.installing_warn')
li.collection-item.install_package(ng-
if
="hasAccess")
li.collection-item.install_package(ng-
show
="hasAccess")
.input-field.col.s6
.input-field.col.s6
i.material-icons.prefix language
i.material-icons.prefix language
input(type="text" ng-model="module_to_install" placeholder="Package: module@version, git+https://github.com/user/package.git, ...")
input(type="text" ng-model="module_to_install" placeholder="Package: module@version, git+https://github.com/user/package.git, ...")
...
...
This diff is collapsed.
Click to expand it.
public/templates.js
+
1
−
1
View file @
f305ff2c
...
@@ -742,7 +742,7 @@ var buf = [];
...
@@ -742,7 +742,7 @@ var buf = [];
var
jade_mixins
=
{};
var
jade_mixins
=
{};
var
jade_interp
;
var
jade_interp
;
buf
.
push
(
"
<div class=
\"
container modules
\"
><div class=
\"
row
\"
><form class=
\"
s12 center
\"
><div class=
\"
card
\"
><div class=
\"
card-action
\"
><i class=
\"
fa fa-cubes fa-5x
\"
></i><h1 translate=
\"
settings.modules.title
\"
class=
\"
card-title
\"
></h1><p translate=
\"
settings.modules.message
\"
></p><blockquote ng-if=
\"
!hasAccess
\"
translate=
\"
settings.modules.no_access
\"
class=
\"
left-align orange lighten-5
\"
></blockquote><blockquote ng-if=
\"
hasAccess && !warningShown
\"
class=
\"
left-align orange lighten-5
\"
><a href=
\"\"
translate=
\"
settings.modules.warning_light
\"
ng-click=
\"
showWarning()
\"
class=
\"
waves-effect waves-light
\"
></a></blockquote><blockquote ng-if=
\"
hasAccess && warningShown
\"
class=
\"
left-align orange lighten-5
\"
><div translate=
\"
settings.modules.warning
\"
></div><a href=
\"\"
translate=
\"
settings.modules.warning_close
\"
ng-click=
\"
hideWarning()
\"
class=
\"
close waves-effect waves-light
\"
></a></blockquote></div></div></form><ul class=
\"
collection with-header
\"
><li ng-repeat=
\"
mod in modules track by $index
\"
class=
\"
collection-item
\"
><div><span>{{ mod.fullName }}</span><span ng-if=
\"
mod.locked
\"
class=
\"
badge new deep-orange darken-4
\"
>required</span><div class=
\"
switch secondary-content
\"
><label><span translate=
\"
settings.modules.off
\"
></span><input type=
\"
checkbox
\"
ng-model=
\"
mod.installed
\"
ng-disabled=
\"
mod.disabled
\"
ng-click=
\"
switchModule(mod)
\"
/><span class=
\"
lever
\"
></span><span translate=
\"
settings.modules.on
\"
></span></label></div></div><div ng-if=
\"
mod.installing
\"
class=
\"
installing
\"
><div class=
\"
left preloader-wrapper small active
\"
><div class=
\"
spinner-layer spinner-blue-only
\"
><div class=
\"
circle-clipper left
\"
><div class=
\"
circle
\"
></div></div></div></div><h5 ng-if=
\"
mod.installed === true
\"
>{{ 'settings.modules.installing' | translate }}</h5><h5 ng-if=
\"
mod.installed !== true
\"
>{{ 'settings.modules.uninstalling' | translate }}</h5><blockquote translate=
\"
settings.modules.installing_warn
\"
class=
\"
left-align orange lighten-5
\"
></blockquote></div></li><li ng-
if
=
\"
hasAccess
\"
class=
\"
collection-item install_package
\"
><div class=
\"
input-field col s6
\"
><i class=
\"
material-icons prefix
\"
>language</i><input type=
\"
text
\"
ng-model=
\"
module_to_install
\"
placeholder=
\"
Package: module@version, git+https://github.com/user/package.git, ...
\"
/></div><div class=
\"
switch secondary-content
\"
><button ng-click=
\"
installModule()
\"
ng-disabled=
\"
installing
\"
class=
\"
btn waves-effect
\"
>{{ 'settings.modules.install' | translate }}</button></div></li></ul></div></div>
"
);;
return
buf
.
join
(
""
);
buf
.
push
(
"
<div class=
\"
container modules
\"
><div class=
\"
row
\"
><form class=
\"
s12 center
\"
><div class=
\"
card
\"
><div class=
\"
card-action
\"
><i class=
\"
fa fa-cubes fa-5x
\"
></i><h1 translate=
\"
settings.modules.title
\"
class=
\"
card-title
\"
></h1><p translate=
\"
settings.modules.message
\"
></p><blockquote ng-if=
\"
!hasAccess
\"
translate=
\"
settings.modules.no_access
\"
class=
\"
left-align orange lighten-5
\"
></blockquote><blockquote ng-if=
\"
hasAccess && !warningShown
\"
class=
\"
left-align orange lighten-5
\"
><a href=
\"\"
translate=
\"
settings.modules.warning_light
\"
ng-click=
\"
showWarning()
\"
class=
\"
waves-effect waves-light
\"
></a></blockquote><blockquote ng-if=
\"
hasAccess && warningShown
\"
class=
\"
left-align orange lighten-5
\"
><div translate=
\"
settings.modules.warning
\"
></div><a href=
\"\"
translate=
\"
settings.modules.warning_close
\"
ng-click=
\"
hideWarning()
\"
class=
\"
close waves-effect waves-light
\"
></a></blockquote></div></div></form><ul class=
\"
collection with-header
\"
><li ng-repeat=
\"
mod in modules track by $index
\"
class=
\"
collection-item
\"
><div><span>{{ mod.fullName }}</span><span ng-if=
\"
mod.locked
\"
class=
\"
badge new deep-orange darken-4
\"
>required</span><div class=
\"
switch secondary-content
\"
><label><span translate=
\"
settings.modules.off
\"
></span><input type=
\"
checkbox
\"
ng-model=
\"
mod.installed
\"
ng-disabled=
\"
mod.disabled
\"
ng-click=
\"
switchModule(mod)
\"
/><span class=
\"
lever
\"
></span><span translate=
\"
settings.modules.on
\"
></span></label></div></div><div ng-if=
\"
mod.installing
\"
class=
\"
installing
\"
><div class=
\"
left preloader-wrapper small active
\"
><div class=
\"
spinner-layer spinner-blue-only
\"
><div class=
\"
circle-clipper left
\"
><div class=
\"
circle
\"
></div></div></div></div><h5 ng-if=
\"
mod.installed === true
\"
>{{ 'settings.modules.installing' | translate }}</h5><h5 ng-if=
\"
mod.installed !== true
\"
>{{ 'settings.modules.uninstalling' | translate }}</h5><blockquote translate=
\"
settings.modules.installing_warn
\"
class=
\"
left-align orange lighten-5
\"
></blockquote></div></li><li ng-
show
=
\"
hasAccess
\"
class=
\"
collection-item install_package
\"
><div class=
\"
input-field col s6
\"
><i class=
\"
material-icons prefix
\"
>language</i><input type=
\"
text
\"
ng-model=
\"
module_to_install
\"
placeholder=
\"
Package: module@version, git+https://github.com/user/package.git, ...
\"
/></div><div class=
\"
switch secondary-content
\"
><button ng-click=
\"
installModule()
\"
ng-disabled=
\"
installing
\"
class=
\"
btn waves-effect
\"
>{{ 'settings.modules.install' | translate }}</button></div></li></ul></div></div>
"
);;
return
buf
.
join
(
""
);
};
};
if
(
typeof
define
===
'
function
'
&&
define
.
amd
)
{
if
(
typeof
define
===
'
function
'
&&
define
.
amd
)
{
define
([],
function
()
{
define
([],
function
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment