Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelGauthier committed Nov 8, 2019
1 parent 0ab90a3 commit 575423a
Show file tree
Hide file tree
Showing 26 changed files with 8,829 additions and 178 deletions.
Expand Up @@ -67,7 +67,6 @@ import com.normation.rudder.domain.policies.GlobalPolicyMode
import com.normation.rudder.web.ChooseTemplate
import com.normation.rudder.domain.nodes.NodeState
import com.normation.box._
import org.joda.time.format.ISODateTimeFormat

object ShowNodeDetailsFromNode {

Expand Down Expand Up @@ -237,7 +236,7 @@ class ShowNodeDetailsFromNode(
bindNode(node, sm, withinPopup,displayCompliance, globalMode) ++ Script(
DisplayNode.jsInit(node.id, sm.node.softwareIds, "") &
JsRaw(s"""
$$('.portlet-header.page-title').html("<span>Node: ${sm.node.main.hostname}</span><span class='update-info'>last updated ${sm.node.inventoryDate.map(_.toString(ISODateTimeFormat.dateTimeNoMillis())).getOrElse("Unknown")}</span>");
$$('.portlet-header.page-title').html("${sm.node.main.hostname}");
$$( "#${detailsId}" ).tabs({ active : ${tab} } );
$$('#nodeInventory .ui-tabs-vertical .ui-tabs-nav li a').on('click',function(){
var tab = $$(this).attr('href');
Expand Down

Large diffs are not rendered by default.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 575423a

Please sign in to comment.