Files
webgui/plugins/dynamix.docker.manager/DockerRepositories.page
2020-05-09 09:15:03 +02:00

35 lines
1.1 KiB
Plaintext

Menu="Docker:2"
Title="Template Repositories"
Tag="clone"
Cond="(pgrep('dockerd')!==false)"
---
<?PHP
/* Copyright 2005-2020, Lime Technology
* Copyright 2014-2020, Guilherme Jardim, Eric Schultz, Jon Panozzo.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 2,
* as published by the Free Software Foundation.
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*/
?>
<?
// Add the Docker JSON client
require_once "$docroot/plugins/dynamix.docker.manager/include/DockerClient.php";
// Repos file
$template_repos = $dockerManPaths['template-repos'];
?>
<form markdown="1" method="POST" action="/plugins/dynamix.docker.manager/include/UpdateConfig.php" target="progressFrame">
<input type="hidden" name="action" value="templates">
_(Template repositories)_:
: <textarea name="template_repos" rows="5" cols="100" style="width:550px"><?=@file_get_contents($template_repos);?></textarea>
:docker_repostiroties_help:
&nbsp;
: <input type="submit" value="_(Save)_">
</form>