display script API on the page
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<li><a href="{{ url_for('download_zip',name=name) }}" title="Download all the files as one ZIP file. Total size of files must be less than {{ g.max_zip_size }} Mb">Download as zip</a>
|
||||
<li><span id=list_script_toggle onclick="scriptToggle()">Command line info</span>
|
||||
<li><a href="{{ url_for('logout',name=name) }}">Logout</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -79,4 +80,14 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div id=list_script>
|
||||
<span id=list_script_toggle class=upper_corner onclick="scriptToggle()">Close X</span>
|
||||
<div>Command line tools for using the share:</div>
|
||||
<ul>
|
||||
{% for entry in script_api %}
|
||||
<li> {{ entry.doc }} </li>
|
||||
<div class="code"><span> {{ entry.cmd }} </span></div>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user