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
Guillaume Hervier
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 {
color
:
#19485C
;
}
.form-elt
{
min-width
:
100px
;
display
:
block
;
float
:
left
;
margin-top
:
10px
;
margin-right
:
10px
;
line-height
:
22px
;
}
.main_foot
{
height
:
15px
;
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 () {
$
(
"
#error
"
).
Popup
(
"
Please enter your password
"
,
{
type
:
'
alert
'
,
duration
:
3000
});
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
'
);
$
(
"
#clone
"
).
empty
();
...
...
slapos/runner/templates/manageRepository.html
View file @
8c2b8ad3
...
...
@@ -20,22 +20,25 @@
</ul>
<!-- //Tab buttons -->
<div
class=
"tabDetails"
>
<div
id=
"tab1"
class=
"tabContents"
>
<h2>
Repository Informations
</h2>
<br/>
<div
id=
"repository"
style=
"margin-left:40px;"
>
<label
for=
'name'
>
Project name:
</label
>
<input
type=
"text"
name=
"name"
id=
"name"
size=
'20'
value=
"slapos"
/
>
<label
for=
'repo'
>
url:
</label
>
<input
type=
"text"
name=
"repo"
id=
"repo"
size=
'25'
value=
"http://git.erp5.org/repos/slapos.git"
/><br/
>
<label
for=
'user'
>
Your name:
</label
>
<input
type=
"text"
name=
"user"
id=
"user"
size=
'20'
value=
"{{name}}"
/
>
<label
for=
'email'
>
Email:
</label
>
<input
type=
"text"
name=
"email"
id=
"email"
size=
'25'
value=
"{% if not email %}Enter your email address...{% else %}{{email}}{%endif%}"
/
>
<input
type=
"hidden"
name=
"workdir"
id=
"workdir"
value=
"{{workDir}}"
/
>
<div
class=
'form-elt'
><label
for=
'name'
>
Project name:
</label></div
>
<div
class=
'form-elt'
><input
type=
"text"
name=
"name"
id=
"name"
size=
'20'
value=
"slapos"
/></div
>
<div
class=
'form-elt'
><label
for=
'repo'
>
Project URL:
</label></div
>
<div
class=
'form-elt'
><input
type=
"text"
name=
"repo"
id=
"repo"
size=
'25'
value=
"http://git.erp5.org/repos/slapos.git"
/></div
>
<div
class=
'clear'
></div
>
<div
class=
'form-elt'
><label
for=
'user'
>
Your name:
</label></div
>
<div
class=
'form-elt'
><input
type=
"text"
name=
"user"
id=
"user"
size=
'20'
value=
"{{name}}"
/></div
>
<div
class=
'form-elt'
><label
for=
'email'
>
Your Email:
</label></div
>
<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>
<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>
<br/>
<h2>
Se
t your Security Mode
</h2>
<h2>
Se
curity Mode [Optional]
</h2>
<div
class=
"menu-box-right"
>
<div
style=
"background:#fff; padding:10px; min-height:100px; font-size:14px;"
>
<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