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
e12f401e
authored
Feb 17, 2014
by
Oláh István Gergely
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: list traits in node details, create add trait button
parent
46c32973
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
circle/dashboard/templates/dashboard/node-detail-home.html
+25
-0
No files found.
circle/dashboard/templates/dashboard/node-detail-home.html
View file @
e12f401e
{% load i18n %}
<div
class=
"row"
>
<div
class=
"col-md-4"
>
<dl>
...
...
@@ -6,6 +7,30 @@
<dt>
Description:
</dt>
<dd><small>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc est libero, hendrerit at posuere sed, molestie congue quam.
</small></dd>
</dl>
<div
style=
"font-weight: bold;"
>
{% trans "Traits" %}
</div>
<div
id=
"node-details-traits"
style=
"margin-bottom: 20px;"
>
<div
id=
"node-details-traits-list"
>
{% if node.tags.all %}
{% for t in node.tags.all %}
<div
class=
"label label-primary label-tag"
style=
"display: inline-block"
>
{{ t }}
<a
href=
"#"
class=
"node-details-remove-trait"
><i
class=
"icon-remove"
></i></a>
</div>
{% endfor %}
{% else %}
<small>
No trait added!
</small>
{% endif %}
</div>
<form
action=
""
method=
"POST"
>
{% csrf_token %}
<div
class=
"input-group"
id=
"node-details-trait-form"
>
<input
type=
"text"
class=
"form-control input-sm input-traits"
name=
"new_trait"
id=
"node-details-traits-input"
/>
<div
class=
"input-group-btn"
>
<input
type=
"submit"
class=
"btn btn-default btn-sm input-traits"
value=
"{% trans "
Add
trait
"
%}"
/>
</div>
</div>
</form>
</div>
<!-- id:node-details-traits -->
</div>
<div
class=
"col-md-8"
>
<img
src=
"/static/grafikon.png"
style=
"width:45%"
/>
...
...
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