Dateiverwaltung für die WebBox
ulrich
2021-01-01 5794c8f1f5e48dea6afe808e374265ca69f7419a
web/ui/api.js
@@ -256,6 +256,8 @@
        mode = 'xml';
      } else if(fname.endsWith('properties')) {
        mode = 'xml';
      } else if(fname.endsWith('adoc')) {
        mode = 'text/x-markdown';
      }
      fm_text_edit(resp, mode);
    } else {
@@ -288,6 +290,16 @@
/* -------- Compile / Build ------------- */
function fm_ant_build() {
  var m = '?c=de.uhilger.filecms.api.CompileService&m=antBuild&p=' + pfad;
  var u = '../svc' + m;
  fm_get(u, "text", function(resp) {
    $('.system-out').empty();
    $('.system-out').append('Ergebnis von Ant build: ' + resp);
    fm_fusszeile_zeigen();
  });
}
function fm_build_app() {
  var m = '?c=de.uhilger.filecms.api.CompileService&m=buildApp&p=' + pfad;
  var u = '../svc' + m;