Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Carlos Ramos Carreño
slapos.core
Commits
286ab965
Commit
286ab965
authored
Nov 15, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to select software release.
parent
2d7c610a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
17 deletions
+19
-17
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_js/vifib.js.xml
...l_skins/vifib_hosting_theme/vifib_hosting_js/vifib.js.xml
+18
-16
master/bt5/vifib_web/bt/revision
master/bt5/vifib_web/bt/revision
+1
-1
No files found.
master/bt5/vifib_web/SkinTemplateItem/portal_skins/vifib_hosting_theme/vifib_hosting_js/vifib.js.xml
View file @
286ab965
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<dictionary>
<dictionary>
<item>
<item>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<key>
<string>
_EtagSupport__etag
</string>
</key>
<value>
<string>
ts2136
6313.13
</string>
</value>
<value>
<string>
ts2136
8104.84
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
__name__
</string>
</key>
<key>
<string>
__name__
</string>
</key>
...
@@ -47,7 +47,9 @@ function drawSoftwareReleaseList(data) {\n
...
@@ -47,7 +47,9 @@ function drawSoftwareReleaseList(data) {\n
$.each(data, function(i,item){\n
$.each(data, function(i,item){\n
li = $(\'
<li>
\').appendTo(ul);\n
li = $(\'
<li>
\').appendTo(ul);\n
var a = $(\'
<a>
\');\n
var a = $(\'
<a>
\');\n
a.attr({\'href\': \'#!software_release/\' + item.uid})\n
a.attr({\n
\'href\': \'#!software_release/\' + item.uid });\n
a.html(item.title + \' (\' + item.version + \')\');\n
a.appendTo(li);\n
a.appendTo(li);\n
});\n
});\n
$("#software_release_container").append(ul);\n
$("#software_release_container").append(ul);\n
...
@@ -81,16 +83,16 @@ function softwareReleaseController() {\n
...
@@ -81,16 +83,16 @@ function softwareReleaseController() {\n
js_container.empty();\n
js_container.empty();\n
var input = $(\'
<input
type=
"text"
>
\');\n
var input = $(\'
<input
type=
"text"
>
\');\n
input.attr(\'id\', "software_release_query");\n
input.attr(\'id\', "software_release_query");\n
js_container.append
To
(input);\n
js_container.append(input);\n
\n
\n
var
newElem
= $(\'
<input
type=
"button"
>
\');\n
var
refresh
= $(\'
<input
type=
"button"
>
\');\n
newElem
.attr(\'value\', \'Refresh...\');\n
refresh
.attr(\'value\', \'Refresh...\');\n
newElem
.addClass(\'bt-med dialog_submit_button\');\n
refresh
.addClass(\'bt-med dialog_submit_button\');\n
input.after(
newElem
);\n
input.after(
refresh
);\n
software_release_container = $(\'
<div>
\');\n
software_release_container = $(\'
<div>
\');\n
software_release_container.attr(\'id\', \'software_release_container\');\n
software_release_container.attr(\'id\', \'software_release_container\');\n
newElem
.after(software_release_container);\n
refresh
.after(software_release_container);\n
newElem
.click(updateSoftwareReleaseList);\n
refresh
.click(updateSoftwareReleaseList);\n
}\n
}\n
\n
\n
function softwareProductController () {\n
function softwareProductController () {\n
...
@@ -101,14 +103,14 @@ function softwareProductController () {\n
...
@@ -101,14 +103,14 @@ function softwareProductController () {\n
input.attr(\'id\', "software_product_query");\n
input.attr(\'id\', "software_product_query");\n
js_container.append(input);\n
js_container.append(input);\n
\n
\n
var
newElem
= $(\'
<input
type=
"button"
>
\');\n
var
refresh
= $(\'
<input
type=
"button"
>
\');\n
newElem
.attr(\'value\', \'Refresh...\');\n
refresh
.attr(\'value\', \'Refresh...\');\n
newElem
.addClass(\'bt-med dialog_submit_button\');\n
refresh
.addClass(\'bt-med dialog_submit_button\');\n
input.after(
newElem
);\n
input.after(
refresh
);\n
software_product_container = $(\'
<div>
\');\n
software_product_container = $(\'
<div>
\');\n
software_product_container.attr(\'id\', \'software_product_container\');\n
software_product_container.attr(\'id\', \'software_product_container\');\n
newElem
.after(software_product_container);\n
refresh
.after(software_product_container);\n
newElem
.click(updateSoftwareProductList);\n
refresh
.click(updateSoftwareProductList);\n
\n
\n
}\n
}\n
\n
\n
...
@@ -160,7 +162,7 @@ function mainController() {\n
...
@@ -160,7 +162,7 @@ function mainController() {\n
</item>
</item>
<item>
<item>
<key>
<string>
size
</string>
</key>
<key>
<string>
size
</string>
</key>
<value>
<int>
35
29
</int>
</value>
<value>
<int>
35
92
</int>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
title
</string>
</key>
<key>
<string>
title
</string>
</key>
...
...
master/bt5/vifib_web/bt/revision
View file @
286ab965
324
325
\ No newline at end of file
\ No newline at end of file
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