app/views/logkafka/logkafkaViewContent.scala.html
@* * Copyright 2015 Yahoo Inc. Licensed under the Apache License, Version 2.0 * See accompanying LICENSE file. *@ @(cluster:String, logkafka_id: String, log_path: String, logkafkaIdentity: kafka.manager.model.ActorModel.LogkafkaIdentity )(implicit messages: play.api.i18n.Messages, request:RequestHeader)
| Logkafka Id | @logkafka_id | | Log Path | @log_path |
@if(!logkafkaIdentity.identityMap.isEmpty && !logkafkaIdentity.identityMap.get(log_path).isEmpty) { @defining(logkafkaIdentity.identityMap.get(log_path).get) { identityTuple => @if(identityTuple._1.isDefined) {
Config | Value | @identityTuple._1.map { config => @for((k, v) <- config) { | @k | @v | } } } } }
| @b4.vertical.form(routes.Logkafka.handleDeleteLogkafka(cluster, logkafka_id, log_path)) { implicit fc => @b4.hidden("logkafka_id", logkafka_id) @b4.hidden("log_path", log_path) @b4.submit('class -> "submit-button btn btn-primary"){ Delete Logkafka } } | | Update Config |