Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Géocontrib Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GéoContrib
Géocontrib Frontend
Compare revisions
9cb8046ef44b82ac2b41cd4bb5167f03b40a343a to develop
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
geocontrib/geocontrib-frontend
Select target project
No results found
develop
Select Git revision
Swap
Target
ext_matthieu/geocontrib-frontend
Select target project
geocontrib/geocontrib-frontend
ext_matthieu/geocontrib-frontend
fnecas/geocontrib-frontend
MatthieuE/geocontrib-frontend
4 results
9cb8046ef44b82ac2b41cd4bb5167f03b40a343a
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/views/Projects/ProjectsTypes.vue
+9
-13
9 additions, 13 deletions
src/views/Projects/ProjectsTypes.vue
vue.config.js
+12
-1
12 additions, 1 deletion
vue.config.js
webpack.config.js
+18
-0
18 additions, 0 deletions
webpack.config.js
with
39 additions
and
14 deletions
src/views/Projects/ProjectsTypes.vue
View file @
ee17a921
<
template
>
<div
id=
"projects-types"
class=
"page"
>
<div
id=
"projects-types"
>
<h3
class=
"ui header"
>
Créer un projet à partir d'un modèle disponible:
</h3>
...
...
@@ -19,6 +16,7 @@
? require('@/assets/img/default.png')
: DJANGO_BASE_URL + project.thumbnail + refreshId()
"
alt=
"Image associé au projet"
>
</div>
<div
class=
"middle aligned content"
>
...
...
@@ -37,27 +35,25 @@
<strong>
Projet
{{
project
.
moderation
?
''
:
'
non
'
}}
modéré
</strong>
</div>
<div
class=
"meta"
>
<span
data-tooltip=
"Délai avant archivage"
>
{{
project
.
archive_feature
}}
<i
class=
"box icon"
/>
</span>
<span
data-tooltip=
"Délai avant suppression"
>
{{
project
.
archive_feature
}}
<i
class=
"trash alternate icon"
/>
</span>
<span
data-tooltip=
"Date de création"
>
{{
project
.
created_on
}}
<i
class=
"calendar icon"
/>
{{
project
.
created_on
}}
<i
class=
"calendar icon"
aria-hidden=
"true"
/>
</span>
</div>
<div
class=
"meta"
>
<span
data-tooltip=
"Visibilité des signalement publiés"
>
{{
project
.
access_level_pub_feature
}}
<i
class=
"eye icon"
aria-hidden=
"true"
/>
</span>
<span
data-tooltip=
"Visibilité des signalement archivés"
>
{{
project
.
access_level_arch_feature
}}
<i
class=
"archive icon"
aria-hidden=
"true"
/>
</span>
</div>
...
...
This diff is collapsed.
Click to expand it.
vue.config.js
View file @
ee17a921
...
...
@@ -2,6 +2,7 @@ const webpack = require('webpack');
const
fs
=
require
(
'
fs
'
);
const
packageJson
=
fs
.
readFileSync
(
'
./package.json
'
);
const
version
=
JSON
.
parse
(
packageJson
).
version
||
0
;
module
.
exports
=
{
publicPath
:
'
/geocontrib/
'
,
devServer
:
{
...
...
@@ -34,6 +35,7 @@ module.exports = {
themeColor
:
'
#1da025
'
},
configureWebpack
:
{
devtool
:
'
source-map
'
,
plugins
:
[
new
webpack
.
DefinePlugin
({
'
process.env
'
:
{
...
...
@@ -42,5 +44,14 @@ module.exports = {
})
]
},
// the rest of your original module.exports code goes here
transpileDependencies
:
[
// Add dependencies that use modern JavaScript syntax, based on encountered errors
'
ol
'
,
'
color-rgba
'
,
'
color-parse
'
,
'
@sentry/browser
'
,
'
@sentry/core
'
,
'
@sentry/vue
'
,
'
@sentry-internal
'
]
};
This diff is collapsed.
Click to expand it.
webpack.config.js
0 → 100644
View file @
ee17a921
module
.
exports
=
{
module
:
{
rules
:
[
{
test
:
/
\.
js$/
,
exclude
:
/node_modules/
,
use
:
{
loader
:
'
babel-loader
'
}
},
{
test
:
/
\.
vue$/
,
loader
:
'
vue-loader
'
}
]
}
};
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Prev
1
…
4
5
6
7
8
Next