Browse Source

Update admin base template

pull/10/head
Hironsan 6 years ago
parent
commit
f5a5500b83
3 changed files with 5 additions and 3 deletions
  1. 2
      app/server/static/css/admin.css
  2. 4
      app/server/templates/admin/admin_base.html
  3. 2
      app/server/urls.py

2
app/server/static/css/admin.css

@ -6,7 +6,7 @@
.messages {
display: block;
background-color: #fff;
background-color: #f3f3f3;
border-right: 1px solid #DEDEDE;
}

4
app/server/templates/admin/admin_base.html

@ -4,7 +4,7 @@
<link rel="stylesheet" type="text/css" href="{% static 'css/admin.css' %}">
{% endblock %}
{% block content %}
<div class="columns" id="mail-app">
<div class="columns" id="mail-app" style="margin-right:0;">
<aside class="column is-2 aside">
<div>
<div class="main">
@ -36,7 +36,9 @@
</div>
</aside>
<div class="column is-10 messages hero is-fullheight" id="message-feed">
<div class="box">
{% block content-area %}{% endblock %}
</div>
</div>
</div>
{% endblock %}

2
app/server/urls.py

@ -24,6 +24,6 @@ urlpatterns = [
path('projects/<int:project_id>/download', DataDownload.as_view(), name='download'),
path('projects/<int:project_id>/', ProjectView.as_view(), name='annotation'),
path('projects/<int:pk>/apis/raw_data', RawDataAPI.as_view(), name='data_api'),
path('projects/<int:pk>/docs', DatasetView.as_view(), name='dataset'),
path('projects/<int:pk>/docs/', DatasetView.as_view(), name='dataset'),
path('projects/<int:pk>/docs/create', DatasetUpload.as_view(), name='dataset-upload'),
]
Loading…
Cancel
Save