Github Oauth,支持自动转换config.ini配置

This commit is contained in:
undefined committed 2020-06-21 13:37:55 +08:00
1 parent 5707f973d7
commit 8476eac3b4
17 files changed
+240 -109

No files matched your search

+1 -37
View File
@@ -3,43 +3,7 @@
<div class="section">
<div class="section__body">
<form method="post">
{{ form.form_text({
label:'ID',
name:'id',
value:domain._id,
disabled:true,
required:true
}) }}
{{ form.form_text({
label:'Name',
name:'name',
value:domain.name,
autofocus:true,
required:true
}) }}
{{ form.form_text({
label:'Gravatar Email',
help_text:'Will be used as the system icon.',
name:'gravatar',
value:domain.gravatar
}) }}
{{ form.form_textarea({
columns:12,
label:'Bulletin',
name:'bulletin',
value:domain.bulletin,
markdown:true,
required:false
}) }}
<div class="row"><div class="columns">
<input type="hidden" name="csrfToken" value="{{ handler.csrfToken }}">
<button type="submit" class="rounded primary button">
{{ _('Update') }}
</button>
<button type="button" class="rounded button" onclick="window.history.go(-1)">
{{ _('Cancel') }}
</button>
</div></div>
{% include "partials/setting.html" with context %}
</form>
</div>
</div>
+1 -1
View File
@@ -13,7 +13,7 @@
<div class="profile-header__content">
<div class="media">
<div class="media__left">
<img src="{{ gravatar(udoc.gravatar) }}" width="120" height="120" class="large user-profile-avatar">
<img src="{{ gravatar(udoc.gravatar, 120) }}" width="120" height="120" class="large user-profile-avatar">
</div>
<div class="media__body profile-header__main">
<h1>