自定义用户信息页面背景图片

This commit is contained in:
masnn committed 2020-06-11 12:49:34 +08:00
1 parent a8bddb4519
commit d14b63883e
5 files changed
+17 -16

No files matched your search

+6 -1
View File
@@ -1,10 +1,15 @@
{% import "components/home.html" as home with context %}
{% extends "layout/basic.html" %}
{% block content %}
<style>
.user-profile-bg {
background-image : "{{ udoc.backgroundImage }}";
}
</style>
<div class="row">
<div class="medium-9 columns">
<div class="section">
<div class="profile-header user-profile-bg--{{ udoc.background_img or 1 }}">
<div class="profile-header user-profile-bg">
<div class="profile-header__content">
<div class="media">
<div class="media__left">