commit
1972ffed09
40 changed files with 390 additions and 266 deletions
@ -1,39 +0,0 @@ |
||||
{% extends 'admin_list.html' %} |
||||
|
||||
{% block body %} |
||||
<div class="box span8"> |
||||
<div class="box-header well"> |
||||
<h2><i class="icon-arrow-down"></i>Список услуг</h2> |
||||
</div> |
||||
<div class="box-content"> |
||||
|
||||
<table class="table table-hover"> |
||||
<thead> |
||||
<tr> |
||||
<th>id</th> |
||||
<th>Название</th> |
||||
<th> </th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
{% for item in object_list %} |
||||
|
||||
<tr> |
||||
<td>{{ item.id }}</td> |
||||
<td>{{ item.name }}</td> |
||||
|
||||
<td> |
||||
<a class="btn-small btn-info" href="/admin/service/control/{{ item.id }}/"> |
||||
Управлять |
||||
</a> |
||||
</td> |
||||
</tr> |
||||
|
||||
{% endfor %} |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
{# pagination #} |
||||
{% include 'admin/includes/admin_pagination.html' with page_obj=object_list %} |
||||
</div> |
||||
{% endblock %} |
||||
@ -0,0 +1,30 @@ |
||||
{ |
||||
"name": "kotzilla", |
||||
"version": "0.0.0", |
||||
"description": "", |
||||
"main": "gulpfile.js", |
||||
"dependencies": { |
||||
"gulp": "~3.9.0" |
||||
}, |
||||
"devDependencies": { |
||||
"connect": "~3.4.0", |
||||
"gulp-concat": "~2.6.0", |
||||
"gulp-livereload": "~3.8.1", |
||||
"gulp": "~3.9.0", |
||||
"gulp-stylus": "~2.1.0", |
||||
"gulp-uglify": "~1.4.1", |
||||
"gulp-jade": "~1.1.0", |
||||
"gulp-imagemin": "~2.3.0", |
||||
"gulp-csso": "~1.0.0", |
||||
"gulp-myth": "~1.0.3", |
||||
"gulp-rename": "~1.2.2", |
||||
"gulp-autoprefixer": "~3.0.2", |
||||
"gulp-cssmin": "~0.1.7", |
||||
"gulp-newer": "~0.5.1" |
||||
}, |
||||
"scripts": { |
||||
"test": "echo \"Error: no test specified\" && exit 1" |
||||
}, |
||||
"author": "", |
||||
"license": "BSD-2-Clause" |
||||
} |
||||
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue