forked from retoor/devplacepy
feat: add container manager CLI commands and docker-compose overlay for admin container lifecycle
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
<link rel="stylesheet" href="/static/css/project_files.css">
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
<div class="pf-page" id="project-files" data-slug="{{ project['slug'] or project['uid'] }}" data-owner="{{ 1 if is_owner else 0 }}">
|
||||
<div class="pf-page" id="project-files" data-slug="{{ project['slug'] or project['uid'] }}" data-owner="{{ 1 if is_owner and not read_only else 0 }}">
|
||||
<div class="pf-header">
|
||||
<a href="/projects/{{ project['slug'] or project['uid'] }}" class="back-link">← {{ project['title'] }}</a>
|
||||
<div class="pf-toolbar">
|
||||
{% if is_owner %}
|
||||
{% if is_owner and not read_only %}
|
||||
<button type="button" class="btn btn-secondary" id="pf-new-file">New file</button>
|
||||
<button type="button" class="btn btn-secondary" id="pf-new-folder">New folder</button>
|
||||
<button type="button" class="btn btn-secondary" id="pf-upload">Upload</button>
|
||||
@@ -22,6 +22,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if read_only %}
|
||||
<div class="pf-readonly-banner">This project is read-only. Its files are immutable until the owner turns read-only off.</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="pf-body">
|
||||
<aside class="pf-tree" id="pf-tree"></aside>
|
||||
<section class="pf-main">
|
||||
|
||||
Reference in New Issue
Block a user