git manager initial

This commit is contained in:
Usman Nasir
2020-03-07 21:03:17 +05:00
parent c947e8b0a7
commit 198bfa794d
5 changed files with 228 additions and 19 deletions

View File

@@ -14,26 +14,31 @@
</div>
<div ng-controller="sshAccess" class="panel">
<div ng-controller="manageGIT" class="panel">
<div class="panel-body">
<h3 class="title-hero">
{% trans "Manage and track folders via Git for " %} {{ domainName }}.</span> <img
ng-hide="wpInstallLoading" src="{% static 'images/loading.gif' %}">
{% trans "Manage and track folders via Git for " %} <span id="domain">{{ domainName }}</span>. <img
ng-hide="cyberpanelLoading" src="{% static 'images/loading.gif' %}">
</h3>
<div class="example-box-wrapper">
<form action="/" class="form-horizontal bordered-row">
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "Select Website" %} </label>
<div class="col-sm-6">
<select ng-change="showFTPDetails()" ng-model="ftpDomain" class="form-control">
{% for item in folders %}
<option>{{ item }}</option>
{% endfor %}
</select>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">{% trans "Select Folder to Track" %} </label>
<div class="col-sm-6">
<select ng-change="fetchFolderDetails()" ng-model="folder" class="form-control">
{% for item in folders %}
<option>{{ item }}</option>
{% endfor %}
</select>
</div>
</form>
<table class="table">
</div>
</form>
<p style="margin: 2%" ng-hide="gitTracking">{% trans "This folder does not have Git tracking, click below to initiate a repository and start tracking files." %}</p>
<button ng-hide="gitTracking" style="margin-left: 2%" type="button" class="btn btn-primary"
ng-click="initRepo()">
Init Repo
</button>
<table ng-hide="gitEnable" style="margin-top: 2%" class="table">
<thead>
<tr>
<th>Folder</th>