Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2e3367c9
authored
Jan 30, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: issue #36
parent
2a333e50
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
circle/network/templates/network/columns/host-rule.html
+19
-2
No files found.
circle/network/templates/network/columns/host-rule.html
View file @
2e3367c9
...
@@ -2,10 +2,27 @@
...
@@ -2,10 +2,27 @@
{% load l10n %}
{% load l10n %}
{#
<span
style=
"color: #FF0000;"
>
[{{ record.r_type }}]
</span>
#}
{#
<span
style=
"color: #FF0000;"
>
[{{ record.r_type }}]
</span>
#}
{% if record.direction == "1" %}{{ record.foreign_network }}{% else %}{{ record.r_type }}{% endif %}
{% if record.direction == "1" %}
{{ record.foreign_network }}
{% else %}
{% if record.r_type == "host" %}
{{ record.host.get_fqdn }}
{% else %}
{{ record.r_type }}
{% endif %}
{% endif %}
{#
<span
style=
"color: #0000FF;"
>
▸
</span>
#}
{#
<span
style=
"color: #0000FF;"
>
▸
</span>
#}
<i
class=
"icon-arrow-right"
></i>
<i
class=
"icon-arrow-right"
></i>
{% if record.direction == "0" %}{{ record.foreign_network }}{% else %}{{ record.r_type }}{% endif %}
{% if record.direction == "0" %}
{{ record.foreign_network }}
{% else %}
{% if record.r_type == "host" %}
{{ record.host.get_fqdn }}
{% else %}
{{ record.r_type }}
{% endif %}
{% endif %}
{% if record.accept %}
{% if record.accept %}
<span
class=
"label label-info"
style=
"margin-left: 5px;"
>
ACCEPT
</span>
<span
class=
"label label-info"
style=
"margin-left: 5px;"
>
ACCEPT
</span>
{% endif %}
{% endif %}
...
...
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