aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/web/templates/bench/repo_form.html
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-11-29 16:18:13 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-11-29 16:21:15 +0800
commit795221ce0cbd9daf23af9f3099e29c947bcad306 (patch)
tree8e443f916db57ba042cd10e61340b4a558358e14 /qtip/web/templates/bench/repo_form.html
parentf9a4031c4e8146c350065878b95cd40d81aa4fe7 (diff)
Deprecate qtip/web in favor of AWX
We decided to develop it at the time AWX is not open sourced. Now AWX seems to be a more promising solution then create the service from scratch. Change-Id: I586ac7e582b2db57ad81f0ece7585ca2bf0dd416 JIRA: QTIP-287 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip/web/templates/bench/repo_form.html')
-rw-r--r--qtip/web/templates/bench/repo_form.html43
1 files changed, 0 insertions, 43 deletions
diff --git a/qtip/web/templates/bench/repo_form.html b/qtip/web/templates/bench/repo_form.html
deleted file mode 100644
index 158b8481..00000000
--- a/qtip/web/templates/bench/repo_form.html
+++ /dev/null
@@ -1,43 +0,0 @@
-{% extends 'bench/base.html' %}
-{% block content %}
- <div class="card" >
- <div class="header">
- <h2>Repos</h2>
- <ul class="header-dropdown m-r-0">
- <li>
- <button data-toggle="modal" data-target="#repoform" class="btn bg-purple waves-effect"><i id="template-role" class="material-icons">{{ template_role }}</i></button>
- </li>
- </ul>
- </div>
- <div class="body">
- {% for repo in repos %}
- <ul class="font-15" ><a href="{% url 'repo_update' repo.id %}">{{ repo.name }}</a></ul>
- {% endfor %}
- </div>
- </div>
- <div id="repoform" class="modal fade in" role="dialog" tabindex="-1">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header"></div>
- <div class="modal-body">
- <form role="form" method="post" action="">{% csrf_token %}
- {{ form }}
- <div class=input-field" style="margin:30px 20px">
- <button type="submit" value="Login">Submit</button>
- </div>
- </form>
- </div>
- <div class="modal-footer"></div>
- </div>
- </div>
- </div>
- <script>
- $(window).on('load',function(){
- if($('#template-role').text() == "edit")
- {
- console.log("hello");
- $('#repoform').modal('show');
- }
- });
- </script>
-{% endblock %}