forked from wkunzhi/CRM-Manage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
421 additions
and
292 deletions.
There are no files selected for viewing
38 changes: 0 additions & 38 deletions
38
.idea/dataSources/caaa2213-0ba1-41d3-b453-3178361bea97.xml
This file was deleted.
Oops, something went wrong.
2 changes: 0 additions & 2 deletions
2
...dataSources/caaa2213-0ba1-41d3-b453-3178361bea97/storage_v2/_src_/schema/main.uQUzAA.meta
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# -*- coding: utf-8 -*- | ||
# __author__ = "zok" [email protected] | ||
# Date: 2019-12-05 Python: 3.7 | ||
|
||
import requests | ||
import re | ||
|
||
response = requests.get('http://www.fontawesome.com.cn/faicons/') | ||
|
||
ret = re.findall(r'<i class="fa fa-(.*?)" aria-hidden="true">', response.text) | ||
# 去重 | ||
ret = list(set(ret)) | ||
item = [] | ||
for i in ret: | ||
# 空格 | ||
if i.find(' ') < 0: | ||
ret.pop(ret.index(i)) | ||
t = ['fa fa-check-square', mark_safe('<i class="fa fa-check-square" aria-hidden="true"></i>')], | ||
|
||
""" | ||
['fa fa-check-square', mark_safe('<i class="fa fa-check-square" aria-hidden="true"></i>')], | ||
""" |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,86 @@ | ||
{% extends 'layout.html' %} | ||
{% block css %} | ||
<style> | ||
ul{ | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
ul li{ | ||
float:left; | ||
padding: 10px; | ||
padding-left: 0; | ||
width: 80px; | ||
} | ||
#id_icon li i{ | ||
font-size: 18px; | ||
margin-left: 5px; | ||
color: #6d6565; | ||
} | ||
</style> | ||
<style> | ||
ul { | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
.change ul li { | ||
float: left; | ||
padding-left: 0; | ||
width: 80px; | ||
} | ||
.change ul li label div{ | ||
float: left; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
.change ul li label div i{ | ||
padding-top: 4px; | ||
} | ||
.change ul li label i{ | ||
padding-top: 10px; | ||
} | ||
#id_icon li i { | ||
font-size: 18px; | ||
margin-left: 5px; | ||
color: #6d6565; | ||
} | ||
|
||
</style> | ||
{% endblock %} | ||
{% block content %} | ||
<div class="luffy-container"> | ||
<form class="form-horizontal" method="post" novalidate> | ||
{% csrf_token %} | ||
{% for field in form %} | ||
<div class="form-group"> | ||
<label class="col-sm-2 control-label">{{ field.label }}</label> | ||
<div class="col-sm-8"> | ||
{{ field }} | ||
<span style="color: red;">{{ field.errors.0 }}</span> | ||
<div class="layui-row" style="padding: 20px"> | ||
<div class="layui-col-md12"> | ||
<div class="layui-card"> | ||
<div class="layui-card-header">修改菜单</div> | ||
<div class="layui-card-body"> | ||
<form class="layui-form" method="post"> | ||
{% csrf_token %} | ||
{% for field in form %} | ||
<div class="form-group" style="margin-bottom: 25px"> | ||
<label class="layui-form-label">{{ field.label }}</label> | ||
<div class="change layui-input-block"> | ||
{{ field }} | ||
<span style="color: red;">{{ field.errors.0 }}</span> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
<div class="layui-form-item" style="padding-top: 30px"> | ||
<div class="layui-input-block"> | ||
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
{% endfor %} | ||
<div class="form-group"> | ||
<div class="col-sm-offset-2 col-sm-8"> | ||
<input type="submit" value="保 存" class="btn btn-primary"> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
|
||
<script> | ||
layui.use('form', function () { | ||
var form = layui.form; | ||
|
||
}); | ||
</script> | ||
{#<div class="luffy-container">#} | ||
{# <form class="form-horizontal" method="post" novalidate>#} | ||
{# {% csrf_token %}#} | ||
{# {% for field in form %}#} | ||
{# <div class="form-group">#} | ||
{# <label class="col-sm-2 control-label">{{ field.label }}</label>#} | ||
{# <div class="col-sm-8 change">#} | ||
{# {{ field }}#} | ||
{# <span style="color: red;">{{ field.errors.0 }}</span>#} | ||
{# </div>#} | ||
{# </div>#} | ||
{# {% endfor %}#} | ||
{# <div class="form-group">#} | ||
{# <div class="col-sm-offset-2 col-sm-8">#} | ||
{# <input type="submit" value="保 存" class="btn btn-primary">#} | ||
{# </div>#} | ||
{# </div>#} | ||
{# </form>#} | ||
{#</div>#} | ||
{% endblock %} |
Oops, something went wrong.