diff --git a/apps/applications/templates/applications/user_remote_app_list.html b/apps/applications/templates/applications/user_remote_app_list.html index a771e647a..576c7ed14 100644 --- a/apps/applications/templates/applications/user_remote_app_list.html +++ b/apps/applications/templates/applications/user_remote_app_list.html @@ -49,7 +49,7 @@ function initTable() { $(td).html(hostname); }}, {targets: 5, createdCell: function (td, cellData, rowData) { - var conn_btn = '{% trans "Connect" %}'.replace("{{ DEFAULT_PK }}", cellData); + var conn_btn = '{% trans "Connect" %}'.replace("{{ DEFAULT_PK }}", cellData); $(td).html(conn_btn) }} ], diff --git a/apps/assets/templates/assets/user_asset_list.html b/apps/assets/templates/assets/user_asset_list.html index a158244a5..7e452eaf6 100644 --- a/apps/assets/templates/assets/user_asset_list.html +++ b/apps/assets/templates/assets/user_asset_list.html @@ -29,7 +29,7 @@ var showAssetHref = false; // Need input default true var actions = { targets: 4, createdCell: function (td, cellData) { var conn_btn = '{% trans "Connect" %}'; + '" class="btn btn-xs btn-primary" target="_blank">{% trans "Connect" %}'; $(td).html(conn_btn) }}; $(document).ready(function () { @@ -85,4 +85,4 @@ function toggle() { } -{% endblock %} \ No newline at end of file +{% endblock %}