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
d6059404
Commit
d6059404
authored
Oct 02, 2012
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update all script with jqueryFileTree
parent
49e999fd
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
126 additions
and
116 deletions
+126
-116
slapos/runner/static/css/jqueryFileTree.css
slapos/runner/static/css/jqueryFileTree.css
+91
-91
slapos/runner/static/css/jqueryTabs.css
slapos/runner/static/css/jqueryTabs.css
+1
-1
slapos/runner/static/js/jquery/jqueryTabs.js
slapos/runner/static/js/jquery/jqueryTabs.js
+2
-1
slapos/runner/static/js/scripts/folder.js
slapos/runner/static/js/scripts/folder.js
+2
-6
slapos/runner/templates/cloneRepository.html
slapos/runner/templates/cloneRepository.html
+9
-7
slapos/runner/templates/instanceInspect.html
slapos/runner/templates/instanceInspect.html
+18
-8
slapos/runner/templates/layout.html
slapos/runner/templates/layout.html
+3
-2
No files found.
slapos/runner/static/css/jqueryFileTree.css
View file @
d6059404
UL
.jqueryFileTree
{
UL
.jqueryFileTree
{
font-family
:
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
font-family
:
'Helvetica Neue'
,
Helvetica
,
Arial
,
sans-serif
;
font-size
:
12px
;
font-size
:
12px
;
line-height
:
20px
;
line-height
:
20px
;
padding
:
0px
;
padding
:
0px
;
margin
:
0px
;
margin
:
0px
;
}
}
UL
.jqueryFileTree
LI
{
UL
.jqueryFileTree
LI
{
list-style
:
none
;
list-style
:
none
;
padding
:
0px
;
padding
:
0px
;
padding-left
:
2
2px
;
padding-left
:
2
5px
;
margin
:
0px
;
margin
:
0px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
UL
.jqueryFileTree
A
{
UL
.jqueryFileTree
A
{
color
:
#333
;
color
:
#333
;
text-decoration
:
none
;
text-decoration
:
none
;
display
:
block
;
display
:
block
;
padding
:
0px
2px
;
padding
:
0px
2px
;
}
}
UL
.jqueryFileTree
A
:hover
{
UL
.jqueryFileTree
A
:hover
{
background
:
#BDF
;
background
:
#BDF
;
}
}
/* Core Styles */
/* Core Styles */
.jqueryFileTree
LI
.directory
{
background
:
url(images/directory.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.directory
{
background
:
url(images/directory.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.expanded
{
background
:
url(images/folder_open.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.expanded
{
background
:
url(images/folder_open.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.file
{
background
:
url(images/file.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.file
{
background
:
url(images/file.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.wait
{
background
:
url(images/spinner.gif)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.wait
{
background
:
url(images/spinner.gif)
left
top
no-repeat
;
}
/* File Extensions*/
/* File Extensions*/
.jqueryFileTree
LI
.ext_3gp
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_3gp
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_afp
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_afp
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_afpa
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_afpa
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_asp
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_asp
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_aspx
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_aspx
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_avi
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_avi
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_bat
{
background
:
url(images/application.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_bat
{
background
:
url(images/application.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_bmp
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_bmp
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_c
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_c
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_cfg
{
background
:
url(images/cfg.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_cfg
{
background
:
url(images/cfg.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_cfm
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_cfm
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_cgi
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_cgi
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_com
{
background
:
url(images/application.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_com
{
background
:
url(images/application.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_cpp
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_cpp
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_css
{
background
:
url(images/css.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_css
{
background
:
url(images/css.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_doc
{
background
:
url(images/doc.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_doc
{
background
:
url(images/doc.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_exe
{
background
:
url(images/application.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_exe
{
background
:
url(images/application.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_gif
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_gif
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_fla
{
background
:
url(images/flash.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_fla
{
background
:
url(images/flash.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_h
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_h
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_htm
{
background
:
url(images/html.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_htm
{
background
:
url(images/html.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_html
{
background
:
url(images/html.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_html
{
background
:
url(images/html.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_jar
{
background
:
url(images/java.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_jar
{
background
:
url(images/java.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_jpg
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_jpg
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_jpeg
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_jpeg
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_js
{
background
:
url(images/script.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_js
{
background
:
url(images/script.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_lasso
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_lasso
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_log
{
background
:
url(images/txt.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_log
{
background
:
url(images/txt.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_m4p
{
background
:
url(images/music.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_m4p
{
background
:
url(images/music.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_mov
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_mov
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_mp3
{
background
:
url(images/music.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_mp3
{
background
:
url(images/music.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_mp4
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_mp4
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_mpg
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_mpg
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_mpeg
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_mpeg
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_ogg
{
background
:
url(images/music.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_ogg
{
background
:
url(images/music.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_pcx
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_pcx
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_pdf
{
background
:
url(images/pdf.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_pdf
{
background
:
url(images/pdf.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_php
{
background
:
url(images/php.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_php
{
background
:
url(images/php.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_png
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_png
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_ppt
{
background
:
url(images/ppt.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_ppt
{
background
:
url(images/ppt.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_psd
{
background
:
url(images/psd.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_psd
{
background
:
url(images/psd.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_pl
{
background
:
url(images/script.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_pl
{
background
:
url(images/script.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_py
{
background
:
url(images/script.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_py
{
background
:
url(images/script.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_rb
{
background
:
url(images/ruby.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_rb
{
background
:
url(images/ruby.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_rbx
{
background
:
url(images/ruby.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_rbx
{
background
:
url(images/ruby.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_rhtml
{
background
:
url(images/ruby.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_rhtml
{
background
:
url(images/ruby.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_rpm
{
background
:
url(images/linux.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_rpm
{
background
:
url(images/linux.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_ruby
{
background
:
url(images/ruby.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_ruby
{
background
:
url(images/ruby.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_sql
{
background
:
url(images/db.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_sql
{
background
:
url(images/db.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_swf
{
background
:
url(images/flash.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_swf
{
background
:
url(images/flash.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_tif
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_tif
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_tiff
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_tiff
{
background
:
url(images/picture.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_txt
{
background
:
url(images/txt.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_txt
{
background
:
url(images/txt.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_vb
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_vb
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_wav
{
background
:
url(images/music.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_wav
{
background
:
url(images/music.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_wmv
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_wmv
{
background
:
url(images/film.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_xls
{
background
:
url(images/xls.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_xls
{
background
:
url(images/xls.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_xml
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_xml
{
background
:
url(images/code.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_zip
{
background
:
url(images/zip.png)
left
top
no-repeat
;
}
.jqueryFileTree
LI
.ext_zip
{
background
:
url(images/zip.png)
left
top
no-repeat
;
}
\ No newline at end of file
slapos/runner/static/css/jqueryTabs.css
View file @
d6059404
#tabContaier
{
#tabContaier
{
background
:
#e4e4e4
;
background
:
#e4e4e4
;
padding
:
3px
;
padding
:
3px
;
position
:
relative
;
/*position:relative;*/
width
:
757px
;
width
:
757px
;
font-size
:
14px
;
font-size
:
14px
;
border-radius
:
4px
4px
0
0
;
border-radius
:
4px
4px
0
0
;
...
...
slapos/runner/static/js/jquery/jqueryTabs.js
View file @
d6059404
...
@@ -20,7 +20,7 @@ $(document).ready(function(){
...
@@ -20,7 +20,7 @@ $(document).ready(function(){
else
{
$
(
"
.tabContents:first
"
).
show
();
previoustab
=
"
.tabContents:first
"
;}
// Show the first div of tab content by default
else
{
$
(
"
.tabContents:first
"
).
show
();
previoustab
=
"
.tabContents:first
"
;}
// Show the first div of tab content by default
$
(
"
#tabContaier ul li a
"
).
click
(
function
(){
//Fire the click event
$
(
"
#tabContaier ul li a
"
).
click
(
function
(){
//Fire the click event
if
(
$
(
this
).
hasClass
(
'
active
'
)){
if
(
$
(
this
).
hasClass
(
'
active
'
)){
return
;
return
false
;
}
}
fromheight
=
$
(
previoustab
).
height
();
fromheight
=
$
(
previoustab
).
height
();
var
activeTab
=
$
(
this
).
attr
(
"
href
"
);
// Catch the click link
var
activeTab
=
$
(
this
).
attr
(
"
href
"
);
// Catch the click link
...
@@ -38,5 +38,6 @@ $(document).ready(function(){
...
@@ -38,5 +38,6 @@ $(document).ready(function(){
});}
});}
previoustab
=
activeTab
;
previoustab
=
activeTab
;
$
(
"
#tabContaier .tabDetails
"
).
css
(
"
height
"
,
$
(
"
#tabContaier .tabDetails
"
).
height
());
$
(
"
#tabContaier .tabDetails
"
).
css
(
"
height
"
,
$
(
"
#tabContaier .tabDetails
"
).
height
());
return
false
;
//this reinitialize tab index when reload page
});
});
});
});
\ No newline at end of file
slapos/runner/static/js/scripts/folder.js
View file @
d6059404
$
(
document
).
ready
(
function
()
{
$
(
document
).
ready
(
function
()
{
var
send
=
false
;
var
send
=
false
;
var
cloneRequest
;
var
cloneRequest
;
$
(
'
#fileTree
'
).
fileTree
({
root
:
$
(
"
input#workdir
"
).
val
(),
script
:
$SCRIPT_ROOT
+
'
/readFolder
'
,
folderEvent
:
'
click
'
,
expandSpeed
:
750
,
collapseSpeed
:
750
,
multiFolder
:
false
},
function
(
file
)
{
$
(
'
#fileNavigator
'
).
gsFileManager
({
script
:
$SCRIPT_ROOT
+
"
/fileBrowser
"
,
root
:
"
workspace/
"
});
selectFile
(
file
);
});
configRadio
();
configRadio
();
$
(
"
input#nothing
"
).
change
(
function
(){
$
(
"
input#nothing
"
).
change
(
function
(){
configRadio
();
configRadio
();
...
@@ -86,9 +84,7 @@ $(document).ready( function() {
...
@@ -86,9 +84,7 @@ $(document).ready( function() {
$
(
"
#error
"
).
Popup
(
"
Your repository is cloned!
"
,
{
type
:
'
confirm
'
,
duration
:
3000
});
$
(
"
#error
"
).
Popup
(
"
Your repository is cloned!
"
,
{
type
:
'
confirm
'
,
duration
:
3000
});
$
(
"
input#repo
"
).
val
(
"
Enter the url of your repository...
"
);
$
(
"
input#repo
"
).
val
(
"
Enter the url of your repository...
"
);
$
(
"
input#name
"
).
val
(
"
Enter the project name...
"
);
$
(
"
input#name
"
).
val
(
"
Enter the project name...
"
);
$
(
'
#fileTree
'
).
fileTree
({
root
:
$
(
"
input#workdir
"
).
val
(),
script
:
$SCRIPT_ROOT
+
'
/readFolder
'
,
folderEvent
:
'
click
'
,
expandSpeed
:
750
,
collapseSpeed
:
750
,
multiFolder
:
false
},
function
(
file
)
{
$
(
'
#fileNavigator
'
).
gsFileManager
({
script
:
$SCRIPT_ROOT
+
"
/fileBrowser
"
,
root
:
"
workspace
"
});
selectFile
(
file
);
});
}
}
else
{
else
{
$
(
"
#error
"
).
Popup
(
data
.
result
,
{
type
:
'
error
'
});
$
(
"
#error
"
).
Popup
(
data
.
result
,
{
type
:
'
error
'
});
...
...
slapos/runner/templates/cloneRepository.html
View file @
d6059404
{% extends "layout.html" %}
{% extends "layout.html" %}
{% block title %}Adding new
repository
{% endblock %}
{% block title %}Adding new
project
{% endblock %}
{% block head %}
{% block head %}
{{ super() }}
{{ super() }}
<link
href=
"{{ url_for('static', filename='css/
jqueryFileTree
.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<link
href=
"{{ url_for('static', filename='css/
gsFileManager
.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<link
href=
"{{ url_for('static', filename='css/jqueryTabs.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<link
href=
"{{ url_for('static', filename='css/jqueryTabs.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<script
src=
"{{ url_for('static', filename='js/jquery/jqueryFileTree.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<link
href=
"{{ url_for('static', filename='css/colorbox.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<script
src=
"{{ url_for('static', filename='js/jquery/gsFileManager.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/scripts/folder.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/scripts/folder.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/jqueryTabs.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/jqueryTabs.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/jquery.colorbox-min.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/ace/ace.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
{% endblock %}
{% endblock %}
{% block body %}
{% block body %}
<h2>
Clone a repository into your workspace
</h2><br/>
<h2>
Clone a
project
repository into your workspace
</h2><br/>
<div
id=
"tabContaier"
>
<div
id=
"tabContaier"
>
<ul>
<ul>
<li><a
href=
"#tab1"
class=
"active"
>
Clone your repository
</a></li>
<li><a
href=
"#tab1"
class=
"active"
>
Clone your repository
</a></li>
...
@@ -71,9 +74,8 @@
...
@@ -71,9 +74,8 @@
<!--Fin tab1-->
<!--Fin tab1-->
</div>
</div>
<div
id=
"tab2"
class=
"tabContents"
>
<div
id=
"tab2"
class=
"tabContents"
>
<h2>
Content of your cloned project
</h2><br/>
<div
id=
"fileNavigator"
></div>
<div
id=
"fileTree"
class=
"file_tree_tabs"
></div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
{% endblock %}
slapos/runner/templates/instanceInspect.html
View file @
d6059404
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
{% block title %}Instance inspection{% endblock %}
{% block title %}Instance inspection{% endblock %}
{% block head %}
{% block head %}
{{ super() }}
{{ super() }}
<link
href=
"{{ url_for('static', filename='css/jqueryFileTree.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<
!--<
link href="{{ url_for('static', filename='css/jqueryFileTree.css', _external=False) }}" rel="stylesheet" type="text/css" media="screen" />
<script
src=
"{{ url_for('static', filename='js/jquery/jqueryFileTree.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script src="{{ url_for('static', filename='js/jquery/jqueryFileTree.js') }}" type="text/javascript" charset="utf-8"></script>
-->
<link
href=
"{{ url_for('static', filename='css/jqueryTabs.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<link
href=
"{{ url_for('static', filename='css/jqueryTabs.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<script
src=
"{{ url_for('static', filename='js/jquery/jqueryTabs.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/jqueryTabs.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/ace/ace.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/ace/ace.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
...
@@ -11,6 +11,8 @@
...
@@ -11,6 +11,8 @@
<link
href=
"{{ url_for('static', filename='css/colorbox.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<link
href=
"{{ url_for('static', filename='css/colorbox.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<script
src=
"{{ url_for('static', filename='js/jquery/jquery.colorbox-min.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/jquery.colorbox-min.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/scripts/inspectInstance.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/scripts/inspectInstance.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<link
href=
"{{ url_for('static', filename='css/gsFileManager.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<script
src=
"{{ url_for('static', filename='js/jquery/gsFileManager.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
{% endblock %}
{% endblock %}
{% block body %}
{% block body %}
<input
type=
'hidden'
name=
'root'
id=
'root'
value=
'{%if file_path != "" %}{{file_path}}{%endif%}'
/>
<input
type=
'hidden'
name=
'root'
id=
'root'
value=
'{%if file_path != "" %}{{file_path}}{%endif%}'
/>
...
@@ -121,17 +123,25 @@
...
@@ -121,17 +123,25 @@
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</div>
<!-- end tab3 -->
</div>
<!-- end tab3 -->
<div
id=
"tab4"
class=
"tabContents"
>
<div
id=
"tab4"
class=
"tabContents"
>
<h2>
File content for all your partitions
</h2>
<!--<h2>File content for all your partitions</h2>
<div
id=
"fileTree"
class=
"file_tree_tabs"
title=
"Double click to open file"
></div>
<div id="fileTree" class="file_tree_tabs" title="Double click to open file"></div>-->
<br/>
{%if file_path != "" %}
<a
href=
"#"
id=
"reloadfiles"
class=
"lshare simple"
>
Reload Files
</a>
<div
id=
"fileNavigator"
></div>
<br/>
<a
href=
"#"
id=
"reloadfiles"
class=
"lshare simple"
>
Reload Files
</a>
{%else%}
<h2>
Your partitions content is empty yet!
<br/>
please run your software instance
and look for file result here.
</h2>
{%endif%}
</div>
<!-- end tab4 -->
</div>
<!-- end tab4 -->
</div>
</div>
</div>
</div>
<!-- This contains the hidden content for inline calls -->
<!-- This contains the hidden content for inline calls -->
<a
class=
'inline'
style=
'display:none'
href=
"#inline_content
"
>
Inline HTML
</a>
<a
id=
'inlineInstance'
style=
'display:none'
href=
"#inline_instance
"
>
Inline HTML
</a>
<div
style=
'display:none'
>
<div
style=
'display:none'
>
<div
id=
'inline_
content
'
style=
'padding:10px; background:#fff;'
>
<div
id=
'inline_
instance
'
style=
'padding:10px; background:#fff;'
>
</div>
</div>
</div>
</div>
...
...
slapos/runner/templates/layout.html
View file @
d6059404
...
@@ -14,8 +14,9 @@
...
@@ -14,8 +14,9 @@
<link
href=
"{{ url_for('static', filename='css/styles.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<link
href=
"{{ url_for('static', filename='css/styles.css', _external=False) }}"
rel=
"stylesheet"
type=
"text/css"
media=
"screen"
/>
<script
src=
"{{ url_for('static', filename='js/jquery/jquery-1.8.0.min.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/jquery-1.8.0.min.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/popup.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/jquery.form.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/jqueryToolTip.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/popup.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
src=
"{{ url_for('static', filename='js/jquery/jqueryToolTip.js') }}"
type=
"text/javascript"
charset=
"utf-8"
></script>
<script
type=
text/javascript
>
<script
type=
text/javascript
>
$SCRIPT_ROOT
=
{{
request
.
script_root
|
tojson
|
safe
}};
$SCRIPT_ROOT
=
{{
request
.
script_root
|
tojson
|
safe
}};
</script>
</script>
...
...
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