Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
luminy-org
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Eloi Perdereau
luminy-org
Commits
c841e7cb
Commit
c841e7cb
authored
4 years ago
by
Eloi Perdereau
Browse files
Options
Downloads
Patches
Plain Diff
échange de place forestry/netlifyCMS lepuget/admin
parent
034930ce
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
admin/index.html
+53
-30
53 additions, 30 deletions
admin/index.html
lepuget/config.yml
+0
-0
0 additions, 0 deletions
lepuget/config.yml
lepuget/index.html
+30
-53
30 additions, 53 deletions
lepuget/index.html
lepuget2/index.html
+0
-21
0 additions, 21 deletions
lepuget2/index.html
with
83 additions
and
104 deletions
admin/index.html
+
53
−
30
View file @
c841e7cb
<!--
admin/index.html
-->
<!--
forestryio: ignore; forestryio: admin
-->
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html
lang=
"en"
>
<head>
<head>
<meta
charset=
"utf-8"
/>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<title>
CCLuminy CMS
</title>
<meta
name=
"robots"
content=
"noindex"
/>
<script
src=
"https://identity.netlify.com/v1/netlify-identity-widget.js"
></script>
<title>
Admin
</title>
<meta
name=
"description"
content=
" "
/>
<meta
name=
"author"
content=
" "
/>
<meta
name=
"HandheldFriendly"
content=
"true"
/>
<meta
name=
"MobileOptimized"
content=
"320"
/>
<!-- Use maximum-scale and user-scalable at your own risk. It disables pinch/zoom. Think about usability/accessibility before including.-->
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<!-- Google font -->
<link
href=
"https://fonts.googleapis.com/css?family=Open+Sans"
rel=
"stylesheet"
>
<!-- Fort awesome icon kit -->
<script
src=
"https://use.fortawesome.com/b6f38602.js"
></script>
</head>
</head>
<body>
<body>
<!-- Locale translate script -->
<div
id=
"app"
>
<script>
import
CMS
from
'
netlify-cms-app
'
;
import
{
fr
}
from
'
netlify-cms-locales
'
;
CMS
.
registerLocale
(
'
fr
'
,
fr
);
</div>
</script>
<script
id=
"admin-config-script"
type=
"text/javascript"
>
<script>
var
env
=
{
if
(
window
.
netlifyIdentity
)
{
siteId
:
"
ngsw7f5rep036a
"
,
window
.
netlifyIdentity
.
on
(
"
init
"
,
user
=>
{
local
:
false
if
(
!
user
)
{
};
window
.
netlifyIdentity
.
on
(
"
login
"
,
()
=>
{
document
.
location
.
href
=
"
/admin/
"
;
function
uuidv4
()
{
});
return
'
xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
'
.
replace
(
/
[
xy
]
/g
,
function
(
c
)
{
}
var
r
=
Math
.
random
()
*
16
|
0
,
v
=
c
==
'
x
'
?
r
:
(
r
&
0x3
|
0x8
);
return
v
.
toString
(
16
);
});
});
}
}
var
uuid
=
uuidv4
()
var
script
=
document
.
createElement
(
'
script
'
);
script
.
src
=
"
https://app.forestry.io/admin/forestry.min.js?hash=
"
+
uuid
script
.
id
=
"
forestry-admin
"
;
document
.
body
.
appendChild
(
script
);
var
link
=
document
.
createElement
(
"
link
"
);
link
.
type
=
"
text/css
"
;
link
.
rel
=
"
stylesheet
"
;
link
.
href
=
"
https://app.forestry.io/admin/main.css?hash=
"
+
uuid
document
.
head
.
appendChild
(
link
);
</script>
</script>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script
src=
"https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"
></script>
</body>
</body>
</html>
</html>
This diff is collapsed.
Click to expand it.
admin
/config.yml
→
lepuget
/config.yml
+
0
−
0
View file @
c841e7cb
File moved
This diff is collapsed.
Click to expand it.
lepuget/index.html
+
30
−
53
View file @
c841e7cb
<!--
forestryio: ignore; forestryio: admin
-->
<!--
admin/index.html
-->
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"en"
>
<html>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/>
<meta
name=
"robots"
content=
"noindex"
/>
<title>
CCLuminy CMS
</title>
<title>
Admin
</title>
<script
src=
"https://identity.netlify.com/v1/netlify-identity-widget.js"
></script>
<meta
name=
"description"
content=
" "
/>
<meta
name=
"author"
content=
" "
/>
<meta
name=
"HandheldFriendly"
content=
"true"
/>
<meta
name=
"MobileOptimized"
content=
"320"
/>
<!-- Use maximum-scale and user-scalable at your own risk. It disables pinch/zoom. Think about usability/accessibility before including.-->
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"
/>
<!-- Google font -->
<link
href=
"https://fonts.googleapis.com/css?family=Open+Sans"
rel=
"stylesheet"
>
<!-- Fort awesome icon kit -->
<script
src=
"https://use.fortawesome.com/b6f38602.js"
></script>
</head>
</head>
<body>
<body>
<div
id=
"app"
>
<!-- Locale translate script -->
<script>
import
CMS
from
'
netlify-cms-app
'
;
import
{
fr
}
from
'
netlify-cms-locales
'
;
</div>
CMS
.
registerLocale
(
'
fr
'
,
fr
);
<script
id=
"admin-config-script"
type=
"text/javascript"
>
</script>
var
env
=
{
<script>
siteId
:
"
ngsw7f5rep036a
"
,
if
(
window
.
netlifyIdentity
)
{
local
:
false
window
.
netlifyIdentity
.
on
(
"
init
"
,
user
=>
{
};
if
(
!
user
)
{
window
.
netlifyIdentity
.
on
(
"
login
"
,
()
=>
{
function
uuidv4
()
{
document
.
location
.
href
=
"
/admin/
"
;
return
'
xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
'
.
replace
(
/
[
xy
]
/g
,
function
(
c
)
{
});
var
r
=
Math
.
random
()
*
16
|
0
,
v
=
c
==
'
x
'
?
r
:
(
r
&
0x3
|
0x8
);
}
return
v
.
toString
(
16
);
});
});
}
}
var
uuid
=
uuidv4
()
var
script
=
document
.
createElement
(
'
script
'
);
script
.
src
=
"
https://app.forestry.io/admin/forestry.min.js?hash=
"
+
uuid
script
.
id
=
"
forestry-admin
"
;
document
.
body
.
appendChild
(
script
);
var
link
=
document
.
createElement
(
"
link
"
);
link
.
type
=
"
text/css
"
;
link
.
rel
=
"
stylesheet
"
;
link
.
href
=
"
https://app.forestry.io/admin/main.css?hash=
"
+
uuid
document
.
head
.
appendChild
(
link
);
</script>
</script>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script
src=
"https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"
></script>
</body>
</body>
</html>
</html>
This diff is collapsed.
Click to expand it.
lepuget2/index.html
deleted
100644 → 0
+
0
−
21
View file @
034930ce
<!DOCTYPE html>
<html>
<head>
<title>
A static website
</title>
<!-- include the widget -->
<script
type=
"text/javascript"
src=
"https://identity.netlify.com/v1/netlify-identity-widget.js"
></script>
</head>
<body>
<!-- Add a menu:
Log in / Sign up - when the user is not logged in
Username / Log out - when the user is logged in
-->
<div
data-netlify-identity-menu
></div>
<!-- Add a simpler button:
Simple button that will open the modal.
-->
<div
data-netlify-identity-button
>
Login with Netlify Identity
</div>
</body>
</html>
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