mirror of
https://github.com/xevidos/codiad.git
synced 2024-11-10 21:26:35 +01:00
81 lines
2.5 KiB
PHP
81 lines
2.5 KiB
PHP
|
<?php
|
||
|
require_once('../../common.php');
|
||
|
?>
|
||
|
<!--
|
||
|
Copyright (c) Codiad & Andr3as, distributed
|
||
|
as-is and without warranty under the MIT License.
|
||
|
See http://opensource.org/licenses/MIT for more information.
|
||
|
This information must remain intact.
|
||
|
-->
|
||
|
<form>
|
||
|
<?php
|
||
|
switch($_GET['action']) {
|
||
|
case 'blame':
|
||
|
include('templates/blame.html');
|
||
|
break;
|
||
|
case 'branches':
|
||
|
include('templates/branch.html');
|
||
|
break;
|
||
|
case 'clone':
|
||
|
include('templates/clone.html');
|
||
|
break;
|
||
|
case 'commit':
|
||
|
include('templates/commit.html');
|
||
|
break;
|
||
|
case 'diff':
|
||
|
include('templates/diff.html');
|
||
|
break;
|
||
|
case 'log':
|
||
|
include('templates/log.html');
|
||
|
break;
|
||
|
case 'login':
|
||
|
include('templates/login.html');
|
||
|
break;
|
||
|
case 'newBranch':
|
||
|
include('templates/newBranch.html');
|
||
|
break;
|
||
|
case 'newRemote':
|
||
|
include('templates/newRemote.html');
|
||
|
break;
|
||
|
case 'network':
|
||
|
include('templates/network.html');
|
||
|
break;
|
||
|
case 'passphrase':
|
||
|
include('templates/passphrase.html');
|
||
|
break;
|
||
|
case 'renameBranch':
|
||
|
include('templates/renameBranch.html');
|
||
|
break;
|
||
|
case 'renameRemote':
|
||
|
include('templates/renameRemote.html');
|
||
|
break;
|
||
|
case 'checkoutRemote':
|
||
|
include('templates/checkoutRemote.html');
|
||
|
break;
|
||
|
case 'overview':
|
||
|
include('templates/overview.html');
|
||
|
break;
|
||
|
case 'push':
|
||
|
include('templates/push.html');
|
||
|
break;
|
||
|
case 'remote':
|
||
|
include('templates/remote.html');
|
||
|
break;
|
||
|
case 'settings':
|
||
|
include('templates/settings.html');
|
||
|
break;
|
||
|
case 'showCommit':
|
||
|
include('templates/showCommit.html');
|
||
|
break;
|
||
|
case 'submodule':
|
||
|
include('templates/submodule.html');
|
||
|
break;
|
||
|
case 'userConfig':
|
||
|
include('templates/userConfig.html');
|
||
|
break;
|
||
|
default:
|
||
|
echo "No page defined!";
|
||
|
break;
|
||
|
}
|
||
|
?>
|
||
|
</form>
|