2017-03-15 16:57:46 +01:00
|
|
|
<div class="panel panel-default llcontainer">
|
2015-07-09 17:38:35 +02:00
|
|
|
<div class="panel-heading">
|
2015-05-14 08:44:38 +02:00
|
|
|
<h3 class="panel-title">{{translateTitle(currentNode)}}</h3>
|
|
|
|
</div>
|
2015-10-23 17:18:47 +02:00
|
|
|
<div class="panel-body">
|
|
|
|
<div class="form-group">
|
|
|
|
<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="form-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>
|
2016-01-04 23:22:20 +01:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="urlinput" id="lfu"><span trspan="loadFromUrl"></span> :</label>
|
|
|
|
<span class="input-group">
|
|
|
|
<input id="urlinput" aria-describedby="lfu" class="form-control" ng-model="url" />
|
2016-01-05 11:15:18 +01:00
|
|
|
<span class="input-group-addon link" trspan="load" ng-click="replaceContentByUrl(currentNode,url)"></span>
|
2016-01-04 23:22:20 +01:00
|
|
|
</span>
|
|
|
|
</div>
|
2015-05-14 08:44:38 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-02-16 07:21:40 +01:00
|
|
|
<script type="text/menu">
|
|
|
|
[{
|
2015-07-23 18:26:37 +02:00
|
|
|
"title": "cancel",
|
|
|
|
"icon": "remove"
|
2016-01-12 16:24:12 +01:00
|
|
|
},{
|
2016-01-23 14:09:50 +01:00
|
|
|
"title": "download",
|
|
|
|
"icon": "save-file",
|
2017-01-18 00:17:23 +01:00
|
|
|
"action": "saveAsText"
|
2016-02-16 07:21:40 +01:00
|
|
|
}]
|
2015-05-14 08:44:38 +02:00
|
|
|
</script>
|