Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISPConfig
ISPConfig 3
Commits
b88ffe44
Verified
Commit
b88ffe44
authored
5 years ago
by
Xaver
Browse files
Options
Downloads
Patches
Plain Diff
Disable stats button if stats are none
parent
d4e9f1b5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!972
Disable stats button if stats are none
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
interface/web/sites/templates/web_vhost_domain_admin_list.htm
+5
-5
5 additions, 5 deletions
...rface/web/sites/templates/web_vhost_domain_admin_list.htm
interface/web/sites/templates/web_vhost_domain_list.htm
+5
-5
5 additions, 5 deletions
interface/web/sites/templates/web_vhost_domain_list.htm
with
10 additions
and
10 deletions
interface/web/sites/templates/web_vhost_domain_admin_list.htm
+
5
−
5
View file @
b88ffe44
...
...
@@ -4,12 +4,12 @@
<p
class=
"fieldset-legend"
>
{tmpl_var name="toolsarea_head_txt"}
</p>
<button
class=
"btn btn-default formbutton-success"
type=
"button"
data-load-content=
"sites/web_vhost_domain_edit.php?type={tmpl_var name='vhostdomain_type'}"
><tmpl_if
name=
'vhostdomain_type'
op=
'=='
value=
'domain'
>
{tmpl_var name="add_new_record_txt"}
</tmpl_if><tmpl_if
name=
'vhostdomain_type'
op=
'=='
value=
'subdomain'
>
{tmpl_var name="add_new_subdomain_txt"}
</tmpl_if><tmpl_if
name=
'vhostdomain_type'
op=
'=='
value=
'aliasdomain'
>
{tmpl_var name="add_new_aliasdomain_txt"}
</tmpl_if></button>
<p
class=
"fieldset-legend"
><tmpl_var
name=
"list_head_txt"
></p>
<div
class=
"table-wrapper marginTop15"
>
<table
class=
"table"
>
...
...
@@ -46,7 +46,7 @@
<td><a
href=
"#"
data-load-content=
"sites/web_vhost_domain_edit.php?id={tmpl_var name='id'}&type={tmpl_var name='vhostdomain_type'}"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"{tmpl_var name='domain'}"
>
{tmpl_var name="domain"}
</a></td>
<td
class=
"text-right"
>
<a
href=
"http://{tmpl_var name="
domain
"}"
target=
"_blank"
class=
"btn btn-default formbutton-default formbutton-narrow"
><span
class=
"icon icon-link"
></span></a>
<a
href=
"http://{tmpl_var name="
domain
"}/
stats
/"
target=
"_blank"
class=
"btn btn-default formbutton-default formbutton-narrow"
><span
class=
"glyphicon glyphicon-signal"
></span></a>
<a
href=
"http://{tmpl_var name="
domain
"}/
stats
/"
target=
"_blank"
class=
"btn btn-default formbutton-default formbutton-narrow"
<
tmpl_if
name=
'stats_type'
op=
'=='
value=
''
>
disabled
</tmpl_if>
>
<span
class=
"glyphicon glyphicon-signal"
></span></a>
<a
class=
"btn btn-default formbutton-danger formbutton-narrow"
href=
"javascript: ISPConfig.confirm_action('sites/web_vhost_domain_del.php?id={tmpl_var name='id'}&_csrf_id={tmpl_var name='csrf_id'}&_csrf_key={tmpl_var name='csrf_key'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"
><span
class=
"icon icon-delete"
></span></a>
</td>
</tr>
...
...
This diff is collapsed.
Click to expand it.
interface/web/sites/templates/web_vhost_domain_list.htm
+
5
−
5
View file @
b88ffe44
...
...
@@ -21,12 +21,12 @@
</div>
</tmpl_if>
<p
class=
"fieldset-legend"
>
{tmpl_var name="toolsarea_head_txt"}
</p>
<button
class=
"btn btn-default formbutton-success"
type=
"button"
data-load-content=
"sites/web_vhost_domain_edit.php?type={tmpl_var name='vhostdomain_type'}"
><tmpl_if
name=
'vhostdomain_type'
op=
'=='
value=
'domain'
>
{tmpl_var name="add_new_record_txt"}
</tmpl_if><tmpl_if
name=
'vhostdomain_type'
op=
'=='
value=
'subdomain'
>
{tmpl_var name="add_new_subdomain_txt"}
</tmpl_if><tmpl_if
name=
'vhostdomain_type'
op=
'=='
value=
'aliasdomain'
>
{tmpl_var name="add_new_aliasdomain_txt"}
</tmpl_if></button>
<p
class=
"fieldset-legend"
><tmpl_var
name=
"list_head_txt"
></p>
<div
class=
"table-wrapper marginTop15"
>
<table
class=
"table"
>
...
...
@@ -60,7 +60,7 @@
<td><a
href=
"#"
data-load-content=
"sites/web_vhost_domain_edit.php?id={tmpl_var name='id'}&type={tmpl_var name='vhostdomain_type'}"
data-toggle=
"tooltip"
data-placement=
"bottom"
title=
"{tmpl_var name='domain'}"
>
{tmpl_var name="domain"}
</a></td>
<td
class=
"text-right"
>
<a
href=
"http://{tmpl_var name="
domain
"}"
target=
"_blank"
class=
"btn btn-default formbutton-default formbutton-narrow"
><span
class=
"icon icon-link"
></span></button>
<a
href=
"http://{tmpl_var name="
domain
"}/
stats
/"
target=
"_blank"
class=
"btn btn-default formbutton-default formbutton-narrow"
><span
class=
"glyphicon glyphicon-signal"
></span></a>
<a
href=
"http://{tmpl_var name="
domain
"}/
stats
/"
target=
"_blank"
class=
"btn btn-default formbutton-default formbutton-narrow"
<
tmpl_if
name=
'stats_type'
op=
'=='
value=
''
>
disabled
</tmpl_if>
>
<span
class=
"glyphicon glyphicon-signal"
></span></a>
<a
class=
"btn btn-default formbutton-danger formbutton-narrow"
href=
"javascript: ISPConfig.confirm_action('sites/web_vhost_domain_del.php?id={tmpl_var name='id'}&_csrf_id={tmpl_var name='csrf_id'}&_csrf_key={tmpl_var name='csrf_key'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"
><span
class=
"icon icon-delete"
></span></button>
</td>
</tr>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment