Skip to content

Commit

Permalink
[update]
Browse files Browse the repository at this point in the history
  • Loading branch information
boke0 committed Mar 7, 2021
1 parent a38db7e commit fd582c0
Show file tree
Hide file tree
Showing 5 changed files with 288 additions and 134 deletions.
2 changes: 1 addition & 1 deletion izanami/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class App(App):
name = 'Izanami'
description = 'Git server for Mitama.'
merge = [Repo, Merge]
merge = [Repo, Merge, InnerPermission]
router = Router(
[
view("/static/<path:path>", static_files()),
Expand Down
2 changes: 1 addition & 1 deletion izanami/templates/repo/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% block content %}
<div class='container mt-4 mb-4'>
<h1>{{repo.name}}</h1>
<div>{{repo.owner.object.name}}</div>
{{ lists.userItem(repo.owner.object, small=True)}}
{% block repo %}
{% endblock %}
</div>
Expand Down
2 changes: 1 addition & 1 deletion izanami/templates/repo/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<a href='{{url('/' + repo.name)}}' class='card'>
<div class='card-body'>
<h5 class='card-title'>{{repo.name}}</h5>
<h6 class='card-subtitle'>{{repo.owner.name}}</h6>
{{ lists.userItem(repo.owner.object, small=True)}}
</div>
</a>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion izanami/templates/settings.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block content %}
<div class='container'>
<h2 class='mb-4'>設定</h2>
<h2 class='mb-4 mt-4'>設定</h2>
<form method='POST'>
<table class='table mb-4'>
<tr>
Expand Down
Loading

0 comments on commit fd582c0

Please sign in to comment.