Commit d6014407 authored by Clément OUDOT's avatar Clément OUDOT

Fix usage of bootstrap panels (#820)

parent 1fac8f39
......@@ -22,6 +22,7 @@
* oidcOpMetadata ?
* import from JSON
* Order of categories
### REST API:
......
......@@ -24,10 +24,10 @@ Form files must contain only HTML that will be included in the manager DOM
Basic example:
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translate(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<label class="input-group-addon" for="textinput" trspan="value"/>
<input id="textinput" class="form-control" ng-model="currentNode.data"/>
......@@ -47,10 +47,10 @@ Based on bootstrap CSS, the main div part may look like:
If configuration item name is read-only:
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translate(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
__ FORM INPUTS __
</div>
</div>
......@@ -58,10 +58,10 @@ If configuration item name is read-only:
If configuration item name may be modified:
<div class="panel panel-default">
<div class="panel panel-heading"> <!-- optional -->
<div class="panel-heading"> <!-- optional -->
<h3 class="panel-title" trspan="OptionalTitle" />
</div>
<div class="panel panel-body">
<div class="panel-body">
__ FORM INPUTS __
</div>
</div>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="container-fluid">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<div class="input-group" style="width:100%;">
......@@ -19,7 +19,7 @@
<label for="publicKey" id="lpub"><span>{{translateTitle(currentNode.data[2])}}</span></label>
<textarea id="publicKey" aria-describedby="lpub" class="form-control" rows="8" ng-model="currentNode.data[2].data"></textarea>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="privkfile" id="lprivkfile"><span trspan="replaceByFile"/> :</label>
<input id="privkfile" aria-describedby="lprivkfile" type="file" class="form-control" on-read-file="replaceContent(currentNode.data[2],$fileContent)"/>
</div>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="container-fluid">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<div class="input-group" style="width:100%;">
......@@ -19,7 +19,7 @@
<label for="publicKey" id="lpub"><span>{{translateTitle(currentNode.data[1])}}</span></label>
<textarea id="publicKey" aria-describedby="lpub" class="form-control" rows="8" ng-model="currentNode.data[1].data"></textarea>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="privkfile" id="lprivkfile"><span trspan="replaceByFile"/> :</label>
<input id="privkfile" aria-describedby="lprivkfile" type="file" class="form-control" on-read-file="replaceContent(currentNode.data[1],$fileContent)"/>
</div>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<table class="table">
<tbody>
<tr ng-repeat="mod in currentNode.nodes">
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class=panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group-solid">
<label class="radio-inline">
<input id="blacklist" type="radio" value="0" name="bwl" ng-model="currentNode.data[0]">
......@@ -14,7 +14,7 @@
</label>
</div>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label class="input-group-addon" for="bwlist" trspan="value"/>
<input id="bwlist" class="form-control" ng-model="currentNode.data[1]"/>
</div>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group-solid">
<label class="radio-inline">
<input id="bopeOn" type="radio" value="1" name="bope" ng-model="currentNode.data"/>
......
<div class="panel panel-default" style="position:relative;">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group-solid">
<label class="radio-inline">
<input id="bopeOn" type="radio" value="1" name="bope" ng-model="currentNode.data">
......@@ -18,7 +18,7 @@
</label>
</div>
</div>
<div class="panel panel-body input-group" style="width:100%;" ng-if="currentNode.data!==0&&currentNode.data!=='0'&&currentNode.data!==1&&currentNode.data!=='1'">
<div class="panel-body input-group" style="width:100%;" ng-if="currentNode.data!==0&&currentNode.data!=='0'&&currentNode.data!==1&&currentNode.data!=='1'">
<textarea id="bopeValue" class="form-control" rows="2" ng-model="currentNode.data"/>
</div>
</div>
......
<script type="text/ng-template" id="cat_renderer.html">
{{cat.title}}
<div class="panel panel-default" ng-if="cat.type=='menuCat'">
<div class="panel" ng-class="{'panel-heading':cat.type=='menuCat','panel-body':cat.type!='menuCat'}" ng-repeat="cat in cat.nodes track by cat.id" ng-include="'cat_renderer.html'"></li>
<p ng-class="{'lead text-primary':cat.type=='menuCat'}">{{cat.title}}</p>
<hr ng-if="cat.nodes">
<ul class="list-group" ng-if="cat.nodes">
<li class="list-group-item" ng-repeat="cat in cat.nodes track by cat.id" ng-include="'cat_renderer.html'"></li>
</ul>
</script>
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel" ng-class="{'panel-heading':cat.type=='menuCat','panel-body':cat.type!='menuCat'}" ng-repeat="cat in currentNode.nodes track by cat.id" ng-include="'cat_renderer.html'"></div>
<ul class="list-group">
<li class="list-group-item" ng-repeat="cat in currentNode.nodes track by cat.id" ng-include="'cat_renderer.html'"></li>
</ul>
</div>
<script type="text/javascript">
buttons=[{
......
<div class="panel panel-default" style="position:relative;">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body input-group" style="width:100%;">
<div class="panel-body input-group" style="width:100%;">
<label for="filetext" id="lft"><span trspan="editContent"></span> :</label>
<textarea id="filetext" aria-describedby="lft" class="form-control" rows="8" ng-model="currentNode.data"></textarea>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="fileinput" id="lfi"><span trspan="replaceByFile"></span> :</label>
<input id="fileinput" aria-describedby="lfi" type="file" class="form-control" on-read-file="replaceContent(currentNode,$fileContent)"/>
</div>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">
<span ng-if="!currentCfg.next" trspan="currentConfiguration"/>
<span ng-if="currentCfg.next" trspan="loadedConfiguration"/>
</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<dl class="dl-horizontal">
<dt><span trspan="number"></span> :&nbsp;</dt>
<dd>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<label class="input-group-addon" for="intinput" trspan="value"/><input id="intinput" type="number" class="form-control" ng-model="currentNode.data"/>
</div>
......
<div class="panel panel-default">
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="hashkeyinput" id="hklabel" class="input-group-addon"><span trspan="hashkey"></span> :</label>
<input aria-describedby="hklabel" id="hashkeyinput" class="form-control" ng-model="currentNode.title"/>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="hashvalueinput" id="hvlabel" class="input-group-addon"><span trspan="value"></span> :</label>
<input aria-describedby="hklabel" id="hashvalueinput" class="form-control" ng-model="currentNode.data"/>
</div>
......
......@@ -3,7 +3,7 @@
Keys like virtual host hostname uses hashkey.html
-->
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel-body">
......
<div class="panel panel-default" style="position:relative;">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group" style="width:100%;">
<label class="input-group-addon" for="longtextinput" trspan="value"/>
<textarea id="longtextinput" rows="5" class="form-control" ng-model="currentNode.data"/>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="application"/>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="iname" id="lname" class="input-group-addon"><span trspan="name"/> :</label>
<input id="iname" aria-describedby="lname" class="form-control" ng-model="currentNode.title"/>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="idesc" id="ldesc" class="input-group-addon"><span trspan="description"/> :</label>
<input id="idesc" aria-describedby="ldesc" class="form-control" ng-model="currentNode.data.description"/>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="iuri" id="luri" class="input-group-addon"><span trspan="uri"/> :</label>
<input id="iuri" aria-describedby="luri" class="form-control" ng-model="currentNode.data.uri"/>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="ilogo" id="llogo" class="input-group-addon"><span trspan="logo"/> :</label>
<input id="ilogo" aria-describedby="llogo" class="form-control" ng-model="currentNode.data.logo"/>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<span class="input-group-addon"><span trspan="applicationDisplay"/> :</span>
<div class="input-group-solid">
<label class="radio-inline">
......
<script type="text/ng-template" id="cat_render.html">
{{cat.title}}
<div class="panel" ng-class="{'panel-heading':cat.type=='menuCat','panel-body':cat.type!='menuCat'}" ng-repeat="cat in cat.nodes track by cat.id" ng-include="'cat_render.html'"></div>
<p ng-class="{'lead text-primary':cat.type=='menuCat'}">{{cat.title}}</p>
<hr ng-if="cat.nodes">
<ul class="list-group" ng-if="cat.nodes">
<li class="list-group-item" ng-repeat="cat in cat.nodes track by cat.id" ng-include="'cat_render.html'"></div>
</script>
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="menuCategory"/>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<label for="catTitle" id="catTitleL" class="input-group-addon">
<span trspan="categoryName"/>
</label>
<input id="catTitle" aria-describedby="catTitleL" class="form-control" ng-model="currentNode.title"/>
</div>
</div>
<div class="panel panel-default">
<div class="panel panel-heading">
<h4 class="panel-title" trspan="appsInThisCat"/>
<br />
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title" trspan="appsInThisCat"/>
</div>
<ul class="list-group">
<li class="list-group-item" ng-repeat="cat in currentNode.nodes track by cat.id" ng-include="'cat_render.html'"></li>
</ul>
</div>
<div class="panel" ng-class="{'panel-heading':cat.type=='menuCat','panel-body':cat.type!='menuCat'}" ng-repeat="cat in currentNode.nodes track by cat.id" ng-include="'cat_render.html'"></div>
</div>
</div>
TODO: order of categories
<script type="text/javascript">
buttons=[{
"title": "up"
......
......@@ -2,7 +2,7 @@
<div class="panel-heading">
<h3 class="panel-title" trspan="oidcOP"/>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<span class="input-group-addon" trspan="oidcOPName"/>
<input id="hashkeyinput" class="form-control" ng-model="currentNode.title"/><br/>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="oidcOPMetaDataNodes"/>
</div>
<div class="panel-body">
......
......@@ -2,7 +2,7 @@
<div class="panel-heading">
<h3 class="panel-title" trspan="oidcRP"/>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<span class="input-group-addon" trspan="oidcRPName"/>
<input id="hashkeyinput" class="form-control" ng-model="currentNode.title"/><br/>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="oidcRPMetaDataNodes"/>
</div>
<div class="panel-body">
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<label class="input-group-addon" for="pwdinput" trspan="value"/>
<input type="password" id="pwdinput" class="form-control" ng-model="currentNode.data"/>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="portalSkin"/>
</div>
<div class="panel panel-body" style="text-align: center;">
<div class="panel-body" style="text-align: center;">
<button class="btn btn-info" ng-click="showModal('portalSkinChoice.html')" ng-model="currentNode" style="position:relative;">
<span ng-if="inSelect(currentNode.data)">
<img ng-src="{{staticPrefix}}logos/{{currentNode.data}}.png" style="margin:auto;" alt="{{currentNode.data}}" title="{{currentNode.data}}" />
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="formReplay"/>
</div>
<div class="panel panel-body">
<div class="panel-body">
<!-- key / postUrl jqueryUrl formSelector buttonSelector -->
<div class="input-group">
<label for="pi1" id="pl1" class="input-group-addon"><span trspan="postUrl"/> :</label>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<table class="table">
<tbody class="input-group">
<tr>
......
<div class="panel panel-default" style="position:relative;">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="restoreConf"></h3>
</div>
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="fileinput" id="lfi"><span trspan="fileToUpload"></span> :</label>
<input id="fileinput" aria-describedby="lfi" type="file" class="form-control" on-read-file="saveRawConf($fileContent)"/>
</div>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="rule"/>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group" ng-if="currentNode.re!='default'">
<label for="hashkeycomment" id="hcl" class="input-group-addon"><span trspan="comment"></span> :</label>
<input ariadescribedby="hcl" id="hashkeycomment" class="form-control" ng-model="currentNode.comment" ng-change="changeRuleTitle(currentNode)"/>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<table class="table">
<tbody class="input-group">
<tr>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<!-- Default -->
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<span class="input-group-addon" trspan="default"/>
<div class="input-group-solid">
......@@ -18,12 +18,12 @@
</div>
</div>
</div>
<div class="hidden panel panel-body input-group">
<div class="hidden panel-body input-group">
<label for="sahinput" id="sahlabel" class="input-group-addon"><span trspan="index"></span> :</label>
<input aria-describedby="sahlabel" id="sahinput" class="form-control" ng-model="currentNode.data[1]"/>
</div>
<!-- Binding -->
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="saaselect" id="saalbl" class="input-group-addon"><span trspan="format"/> :</label>
<select disabled="disabled" class="form-control" id="saaselect" aria-describedby="saalbl" ng-model="currentNode.data[2]">
<option value="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact">HTTP Artifact</option>
......@@ -33,7 +33,7 @@
</select>
</div>
<!-- URL -->
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="saainput" id="saalabel" class="input-group-addon"><span trspan="url"></span> :</label>
<input aria-describedby="saalabel" id="saainput" class="form-control" ng-model="currentNode.data[3]"/>
</div>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="samlAttribute"></h3>
</div>
<!-- Key Name -->
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="sakinput" id="saklabel" class="input-group-addon"><span trspan="keyname"></span> :</label>
<input aria-describedby="saklabel" id="sakinput" class="form-control" ng-model="currentNode.title"/>
</div>
<!-- Name -->
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="saninput" id="sanlabel" class="input-group-addon"><span trspan="name"></span> :</label>
<input aria-describedby="sanlabel" id="saninput" class="form-control" ng-model="currentNode.data[1]"/>
</div>
<!-- Friendly Name -->
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="safinput" id="saflabel" class="input-group-addon"><span trspan="friendlyName"></span> :</label>
<input aria-describedby="saflabel" id="safinput" class="form-control" ng-model="currentNode.data[3]"/>
</div>
<!-- Mandatory -->
<div class="panel panel-body">
<div class="panel-body">
<span class="input-group">
<span class="input-group-addon"><span trspan="mandatory"/> :</span>
<div class="input-group-solid">
......@@ -34,7 +34,7 @@
</span>
</div>
<!-- Format -->
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="safselect" id="saflbl" class="input-group-addon"><span trspan="format"/> :</label>
<select class="form-control" id="safselect" aria-describedby="saflbl" ng-model="currentNode.data[2]">
<option value="" ng-selected="currentNode.data[2]==null||currentNode.data[2]==''"></option>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel-body">
......
......@@ -2,7 +2,7 @@
<div class="panel-heading">
<h3 class="panel-title" trspan="samlIDP"/>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<span class="input-group-addon" trspan="samlIDPName"/>
<input id="hashkeyinput" class="form-control" ng-model="currentNode.title"/><br/>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="virtualHosts"/>
</div>
<div class="panel-body">
......
......@@ -2,7 +2,7 @@
<div class="panel-heading">
<h3 class="panel-title" trspan="samlSP"/>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<span class="input-group-addon" trspan="samlSPName"/>
<input id="hashkeyinput" class="form-control" ng-model="currentNode.title"/><br/>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="virtualHosts"/>
</div>
<div class="panel-body">
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<!-- Format -->
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="sasselect" id="saslbl" class="input-group-addon"><span trspan="format"/> :</label>
<select disabled="disabled" class="form-control" id="sasselect" aria-describedby="saslbl" ng-model="currentNode.data[0]">
<option value="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect">HTTP Redirect</option>
......@@ -13,12 +13,12 @@
</select>
</div>
<!-- URL -->
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="saninput" id="sanlabel" class="input-group-addon"><span trspan="url"></span> :</label>
<input aria-describedby="sanlabel" id="saninput" class="form-control" ng-model="currentNode.data[1]"/>
</div>
<!-- Return URL -->
<div class="panel panel-body input-group">
<div class="panel-body input-group">
<label for="sasinput" id="saslabel" class="input-group-addon"><span trspan="returnUrl"></span> :</label>
<input aria-describedby="saslabel" id="sasinput" class="form-control" ng-model="currentNode.data[2]"/>
</div>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body form-group">
<div class="panel-body form-group">
<select id="selectform" class="form-control" ng-model="currentNode.data" ng-change="currentNode.onChange()">
<option ng-repeat="item in currentNode.select" ng-selected="item.k==currentNode.data" value="{{item.k}}" trspan="{{item.v}}"></option>
</select>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<table class="table">
<tbody>
<tr ng-repeat="n in currentNode.nodes">
......@@ -67,7 +67,7 @@
<span trspan="specialRule" />
</label>
</div>
<div class="panel panel-body input-group" style="width:100%;" ng-if="n.data!==0&&n.data!=='0'&&n.data!==1&&n.data!=='1'">
<div class="panel-body input-group" style="width:100%;" ng-if="n.data!==0&&n.data!=='0'&&n.data!==1&&n.data!=='1'">
<textarea id="boeValue/{{n.title}}" class="form-control" rows="2" ng-model="n.data"/>
</div>
</td>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<label class="input-group-addon" for="textinput" trspan="value"/>
<input id="textinput" class="form-control" ng-model="currentNode.data"/>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group-solid">
<label class="radio-inline">
<input id="trOn" type="radio" value="1" name="bope" ng-model="currentNode.data">
......
......@@ -2,7 +2,7 @@
<div class="panel-heading">
<h3 class="panel-title" trspan="virtualHost"/>
</div>
<div class="panel panel-body">
<div class="panel-body">
<div class="input-group">
<span class="input-group-addon" trspan="hostname"/>
<input id="hashkeyinput" class="form-control" ng-model="currentNode.title"/><br/>
......
<div class="panel panel-default">
<div class="panel panel-heading">
<div class="panel-heading">
<h3 class="panel-title" trspan="virtualHosts"/>
</div>
<div class="panel-body">
......
......@@ -47,15 +47,15 @@
</div>
<!-- Notification content -->
<div class="panel panel-default" ng-hide="currentNotification===null">
<div class="panel panel-heading">
<div class="panel-heading">
<h1 class="panel-title text-center">{{translate('view')}}</h1>
</div>
<h2>{{currentNotification.uid}}_{{currentNotification.reference}}</h2>
<div ng-if="currentNotification.done" class="panel panel-body">
<div ng-if="currentNotification.done" class="panel-body">
{{translate('internalReference')}}: {{currentNotification.done}}
</div>
<div ng-if="currentNotification.notifications">
<div ng-repeat="n in currentNotification.notifications" class="panel panel-body">
<div ng-repeat="n in currentNotification.notifications" class="panel-body">
{{n}}
</div>
</div>
......
......@@ -47,10 +47,10 @@
</div>
</div>
<div class="panel panel-default" ng-hide="currentSession===null">