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
Commit
2be3e512
authored
Feb 14, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: template refactoring
parent
226ad144
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
one/templates/box/entry-vm.html
+6
-0
one/templates/box/entry.html
+2
-2
No files found.
one/templates/box/entry-vm.html
View file @
2be3e512
...
...
@@ -2,6 +2,12 @@
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% block content %}
<li
class=
"entry {% if id == vm.id %}opened{% endif %}"
>
{{block.super }}
</li>
{% endblock content %}
{% block summary %}
{% include "box/summary-vm.html" %}
{% endblock summary %}
...
...
one/templates/box/entry.html
View file @
2be3e512
<li
class=
"entry {% block entryclass %}{% endblock entryclass %}"
>
{% block content %}
{% block summary %}{% endblock summary %}
<div
class=
"details"
>
<div
class=
"details-container"
>
{% block details %}{% endblock details %}
</div>
</div>
</li>
{% endblock content %}
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