2015-05-14 08:44:38 +02:00
|
|
|
<div class="panel panel-default" style="position:relative;">
|
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>
|
|
|
|
<script type="text/javascript">
|
|
|
|
buttons=[{
|
2015-07-23 18:26:37 +02:00
|
|
|
"title": "cancel",
|
|
|
|
"icon": "remove"
|
2016-01-12 16:24:12 +01:00
|
|
|
},{
|
|
|
|
"title": "save",
|
|
|
|
"icon": "save",
|
|
|
|
"action": "localDownload"
|
2015-05-14 08:44:38 +02:00
|
|
|
}];
|
|
|
|
</script>
|