Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lu Xu
slapos.toolbox
Commits
8c2b8ad3
Commit
8c2b8ad3
authored
May 23, 2014
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug: Can't do git clone with https without password
parent
a29d70cc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
16 deletions
+25
-16
slapos/runner/static/css/styles.css
slapos/runner/static/css/styles.css
+9
-0
slapos/runner/static/js/scripts/cloneRepo.js
slapos/runner/static/js/scripts/cloneRepo.js
+0
-3
slapos/runner/templates/manageRepository.html
slapos/runner/templates/manageRepository.html
+16
-13
No files found.
slapos/runner/static/css/styles.css
View file @
8c2b8ad3
...
@@ -183,6 +183,15 @@ body {
...
@@ -183,6 +183,15 @@ body {
color
:
#19485C
;
color
:
#19485C
;
}
}
.form-elt
{
min-width
:
100px
;
display
:
block
;
float
:
left
;
margin-top
:
10px
;
margin-right
:
10px
;
line-height
:
22px
;
}
.main_foot
{
.main_foot
{
height
:
15px
;
height
:
15px
;
background
:
url(../images/main_bottom.png)
no-repeat
;
background
:
url(../images/main_bottom.png)
no-repeat
;
...
...
slapos/runner/static/js/scripts/cloneRepo.js
View file @
8c2b8ad3
...
@@ -115,9 +115,6 @@ $(document).ready(function () {
...
@@ -115,9 +115,6 @@ $(document).ready(function () {
$
(
"
#error
"
).
Popup
(
"
Please enter your password
"
,
{
type
:
'
alert
'
,
duration
:
3000
});
$
(
"
#error
"
).
Popup
(
"
Please enter your password
"
,
{
type
:
'
alert
'
,
duration
:
3000
});
return
false
;
return
false
;
}
}
}
else
if
(
repo_url
.
indexOf
(
"
https://
"
)
!==
-
1
)
{
$
(
"
#error
"
).
Popup
(
"
Please select HTTPS Security Mode for this repository
"
,
{
type
:
'
alert
'
,
duration
:
3000
});
return
false
;
}
}
$
(
"
#imgwaitting
"
).
fadeIn
(
'
normal
'
);
$
(
"
#imgwaitting
"
).
fadeIn
(
'
normal
'
);
$
(
"
#clone
"
).
empty
();
$
(
"
#clone
"
).
empty
();
...
...
slapos/runner/templates/manageRepository.html
View file @
8c2b8ad3
...
@@ -20,22 +20,25 @@
...
@@ -20,22 +20,25 @@
</ul>
<!-- //Tab buttons -->
</ul>
<!-- //Tab buttons -->
<div
class=
"tabDetails"
>
<div
class=
"tabDetails"
>
<div
id=
"tab1"
class=
"tabContents"
>
<div
id=
"tab1"
class=
"tabContents"
>
<h2>
Repository Informations
</h2>
<br/>
<div
id=
"repository"
style=
"margin-left:40px;"
>
<div
id=
"repository"
style=
"margin-left:40px;"
>
<label
for=
'name'
>
Project name:
</label
>
<div
class=
'form-elt'
><label
for=
'name'
>
Project name:
</label></div
>
<input
type=
"text"
name=
"name"
id=
"name"
size=
'20'
value=
"slapos"
/
>
<div
class=
'form-elt'
><input
type=
"text"
name=
"name"
id=
"name"
size=
'20'
value=
"slapos"
/></div
>
<label
for=
'repo'
>
url:
</label
>
<div
class=
'form-elt'
><label
for=
'repo'
>
Project URL:
</label></div
>
<input
type=
"text"
name=
"repo"
id=
"repo"
size=
'25'
value=
"http://git.erp5.org/repos/slapos.git"
/><br/
>
<div
class=
'form-elt'
><input
type=
"text"
name=
"repo"
id=
"repo"
size=
'25'
value=
"http://git.erp5.org/repos/slapos.git"
/></div
>
<label
for=
'user'
>
Your name:
</label
>
<div
class=
'clear'
></div
>
<input
type=
"text"
name=
"user"
id=
"user"
size=
'20'
value=
"{{name}}"
/
>
<div
class=
'form-elt'
><label
for=
'user'
>
Your name:
</label></div
>
<label
for=
'email'
>
Email:
</label
>
<div
class=
'form-elt'
><input
type=
"text"
name=
"user"
id=
"user"
size=
'20'
value=
"{{name}}"
/></div
>
<input
type=
"text"
name=
"email"
id=
"email"
size=
'25'
value=
"{% if not email %}Enter your email address...{% else %}{{email}}{%endif%}"
/
>
<div
class=
'form-elt'
><label
for=
'email'
>
Your Email:
</label></div
>
<input
type=
"hidden"
name=
"workdir"
id=
"workdir"
value=
"{{workDir}}"
/
>
<div
class=
'form-elt'
><input
type=
"text"
name=
"email"
id=
"email"
size=
'25'
value=
"{% if not email %}Enter your email address...{% else %}{{email}}{%endif%}"
/></div
>
<button
class=
"button"
id=
"clone"
>
clone
</button>
<button
class=
"button"
id=
"clone"
>
clone
</button>
<img
class=
"waitting"
id=
"imgwaitting"
src=
"{{ url_for('static', filename='images/waiting.gif') }}"
alt=
""
/>
<img
class=
"waitting"
id=
"imgwaitting"
src=
"{{ url_for('static', filename='images/waiting.gif') }}"
alt=
""
/>
<br/><br/>
<div
class=
'clear'
></div><br/>
<input
type=
"hidden"
name=
"workdir"
id=
"workdir"
value=
"{{workDir}}"
/>
</div>
</div>
<br/>
<br/>
<h2>
Se
t your Security Mode
</h2>
<h2>
Se
curity Mode [Optional]
</h2>
<div
class=
"menu-box-right"
>
<div
class=
"menu-box-right"
>
<div
style=
"background:#fff; padding:10px; min-height:100px; font-size:14px;"
>
<div
style=
"background:#fff; padding:10px; min-height:100px; font-size:14px;"
>
<div
id=
"box0"
>
<div
id=
"box0"
>
...
...
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