-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '3.0.1-devel' of https://github.com/rism-ch/muscat into …
…3.0.1-devel
- Loading branch information
Showing
23 changed files
with
394 additions
and
376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,67 @@ | ||
<script type="text/javascript" language="javascript" src="/javascripts/Saxonce/Saxonce.nocache.js"></script> | ||
<script type="text/javascript" language="javascript" src="/javascripts/verovio-toolkit.js"></script> | ||
|
||
<div class="container" id="mei-toplevel"> | ||
|
||
<div class="page-header"> | ||
<h2><%= t('mei.title', :source => @item.id)%></h2> | ||
</div> | ||
|
||
<div class="col-sm-12 col-md-3 sidebar-offcanvas" id="sidebar" role="navigation"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title"><%= t('mei.parameters')%></h3> | ||
</div> | ||
<div class="panel-body"> | ||
|
||
<label for="sel1"><%= t('mei.format')%></label> | ||
<select class="form-control" id="mei-output-format" onclick="setRegenerateMei();"> | ||
<option value="mei"><%= t('mei.format_mei')%></option> | ||
<option value="pae"><%= t('mei.format_pae')%></option> | ||
</select> | ||
|
||
<hr> | ||
<div class="col-md-9"> | ||
<h3><%= t('mei.title', :source => @item.id)%></h3> | ||
|
||
<hr/> | ||
|
||
<h4 id="mei-preview-text"><%= t('mei.banner')%></h4> | ||
<div id="mei-html-output"> | ||
</div> | ||
<pre id="mei-output" class="prettyprint"> | ||
</pre> | ||
</div> | ||
|
||
<div class="col-sm-12 col-md-3 sidebar-offcanvas" id="sidebar" role="navigation"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title"><%= t('mei.parameters')%></h3> | ||
</div> | ||
<div class="panel-body"> | ||
|
||
<label for="sel1"><%= t('mei.format')%></label> | ||
<select class="form-control" id="mei-output-format" onclick="setRegenerateMei();"> | ||
<option value="mei"><%= t('mei.format_mei')%></option> | ||
<option value="pae"><%= t('mei.format_pae')%></option> | ||
</select> | ||
|
||
<hr/> | ||
|
||
<label for="exampleInputFile"><%= t('mei.stylesheet')%></label> | ||
<div class="radio"> | ||
<label><input type="radio" name="radio-xsls" checked="checked" onclick="setUseDefaultStylesheet();"><%= t('mei.default_stylesheet')%></label> | ||
</div> | ||
<div class="radio"> | ||
<label><input type="radio" name="radio-xsls" onclick="setUseCustomStylesheet();"><%= t('mei.custom_stylesheet')%></label> | ||
</div> | ||
<input type="file" id="mei-select-file" disabled="disabled" accept=".xsl,.xml"/> | ||
|
||
<hr/> | ||
|
||
<label for="exampleInputFile"><%= t('mei.stylesheet')%></label> | ||
<div class="radio"> | ||
<label><input type="radio" name="radio-xsls" checked="checked" onclick="setUseDefaultStylesheet();"><%= t('mei.default_stylesheet')%></label> | ||
</div> | ||
<div class="radio"> | ||
<label><input type="radio" name="radio-xsls" onclick="setUseCustomStylesheet();"><%= t('mei.custom_stylesheet')%></label> | ||
</div> | ||
<input type="file" id="mei-select-file" disabled="disabled" accept=".xsl,.xml"> | ||
|
||
<hr> | ||
|
||
<p/> | ||
<div style="text-align: right"> | ||
<button onclick="previewMeiFile(<%=@item.id%>)" class="btn btn-default btn-sm"> | ||
<span class="glyphicon glyphicon-search"></span><%= t('mei.preview')%> | ||
</button> | ||
<button onclick="downloadMeiFile(<%=@item.id%>)" class="btn btn-default btn-sm" id="form-reset"> | ||
<span class="glyphicon glyphicon-remove"></span><%= t('mei.download')%> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title"><%= t('mei.more')%></h3> | ||
</div> | ||
<div class="panel-body"> | ||
<%= render "mei_more" %> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<div style="text-align: right"> | ||
<button onclick="previewMeiFile(<%=@item.id%>)" class="btn btn-default btn-sm"> | ||
<span class="glyphicon glyphicon-search"></span> <%= t('mei.preview')%> | ||
</button> | ||
<button onclick="downloadMeiFile(<%=@item.id%>)" class="btn btn-default btn-sm" id="form-reset"> | ||
<span class="glyphicon glyphicon-download"></span> <%= t('mei.download')%> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="col-md-9"> | ||
<h4 id="mei-preview-text"><%= t('mei.banner')%></h4> | ||
<div id="mei-html-output"> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title"><%= t('mei.more')%></h3> | ||
</div> | ||
<div class="panel-body"> | ||
<%= render "mei_more" %> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<pre id="mei-output" class="prettyprint"> | ||
</pre> | ||
</div> | ||
|
||
|
||
</div> | ||
|
||
<script type="text/javascript"> | ||
document.getElementById('mei-select-file').addEventListener('change', readSingleFile, false); | ||
document.getElementById('mei-select-file').addEventListener('change', readSingleFile, false); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.