Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
4b6c8c56
authored
Nov 17, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: show all tab panes without js
parent
1ca7edbb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
circle/dashboard/static/dashboard/dashboard.js
+2
-0
circle/dashboard/templates/dashboard/vm-detail.html
+10
-5
No files found.
circle/dashboard/static/dashboard/dashboard.js
View file @
4b6c8c56
$
(
function
()
{
$
(
function
()
{
$
(
".not-tab-pane"
).
removeClass
(
"not-tab-pane"
).
addClass
(
"tab-pane"
);
$
(
'.vm-create'
).
click
(
function
(
e
)
{
$
(
'.vm-create'
).
click
(
function
(
e
)
{
var
template
=
$
(
this
).
data
(
"template"
);
var
template
=
$
(
this
).
data
(
"template"
);
$
.
ajax
({
$
.
ajax
({
...
...
circle/dashboard/templates/dashboard/vm-detail.html
View file @
4b6c8c56
...
@@ -212,12 +212,17 @@
...
@@ -212,12 +212,17 @@
</ul>
</ul>
<div
class=
"tab-content panel-body"
>
<div
class=
"tab-content panel-body"
>
<div
class=
"tab-pane active"
id=
"_home"
>
{% include "dashboard/vm-detail/home.html" %}
</div>
<div
class=
"not-tab-pane active"
id=
"_home"
>
{% include "dashboard/vm-detail/home.html" %}
</div>
<div
class=
"tab-pane"
id=
"_resources"
>
{% include "dashboard/vm-detail/resources.html" %}
</div>
<hr
class=
"js-hidden"
/>
<div
class=
"not-tab-pane"
id=
"_resources"
>
{% include "dashboard/vm-detail/resources.html" %}
</div>
<div
class=
"tab-pane"
id=
"_console"
>
{% include "dashboard/vm-detail/console.html" %}
</div>
<div
class=
"tab-pane"
id=
"_console"
>
{% include "dashboard/vm-detail/console.html" %}
</div>
<div
class=
"tab-pane"
id=
"_access"
>
{% include "dashboard/vm-detail/access.html" %}
</div>
<hr
class=
"js-hidden"
/>
<div
class=
"tab-pane"
id=
"_network"
>
{% include "dashboard/vm-detail/network.html" %}
</div>
<div
class=
"not-tab-pane"
id=
"_access"
>
{% include "dashboard/vm-detail/access.html" %}
</div>
<div
class=
"tab-pane"
id=
"_activity"
>
{% include "dashboard/vm-detail/activity.html" %}
</div>
<hr
class=
"js-hidden"
/>
<div
class=
"not-tab-pane"
id=
"_network"
>
{% include "dashboard/vm-detail/network.html" %}
</div>
<hr
class=
"js-hidden"
/>
<div
class=
"not-tab-pane"
id=
"_activity"
>
{% include "dashboard/vm-detail/activity.html" %}
</div>
<hr
class=
"js-hidden"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
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