├── .DS_Store
├── .gitattributes
├── .idea
├── Django_fc_hs.iml
├── misc.xml
├── modules.xml
├── vcs.xml
└── workspace.xml
├── README.md
├── huang_se
├── .DS_Store
├── .idea
│ ├── huang_se.iml
│ ├── misc.xml
│ ├── modules.xml
│ └── workspace.xml
├── __init__.py
├── huang_se
│ ├── .DS_Store
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-36.pyc
│ │ ├── settings.cpython-36.pyc
│ │ ├── urls.cpython-36.pyc
│ │ └── wsgi.cpython-36.pyc
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── huangse
│ ├── .DS_Store
│ ├── __init__.py
│ ├── __pycache__
│ │ ├── __init__.cpython-36.pyc
│ │ ├── admin.cpython-36.pyc
│ │ ├── models.cpython-36.pyc
│ │ ├── urls.cpython-36.pyc
│ │ └── views.cpython-36.pyc
│ ├── admin.py
│ ├── apps.py
│ ├── hsxsp.txt
│ ├── migrations
│ │ ├── 0001_initial.py
│ │ ├── 0002_auto_20171221_1640.py
│ │ ├── __init__.py
│ │ └── __pycache__
│ │ │ ├── 0001_initial.cpython-36.pyc
│ │ │ ├── 0002_auto_20171221_1640.cpython-36.pyc
│ │ │ └── __init__.cpython-36.pyc
│ ├── models.py
│ ├── paurl
│ │ ├── .DS_Store
│ │ ├── __init__.py
│ │ ├── __pycache__
│ │ │ ├── __init__.cpython-36.pyc
│ │ │ ├── huang_se_url.cpython-36.pyc
│ │ │ ├── huang_se_url_open.cpython-36.pyc
│ │ │ ├── huang_se_url_server.cpython-36.pyc
│ │ │ ├── huang_se_video.cpython-36.pyc
│ │ │ └── main_run.cpython-36.pyc
│ │ ├── huang_se_url.py
│ │ ├── huang_se_url_open.py
│ │ ├── huang_se_url_server.py
│ │ ├── huang_se_video.py
│ │ ├── main_run.py
│ │ └── 黄色小视频-未处理.txt
│ ├── tests.py
│ ├── urls.py
│ └── views.py
├── manage.py
├── static
│ ├── .DS_Store
│ ├── css
│ │ ├── .DS_Store
│ │ ├── bootsnav.css
│ │ ├── bootstrap-theme.css
│ │ ├── bootstrap-theme.css.map
│ │ ├── bootstrap-theme.min.css
│ │ ├── bootstrap.css
│ │ ├── bootstrap.css.map
│ │ ├── bootstrap.min.css
│ │ ├── common.css
│ │ ├── default.css
│ │ ├── detail_p.css
│ │ ├── htmleaf-demo.css
│ │ ├── jumbotron-narrow.css
│ │ ├── normalize.css
│ │ └── video-js.css
│ ├── css2
│ │ ├── .DS_Store
│ │ ├── bootstrap-theme.css
│ │ ├── bootstrap-theme.css.map
│ │ ├── bootstrap-theme.min.css
│ │ ├── bootstrap.css
│ │ ├── bootstrap.css.map
│ │ ├── bootstrap.min.css
│ │ ├── htmleaf-demo.css
│ │ └── jumbotron-narrow.css
│ ├── dist
│ │ ├── pagination.css
│ │ ├── pagination.js
│ │ ├── pagination.less
│ │ └── pagination.min.js
│ ├── fonts
│ │ ├── .DS_Store
│ │ ├── glyphicons-halflings-regular.eot
│ │ ├── glyphicons-halflings-regular.svg
│ │ ├── glyphicons-halflings-regular.ttf
│ │ ├── glyphicons-halflings-regular.woff
│ │ ├── glyphicons-halflings-regular.woff2
│ │ ├── icomoon.eot
│ │ ├── icomoon.svg
│ │ ├── icomoon.ttf
│ │ └── icomoon.woff
│ ├── js
│ │ ├── .DS_Store
│ │ ├── anchor.js
│ │ ├── bootsnav.js
│ │ ├── bootstrap.js
│ │ ├── bootstrap.min.js
│ │ ├── jquery-1.10.2.min.js
│ │ ├── jquery-1.11.0.min.js
│ │ ├── jquery-1.9.1.min.js
│ │ ├── jquery.full-search.js
│ │ ├── npm.js
│ │ ├── vedio.js
│ │ ├── video.min.js
│ │ └── videojs-ie8.min.js
│ ├── media
│ │ ├── 01.jpg
│ │ ├── 240.mp4
│ │ └── zt.png
│ └── related
│ │ ├── 1.jpg
│ │ └── 2.jpg
└── templates
│ ├── .DS_Store
│ ├── fenye.html
│ ├── header.html
│ ├── index.html
│ └── tages.html
├── huangsedb.sql
├── images
├── 1.png
├── 2.png
└── 3.png
└── 演示视频.mp4
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/.DS_Store
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.js linguist-language=python
2 | *.css linguist-language=python
3 | *.html linguist-language=python
4 | *.sql linguist-language=python
5 |
--------------------------------------------------------------------------------
/.idea/Django_fc_hs.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/.idea/workspace.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 | true
32 | DEFINITION_ORDER
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 | 1523435762490
113 |
114 |
115 | 1523435762490
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 项目文档
2 | =============
3 | 1.项目说明
4 | -------------
5 | >###非常感谢大家可以欣赏Django_fc_hs这个项目,这个项目的本身非常的简单,没有什么技术难度,主要的功能也是很简单的就是直接取出数据库的视频地址进行播放,当然也是可以进行搜索功能的。
6 |
7 |
8 | 2.所需要的环境与组件
9 | -------------
10 | >主要用到环境:Python3.6, Django1.11.7,Pymysql,Mysql数据库
11 |
12 | 3.项目目录介绍
13 | -------------
14 | >huang_se --> 项目目录
15 |
16 | >huangse --> App目录
17 |
18 | >migrations --> 数据库脚本生成目录
19 |
20 | >paurl --->爬虫所在目录
21 |
22 | >static -->静态文件目录
23 |
24 | >templates -->模板文件目录
25 |
26 | >huangsedb.sql --> sql数据
27 |
28 | 4.安装
29 | -------------
30 | >1.下载项目后进入项目目录```cd Django_fc_hs/huang_se```
31 | >
32 | >2.如果阁下没有安装上面我所说到的环境,请阁下自行安装。
33 | >
34 | >3.安装环境后请修改```Django_fc_hs/huang_se/huang_se/```目录下的```settings.py```文件里面的```DATABASES ```数据库连接信息
35 | >
36 | >4.然后请阁下新建数据库```huangseDB```编码为```UTF-8```把```Django_fc_hs```目录下的```huangsedb.sql```文件导入数据库
37 | >
38 | >4.然后进入项目根目录执行:```python manage.py makemigrations```
39 | >
40 | >5.在执行:```python manage.py migrate```
41 | >
42 |
43 |
44 |
45 | 5.运行
46 | -------------
47 | >5.然后请阁下执行```python manage.py runserver```
48 | >
49 | >6.然后访问```http://127.0.0.0:8000```
50 | >
51 |
52 | 6.项目效果图
53 | -------------
54 | 
55 | 
56 | 
57 | >项目不提供后期更新,有兴趣的小伙伴可以拿去玩玩
58 |
--------------------------------------------------------------------------------
/huang_se/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/.DS_Store
--------------------------------------------------------------------------------
/huang_se/.idea/huang_se.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/huang_se/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/huang_se/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/huang_se/.idea/workspace.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | jin_ku
18 |
19 |
20 |
21 |
22 |
23 | true
24 | DEFINITION_ORDER
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 | 1520234792219
128 |
129 |
130 | 1520234792219
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
--------------------------------------------------------------------------------
/huang_se/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/__init__.py
--------------------------------------------------------------------------------
/huang_se/huang_se/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huang_se/.DS_Store
--------------------------------------------------------------------------------
/huang_se/huang_se/__init__.py:
--------------------------------------------------------------------------------
1 | import pymysql
2 |
3 | pymysql.install_as_MySQLdb()
--------------------------------------------------------------------------------
/huang_se/huang_se/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huang_se/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huang_se/__pycache__/settings.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huang_se/__pycache__/settings.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huang_se/__pycache__/urls.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huang_se/__pycache__/urls.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huang_se/__pycache__/wsgi.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huang_se/__pycache__/wsgi.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huang_se/settings.py:
--------------------------------------------------------------------------------
1 | """
2 | Django settings for huang_se project.
3 |
4 | Generated by 'django-admin startproject' using Django 1.11.7.
5 |
6 | For more information on this file, see
7 | https://docs.djangoproject.com/en/1.11/topics/settings/
8 |
9 | For the full list of settings and their values, see
10 | https://docs.djangoproject.com/en/1.11/ref/settings/
11 | """
12 |
13 | import os
14 |
15 | # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
16 | BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
17 |
18 |
19 | # Quick-start development settings - unsuitable for production
20 | # See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/
21 |
22 | # SECURITY WARNING: keep the secret key used in production secret!
23 | SECRET_KEY = 'cq=r3*l7vt+&et-5l7zu5&6hleqxssy*$$v2!@hxda@o$nno++'
24 |
25 | # SECURITY WARNING: don't run with debug turned on in production!
26 | DEBUG = True
27 |
28 | ALLOWED_HOSTS = []
29 |
30 |
31 | # Application definition
32 |
33 | INSTALLED_APPS = [
34 | 'django.contrib.admin',
35 | 'django.contrib.auth',
36 | 'django.contrib.contenttypes',
37 | 'django.contrib.sessions',
38 | 'django.contrib.messages',
39 | 'django.contrib.staticfiles',
40 | 'huangse',
41 | ]
42 |
43 | MIDDLEWARE = [
44 | 'django.middleware.security.SecurityMiddleware',
45 | 'django.contrib.sessions.middleware.SessionMiddleware',
46 | 'django.middleware.common.CommonMiddleware',
47 | 'django.middleware.csrf.CsrfViewMiddleware',
48 | 'django.contrib.auth.middleware.AuthenticationMiddleware',
49 | 'django.contrib.messages.middleware.MessageMiddleware',
50 | 'django.middleware.clickjacking.XFrameOptionsMiddleware',
51 | ]
52 |
53 | ROOT_URLCONF = 'huang_se.urls'
54 |
55 | TEMPLATES = [
56 | {
57 | 'BACKEND': 'django.template.backends.django.DjangoTemplates',
58 | 'DIRS': [os.path.join(BASE_DIR,'templates')],
59 | 'APP_DIRS': True,
60 | 'OPTIONS': {
61 | 'context_processors': [
62 | 'django.template.context_processors.debug',
63 | 'django.template.context_processors.request',
64 | 'django.contrib.auth.context_processors.auth',
65 | 'django.contrib.messages.context_processors.messages',
66 | 'huangse.views.view_setting'
67 | ],
68 | },
69 | },
70 | ]
71 |
72 | WSGI_APPLICATION = 'huang_se.wsgi.application'
73 |
74 |
75 | # Database
76 | # https://docs.djangoproject.com/en/1.11/ref/settings/#databases
77 |
78 | #配置为mysql数据库
79 | DATABASES = {
80 | 'default': {
81 | 'ENGINE': 'django.db.backends.mysql',
82 | 'NAME': 'huangseDB',
83 | 'USER':'root',
84 | 'PASSWORD':'admin123456',
85 | 'HOST':'127.0.0.1',
86 | 'PORT':'3306'
87 | }
88 | }
89 |
90 |
91 | # Password validation
92 | # https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators
93 |
94 | AUTH_PASSWORD_VALIDATORS = [
95 | {
96 | 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
97 | },
98 | {
99 | 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
100 | },
101 | {
102 | 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
103 | },
104 | {
105 | 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
106 | },
107 | ]
108 |
109 |
110 | # Internationalization
111 | # https://docs.djangoproject.com/en/1.11/topics/i18n/
112 |
113 | LANGUAGE_CODE = 'en-us'
114 |
115 | TIME_ZONE = 'UTC'
116 |
117 | USE_I18N = True
118 |
119 | USE_L10N = True
120 |
121 | USE_TZ = True
122 |
123 |
124 | # Static files (CSS, JavaScript, Images)
125 | # https://docs.djangoproject.com/en/1.11/howto/static-files/
126 |
127 | STATIC_URL = '/static/'
128 |
129 | STATICFILES_DIRS = (os.path.join(BASE_DIR,'static'),)
130 |
131 | #网站的配置信息
132 | TITLES = "欢迎进入撸啊撸"
133 |
--------------------------------------------------------------------------------
/huang_se/huang_se/urls.py:
--------------------------------------------------------------------------------
1 | """huang_se URL Configuration
2 |
3 | The `urlpatterns` list routes URLs to views. For more information please see:
4 | https://docs.djangoproject.com/en/1.11/topics/http/urls/
5 | Examples:
6 | Function views
7 | 1. Add an import: from my_app import views
8 | 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
9 | Class-based views
10 | 1. Add an import: from other_app.views import Home
11 | 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
12 | Including another URLconf
13 | 1. Import the include() function: from django.conf.urls import url, include
14 | 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
15 | """
16 | from django.conf.urls import url,include
17 | from django.contrib import admin
18 |
19 | urlpatterns = [
20 | url(r'^admin/', admin.site.urls),
21 | url(r'^',include("huangse.urls"),name="huangse"),
22 | ]
23 |
--------------------------------------------------------------------------------
/huang_se/huang_se/wsgi.py:
--------------------------------------------------------------------------------
1 | """
2 | WSGI config for huang_se project.
3 |
4 | It exposes the WSGI callable as a module-level variable named ``application``.
5 |
6 | For more information on this file, see
7 | https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
8 | """
9 |
10 | import os
11 |
12 | from django.core.wsgi import get_wsgi_application
13 |
14 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "huang_se.settings")
15 |
16 | application = get_wsgi_application()
17 |
--------------------------------------------------------------------------------
/huang_se/huangse/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/.DS_Store
--------------------------------------------------------------------------------
/huang_se/huangse/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/__init__.py
--------------------------------------------------------------------------------
/huang_se/huangse/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/__pycache__/admin.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/__pycache__/admin.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/__pycache__/models.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/__pycache__/models.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/__pycache__/urls.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/__pycache__/urls.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/__pycache__/views.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/__pycache__/views.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/admin.py:
--------------------------------------------------------------------------------
1 | from django.contrib import admin
2 | from huangse import models
3 |
4 | class PublisherAdmin(admin.ModelAdmin):
5 | list_display = ('titles','urls')
6 |
7 | # Register your models here.
8 | admin.site.register(models.huangse,PublisherAdmin)
--------------------------------------------------------------------------------
/huang_se/huangse/apps.py:
--------------------------------------------------------------------------------
1 | from django.apps import AppConfig
2 |
3 |
4 | class HuangseConfig(AppConfig):
5 | name = 'huangse'
6 |
--------------------------------------------------------------------------------
/huang_se/huangse/hsxsp.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/hsxsp.txt
--------------------------------------------------------------------------------
/huang_se/huangse/migrations/0001_initial.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | # Generated by Django 1.11.7 on 2017-12-20 09:25
3 | from __future__ import unicode_literals
4 |
5 | from django.db import migrations, models
6 |
7 |
8 | class Migration(migrations.Migration):
9 |
10 | initial = True
11 |
12 | dependencies = [
13 | ]
14 |
15 | operations = [
16 | migrations.CreateModel(
17 | name='huangse',
18 | fields=[
19 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
20 | ('titles', models.CharField(max_length=600, verbose_name='标题名称:')),
21 | ('urls', models.URLField(max_length=1200, verbose_name='片地址:')),
22 | ],
23 | ),
24 | ]
25 |
--------------------------------------------------------------------------------
/huang_se/huangse/migrations/0002_auto_20171221_1640.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 | # Generated by Django 1.11.7 on 2017-12-21 16:40
3 | from __future__ import unicode_literals
4 |
5 | from django.db import migrations, models
6 |
7 |
8 | class Migration(migrations.Migration):
9 |
10 | dependencies = [
11 | ('huangse', '0001_initial'),
12 | ]
13 |
14 | operations = [
15 | migrations.CreateModel(
16 | name='souci',
17 | fields=[
18 | ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
19 | ('titstr', models.CharField(max_length=200, verbose_name='搜索关键词')),
20 | ],
21 | ),
22 | migrations.AlterModelOptions(
23 | name='huangse',
24 | options={'verbose_name': '视频名称', 'verbose_name_plural': '视频名称'},
25 | ),
26 | migrations.AlterField(
27 | model_name='huangse',
28 | name='titles',
29 | field=models.CharField(max_length=600, verbose_name='标题名称'),
30 | ),
31 | migrations.AlterField(
32 | model_name='huangse',
33 | name='urls',
34 | field=models.URLField(max_length=1200, verbose_name='片地址'),
35 | ),
36 | ]
37 |
--------------------------------------------------------------------------------
/huang_se/huangse/migrations/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/migrations/__init__.py
--------------------------------------------------------------------------------
/huang_se/huangse/migrations/__pycache__/0001_initial.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/migrations/__pycache__/0001_initial.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/migrations/__pycache__/0002_auto_20171221_1640.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/migrations/__pycache__/0002_auto_20171221_1640.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/migrations/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/migrations/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/models.py:
--------------------------------------------------------------------------------
1 | from django.db import models
2 |
3 | # Create your models here.
4 | #创建黄色小视频的数据模型
5 | class huangse(models.Model):
6 | titles = models.CharField(max_length=600,verbose_name="标题名称")
7 | urls = models.URLField(max_length=1200,verbose_name="片地址")
8 |
9 | class Meta:
10 | verbose_name = '视频名称'
11 | verbose_name_plural = verbose_name
12 |
13 | def __str__(self):
14 | return self.titles
15 |
16 | class souci(models.Model):
17 | titstr = models.CharField(max_length=200,verbose_name="搜索关键词")
18 |
19 | def __str__(self):
20 | return self.titstr
21 |
22 |
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/paurl/.DS_Store
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/__init__.py:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/paurl/__init__.py
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/__pycache__/__init__.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/paurl/__pycache__/__init__.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/__pycache__/huang_se_url.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/paurl/__pycache__/huang_se_url.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/__pycache__/huang_se_url_open.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/paurl/__pycache__/huang_se_url_open.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/__pycache__/huang_se_url_server.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/paurl/__pycache__/huang_se_url_server.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/__pycache__/huang_se_video.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/paurl/__pycache__/huang_se_video.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/__pycache__/main_run.cpython-36.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/huangse/paurl/__pycache__/main_run.cpython-36.pyc
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/huang_se_url.py:
--------------------------------------------------------------------------------
1 | #conding=UTF-8
2 | #By:陈冠佑
3 | #QQ:1475348764
4 | #Python3.6
5 | import requests
6 | #import huang_se_url_server
7 | import huang_se_video
8 | from bs4 import BeautifulSoup
9 | url_database = []
10 | i = 2 #从来第二页开始用来控制url的页数
11 | x = 1 #用来控制打印提示是第N条数据
12 | name = "黄色url.txt"
13 | def zhua_huangse_url(urlls):
14 | global x
15 | global i
16 | global url_database
17 | while True:
18 | huang_se_url = urlls+"_%d.html"%i
19 | huang_se_url_get = requests.get(huang_se_url)
20 | huang_se_url_jiexi = BeautifulSoup(huang_se_url_get.content,"html5lib")
21 | huang_se_url_s = huang_se_url_jiexi.select("#content > div.clear > div > div.span-755 > div.clear > div > div > div > a")
22 | for huang_se_url_ss in huang_se_url_s:
23 | huang_se_url_data = {"url":huang_se_url_ss.get("href")}
24 | wanzheng_url_data = "http://www.04pcpc.com"+huang_se_url_data["url"]
25 | url_database.append(wanzheng_url_data)
26 | print("第%d条小黄片%s抓取成功!"%(x,wanzheng_url_data))
27 | huang_se_video.pa_huangse_xinxi(wanzheng_url_data)
28 | x+=1
29 | continue
30 | print("第",i,"页面!")
31 | i+=1
32 | #huang_se_url_server.Server_url(name,url_database)
33 | print("url采集结束!即将进行数据清洗》》》》》》》》》》》》")
34 |
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/huang_se_url_open.py:
--------------------------------------------------------------------------------
1 | #coding=utf-8
2 | #By:陈冠佑
3 | #QQ:1475348764
4 | #Python3.6
5 | #读取url内的信息
6 | import huang_se_video
7 | import huang_se_url_server
8 | i = 0
9 | name = "千万小黄片数据.txt"
10 | def open_xi():
11 | global i
12 | xi_url = open("黄色url.txt","r")
13 | xi_url_du = eval(xi_url.read())
14 | xi_url.close()
15 | while i < len(xi_url_du):
16 | huang_se_video.pa_huangse_xinxi(xi_url_du[i])
17 | i+=1
18 |
19 | #洗未处理的数据在保存
20 | def open_xixi():
21 | global i
22 | shuji_s = ""
23 | xixi_url = open("黄色小视频-未处理.txt","r")
24 | xi_url_du = eval(xixi_url.read())
25 | for shuju in xi_url_du:
26 | shuju1 = str("片名:%s 片地址:%s"%(shuju["title"],shuju["url"]))
27 | huang_se_url_server.Server_xi(name,shuju1)
28 | print(shuju1)
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/huang_se_url_server.py:
--------------------------------------------------------------------------------
1 | from django import *
2 | #conding=utf-8
3 | #By:陈冠佑
4 | #QQ:1475348764
5 | #Python3.6
6 | #保存抓取的列表内的url
7 | def Server_url(name,huanse_url):
8 | huang_se_url_open = open(name,"w")
9 | huang_se_url_xie = huang_se_url_open.write(str(huanse_url))
10 | huang_se_url_open.close()
11 |
12 | #清洗未处理的数据
13 | def Server_xi(name,huanse_url):
14 | huang_se_url_open = open(name,"a")
15 | huang_se_url_xie = huang_se_url_open.write(str(huanse_url)+"\n"+"\n")
16 | huang_se_url_open.close()
17 |
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/huang_se_video.py:
--------------------------------------------------------------------------------
1 | #conding=utf-8
2 | #By:陈冠佑
3 | #QQ:1475348764
4 | #Python3.6
5 | #爬取黄色url内的小黄片数据
6 | import pandas
7 | import requests
8 | import huang_se_url_server
9 | from bs4 import BeautifulSoup
10 | name = "黄色小视频-未处理.txt"
11 | video_database = []
12 | def pa_huangse_xinxi(huangse_video_url):
13 | global video_database
14 | #huangse_video_url = "http://www.07xxoo.com/video/2017-12/29813.html"
15 | huangse_video_url_get = requests.get(huangse_video_url)
16 | huangse_video_url_jiexi = BeautifulSoup(huangse_video_url_get.content,"html5lib")
17 | huangse_video_url_jiexi_title = huangse_video_url_jiexi.select("title") #获取小黄片视频的名称
18 | huangse_video_url_jiexi_url = str(huangse_video_url_jiexi)
19 | video = huangse_video_url_jiexi_url.rfind("video=[\"")
20 | mp4 = huangse_video_url_jiexi_url.rfind(".mp4")
21 | huangse_video = str(huangse_video_url_jiexi_url[video:mp4] + ".mp4")
22 | huangse_video1 = huangse_video.rfind("h")
23 | huangse_video3 = huangse_video[huangse_video1:] #获取到黄色小视频的url
24 | for huangse_video_url_jiexi_titles , huangse_video3s in zip(huangse_video_url_jiexi_title , huangse_video3):
25 | video_data = {
26 | "title":huangse_video_url_jiexi_titles.get_text(),
27 | "url":huangse_video3
28 | }
29 | s1 = video_data["title"].rfind("-49")
30 | video_datas = video_data["title"][:s1]
31 | url_datas = video_data["url"]
32 | sudata_s = {
33 | "title":video_datas,
34 | "url":url_datas
35 | }
36 | print(sudata_s)
37 | video_database.append(sudata_s)
38 | huang_se_url_server.Server_url(name,video_database)
39 |
40 | #pa_huangse_xinxi("http://www.07xxoo.com/video/2017-12/29813.html")
41 | if __name__ == "__main__":
42 | s = pandas.DataFrame(video_database)
43 | #s.head(10)
44 | print(s)
45 |
46 |
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/main_run.py:
--------------------------------------------------------------------------------
1 | #conding=utf-8
2 | #Python3.6
3 | #By:陈冠佑
4 | #QQ:1475348764
5 | #主方法
6 | import huang_se_url
7 | import huang_se_url_open
8 | list_url = "http://www.06pcpc.com/diao/se28"#用来存储小黄片的url列表
9 | print("*"*60)
10 | print(" 请先爬取url,在爬取url内的视频地址,在洗数据 ")
11 | print("*"*60)
12 | tishi_guest = input("1:爬取url,2:爬取url里面的视频地址,3:清洗数据,请输入您要爬取的内容:")
13 | if tishi_guest == "1":
14 | huang_se_url.zhua_huangse_url(list_url)
15 | elif tishi_guest == "2":
16 | huang_se_url_open.open_xi()
17 | elif tishi_guest == "3":
18 | huang_se_url_open.open_xixi()
--------------------------------------------------------------------------------
/huang_se/huangse/paurl/黄色小视频-未处理.txt:
--------------------------------------------------------------------------------
1 | [{'title': '3-未亡人的肥臀 當著丈夫的遺像被侵犯 成宮彩葉[中文字幕]HBAD-359在线观看-人妻-34pao视频免费在线视', 'url': 'https://201712mp4.89soso.com/20171207/1/1/xml/91_b69bb4b01d6141e0d4e41c4e35df517d.mp4'}, {'title': '2-未亡人的肥臀 當著丈夫的遺像被侵犯 成宮彩葉[中文字幕]HBAD-359在线观看-人妻-34pao视频免费在线视', 'url': 'https://201712mp4.89soso.com/20171207/1/1/xml/91_ffd00e7b5e6d461287d3c599f1fa7bd5.mp4'}, {'title': '1-未亡人的肥臀 當著丈夫的遺像被侵犯 成宮彩葉[中文字幕]HBAD-359在线观看-人妻-34pao视频免费在线视', 'url': 'https://201712mp4.89soso.com/20171207/1/1/xml/91_ff1be1a16bcf45facc4d72c075eb1368.mp4'}, {'title': '4-[高清無碼] H0930 ki170730 能登 亜実花 30歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171118/1/1/xml/91_a9a15898a4ed4122940d5bbab2752744.mp4'}, {'title': '3-[高清無碼] H0930 ki170730 能登 亜実花 30歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171118/1/1/xml/91_2a5f80c5273f4b0ea5831b5ab97355e8.mp4'}, {'title': '2-[高清無碼] H0930 ki170730 能登 亜実花 30歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171118/1/1/xml/91_07823189bac649bd8da85510b42e4bf0.mp4'}, {'title': '1-[高清無碼] H0930 ki170730 能登 亜実花 30歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171118/1/1/xml/91_a0b8a1f041f4410486892156c3b59cca.mp4'}, {'title': '3-[高清無碼] H4610 ki170730 仲崎 恵子 31歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171114/1/1/xml/91_0605bdcb0fe14b39ec726e3f9d58eaf1.mp4'}, {'title': '2-[高清無碼] H4610 ki170730 仲崎 恵子 31歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171114/1/1/xml/91_2b3b4ffd0fd5443584d37f2be7c79b81.mp4'}, {'title': '1-[高清無碼] H4610 ki170730 仲崎 恵子 31歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171114/1/1/xml/91_c39d009904794f4de6470f40c6b2f9f4.mp4'}, {'title': '6-[高清無碼] H4610 ki170803 加賀谷 優菜 27歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171113/1/1/xml/91_7e304c2e6b4d4b79eafcbe4043f69e57.mp4'}, {'title': '5-[高清無碼] H4610 ki170803 加賀谷 優菜 27歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171113/1/1/xml/91_693c16a5ef90409ef60b16cb1984cb40.mp4'}, {'title': '4-[高清無碼] H4610 ki170803 加賀谷 優菜 27歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171113/1/1/xml/91_0ef265b2662e40b6c2024949a9d2daaa.mp4'}, {'title': '3-[高清無碼] H4610 ki170803 加賀谷 優菜 27歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171113/1/1/xml/91_86f9868c8c3c4e25da5187ca6583a024.mp4'}, {'title': '2-[高清無碼] H4610 ki170803 加賀谷 優菜 27歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171113/1/1/xml/91_2fc053982aa54a8eb2316961c3deb6c2.mp4'}, {'title': '1-[高清無碼] H4610 ki170803 加賀谷 優菜 27歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171113/1/1/xml/91_dd231358510a42a5f95d6c5af0cb1c0d.mp4'}, {'title': '6-[高清無碼] H4610 ki170810 宮原 亜沙子 30歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171109/1/1/xml/91_822da8ed0e5347a4df2d998d19eb9c28.mp4'}, {'title': '5-[高清無碼] H4610 ki170810 宮原 亜沙子 30歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171109/1/1/xml/91_759ee73e2f994eb2b1437a971665b52a.mp4'}, {'title': '4-[高清無碼] H4610 ki170810 宮原 亜沙子 30歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171109/1/1/xml/91_f79ee66d37414a0fb4542bf330e188ce.mp4'}, {'title': '3-[高清無碼] H4610 ki170810 宮原 亜沙子 30歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171109/1/1/xml/91_77cc5094a2624239ffba7d8394f80600.mp4'}, {'title': '2-[高清無碼] H4610 ki170810 宮原 亜沙子 30歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171109/1/1/xml/91_c65908e0afe0470eff8b6dbe54fe52ed.mp4'}, {'title': '1-[高清無碼] H4610 ki170810 宮原 亜沙子 30歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171109/1/1/xml/91_bc70a13117784036eff19d96f81b2940.mp4'}, {'title': '5-[高清無碼] C0930 ki170801 隅田 真希子 29歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171108/1/1/xml/91_e28e48ad4b2641a4b1e2b6a0bd4f5268.mp4'}, {'title': '4-[高清無碼] C0930 ki170801 隅田 真希子 29歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171108/1/1/xml/91_e0a815d1b0dd4ed0cda1ea545d9e5377.mp4'}, {'title': '3-[高清無碼] C0930 ki170801 隅田 真希子 29歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171108/1/1/xml/91_2cdc3aec26c2440de31d6f707bd25ad3.mp4'}, {'title': '2-[高清無碼] C0930 ki170801 隅田 真希子 29歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171108/1/1/xml/91_a60dd0c4e76f448ab5918a01466b636e.mp4'}, {'title': '1-[高清無碼] C0930 ki170801 隅田 真希子 29歳在线观看-人妻-34pao视频免费在线视', 'url': 'https://2017mp4.54popo.com/e/20171108/1/1/xml/91_641ed015d1d04fb3ab10ce2e551d81e2.mp4'}]
--------------------------------------------------------------------------------
/huang_se/huangse/tests.py:
--------------------------------------------------------------------------------
1 | from django.test import TestCase
2 |
3 | # Create your tests here.
4 |
--------------------------------------------------------------------------------
/huang_se/huangse/urls.py:
--------------------------------------------------------------------------------
1 | """huang_se URL Configuration
2 |
3 | The `urlpatterns` list routes URLs to views. For more information please see:
4 | https://docs.djangoproject.com/en/1.11/topics/http/urls/
5 | Examples:
6 | Function views
7 | 1. Add an import: from my_app import views
8 | 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
9 | Class-based views
10 | 1. Add an import: from other_app.views import Home
11 | 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
12 | Including another URLconf
13 | 1. Import the include() function: from django.conf.urls import url, include
14 | 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
15 | """
16 | from django.conf.urls import url
17 | from huangse.views import *
18 |
19 | urlpatterns = [
20 | url(r'^$',index,name="index"),
21 | url(r'^tages/$',tages,name="tages")
22 | ]
--------------------------------------------------------------------------------
/huang_se/huangse/views.py:
--------------------------------------------------------------------------------
1 | #conding=utf-8
2 | #Django1.11.7
3 | #Python3.6
4 | #By:陈冠佑
5 | #QQ:1475348764
6 | import os
7 | from django.shortcuts import render
8 | from django.conf import settings
9 | from django.core.paginator import Paginator ,InvalidPage,EmptyPage,PageNotAnInteger #导入paginator实现分页功能,并且引入他的3个异常类型
10 | from huangse.models import *
11 | # Create your views here.
12 |
13 | #获取全局配置
14 | def view_setting(request):
15 | #huangse_title = huangse.objects.all().distinct().order_by('-id')#[:10]
16 | counts = huangse.objects.all().distinct().order_by('-id').count() # [:10]
17 | sostr = souci.objects.order_by().last()
18 | hstitle = huangse.objects.filter(titles__contains=sostr).distinct() # 获取标题
19 | shuliang = hstitle.count()
20 | #以下分页功能
21 | paginator = Paginator(hstitle,10)
22 | try:
23 | page = int(request.GET.get('p',1))
24 | hstitle = paginator.page(page)
25 | except (InvalidPage,EmptyPage,PageNotAnInteger):
26 | hstitle = paginator.page(1)
27 | # 以上分页功能
28 | TITLES = settings.TITLES
29 | return render(locals())
30 |
31 | #视频数据同步数据库需要单独调用运行
32 | # def jin_ku():
33 | # #hs_list = []
34 | # print(os.getcwd())
35 | # open_file = open('./huangse/paurl/黄色小视频-未处理.txt', 'r')
36 | # du_file = eval(open_file.read())
37 | # open_file.close()
38 | # print(du_file[0])
39 | # for url in du_file:
40 | # huangse.objects.create(
41 | # titles = url['title'],
42 | # urls = url['url']
43 | # )
44 |
45 | #定义一个视频主页
46 | def index(request):
47 | #jin_ku()#把数据放到数据库,我在这里做了放到数据库的操作,因为爬虫还是我之前写的,所有就直接来用了,需要有数据入库的时候,把这个注释去掉就好啦,当然你也可以在爬虫里面直接把数据存放在数据库
48 | if request.method == "POST":
49 | title = request.POST['title']
50 | souci.objects.create(titstr=title)
51 | hstitle = huangse.objects.filter(titles__contains=title).distinct()#获取标题
52 | paginator = Paginator(hstitle, 10)
53 | try:
54 | page = int(request.GET.get('p', 1))
55 | hstitle = paginator.page(page)
56 | except (InvalidPage, EmptyPage, PageNotAnInteger):
57 | hstitle = paginator.page(1)
58 | return render(request,'index.html',locals())
59 |
60 | #播放页面
61 | def tages(request):
62 | try:
63 | # 获取小黄片idd
64 | id = request.GET.get('id', None)
65 | url = request.GET.get('id',None)
66 | # 获取小黄片信息
67 | tages = huangse.objects.get(pk=id)
68 | tagurl = huangse.objects.all().values("urls").get(pk=id)
69 | #print(tagurl)
70 | except huangse.DoesNotExist:
71 | return render(request, 'tages.html', {'reason': '没有找到对应的车'})
72 | return render(request,'tages.html',locals())
73 |
--------------------------------------------------------------------------------
/huang_se/manage.py:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env python
2 | import os
3 | import sys
4 |
5 | if __name__ == "__main__":
6 | os.environ.setdefault("DJANGO_SETTINGS_MODULE", "huang_se.settings")
7 | try:
8 | from django.core.management import execute_from_command_line
9 | except ImportError:
10 | # The above import may fail for some other reason. Ensure that the
11 | # issue is really that Django is missing to avoid masking other
12 | # exceptions on Python 2.
13 | try:
14 | import django
15 | except ImportError:
16 | raise ImportError(
17 | "Couldn't import Django. Are you sure it's installed and "
18 | "available on your PYTHONPATH environment variable? Did you "
19 | "forget to activate a virtual environment?"
20 | )
21 | raise
22 | execute_from_command_line(sys.argv)
23 |
--------------------------------------------------------------------------------
/huang_se/static/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/.DS_Store
--------------------------------------------------------------------------------
/huang_se/static/css/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/css/.DS_Store
--------------------------------------------------------------------------------
/huang_se/static/css/bootstrap-theme.min.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap v3.3.5 (http://getbootstrap.com)
3 | * Copyright 2011-2015 Twitter, Inc.
4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5 | */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger.disabled,.btn-danger[disabled],.btn-default.disabled,.btn-default[disabled],.btn-info.disabled,.btn-info[disabled],.btn-primary.disabled,.btn-primary[disabled],.btn-success.disabled,.btn-success[disabled],.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-danger,fieldset[disabled] .btn-default,fieldset[disabled] .btn-info,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-success,fieldset[disabled] .btn-warning{-webkit-box-shadow:none;box-shadow:none}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}
--------------------------------------------------------------------------------
/huang_se/static/css/common.css:
--------------------------------------------------------------------------------
1 | *{margin:0;padding:0;list-style:none;font-style:normal;font-family:"微软雅黑";text-decoration:none;-webkit-touch-callout: none;
2 | -webkit-user-select: none; /* Chrome/Safari/Opera */
3 | -khtml-user-select: none; /* Konqueror */
4 | -moz-user-select: none; /* Firefox */
5 | -ms-user-select: none; /* Internet Explorer/Edge */
6 | user-select: none; /* Non-prefixed version, currently
7 | not supported by any browser */}
8 | /*
9 | common
10 | */
11 | img{display:block;outline:none;border:0;box-shadow:none;}
12 | .hidden{overflow:hidden;}
13 | .center{margin:0 auto;}
14 | .left{float:left;}
15 | .right{float:right;}
16 | .container{width:1260px;margin:0 auto;display:block;height:auto;overflow:hidden;}
17 | .relative{position:relative;}
18 | .absolute{position:absolute;}
19 | .width100{width:100%;}
20 | /*
21 | header
22 | */
23 | .header{
24 | width:100%;
25 | height:auto;
26 | background:#000;
27 | }
28 | .header_in{
29 | height:28px;
30 | line-height:28px;
31 | }
32 | .weather{
33 | height:28px;
34 | color:#fff;
35 | font-size:14px;
36 | }
37 | .login{
38 | font-size:14px;
39 | color:#fff;
40 | }
41 | .login i{
42 | font-size:15px;
43 | margin-right:4px;
44 | }
45 | /*
46 | logo&ad
47 | */
48 | #logo{
49 | display:block;
50 | }
51 | #logo img{
52 | height:66px;
53 | margin-top:11px;
54 | }
55 | #ad{
56 | width:833px;
57 | height:90px;
58 | text-align:center;
59 | line-height:90px;
60 | font-size:14px;
61 | color:#666;
62 | }
63 | #ad img{
64 | width:100%;
65 | height:90px;
66 | outline:none;
67 | border:0;
68 | box-shadow:none;
69 | }
70 | /*
71 | nav
72 | */
73 | .nav{
74 | width:100%;
75 | height:auto;
76 | box-shadow:0 6px 6px rgba(0,0,0,0.1)
77 | }
78 | .nav_in a{
79 | display:block;
80 | width:64px;
81 | height:60px;
82 | line-height:60px;
83 | float:left;
84 | font-size:14px;
85 | color:#606060;
86 | margin-top:16px;
87 | }
88 | .nav_in a:hover{
89 | font-weight:bold;
90 | color:#000;
91 | }
92 | .nav_in a.on{
93 | font-weight:bold;
94 | color:#000;
95 | }
96 | .to_left{
97 | display: block;
98 | width: 26px;
99 | height: 26px;
100 | float: left;
101 | cursor: pointer;
102 | margin-left: 10px;
103 | background: url(../images/app/btn.jpg) no-repeat;
104 | }
105 | .to_left:hover{
106 | background:url(../images/app/btn2.jpg) no-repeat;
107 | }
108 | .to_right{
109 | display: block;
110 | width: 26px;
111 | height: 26px;
112 | float: left;
113 | cursor: pointer;
114 | margin-left: 10px;
115 | background: url(../images/app/btn.jpg) no-repeat;
116 | }
117 | .to_right:hover{
118 | background:url(../images/app/btn2.jpg) no-repeat;
119 | }
120 |
121 | /*footer*/
122 | .footer{ background:#1d1e20; padding-top:1px; padding-bottom:30px;}
123 | .shang{ overflow:hidden; margin-top:50px; border-bottom:2px solid #262728;}
124 | .tuijian{ float:left; width:346px; margin-right:80px; margin-bottom:50px;}
125 | .tuijian p,.zuishy p{ font-size:16px; color:#fff; margin-bottom:40px; font-weight:600;}
126 | .tuijian li{ overflow:hidden; margin-top:20px;}
127 | .tuijian li img{ width:100px; height:72px; float:left; margin-right:20px;}
128 | .foo_con{ float:left; width:224px;}
129 | .foo_con span{ font-size:11px; color:#fbfbfb; display:block; height:56px; overflow:hidden;}
130 | .foo_con em{ display:block; font-size:12px; color:#8d8d8d;}
131 | .zuishy{ float:left; width:408px;}
132 | .zuishy li a{ font-size:11px; color:#fbfbfb; line-height:22px;}
133 | .zuishy li a span{ float:right;}
134 | .xia_foo{ margin-top:50px; overflow:hidden;}
135 | .logo_b{ width:220px; height:56px; float:left; margin:40px 108px 0 0;}
136 | .about{ float:left; width:414px; margin-right:108px;}
137 | .about p,.guanzhu p{ font-size:14px; color:#fff; margin-bottom:30px; font-weight:600;}
138 | .about span{ font-size:12px; color:#d9d9da; display:block; line-height:20px;}
139 | .guanzhu{ float:left; width:410px;}
140 | .cha_foo{ margin-bottom:34px;}
141 | .cha_foo a{display:inline-block; zoom:1; *display:inline; width:40px; height:40px; margin-right:20px;}
142 | .local{ display:block; font-size:12px; color:#5b5b5d; line-height:20px; margin-top:10px;}
143 | .local i{ float:left; display:block; width:20px; height:20px; margin-right:10px;}
144 |
145 | .di_foo{ background:#0d0d0d; height:40px;}
146 | .di_foo p{ width:1260px; margin:0 auto; line-height:40px; font-size:14px; color:#c8c8c8;}
147 | .di_foo p span{ display:block; float:right;}
148 | .di_foo p span a{ color:#c8c8c8; margin-left:40px;}
149 |
150 |
151 |
152 |
153 |
154 |
155 |
--------------------------------------------------------------------------------
/huang_se/static/css/default.css:
--------------------------------------------------------------------------------
1 | @import url(https://fonts.googleapis.com/css?family=Raleway:200,500,700,800);
2 | @font-face {
3 | font-family: 'icomoon';
4 | src:url('../fonts/icomoon.eot?rretjt');
5 | src:url('../fonts/icomoon.eot?#iefixrretjt') format('embedded-opentype'),
6 | url('../fonts/icomoon.woff?rretjt') format('woff'),
7 | url('../fonts/icomoon.ttf?rretjt') format('truetype'),
8 | url('../fonts/icomoon.svg?rretjt#icomoon') format('svg');
9 | font-weight: normal;
10 | font-style: normal;
11 | }
12 |
13 | [class^="icon-"], [class*=" icon-"] {
14 | font-family: 'icomoon';
15 | speak: none;
16 | font-style: normal;
17 | font-weight: normal;
18 | font-variant: normal;
19 | text-transform: none;
20 | line-height: 1;
21 |
22 | /* Better Font Rendering =========== */
23 | -webkit-font-smoothing: antialiased;
24 | -moz-osx-font-smoothing: grayscale;
25 | }
26 |
27 | body, html { font-size: 100%; padding: 0; margin: 0;}
28 |
29 | /* Reset */
30 | *,
31 | *:after,
32 | *:before {
33 | -webkit-box-sizing: border-box;
34 | -moz-box-sizing: border-box;
35 | box-sizing: border-box;
36 | }
37 |
38 | /* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
39 | .clearfix:before,
40 | .clearfix:after {
41 | content: " ";
42 | display: table;
43 | }
44 |
45 | .clearfix:after {
46 | clear: both;
47 | }
48 |
49 | body{
50 | background: #f2f2f2;
51 | color: #D5D6E2;
52 | font-weight: 500;
53 | font-size: 1.05em;
54 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
55 | }
56 | a{color: #2fa0ec;text-decoration: none;outline: none;}
57 | a:hover,a:focus{color:#74777b;}
58 |
59 | .htmleaf-container{
60 | margin: 0 auto;
61 | overflow: hidden;
62 | }
63 |
64 | .bgcolor-1 { background: #f0efee; }
65 | .bgcolor-2 { background: #f9f9f9; }
66 | .bgcolor-3 { background: #e8e8e8; }/*light grey*/
67 | .bgcolor-4 { background: #2f3238; color: #fff; }/*Dark grey*/
68 | .bgcolor-5 { background: #df6659; color: #521e18; }/*pink1*/
69 | .bgcolor-6 { background: #2fa8ec; }/*sky blue*/
70 | .bgcolor-7 { background: #d0d6d6; }/*White tea*/
71 | .bgcolor-8 { background: #3d4444; color: #fff; }/*Dark grey2*/
72 | .bgcolor-9 { background: #ef3f52; color: #fff;}/*pink2*/
73 | .bgcolor-10{ background: #64448f; color: #fff;}/*Violet*/
74 | .bgcolor-11{ background: #3755ad; color: #fff;}/*dark blue*/
75 | .bgcolor-12{ background: #3498DB; color: #fff;}/*light blue*/
76 | .bgcolor-20{ background: #494A5F;color: #D5D6E2;}
77 | /* Header */
78 | .htmleaf-header{
79 | padding: 1em 190px 1em;
80 | letter-spacing: -1px;
81 | text-align: center;
82 | background: #66677c;
83 | }
84 | .htmleaf-header h1 {
85 | color: #D5D6E2;
86 | font-weight: 600;
87 | font-size: 2em;
88 | line-height: 1;
89 | margin-bottom: 0;
90 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
91 | }
92 | .htmleaf-header h1 span {
93 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
94 | display: block;
95 | font-size: 60%;
96 | font-weight: 400;
97 | padding: 0.8em 0 0.5em 0;
98 | color: #c3c8cd;
99 | }
100 | /*nav*/
101 | .htmleaf-demo a{color: #1d7db1;text-decoration: none;}
102 | .htmleaf-demo{width: 100%;padding-bottom: 1.2em;}
103 | .htmleaf-demo a{display: inline-block;margin: 0.5em;padding: 0.6em 1em;border: 3px solid #1d7db1;font-weight: 700;}
104 | .htmleaf-demo a:hover{opacity: 0.6;}
105 | .htmleaf-demo a.current{background:#1d7db1;color: #fff; }
106 | /* Top Navigation Style */
107 | .htmleaf-links {
108 | position: relative;
109 | display: inline-block;
110 | white-space: nowrap;
111 | font-size: 1.5em;
112 | text-align: center;
113 | }
114 |
115 | .htmleaf-links::after {
116 | position: absolute;
117 | top: 0;
118 | left: 50%;
119 | margin-left: -1px;
120 | width: 2px;
121 | height: 100%;
122 | background: #dbdbdb;
123 | content: '';
124 | -webkit-transform: rotate3d(0,0,1,22.5deg);
125 | transform: rotate3d(0,0,1,22.5deg);
126 | }
127 |
128 | .htmleaf-icon {
129 | display: inline-block;
130 | margin: 0.5em;
131 | padding: 0em 0;
132 | width: 1.5em;
133 | text-decoration: none;
134 | }
135 |
136 | .htmleaf-icon span {
137 | display: none;
138 | }
139 |
140 | .htmleaf-icon:before {
141 | margin: 0 5px;
142 | text-transform: none;
143 | font-weight: normal;
144 | font-style: normal;
145 | font-variant: normal;
146 | font-family: 'icomoon';
147 | line-height: 1;
148 | speak: none;
149 | -webkit-font-smoothing: antialiased;
150 | }
151 | /* footer */
152 | .htmleaf-footer{width: 100%;padding-top: 10px;}
153 | .htmleaf-small{font-size: 0.8em;}
154 | .center{text-align: center;}
155 | /*.info {
156 | display: block;
157 | padding: 1.5em 2em;
158 | border-radius: 10px;
159 | font-weight: normal;
160 | font-size: 1.25em;
161 | margin: 0 auto;
162 | letter-spacing: 0px;
163 | text-align: left;
164 | max-width: 700px;
165 | background: rgba(0,0,0,0.2);
166 | margin: 0.5em;
167 | -webkit-flex: 1 1 auto;
168 | flex: none;
169 | }
170 | .info--desktop {
171 | color: #f48fb1;
172 | }*/
173 | /****/
174 | .related {
175 | color: #fff;
176 | background: #494A5F;
177 | text-align: center;
178 | font-size: 1.25em;
179 | padding: 0.5em 0;
180 | overflow: hidden;
181 | }
182 |
183 | .related > a {
184 | vertical-align: top;
185 | width: calc(100% - 20px);
186 | max-width: 340px;
187 | display: inline-block;
188 | text-align: center;
189 | margin: 20px 10px;
190 | padding: 25px;
191 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
192 | }
193 | .related a {
194 | display: inline-block;
195 | text-align: left;
196 | margin: 20px auto;
197 | padding: 10px 20px;
198 | opacity: 0.8;
199 | -webkit-transition: opacity 0.3s;
200 | transition: opacity 0.3s;
201 | -webkit-backface-visibility: hidden;
202 | }
203 |
204 | .related a:hover,
205 | .related a:active {
206 | opacity: 1;
207 | }
208 |
209 | .related a img {
210 | max-width: 100%;
211 | opacity: 0.8;
212 | border-radius: 4px;
213 | }
214 | .related a:hover img,
215 | .related a:active img {
216 | opacity: 1;
217 | }
218 | .related h3{font-family: "Microsoft YaHei", sans-serif;}
219 | .related a h3 {
220 | font-weight: 300;
221 | margin-top: 0.15em;
222 | color: #fff;
223 | }
224 | /* icomoon */
225 | .icon-htmleaf-home-outline:before {
226 | content: "\e5000";
227 | }
228 |
229 | .icon-htmleaf-arrow-forward-outline:before {
230 | content: "\e5001";
231 | }
232 |
233 | @media screen and (max-width: 50em) {
234 | .htmleaf-header {
235 | padding: 3em 10% 4em;
236 | }
237 | .htmleaf-header h1 {
238 | font-size:2em;
239 | }
240 | }
241 |
242 |
243 | @media screen and (max-width: 40em) {
244 | .htmleaf-header h1 {
245 | font-size: 1.5em;
246 | }
247 | }
248 |
249 | @media screen and (max-width: 30em) {
250 | .htmleaf-header h1 {
251 | font-size:1.2em;
252 | }
253 | }
--------------------------------------------------------------------------------
/huang_se/static/css/htmleaf-demo.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'icomoon';
3 | src:url('../fonts/icomoon.eot?rretjt');
4 | src:url('../fonts/icomoon.eot?#iefixrretjt') format('embedded-opentype'),
5 | url('../fonts/icomoon.woff?rretjt') format('woff'),
6 | url('../fonts/icomoon.ttf?rretjt') format('truetype'),
7 | url('../fonts/icomoon.svg?rretjt#icomoon') format('svg');
8 | font-weight: normal;
9 | font-style: normal;
10 | }
11 |
12 | [class^="icon-"], [class*=" icon-"] {
13 | font-family: 'icomoon';
14 | speak: none;
15 | font-style: normal;
16 | font-weight: normal;
17 | font-variant: normal;
18 | text-transform: none;
19 | line-height: 1;
20 |
21 | /* Better Font Rendering =========== */
22 | -webkit-font-smoothing: antialiased;
23 | -moz-osx-font-smoothing: grayscale;
24 | }
25 |
26 | body, html { font-size: 100%; padding: 0; margin: 0;}
27 |
28 | /* Reset */
29 | *,
30 | *:after,
31 | *:before {
32 | -webkit-box-sizing: border-box;
33 | -moz-box-sizing: border-box;
34 | box-sizing: border-box;
35 | }
36 |
37 | /* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
38 | .clearfix:before,
39 | .clearfix:after {
40 | content: " ";
41 | display: table;
42 | }
43 |
44 | .clearfix:after {
45 | clear: both;
46 | }
47 |
48 | body{
49 | background: #494A5F;
50 | color: #D5D6E2;
51 | font-weight: 500;
52 | font-size: 1.05em;
53 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
54 | }
55 | a{color: #2fa0ec;text-decoration: none;outline: none;}
56 | a:hover,a:focus{color:#74777b;}
57 |
58 | .htmleaf-container{
59 | margin: 0 auto;
60 | }
61 | .jumbotron label,
62 | .jumbotron p{color: #666;}
63 | .bgcolor-1 { background: #f0efee; }
64 | .bgcolor-2 { background: #f9f9f9; }
65 | .bgcolor-3 { background: #e8e8e8; }/*light grey*/
66 | .bgcolor-4 { background: #2f3238; color: #fff; }/*Dark grey*/
67 | .bgcolor-5 { background: #df6659; color: #521e18; }/*pink1*/
68 | .bgcolor-6 { background: #2fa8ec; }/*sky blue*/
69 | .bgcolor-7 { background: #d0d6d6; }/*White tea*/
70 | .bgcolor-8 { background: #3d4444; color: #fff; }/*Dark grey2*/
71 | .bgcolor-9 { background: #ef3f52; color: #fff;}/*pink2*/
72 | .bgcolor-10{ background: #64448f; color: #fff;}/*Violet*/
73 | .bgcolor-11{ background: #3755ad; color: #fff;}/*dark blue*/
74 | .bgcolor-12{ background: #3498DB; color: #fff;}/*light blue*/
75 | .bgcolor-20{ background: #494A5F;color: #D5D6E2;}
76 | /* Header */
77 | .htmleaf-header{
78 | padding: 1em 190px 1em;
79 | letter-spacing: -1px;
80 | text-align: center;
81 | }
82 | .htmleaf-header h1 {
83 | color: #D5D6E2;
84 | font-weight: 600;
85 | font-size: 2em;
86 | line-height: 1;
87 | margin-bottom: 0;
88 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
89 | }
90 | .htmleaf-header h1 span {
91 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
92 | display: block;
93 | font-size: 60%;
94 | font-weight: 400;
95 | padding: 0.8em 0 0.5em 0;
96 | color: #c3c8cd;
97 | }
98 | /*nav*/
99 | .htmleaf-demo a{color: #fff;text-decoration: none;}
100 | .htmleaf-demo{width: 100%;padding-bottom: 1.2em;}
101 | .htmleaf-demo a{display: inline-block;margin: 0.5em;padding: 0.6em 1em;border: 3px solid #fff;font-weight: 700;}
102 | .htmleaf-demo a:hover{opacity: 0.6;}
103 | .htmleaf-demo a.current{background:#1d7db1;color: #fff; }
104 | /* Top Navigation Style */
105 | .htmleaf-links {
106 | position: relative;
107 | display: inline-block;
108 | white-space: nowrap;
109 | font-size: 1.5em;
110 | text-align: center;
111 | }
112 |
113 | .htmleaf-links::after {
114 | position: absolute;
115 | top: 0;
116 | left: 50%;
117 | margin-left: -1px;
118 | width: 2px;
119 | height: 100%;
120 | background: #dbdbdb;
121 | content: '';
122 | -webkit-transform: rotate3d(0,0,1,22.5deg);
123 | transform: rotate3d(0,0,1,22.5deg);
124 | }
125 |
126 | .htmleaf-icon {
127 | display: inline-block;
128 | margin: 0.5em;
129 | padding: 0em 0;
130 | width: 1.5em;
131 | text-decoration: none;
132 | }
133 |
134 | .htmleaf-icon span {
135 | display: none;
136 | }
137 |
138 | .htmleaf-icon:before {
139 | margin: 0 5px;
140 | text-transform: none;
141 | font-weight: normal;
142 | font-style: normal;
143 | font-variant: normal;
144 | font-family: 'icomoon';
145 | line-height: 1;
146 | speak: none;
147 | -webkit-font-smoothing: antialiased;
148 | }
149 | /* footer */
150 | .htmleaf-footer{width: 100%;padding-top: 10px;}
151 | .htmleaf-small{font-size: 0.8em;}
152 | .center{text-align: center;}
153 | /****/
154 | .related {
155 | color: #fff;
156 | background: #494A5F;
157 | text-align: center;
158 | font-size: 1.25em;
159 | padding: 0.5em 0;
160 | overflow: hidden;
161 | }
162 |
163 | .related > a {
164 | vertical-align: top;
165 | width: calc(100% - 20px);
166 | max-width: 340px;
167 | display: inline-block;
168 | text-align: center;
169 | margin: 20px 10px;
170 | padding: 25px;
171 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
172 | }
173 | .related a {
174 | display: inline-block;
175 | text-align: left;
176 | margin: 20px auto;
177 | padding: 10px 20px;
178 | opacity: 0.8;
179 | -webkit-transition: opacity 0.3s;
180 | transition: opacity 0.3s;
181 | -webkit-backface-visibility: hidden;
182 | }
183 |
184 | .related a:hover,
185 | .related a:active {
186 | opacity: 1;
187 | }
188 |
189 | .related a img {
190 | max-width: 100%;
191 | opacity: 0.8;
192 | border-radius: 4px;
193 | }
194 | .related a:hover img,
195 | .related a:active img {
196 | opacity: 1;
197 | }
198 | .related h3{font-family: "Microsoft YaHei", sans-serif;}
199 | .related a h3 {
200 | font-weight: 300;
201 | margin-top: 0.15em;
202 | color: #fff;
203 | }
204 | /* icomoon */
205 | .icon-htmleaf-home-outline:before {
206 | content: "\e5000";
207 | }
208 |
209 | .icon-htmleaf-arrow-forward-outline:before {
210 | content: "\e5001";
211 | }
212 |
213 | @media screen and (max-width: 50em) {
214 | .htmleaf-header {
215 | padding: 3em 10% 4em;
216 | }
217 | .htmleaf-header h1 {
218 | font-size:2em;
219 | }
220 | }
221 |
222 |
223 | @media screen and (max-width: 40em) {
224 | .htmleaf-header h1 {
225 | font-size: 1.5em;
226 | }
227 | }
228 |
229 | @media screen and (max-width: 30em) {
230 | .htmleaf-header h1 {
231 | font-size:1.2em;
232 | }
233 | }
--------------------------------------------------------------------------------
/huang_se/static/css/jumbotron-narrow.css:
--------------------------------------------------------------------------------
1 | /* Space out content a bit */
2 |
3 | body {
4 | padding-top: 20px;
5 | padding-bottom: 20px;
6 | }
7 |
8 | /* Everything but the jumbotron gets side spacing for mobile first views */
9 |
10 | .header, .marketing, .footer {
11 | padding-right: 15px;
12 | padding-left: 15px;
13 | }
14 |
15 | /* Custom page header */
16 |
17 | .header {
18 | padding-bottom: 20px;
19 | border-bottom: 1px solid #e5e5e5;
20 | }
21 |
22 | /* Make the masthead heading the same height as the navigation */
23 |
24 | .header h3 {
25 | margin-top: 0;
26 | margin-bottom: 0;
27 | line-height: 40px;
28 | }
29 |
30 | /* Custom page footer */
31 |
32 | .footer {
33 | padding-top: 19px;
34 | color: #777;
35 | border-top: 1px solid #e5e5e5;
36 | }
37 |
38 | /* Customize container */
39 |
40 | @media (min-width: 768px) {
41 | .container {
42 | max-width: 730px;
43 | }
44 | }
45 | .container-narrow > hr {
46 | margin: 30px 0;
47 | }
48 |
49 | /* Main marketing message and sign up button */
50 |
51 | .jumbotron {
52 | text-align: center;
53 | border-bottom: 1px solid #e5e5e5;
54 | }
55 | .jumbotron .btn {
56 | padding: 14px 24px;
57 | font-size: 21px;
58 | }
59 |
60 | /* Supporting marketing content */
61 |
62 | .marketing {
63 | margin: 40px 0;
64 | }
65 | .marketing p + h4 {
66 | margin-top: 28px;
67 | }
68 |
69 | /* Responsive: Portrait tablets and up */
70 |
71 | @media screen and (min-width: 768px) {
72 | /* Remove the padding we set earlier */
73 | .header, .marketing, .footer {
74 | padding-right: 0;
75 | padding-left: 0;
76 | }
77 | /* Space out the masthead */
78 | .header {
79 | margin-bottom: 30px;
80 | }
81 | /* Remove the bottom border on the jumbotron for visual effect */
82 | .jumbotron {
83 | border-bottom: 0;
84 | }
85 | }
86 |
87 | .form-group-search{
88 | position: relative;
89 | }
90 |
91 | .search-result {
92 | width: 360px;
93 | border: 1px solid #A4A4A4;
94 | position: absolute;
95 | top: 117px;
96 | left: 0px;
97 | background: #fff;
98 | z-index: 1;
99 | }
100 | .search-result h4 {
101 | color: #fff;
102 | background: #5cb85c;
103 | padding: 4px 10px;
104 | margin: 0;
105 | font-size: 14px;
106 | }
107 | .search-result ul{
108 | padding: 0px;
109 | list-style: none;
110 | }
111 | .search-result li {
112 | border-bottom: 1px solid #A4A4A4;
113 | }
114 | .search-result li:last-of-type {
115 | border: 0 none;
116 | }
117 | .search-result li a {
118 | display: block;
119 | padding: 6px 10px;
120 | font-size: 12px;
121 | color: #979797;
122 | }
123 | mark{
124 | color: #337ab7;
125 | font-size: 16px;
126 | font-weight: bold;
127 | }
128 | .search-result li a:hover {
129 | background: #ccc;
130 | color: #fff;
131 | }
132 | .search-result ul {
133 | margin: 0;
134 | }
135 |
--------------------------------------------------------------------------------
/huang_se/static/css/normalize.css:
--------------------------------------------------------------------------------
1 | article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}
--------------------------------------------------------------------------------
/huang_se/static/css2/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/css2/.DS_Store
--------------------------------------------------------------------------------
/huang_se/static/css2/bootstrap-theme.min.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * Bootstrap v3.3.5 (http://getbootstrap.com)
3 | * Copyright 2011-2015 Twitter, Inc.
4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5 | */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger.disabled,.btn-danger[disabled],.btn-default.disabled,.btn-default[disabled],.btn-info.disabled,.btn-info[disabled],.btn-primary.disabled,.btn-primary[disabled],.btn-success.disabled,.btn-success[disabled],.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-danger,fieldset[disabled] .btn-default,fieldset[disabled] .btn-info,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-success,fieldset[disabled] .btn-warning{-webkit-box-shadow:none;box-shadow:none}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)}
--------------------------------------------------------------------------------
/huang_se/static/css2/htmleaf-demo.css:
--------------------------------------------------------------------------------
1 | @font-face {
2 | font-family: 'icomoon';
3 | src:url('../fonts/icomoon.eot?rretjt');
4 | src:url('../fonts/icomoon.eot?#iefixrretjt') format('embedded-opentype'),
5 | url('../fonts/icomoon.woff?rretjt') format('woff'),
6 | url('../fonts/icomoon.ttf?rretjt') format('truetype'),
7 | url('../fonts/icomoon.svg?rretjt#icomoon') format('svg');
8 | font-weight: normal;
9 | font-style: normal;
10 | }
11 |
12 | [class^="icon-"], [class*=" icon-"] {
13 | font-family: 'icomoon';
14 | speak: none;
15 | font-style: normal;
16 | font-weight: normal;
17 | font-variant: normal;
18 | text-transform: none;
19 | line-height: 1;
20 |
21 | /* Better Font Rendering =========== */
22 | -webkit-font-smoothing: antialiased;
23 | -moz-osx-font-smoothing: grayscale;
24 | }
25 |
26 | body, html { font-size: 100%; padding: 0; margin: 0;}
27 |
28 | /* Reset */
29 | *,
30 | *:after,
31 | *:before {
32 | -webkit-box-sizing: border-box;
33 | -moz-box-sizing: border-box;
34 | box-sizing: border-box;
35 | }
36 |
37 | /* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
38 | .clearfix:before,
39 | .clearfix:after {
40 | content: " ";
41 | display: table;
42 | }
43 |
44 | .clearfix:after {
45 | clear: both;
46 | }
47 |
48 | body{
49 | background: #494A5F;
50 | color: #D5D6E2;
51 | font-weight: 500;
52 | font-size: 1.05em;
53 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
54 | }
55 | a{color: #2fa0ec;text-decoration: none;outline: none;}
56 | a:hover,a:focus{color:#74777b;}
57 |
58 | .htmleaf-container{
59 | margin: 0 auto;
60 | }
61 | .jumbotron label,
62 | .jumbotron p{color: #666;}
63 | .bgcolor-1 { background: #f0efee; }
64 | .bgcolor-2 { background: #f9f9f9; }
65 | .bgcolor-3 { background: #e8e8e8; }/*light grey*/
66 | .bgcolor-4 { background: #2f3238; color: #fff; }/*Dark grey*/
67 | .bgcolor-5 { background: #df6659; color: #521e18; }/*pink1*/
68 | .bgcolor-6 { background: #2fa8ec; }/*sky blue*/
69 | .bgcolor-7 { background: #d0d6d6; }/*White tea*/
70 | .bgcolor-8 { background: #3d4444; color: #fff; }/*Dark grey2*/
71 | .bgcolor-9 { background: #ef3f52; color: #fff;}/*pink2*/
72 | .bgcolor-10{ background: #64448f; color: #fff;}/*Violet*/
73 | .bgcolor-11{ background: #3755ad; color: #fff;}/*dark blue*/
74 | .bgcolor-12{ background: #3498DB; color: #fff;}/*light blue*/
75 | .bgcolor-20{ background: #494A5F;color: #D5D6E2;}
76 | /* Header */
77 | .htmleaf-header{
78 | padding: 1em 190px 1em;
79 | letter-spacing: -1px;
80 | text-align: center;
81 | }
82 | .htmleaf-header h1 {
83 | color: #D5D6E2;
84 | font-weight: 600;
85 | font-size: 2em;
86 | line-height: 1;
87 | margin-bottom: 0;
88 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
89 | }
90 | .htmleaf-header h1 span {
91 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
92 | display: block;
93 | font-size: 60%;
94 | font-weight: 400;
95 | padding: 0.8em 0 0.5em 0;
96 | color: #c3c8cd;
97 | }
98 | /*nav*/
99 | .htmleaf-demo a{color: #fff;text-decoration: none;}
100 | .htmleaf-demo{width: 100%;padding-bottom: 1.2em;}
101 | .htmleaf-demo a{display: inline-block;margin: 0.5em;padding: 0.6em 1em;border: 3px solid #fff;font-weight: 700;}
102 | .htmleaf-demo a:hover{opacity: 0.6;}
103 | .htmleaf-demo a.current{background:#1d7db1;color: #fff; }
104 | /* Top Navigation Style */
105 | .htmleaf-links {
106 | position: relative;
107 | display: inline-block;
108 | white-space: nowrap;
109 | font-size: 1.5em;
110 | text-align: center;
111 | }
112 |
113 | .htmleaf-links::after {
114 | position: absolute;
115 | top: 0;
116 | left: 50%;
117 | margin-left: -1px;
118 | width: 2px;
119 | height: 100%;
120 | background: #dbdbdb;
121 | content: '';
122 | -webkit-transform: rotate3d(0,0,1,22.5deg);
123 | transform: rotate3d(0,0,1,22.5deg);
124 | }
125 |
126 | .htmleaf-icon {
127 | display: inline-block;
128 | margin: 0.5em;
129 | padding: 0em 0;
130 | width: 1.5em;
131 | text-decoration: none;
132 | }
133 |
134 | .htmleaf-icon span {
135 | display: none;
136 | }
137 |
138 | .htmleaf-icon:before {
139 | margin: 0 5px;
140 | text-transform: none;
141 | font-weight: normal;
142 | font-style: normal;
143 | font-variant: normal;
144 | font-family: 'icomoon';
145 | line-height: 1;
146 | speak: none;
147 | -webkit-font-smoothing: antialiased;
148 | }
149 | /* footer */
150 | .htmleaf-footer{width: 100%;padding-top: 10px;}
151 | .htmleaf-small{font-size: 0.8em;}
152 | .center{text-align: center;}
153 | /****/
154 | .related {
155 | color: #fff;
156 | background: #494A5F;
157 | text-align: center;
158 | font-size: 1.25em;
159 | padding: 0.5em 0;
160 | overflow: hidden;
161 | }
162 |
163 | .related > a {
164 | vertical-align: top;
165 | width: calc(100% - 20px);
166 | max-width: 340px;
167 | display: inline-block;
168 | text-align: center;
169 | margin: 20px 10px;
170 | padding: 25px;
171 | font-family: "Microsoft YaHei","宋体","Segoe UI", "Lucida Grande", Helvetica, Arial,sans-serif, FreeSans, Arimo;
172 | }
173 | .related a {
174 | display: inline-block;
175 | text-align: left;
176 | margin: 20px auto;
177 | padding: 10px 20px;
178 | opacity: 0.8;
179 | -webkit-transition: opacity 0.3s;
180 | transition: opacity 0.3s;
181 | -webkit-backface-visibility: hidden;
182 | }
183 |
184 | .related a:hover,
185 | .related a:active {
186 | opacity: 1;
187 | }
188 |
189 | .related a img {
190 | max-width: 100%;
191 | opacity: 0.8;
192 | border-radius: 4px;
193 | }
194 | .related a:hover img,
195 | .related a:active img {
196 | opacity: 1;
197 | }
198 | .related h3{font-family: "Microsoft YaHei", sans-serif;}
199 | .related a h3 {
200 | font-weight: 300;
201 | margin-top: 0.15em;
202 | color: #fff;
203 | }
204 | /* icomoon */
205 | .icon-htmleaf-home-outline:before {
206 | content: "\e5000";
207 | }
208 |
209 | .icon-htmleaf-arrow-forward-outline:before {
210 | content: "\e5001";
211 | }
212 |
213 | @media screen and (max-width: 50em) {
214 | .htmleaf-header {
215 | padding: 3em 10% 4em;
216 | }
217 | .htmleaf-header h1 {
218 | font-size:2em;
219 | }
220 | }
221 |
222 |
223 | @media screen and (max-width: 40em) {
224 | .htmleaf-header h1 {
225 | font-size: 1.5em;
226 | }
227 | }
228 |
229 | @media screen and (max-width: 30em) {
230 | .htmleaf-header h1 {
231 | font-size:1.2em;
232 | }
233 | }
--------------------------------------------------------------------------------
/huang_se/static/css2/jumbotron-narrow.css:
--------------------------------------------------------------------------------
1 | /* Space out content a bit */
2 |
3 | body {
4 | padding-top: 20px;
5 | padding-bottom: 20px;
6 | }
7 |
8 | /* Everything but the jumbotron gets side spacing for mobile first views */
9 |
10 | .header, .marketing, .footer {
11 | padding-right: 15px;
12 | padding-left: 15px;
13 | }
14 |
15 | /* Custom page header */
16 |
17 | .header {
18 | padding-bottom: 20px;
19 | border-bottom: 1px solid #e5e5e5;
20 | }
21 |
22 | /* Make the masthead heading the same height as the navigation */
23 |
24 | .header h3 {
25 | margin-top: 0;
26 | margin-bottom: 0;
27 | line-height: 40px;
28 | }
29 |
30 | /* Custom page footer */
31 |
32 | .footer {
33 | padding-top: 19px;
34 | color: #777;
35 | border-top: 1px solid #e5e5e5;
36 | }
37 |
38 | /* Customize container */
39 |
40 | @media (min-width: 768px) {
41 | .container {
42 | max-width: 730px;
43 | }
44 | }
45 | .container-narrow > hr {
46 | margin: 30px 0;
47 | }
48 |
49 | /* Main marketing message and sign up button */
50 |
51 | .jumbotron {
52 | text-align: center;
53 | border-bottom: 1px solid #e5e5e5;
54 | }
55 | .jumbotron .btn {
56 | padding: 14px 24px;
57 | font-size: 21px;
58 | }
59 |
60 | /* Supporting marketing content */
61 |
62 | .marketing {
63 | margin: 40px 0;
64 | }
65 | .marketing p + h4 {
66 | margin-top: 28px;
67 | }
68 |
69 | /* Responsive: Portrait tablets and up */
70 |
71 | @media screen and (min-width: 768px) {
72 | /* Remove the padding we set earlier */
73 | .header, .marketing, .footer {
74 | padding-right: 0;
75 | padding-left: 0;
76 | }
77 | /* Space out the masthead */
78 | .header {
79 | margin-bottom: 30px;
80 | }
81 | /* Remove the bottom border on the jumbotron for visual effect */
82 | .jumbotron {
83 | border-bottom: 0;
84 | }
85 | }
86 |
87 | .form-group-search{
88 | position: relative;
89 | }
90 |
91 | .search-result {
92 | width: 100%;
93 | border: 1px solid #A4A4A4;
94 | position: absolute;
95 | top: 117px;
96 | left: 0px;
97 | background: #fff;
98 | z-index: 1;
99 | }
100 | .search-result h4 {
101 | color: #fff;
102 | background: #5cb85c;
103 | padding: 4px 10px;
104 | margin: 0;
105 | font-size: 14px;
106 | }
107 | .search-result ul{
108 | padding: 0px;
109 | list-style: none;
110 | }
111 | .search-result li {
112 | border-bottom: 1px solid #A4A4A4;
113 | }
114 | .search-result li:last-of-type {
115 | border: 0 none;
116 | }
117 | .search-result li a {
118 | display: block;
119 | padding: 6px 10px;
120 | font-size: 12px;
121 | color: #979797;
122 | }
123 | mark{
124 | color: #337ab7;
125 | font-size: 16px;
126 | font-weight: bold;
127 | }
128 | .search-result li a:hover {
129 | background: #ccc;
130 | color: #fff;
131 | }
132 | .search-result ul {
133 | margin: 0;
134 | }
135 |
--------------------------------------------------------------------------------
/huang_se/static/dist/pagination.css:
--------------------------------------------------------------------------------
1 | .paginationjs{line-height:1.6;font-family:Marmelad,"Lucida Grande",Arial,"Hiragino Sans GB",Georgia,sans-serif;font-size:14px;box-sizing:initial}.paginationjs:after{display:table;content:" ";clear:both}.paginationjs .paginationjs-pages{float:left}.paginationjs .paginationjs-pages ul{float:left;margin:0;padding:0}.paginationjs .paginationjs-go-button,.paginationjs .paginationjs-go-input,.paginationjs .paginationjs-nav{float:left;margin-left:10px;font-size:14px}.paginationjs .paginationjs-pages li{float:left;border:1px solid #aaa;border-right:none;list-style:none}.paginationjs .paginationjs-pages li>a{min-width:30px;height:28px;line-height:28px;display:block;background:#fff;font-size:14px;color:#333;text-decoration:none;text-align:center}.paginationjs .paginationjs-pages li>a:hover{background:#eee}.paginationjs .paginationjs-pages li.active{border:none}.paginationjs .paginationjs-pages li.active>a{height:30px;line-height:30px;background:#aaa;color:#fff}.paginationjs .paginationjs-pages li.disabled>a{opacity:.3}.paginationjs .paginationjs-pages li.disabled>a:hover{background:0 0}.paginationjs .paginationjs-pages li:first-child,.paginationjs .paginationjs-pages li:first-child>a{border-radius:3px 0 0 3px}.paginationjs .paginationjs-pages li:last-child{border-right:1px solid #aaa;border-radius:0 3px 3px 0}.paginationjs .paginationjs-pages li:last-child>a{border-radius:0 3px 3px 0}.paginationjs .paginationjs-go-input>input[type=text]{width:30px;height:28px;background:#fff;border-radius:3px;border:1px solid #aaa;padding:0;font-size:14px;text-align:center;vertical-align:baseline;outline:0;box-shadow:none;box-sizing:initial}.paginationjs .paginationjs-go-button>input[type=button]{min-width:40px;height:30px;line-height:28px;background:#fff;border-radius:3px;border:1px solid #aaa;text-align:center;padding:0 8px;font-size:14px;vertical-align:baseline;outline:0;box-shadow:none;color:#333;cursor:pointer;vertical-align:middle\9}.paginationjs.paginationjs-theme-blue .paginationjs-go-input>input[type=text],.paginationjs.paginationjs-theme-blue .paginationjs-pages li{border-color:#289de9}.paginationjs .paginationjs-go-button>input[type=button]:hover{background-color:#f8f8f8}.paginationjs .paginationjs-nav{height:30px;line-height:30px}.paginationjs .paginationjs-go-button,.paginationjs .paginationjs-go-input{margin-left:5px\9}.paginationjs.paginationjs-small{font-size:12px}.paginationjs.paginationjs-small .paginationjs-pages li>a{min-width:26px;height:24px;line-height:24px;font-size:12px}.paginationjs.paginationjs-small .paginationjs-pages li.active>a{height:26px;line-height:26px}.paginationjs.paginationjs-small .paginationjs-go-input{font-size:12px}.paginationjs.paginationjs-small .paginationjs-go-input>input[type=text]{width:26px;height:24px;font-size:12px}.paginationjs.paginationjs-small .paginationjs-go-button{font-size:12px}.paginationjs.paginationjs-small .paginationjs-go-button>input[type=button]{min-width:30px;height:26px;line-height:24px;padding:0 6px;font-size:12px}.paginationjs.paginationjs-small .paginationjs-nav{height:26px;line-height:26px;font-size:12px}.paginationjs.paginationjs-big{font-size:16px}.paginationjs.paginationjs-big .paginationjs-pages li>a{min-width:36px;height:34px;line-height:34px;font-size:16px}.paginationjs.paginationjs-big .paginationjs-pages li.active>a{height:36px;line-height:36px}.paginationjs.paginationjs-big .paginationjs-go-input{font-size:16px}.paginationjs.paginationjs-big .paginationjs-go-input>input[type=text]{width:36px;height:34px;font-size:16px}.paginationjs.paginationjs-big .paginationjs-go-button{font-size:16px}.paginationjs.paginationjs-big .paginationjs-go-button>input[type=button]{min-width:50px;height:36px;line-height:34px;padding:0 12px;font-size:16px}.paginationjs.paginationjs-big .paginationjs-nav{height:36px;line-height:36px;font-size:16px}.paginationjs.paginationjs-theme-blue .paginationjs-pages li>a{color:#289de9}.paginationjs.paginationjs-theme-blue .paginationjs-pages li>a:hover{background:#e9f4fc}.paginationjs.paginationjs-theme-blue .paginationjs-pages li.active>a{background:#289de9;color:#fff}.paginationjs.paginationjs-theme-blue .paginationjs-pages li.disabled>a:hover{background:0 0}.paginationjs.paginationjs-theme-blue .paginationjs-go-button>input[type=button]{background:#289de9;border-color:#289de9;color:#fff}.paginationjs.paginationjs-theme-green .paginationjs-go-input>input[type=text],.paginationjs.paginationjs-theme-green .paginationjs-pages li{border-color:#449d44}.paginationjs.paginationjs-theme-blue .paginationjs-go-button>input[type=button]:hover{background-color:#3ca5ea}.paginationjs.paginationjs-theme-green .paginationjs-pages li>a{color:#449d44}.paginationjs.paginationjs-theme-green .paginationjs-pages li>a:hover{background:#ebf4eb}.paginationjs.paginationjs-theme-green .paginationjs-pages li.active>a{background:#449d44;color:#fff}.paginationjs.paginationjs-theme-green .paginationjs-pages li.disabled>a:hover{background:0 0}.paginationjs.paginationjs-theme-green .paginationjs-go-button>input[type=button]{background:#449d44;border-color:#449d44;color:#fff}.paginationjs.paginationjs-theme-yellow .paginationjs-go-input>input[type=text],.paginationjs.paginationjs-theme-yellow .paginationjs-pages li{border-color:#ec971f}.paginationjs.paginationjs-theme-green .paginationjs-go-button>input[type=button]:hover{background-color:#55a555}.paginationjs.paginationjs-theme-yellow .paginationjs-pages li>a{color:#ec971f}.paginationjs.paginationjs-theme-yellow .paginationjs-pages li>a:hover{background:#fdf5e9}.paginationjs.paginationjs-theme-yellow .paginationjs-pages li.active>a{background:#ec971f;color:#fff}.paginationjs.paginationjs-theme-yellow .paginationjs-pages li.disabled>a:hover{background:0 0}.paginationjs.paginationjs-theme-yellow .paginationjs-go-button>input[type=button]{background:#ec971f;border-color:#ec971f;color:#fff}.paginationjs.paginationjs-theme-red .paginationjs-go-input>input[type=text],.paginationjs.paginationjs-theme-red .paginationjs-pages li{border-color:#c9302c}.paginationjs.paginationjs-theme-yellow .paginationjs-go-button>input[type=button]:hover{background-color:#eea135}.paginationjs.paginationjs-theme-red .paginationjs-pages li>a{color:#c9302c}.paginationjs.paginationjs-theme-red .paginationjs-pages li>a:hover{background:#faeaea}.paginationjs.paginationjs-theme-red .paginationjs-pages li.active>a{background:#c9302c;color:#fff}.paginationjs.paginationjs-theme-red .paginationjs-pages li.disabled>a:hover{background:0 0}.paginationjs.paginationjs-theme-red .paginationjs-go-button>input[type=button]{background:#c9302c;border-color:#c9302c;color:#fff}.paginationjs.paginationjs-theme-red .paginationjs-go-button>input[type=button]:hover{background-color:#ce4541}.paginationjs .paginationjs-pages li.paginationjs-next{border-right:1px solid #aaa\9}.paginationjs .paginationjs-go-input>input[type=text]{line-height:28px\9;vertical-align:middle\9}.paginationjs.paginationjs-big .paginationjs-pages li>a{line-height:36px\9}.paginationjs.paginationjs-big .paginationjs-go-input>input[type=text]{height:36px\9;line-height:36px\9}
--------------------------------------------------------------------------------
/huang_se/static/dist/pagination.less:
--------------------------------------------------------------------------------
1 | @borderColor: #aaa;
2 | @activeBgColor: #aaa;
3 |
4 | @Blue_color_base: #289DE9;
5 | @Blue_color_font: @Blue_color_base;
6 | @Blue_color_border: @Blue_color_base;
7 | @Blue_bgColor_active: @Blue_color_base;
8 | @Blue_bgColor_hover: #E9F4FC;
9 | @Blue_bgColor_buttonHover: #3CA5EA;
10 |
11 | @Green_color_base: #449D44;
12 | @Green_color_font: @Green_color_base;
13 | @Green_color_border: @Green_color_base;
14 | @Green_bgColor_active: @Green_color_base;
15 | @Green_bgColor_hover: #EBF4EB;
16 | @Green_bgColor_buttonHover: #55A555;
17 |
18 | @Yellow_color_base: #EC971F;
19 | @Yellow_color_font: @Yellow_color_base;
20 | @Yellow_color_border: @Yellow_color_base;
21 | @Yellow_bgColor_active: @Yellow_color_base;
22 | @Yellow_bgColor_hover: #FDF5E9;
23 | @Yellow_bgColor_buttonHover: #EEA135;
24 |
25 | @Red_color_base: #C9302C;
26 | @Red_color_font: @Red_color_base;
27 | @Red_color_border: @Red_color_base;
28 | @Red_bgColor_active: @Red_color_base;
29 | @Red_bgColor_hover: #FAEAEA;
30 | @Red_bgColor_buttonHover: #CE4541;
31 |
32 | @S_fontSize: 12px;
33 | @S_minWidth: 26px;
34 | @S_height: 24px;
35 | @S_lineHeight: @S_height;
36 | @S_activeHeight: @S_height + 2;
37 | @S_inputWidth: 26px;
38 | @S_inputHeight: 24px;
39 | @S_buttonMinWidth: 30px;
40 | @S_buttonHeight: 26px;
41 | @S_buttonLineHeight: @S_buttonHeight - 2;
42 | @S_buttonPadding: 0 6px;
43 | @S_navHeight: @S_activeHeight;
44 |
45 |
46 | @N_fontSize: 14px;
47 | @N_minWidth: 30px;
48 | @N_height: 28px;
49 | @N_lineHeight: @N_height;
50 | @N_activeHeight: @N_height + 2;
51 | @N_inputWidth: 30px;
52 | @N_inputHeight: 28px;
53 | @N_buttonMinWidth: 40px;
54 | @N_buttonHeight: 30px;
55 | @N_buttonLineHeight: @N_buttonHeight - 2;
56 | @N_buttonPadding: 0 8px;
57 | @N_navHeight: @N_activeHeight;
58 |
59 |
60 | @B_fontSize: 16px;
61 | @B_minWidth: 36px;
62 | @B_height: 34px;
63 | @B_lineHeight: @B_height;
64 | @B_activeHeight: @B_height + 2;
65 | @B_inputWidth: 36px;
66 | @B_inputHeight: 34px;
67 | @B_buttonMinWidth: 50px;
68 | @B_buttonHeight: 36px;
69 | @B_buttonLineHeight: @B_buttonHeight - 2;
70 | @B_buttonPadding: 0 12px;
71 | @B_navHeight: @B_activeHeight;
72 |
73 |
74 | .paginationjs{
75 | line-height: 1.6;
76 | font-family: "Marmelad", "Lucida Grande", "Arial", "Hiragino Sans GB", Georgia, sans-serif;
77 | font-size: @N_fontSize;
78 | box-sizing: initial;
79 | &:after{
80 | display: table;
81 | content: " ";
82 | clear: both;
83 | }
84 | .paginationjs-pages{
85 | float: left;
86 | ul{
87 | float: left;
88 | margin: 0;
89 | padding: 0;
90 | }
91 | li{
92 | float: left;
93 | border: 1px solid @borderColor;
94 | border-right: none;
95 | list-style: none;
96 | > a{
97 | min-width: @N_minWidth;
98 | height: @N_height;
99 | line-height: @N_lineHeight;
100 | display: block;
101 | background: #fff;
102 | font-size: @N_fontSize;
103 | color: #333;
104 | text-decoration: none;
105 | text-align: center;
106 | &:hover{
107 | background: #eee;
108 | }
109 | }
110 | &.active{
111 | border: none;
112 | > a{
113 | height: @N_activeHeight;
114 | line-height: @N_activeHeight;
115 | background: @activeBgColor;
116 | color: #fff;
117 | }
118 | }
119 | &.disabled{
120 | > a{
121 | opacity: .3;
122 | &:hover{
123 | background: none;
124 | }
125 | }
126 | }
127 | &:first-child{
128 | border-radius: 3px 0 0 3px;
129 | > a{
130 | border-radius: 3px 0 0 3px;
131 | }
132 | }
133 | &:last-child{
134 | border-right: 1px solid @borderColor;
135 | border-radius: 0 3px 3px 0;
136 | > a{
137 | border-radius: 0 3px 3px 0;
138 | }
139 | }
140 | }
141 | }
142 | .paginationjs-go-input{
143 | float: left;
144 | margin-left: 10px;
145 | font-size: @N_fontSize;
146 | > input[type="text"]{
147 | width: @N_inputWidth;
148 | height: @N_inputHeight;
149 | background: #fff;
150 | border-radius: 3px;
151 | border: 1px solid @borderColor;
152 | padding: 0;
153 | font-size: @N_fontSize;
154 | text-align: center;
155 | vertical-align: baseline;
156 | outline: none;
157 | box-shadow: none;
158 | box-sizing: initial;
159 | }
160 | }
161 | .paginationjs-go-button{
162 | float: left;
163 | margin-left: 10px;
164 | font-size: @N_fontSize;
165 | > input[type="button"]{
166 | min-width: @N_buttonMinWidth;
167 | height: @N_buttonHeight;
168 | line-height: @N_buttonLineHeight;
169 | background: #fff;
170 | border-radius: 3px;
171 | border: 1px solid @borderColor;
172 | text-align: center;
173 | padding: @N_buttonPadding;
174 | font-size: @N_fontSize;
175 | vertical-align: baseline;
176 | outline: none;
177 | box-shadow: none;
178 | color: #333;
179 | cursor: pointer;
180 | &:hover{
181 | background-color: #f8f8f8;
182 | }
183 | }
184 | }
185 | .paginationjs-nav{
186 | float: left;
187 | height: @N_navHeight;
188 | line-height: @N_navHeight;
189 | margin-left: 10px;
190 | font-size: @N_fontSize;
191 | }
192 |
193 | &.paginationjs-small{
194 | font-size: @S_fontSize;
195 | .paginationjs-pages{
196 | li{
197 | > a{
198 | min-width: @S_minWidth;
199 | height: @S_height;
200 | line-height: @S_lineHeight;
201 | font-size: @S_fontSize;
202 | }
203 | &.active{
204 | > a{
205 | height: @S_activeHeight;
206 | line-height: @S_activeHeight;
207 | }
208 | }
209 | }
210 | }
211 | .paginationjs-go-input{
212 | font-size: @S_fontSize;
213 | > input[type="text"]{
214 | width: @S_inputWidth;
215 | height: @S_inputHeight;
216 | font-size: @S_fontSize;
217 | }
218 | }
219 | .paginationjs-go-button{
220 | font-size: @S_fontSize;
221 | > input[type="button"]{
222 | min-width: @S_buttonMinWidth;
223 | height: @S_buttonHeight;
224 | line-height: @S_buttonLineHeight;
225 | padding: @S_buttonPadding;
226 | font-size: @S_fontSize;
227 | }
228 | }
229 | .paginationjs-nav{
230 | height: 26px;
231 | line-height: 26px;
232 | font-size: @S_fontSize;
233 | }
234 | }
235 | &.paginationjs-big{
236 | font-size: @B_fontSize;
237 | .paginationjs-pages{
238 | li{
239 | > a{
240 | min-width: @B_minWidth;
241 | height: @B_height;
242 | line-height: @B_lineHeight;
243 | font-size: @B_fontSize;
244 | }
245 | &.active{
246 | > a{
247 | height: @B_activeHeight;
248 | line-height: @B_activeHeight;
249 | }
250 | }
251 | }
252 | }
253 | .paginationjs-go-input{
254 | font-size: @B_fontSize;
255 | > input[type="text"]{
256 | width: @B_inputWidth;
257 | height: @B_inputHeight;
258 | font-size: @B_fontSize;
259 | }
260 | }
261 | .paginationjs-go-button{
262 | font-size: @B_fontSize;
263 | > input[type="button"]{
264 | min-width: @B_buttonMinWidth;
265 | height: @B_buttonHeight;
266 | line-height: @B_buttonLineHeight;
267 | padding: @B_buttonPadding;
268 | font-size: @B_fontSize;
269 | }
270 | }
271 | .paginationjs-nav{
272 | height: @B_navHeight;
273 | line-height: @B_navHeight;
274 | font-size: @B_fontSize;
275 | }
276 | }
277 | }
278 |
279 | .paginationjs{
280 | &.paginationjs-theme-blue{
281 | .paginationjs-pages{
282 | li{
283 | border-color: @Blue_color_border;
284 | > a{
285 | color: @Blue_color_font;
286 | &:hover{
287 | background: @Blue_bgColor_hover;
288 | }
289 | }
290 | &.active{
291 | > a{
292 | background: @Blue_bgColor_active;
293 | color: #fff;
294 | }
295 | }
296 | &.disabled > a:hover{
297 | background: none;
298 | }
299 | }
300 | }
301 | .paginationjs-go-input{
302 | > input[type="text"]{
303 | border-color: @Blue_color_border;
304 | }
305 | }
306 | .paginationjs-go-button{
307 | > input[type="button"]{
308 | background: @Blue_bgColor_active;
309 | border-color: @Blue_color_border;
310 | color: #fff;
311 | &:hover{
312 | background-color: @Blue_bgColor_buttonHover;
313 | }
314 | }
315 | }
316 | }
317 | }
318 |
319 | .paginationjs{
320 | &.paginationjs-theme-green{
321 | .paginationjs-pages{
322 | li{
323 | border-color: @Green_color_border;
324 | > a{
325 | color: @Green_color_font;
326 | &:hover{
327 | background: @Green_bgColor_hover;
328 | }
329 | }
330 | &.active{
331 | > a{
332 | background: @Green_bgColor_active;
333 | color: #fff;
334 | }
335 | }
336 | &.disabled > a:hover{
337 | background: none;
338 | }
339 | }
340 | }
341 | .paginationjs-go-input{
342 | > input[type="text"]{
343 | border-color: @Green_color_border;
344 | }
345 | }
346 | .paginationjs-go-button{
347 | > input[type="button"]{
348 | background: @Green_bgColor_active;
349 | border-color: @Green_color_border;
350 | color: #fff;
351 | &:hover{
352 | background-color: @Green_bgColor_buttonHover;
353 | }
354 | }
355 | }
356 | }
357 | }
358 |
359 | .paginationjs{
360 | &.paginationjs-theme-yellow{
361 | .paginationjs-pages{
362 | li{
363 | border-color: @Yellow_color_border;
364 | > a{
365 | color: @Yellow_color_font;
366 | &:hover{
367 | background: @Yellow_bgColor_hover;
368 | }
369 | }
370 | &.active{
371 | > a{
372 | background: @Yellow_bgColor_active;
373 | color: #fff;
374 | }
375 | }
376 | &.disabled > a:hover{
377 | background: none;
378 | }
379 | }
380 | }
381 | .paginationjs-go-input{
382 | > input[type="text"]{
383 | border-color: @Yellow_color_border;
384 | }
385 | }
386 | .paginationjs-go-button{
387 | > input[type="button"]{
388 | background: @Yellow_bgColor_active;
389 | border-color: @Yellow_color_border;
390 | color: #fff;
391 | &:hover{
392 | background-color: @Yellow_bgColor_buttonHover;
393 | }
394 | }
395 | }
396 | }
397 | }
398 |
399 | .paginationjs{
400 | &.paginationjs-theme-red{
401 | .paginationjs-pages{
402 | li{
403 | border-color: @Red_color_border;
404 | > a{
405 | color: @Red_color_font;
406 | &:hover{
407 | background: @Red_bgColor_hover;
408 | }
409 | }
410 | &.active{
411 | > a{
412 | background: @Red_bgColor_active;
413 | color: #fff;
414 | }
415 | }
416 | &.disabled > a:hover{
417 | background: none;
418 | }
419 | }
420 | }
421 | .paginationjs-go-input{
422 | > input[type="text"]{
423 | border-color: @Red_color_border;
424 | }
425 | }
426 | .paginationjs-go-button{
427 | > input[type="button"]{
428 | background: @Red_bgColor_active;
429 | border-color: @Red_color_border;
430 | color: #fff;
431 | &:hover{
432 | background-color: @Red_bgColor_buttonHover;
433 | }
434 | }
435 | }
436 | }
437 | }
438 |
439 | /* Hacks for IE 6~9 */
440 | .paginationjs{
441 | .paginationjs-pages{
442 | li{
443 | > a{
444 |
445 | }
446 | &.paginationjs-next{
447 | *border-right: 1px solid @borderColor;
448 | border-right: 1px solid #aaa\0;
449 | }
450 | }
451 | }
452 | .paginationjs-go-input{
453 | *margin-left: 5px;
454 | margin-left: 5px\0;
455 | > input[type="text"]{
456 | *line-height: @N_inputHeight;
457 | line-height: 28px\0;
458 | *vertical-align: middle;
459 | vertical-align: middle\0;
460 | }
461 | }
462 | .paginationjs-go-button{
463 | *margin-left: 5px;
464 | margin-left: 5px\0;
465 | > input[type="button"]{
466 | *vertical-align: middle;
467 | vertical-align: middle\0;
468 | }
469 | }
470 | &.paginationjs-big{
471 | .paginationjs-pages{
472 | li{
473 | > a{
474 | line-height: 36px\0;
475 | }
476 | }
477 | }
478 | .paginationjs-go-input{
479 | > input[type="text"]{
480 | *height: 35px;
481 | height: 36px\0;
482 | *line-height: 36px;
483 | line-height: 36px\0;
484 | }
485 | }
486 | }
487 | }
488 |
--------------------------------------------------------------------------------
/huang_se/static/dist/pagination.min.js:
--------------------------------------------------------------------------------
1 | /*
2 | * pagination.js 2.0.6
3 | * A jQuery plugin to provide simple yet fully customisable pagination
4 | * https://github.com/superRaytin/paginationjs
5 |
6 | * Homepage: http://paginationjs.com
7 | *
8 | * Copyright 2014-2100, superRaytin
9 | * Released under the MIT license.
10 | */
11 | !function(a,b){function c(a){throw new Error("Pagination: "+a)}function d(a){a.dataSource||c('"dataSource" is required.'),"string"==typeof a.dataSource?"undefined"==typeof a.totalNumber?c('"totalNumber" is required.'):b.isNumeric(a.totalNumber)||c('"totalNumber" is incorrect. (Number)'):i.isObject(a.dataSource)&&("undefined"==typeof a.locator?c('"dataSource" is an Object, please specify "locator".'):"string"==typeof a.locator||b.isFunction(a.locator)||c(""+a.locator+" is incorrect. (String | Function)"))}function e(a,b){return("object"==(b=typeof a)?null==a&&"null"||Object.prototype.toString.call(a).slice(8,-1):b).toLowerCase()}"undefined"==typeof b&&c("Pagination requires jQuery.");var f="pagination",g="addHook",h="__pagination-";b.fn.pagination&&(f="pagination2"),b.fn[f]=function(e){if("undefined"==typeof e)return this;var f=b(this),g={initialize:function(){var a=this;if(f.data("pagination")||f.data("pagination",{}),a.callHook("beforeInit")!==!1){f.data("pagination").initialized&&b(".paginationjs",f).remove(),a.disabled=!!k.disabled;var c=a.model={pageRange:k.pageRange,pageSize:k.pageSize};a.parseDataSource(k.dataSource,function(b){if(a.sync=i.isArray(b),a.sync&&(c.totalNumber=k.totalNumber=b.length),c.totalPage=a.getTotalPage(),!(k.hideWhenLessThanOnePage&&c.totalPage<=1)){var d=a.render(!0);k.className&&d.addClass(k.className),c.el=d,f["bottom"===k.position?"append":"prepend"](d),a.observer(),f.data("pagination").initialized=!0,a.callHook("afterInit",d)}})}},render:function(a){var c=this,d=c.model,e=d.el||b('
'),f=a!==!0;c.callHook("beforeRender",f);var g=d.pageNumber||k.pageNumber,h=k.pageRange,i=d.totalPage,j=g-h,l=g+h;return l>i&&(l=i,j=i-2*h,j=1>j?1:j),1>=j&&(j=1,l=Math.min(2*h+1,i)),e.html(c.createTemplate({currentPage:g,pageRange:h,totalPage:i,rangeStart:j,rangeEnd:l})),c.callHook("afterRender",f),e},createTemplate:function(a){var c,d,e=this,f=a.currentPage,g=a.totalPage,h=a.rangeStart,i=a.rangeEnd,j=k.totalNumber,l=k.showPrevious,m=k.showNext,n=k.showPageNumbers,o=k.showNavigator,p=k.showGoInput,q=k.showGoButton,r=k.pageLink,s=k.prevText,t=k.nextText,u=k.ellipsisText,v=k.goButtonText,w=k.classPrefix,x=k.activeClassName,y=k.disableClassName,z=k.ulClassName,A=b.isFunction(k.formatNavigator)?k.formatNavigator():k.formatNavigator,B=b.isFunction(k.formatGoInput)?k.formatGoInput():k.formatGoInput,C=b.isFunction(k.formatGoButton)?k.formatGoButton():k.formatGoButton,D=b.isFunction(k.autoHidePrevious)?k.autoHidePrevious():k.autoHidePrevious,E=b.isFunction(k.autoHideNext)?k.autoHideNext():k.autoHideNext,F=b.isFunction(k.header)?k.header():k.header,G=b.isFunction(k.footer)?k.footer():k.footer,H="",I='',J='';if(F&&(c=e.replaceVariables(F,{currentPage:f,totalPage:g,totalNumber:j}),H+=c),l||n||m){if(H+='"}return o&&A&&(c=e.replaceVariables(A,{currentPage:f,totalPage:g,totalNumber:j}),H+='"),p&&B&&(c=e.replaceVariables(B,{currentPage:f,totalPage:g,totalNumber:j,input:I}),H+=''+c+"
"),q&&C&&(c=e.replaceVariables(C,{currentPage:f,totalPage:g,totalNumber:j,button:J}),H+=''+c+"
"),G&&(c=e.replaceVariables(G,{currentPage:f,totalPage:g,totalNumber:j}),H+=c),H},go:function(a,c){function d(a){if(e.callHook("beforePaging",h)===!1)return!1;if(g.direction="undefined"==typeof g.pageNumber?0:h>g.pageNumber?1:-1,g.pageNumber=h,e.render(),e.disabled&&!e.sync&&e.enable(),f.data("pagination").model=g,b.isFunction(k.formatResult)){var d=b.extend(!0,[],a);i.isArray(a=k.formatResult(d))||(a=d)}f.data("pagination").currentPageData=a,e.doCallback(a,c),e.callHook("afterPaging",h),1==h&&e.callHook("afterIsFirstPage"),h==g.totalPage&&e.callHook("afterIsLastPage")}var e=this,g=e.model;if(!e.disabled){var h=a,j=k.pageSize,l=g.totalPage;if(h=parseInt(h),!(!h||1>h||h>l)){if(e.sync)return void d(e.getDataSegment(h));var m={},n=k.alias||{};m[n.pageSize?n.pageSize:"pageSize"]=j,m[n.pageNumber?n.pageNumber:"pageNumber"]=h;var o={type:"get",cache:!1,data:{},contentType:"application/x-www-form-urlencoded; charset=UTF-8",dataType:"json",async:!0};b.extend(!0,o,k.ajax),b.extend(o.data||{},m),o.url=k.dataSource,o.success=function(a){d(e.filterDataByLocator(a))},o.error=function(a,b,c){k.formatAjaxError&&k.formatAjaxError(a,b,c),e.enable()},e.disable(),b.ajax(o)}}},doCallback:function(a,c){var d=this,e=d.model;b.isFunction(c)?c(a,e):b.isFunction(k.callback)&&k.callback(a,e)},destroy:function(){this.callHook("beforeDestroy")!==!1&&(this.model.el.remove(),f.off(),b("#paginationjs-style").remove(),this.callHook("afterDestroy"))},previous:function(a){this.go(this.model.pageNumber-1,a)},next:function(a){this.go(this.model.pageNumber+1,a)},disable:function(){var a=this,b=a.sync?"sync":"async";a.callHook("beforeDisable",b)!==!1&&(a.disabled=!0,a.model.disabled=!0,a.callHook("afterDisable",b))},enable:function(){var a=this,b=a.sync?"sync":"async";a.callHook("beforeEnable",b)!==!1&&(a.disabled=!1,a.model.disabled=!1,a.callHook("afterEnable",b))},refresh:function(a){this.go(this.model.pageNumber,a)},show:function(){var a=this;a.model.el.is(":visible")||a.model.el.show()},hide:function(){var a=this;a.model.el.is(":visible")&&a.model.el.hide()},replaceVariables:function(a,b){var c;for(var d in b){var e=b[d],f=new RegExp("<%=\\s*"+d+"\\s*%>","img");c=(c||a).replace(f,e)}return c},getDataSegment:function(a){var b=k.pageSize,c=k.dataSource,d=k.totalNumber,e=b*(a-1)+1,f=Math.min(a*b,d);return c.slice(e-1,f)},getTotalPage:function(){return Math.ceil(k.totalNumber/k.pageSize)},getLocator:function(a){var d;return"string"==typeof a?d=a:b.isFunction(a)?d=a():c('"locator" is incorrect. (String | Function)'),d},filterDataByLocator:function(a){var d,e=this.getLocator(k.locator);if(i.isObject(a)){try{b.each(e.split("."),function(b,c){d=(d?d:a)[c]})}catch(f){}d?i.isArray(d)||c("dataSource."+e+" must be an Array."):c("dataSource."+e+" is undefined.")}return d||a},parseDataSource:function(a,d){var e=this,f=arguments;i.isObject(a)?d(k.dataSource=e.filterDataByLocator(a)):i.isArray(a)?d(k.dataSource=a):b.isFunction(a)?k.dataSource(function(a){b.isFunction(a)&&c('Unexpect parameter of the "done" Function.'),f.callee.call(e,a,d)}):"string"==typeof a?(/^https?|file:/.test(a)&&(k.ajaxDataType="jsonp"),d(a)):c('Unexpect data type of the "dataSource".')},callHook:function(c){var d,e=f.data("pagination"),g=Array.prototype.slice.apply(arguments);return g.shift(),k[c]&&b.isFunction(k[c])&&k[c].apply(a,g)===!1&&(d=!1),e.hooks&&e.hooks[c]&&b.each(e.hooks[c],function(b,c){c.apply(a,g)===!1&&(d=!1)}),d!==!1},observer:function(){var a=this,d=a.model.el;f.on(h+"go",function(d,e,f){e=parseInt(b.trim(e)),e&&(b.isNumeric(e)||c('"pageNumber" is incorrect. (Number)'),a.go(e,f))}),d.delegate(".J-paginationjs-page","click",function(c){var d=b(c.currentTarget),e=b.trim(d.attr("data-num"));return!e||d.hasClass(k.disableClassName)||d.hasClass(k.activeClassName)?void 0:a.callHook("beforePageOnClick",c,e)===!1?!1:(a.go(e),a.callHook("afterPageOnClick",c,e),k.pageLink?void 0:!1)}),d.delegate(".J-paginationjs-previous","click",function(c){var d=b(c.currentTarget),e=b.trim(d.attr("data-num"));return e&&!d.hasClass(k.disableClassName)?a.callHook("beforePreviousOnClick",c,e)===!1?!1:(a.go(e),a.callHook("afterPreviousOnClick",c,e),k.pageLink?void 0:!1):void 0}),d.delegate(".J-paginationjs-next","click",function(c){var d=b(c.currentTarget),e=b.trim(d.attr("data-num"));return e&&!d.hasClass(k.disableClassName)?a.callHook("beforeNextOnClick",c,e)===!1?!1:(a.go(e),a.callHook("afterNextOnClick",c,e),k.pageLink?void 0:!1):void 0}),d.delegate(".J-paginationjs-go-button","click",function(){var c=b(".J-paginationjs-go-pagenumber",d).val();return a.callHook("beforeGoButtonOnClick",event,c)===!1?!1:(f.trigger(h+"go",c),void a.callHook("afterGoButtonOnClick",event,c))}),d.delegate(".J-paginationjs-go-pagenumber","keyup",function(c){if(13===c.which){var e=b(c.currentTarget).val();if(a.callHook("beforeGoInputOnEnter",c,e)===!1)return!1;f.trigger(h+"go",e),b(".J-paginationjs-go-pagenumber",d).focus(),a.callHook("afterGoInputOnEnter",c,e)}}),f.on(h+"previous",function(b,c){a.previous(c)}),f.on(h+"next",function(b,c){a.next(c)}),f.on(h+"disable",function(){a.disable()}),f.on(h+"enable",function(){a.enable()}),f.on(h+"refresh",function(b,c){a.refresh(c)}),f.on(h+"show",function(){a.show()}),f.on(h+"hide",function(){a.hide()}),f.on(h+"destroy",function(){a.destroy()}),k.triggerPagingOnInit&&f.trigger(h+"go",Math.min(k.pageNumber,a.model.totalPage))}};if(f.data("pagination")&&f.data("pagination").initialized===!0){if(b.isNumeric(e))return f.trigger.call(this,h+"go",e,arguments[1]),this;if("string"==typeof e){var j=Array.prototype.slice.apply(arguments);switch(j[0]=h+j[0],e){case"previous":case"next":case"go":case"disable":case"enable":case"refresh":case"show":case"hide":case"destroy":f.trigger.apply(this,j);break;case"getSelectedPageNum":return f.data("pagination").model?f.data("pagination").model.pageNumber:f.data("pagination").attributes.pageNumber;case"getTotalPage":return f.data("pagination").model.totalPage;case"getSelectedPageData":return f.data("pagination").currentPageData;case"isDisabled":return f.data("pagination").model.disabled===!0;default:c("Pagination do not provide action: "+e)}return this}}else i.isObject(e)||c("Illegal options");var k=b.extend({},arguments.callee.defaults,e);return d(k),g.initialize(),this},b.fn[f].defaults={totalNumber:1,pageNumber:1,pageSize:10,pageRange:2,showPrevious:!0,showNext:!0,showPageNumbers:!0,showNavigator:!1,showGoInput:!1,showGoButton:!1,pageLink:"",prevText:"«",nextText:"»",ellipsisText:"...",goButtonText:"Go",classPrefix:"paginationjs",activeClassName:"active",disableClassName:"disabled",inlineStyle:!0,formatNavigator:"<%= currentPage %> / <%= totalPage %>",formatGoInput:"<%= input %>",formatGoButton:"<%= button %>",position:"bottom",autoHidePrevious:!1,autoHideNext:!1,triggerPagingOnInit:!0,hideWhenLessThanOnePage:!1,showFirstOnEllipsisShow:!0,showLastOnEllipsisShow:!0,callback:function(){}},b.fn[g]=function(a,d){arguments.length<2&&c("Missing argument."),b.isFunction(d)||c("callback must be a function.");var e=b(this),f=e.data("pagination");f||(e.data("pagination",{}),f=e.data("pagination")),!f.hooks&&(f.hooks={}),f.hooks[a]=f.hooks[a]||[],f.hooks[a].push(d)},b[f]=function(a,d){arguments.length<2&&c("Requires two parameters.");var e;return e="string"!=typeof a&&a instanceof jQuery?a:b(a),e.length?(e.pagination(d),e):void 0};var i={};b.each(["Object","Array"],function(a,b){i["is"+b]=function(a){return e(a)===b.toLowerCase()}}),"function"==typeof define&&define.amd&&define(function(){return b})}(this,window.jQuery);
--------------------------------------------------------------------------------
/huang_se/static/fonts/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/fonts/.DS_Store
--------------------------------------------------------------------------------
/huang_se/static/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/huang_se/static/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/huang_se/static/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/huang_se/static/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/huang_se/static/fonts/icomoon.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/fonts/icomoon.eot
--------------------------------------------------------------------------------
/huang_se/static/fonts/icomoon.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/huang_se/static/fonts/icomoon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/fonts/icomoon.ttf
--------------------------------------------------------------------------------
/huang_se/static/fonts/icomoon.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/fonts/icomoon.woff
--------------------------------------------------------------------------------
/huang_se/static/js/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/js/.DS_Store
--------------------------------------------------------------------------------
/huang_se/static/js/anchor.js:
--------------------------------------------------------------------------------
1 | /**
2 | * anchor.js - jQuery Plugin
3 | * Jump to a specific section smoothly
4 | *
5 | * @dependencies jQuery v1.5.0 http://jquery.com
6 | * @author Cornel Boppart
7 | * @copyright Author
8 |
9 | * @version 1.0.6 (06/01/2016)
10 | */
11 |
12 | ;(function ($) {
13 |
14 | window.anchor = {
15 |
16 | /**
17 | * Default settings
18 | *
19 | */
20 | settings: {
21 | transitionDuration: 2000,
22 | transitionTimingFunction: 'swing',
23 | labels: {
24 | error: 'Couldn\'t find any section'
25 | }
26 | },
27 |
28 | /**
29 | * Initializes the plugin
30 | *
31 | * @param {object} options The plugin options (Merged with default settings)
32 | * @return {object} this The current element itself
33 | */
34 | init: function (options) {
35 | // Apply merged settings to the current object
36 | $(this).data('settings', $.extend(anchor.settings, options));
37 |
38 | return this.each(function () {
39 | var $this = $(this);
40 |
41 | $this.unbind('click').click(function (event) {
42 | event.preventDefault();
43 | anchor.jumpTo(
44 | anchor.getTopOffsetPosition($this),
45 | $this.data('settings')
46 | );
47 | });
48 | });
49 | },
50 |
51 | /**
52 | * Gets the top offset position
53 | *
54 | * @param {object} $object The root object to get sections position from
55 | * @return {int} topOffsetPosition The top offset position
56 | */
57 | getTopOffsetPosition: function ($object) {
58 | var href = $object.attr('href'),
59 | $section = $($(href).get(0)),
60 | documentHeight = $(document).height(),
61 | browserHeight = $(window).height();
62 |
63 | if (!$section || $section.length < 1) {
64 | throw new ReferenceError(anchor.settings.labels.error);
65 | }
66 |
67 | if (($section.offset().top + browserHeight) > documentHeight) {
68 | return documentHeight - browserHeight;
69 | } else {
70 | return $section.offset().top;
71 | }
72 | },
73 |
74 | /**
75 | * Jumps to the specific position
76 | *
77 | * @param {int} topOffsetPosition The top offset position
78 | * @param {object} settings The object specific settings
79 | * @return {void}
80 | */
81 | jumpTo: function (topOffsetPosition, settings) {
82 | var $viewport = $('html, body');
83 |
84 | $viewport.animate(
85 | {scrollTop: topOffsetPosition},
86 | settings.transitionDuration,
87 | settings.transitionTimingFunction
88 | );
89 |
90 | // Stop the animation immediately, if a user manually scrolls during the animation.
91 | $viewport.bind('scroll mousedown DOMMouseScroll mousewheel keyup', function(event){
92 | if (event.which > 0 || event.type === 'mousedown' || event.type === 'mousewheel') {
93 | $viewport.stop().unbind('scroll mousedown DOMMouseScroll mousewheel keyup');
94 | }
95 | });
96 | }
97 |
98 | };
99 |
100 | $.fn.anchor = function (method) {
101 | // Method calling logic
102 | if (anchor[method]) {
103 | return anchor[method].apply(this, Array.prototype.slice.call(arguments, 1));
104 | } else if (typeof method === 'object' || !method) {
105 | return anchor.init.apply(this, arguments);
106 | } else {
107 | return $.error('Method ' + method + ' does not exist on jQuery.anchor');
108 | }
109 | };
110 |
111 | })(jQuery);
112 |
--------------------------------------------------------------------------------
/huang_se/static/js/jquery.full-search.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Full-text search jQuery plugin
3 | *
4 | * @copyright Copyright 2013, magic
5 | * @license Apache License, Version 2.0 (http://www.opensource.org/licenses/apache2.0.php)
6 | * @Email
7 | * @version v0.0.1
8 | */
9 |
10 | /* Sample html structure
11 |
12 |
13 |
17 |
18 |
19 |
20 |
title
21 |
content
22 |
title
23 |
content
24 |
title
25 |
content
26 |
27 | */
28 |
29 | (function(b, a, c) {
30 | b.fn.fullsearch = function(d) {
31 | var e = {
32 | search_data: "#search_data",
33 | search_title: "",
34 | search_content: "",
35 | list: ".fullsearch-data",
36 | nodata: "",
37 | attribute: "text",
38 | highlight: false,
39 | };
40 |
41 | var d = b.extend(e, d);
42 | b(this).each(function() {
43 | var g = b(this);
44 | var s = b(e.search_data),
45 | t = s.find(e.search_title),
46 | c = s.find(e.search_content);
47 | d.list = b(this).data("list") || d.list;
48 | d.nodata = b(this).data("nodata") || d.nodata;
49 | d.attribute = b(this).data("attribute") || d.attribute;
50 | d.highlight = b(this).data("highlight") || d.highlight;
51 | var f = b(d.list);
52 |
53 |
54 | //如果点击键盘
55 | g.keyup(function(l) {
56 |
57 |
58 | //如果是回车相关按键
59 | if (l.keyCode != 38 && l.keyCode != 40 && l.keyCode != 13) {
60 | var j = g.val().toLowerCase();
61 |
62 | //清空默认内容
63 | t.html('');
64 | c.html('');
65 |
66 | f.children().removeClass("selected").each(function() {
67 | var m = (d.attribute != "text") ? b(this).attr(d.attribute).toLowerCase() : b(this).text().toLowerCase();
68 | //如果没有数据则隐藏
69 | if (m.indexOf(j) == -1) {
70 | g.trigger("_after_each")
71 | } else {
72 | s.show();
73 | var t_id = b(this)[0].id;
74 | t_id = t_id != '' ? t_id : b(this).prev()[0].id;
75 | t_id = t_id != '' ? t_id : b(this).prev().prev()[0].id;
76 | t_id = t_id != '' ? t_id : b(this).prev().prev().prev()[0].id;
77 | t_id = t_id != '' ? t_id : b(this).prev().prev().prev().prev()[0].id;
78 |
79 | var content = ''+b(this).text().substring(0,80)+"..."+'';
80 |
81 | var tagName = $(this)[0].tagName;
82 | if (tagName == "H4") {
83 | !d.highlight?t.append(content):t.append(content).removeHighlight().highlight(j).show();
84 | } else {
85 | !d.highlight?c.append(content):c.append(content).removeHighlight().highlight(j).show();
86 | }
87 | (j == '') ? s.hide(): 1;
88 | }
89 | });
90 |
91 | $('a[href*=#]').anchor({
92 | transitionDuration : 500
93 | });
94 |
95 |
96 | //提示没有数据
97 | if (d.nodata) {
98 | s.find(".no-results").remove();
99 | if(!t.html().length){
100 | s.find("h4").eq(0).hide();
101 | }else{
102 | s.find("h4").eq(0).show();
103 | }
104 | if (!c.html().length) {
105 | s.find("h4").eq(1).hide();
106 | }else{
107 | s.find("h4").eq(1).show();
108 | }
109 | if (!t.html().length && !c.html().length) {
110 |
111 | s.children().first().removeAttr("id").clone().removeHighlight().addClass("no-results").show().prependTo(s).text(d.nodata)
112 | }
113 | }
114 | g.trigger("_after")
115 | }
116 | })
117 | })
118 | };
119 | b(document).ready(function() {
120 | b('[data-toggle="fullsearch"]').fullsearch()
121 | })
122 | })(jQuery);
123 |
124 | /*
125 | highlight
126 | */
127 | jQuery.fn.highlight = function(t) {
128 | function e(t, i) {
129 | var n = 0;
130 | if (3 == t.nodeType) {
131 | var a = t.data.toUpperCase().indexOf(i);
132 | if (a >= 0) {
133 | var s = document.createElement("mark");
134 | s.className = "highlight";
135 | var r = t.splitText(a);
136 | r.splitText(i.length);
137 | var o = r.cloneNode(!0);
138 | s.appendChild(o),
139 | r.parentNode.replaceChild(s, r),
140 | n = 1;
141 |
142 | }
143 | } else if (1 == t.nodeType && t.childNodes && !/(script|style)/i.test(t.tagName)) {
144 | for (var h = 0; h < t.childNodes.length; ++h) {
145 | h += e(t.childNodes[h], i);
146 | }
147 | }
148 | return n
149 | }
150 | return this.length && t && t.length ? this.each(function() {
151 | e(this, t.toUpperCase())
152 | }) : this
153 | },
154 | jQuery.fn.removeHighlight = function() {
155 | return this.find("mark.highlight").each(function() {
156 | with(this.parentNode.firstChild.nodeName, this.parentNode) replaceChild(this.firstChild, this),
157 | normalize()
158 | }).end()
159 | };
160 |
--------------------------------------------------------------------------------
/huang_se/static/js/npm.js:
--------------------------------------------------------------------------------
1 | // This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment.
2 | require('../../js/transition.js')
3 | require('../../js/alert.js')
4 | require('../../js/button.js')
5 | require('../../js/carousel.js')
6 | require('../../js/collapse.js')
7 | require('../../js/dropdown.js')
8 | require('../../js/modal.js')
9 | require('../../js/tooltip.js')
10 | require('../../js/popover.js')
11 | require('../../js/scrollspy.js')
12 | require('../../js/tab.js')
13 | require('../../js/affix.js')
--------------------------------------------------------------------------------
/huang_se/static/js/vedio.js:
--------------------------------------------------------------------------------
1 | /*获取控制对象*/
2 | var vids=document.getElementById("vids");
3 | var sskd=$(".controls").width();/*替换原来的764*/
4 | /*一开始默认的视频路径(每个页面都会有一个默认的视频吧)*/
5 | // var csdz=" ../";
6 | /*这一步判断他是什么浏览器,调用不同的格式的视频(这里以mp4为例子)*/
7 | // var xzdz="https://201712mp4.89soso.com/20171208/16/1/xml/91_d595a48c14f44bbd9b69bdb1498ffe21.mp4";
8 | var xzdz="{{tages.urls}}";
9 | vids.src=xzdz;
10 | /*点击右边的话替换左边视频的地址链接以及替换播放器的名字*/
11 | $(".one_tb").click(function(){
12 | //$(this).addClass("on").siblings(".one_tb").removeClass("on");
13 | //var hName=$(this).find("h3").html();
14 | //var vid_src=$(this).attr("vid_src");
15 | //$(".title_top").html(hName);
16 | //vids.src=vid_src+xzdz;
17 | vids.src=xzdz;
18 | vids.play();
19 | })
20 | /*点击暂停图标的时候*/
21 | $("#pass").click(function(){
22 | $(this).css({display:"none"});
23 | $("#ztbf").attr("class","iconfont icon-zanting")
24 | vids.play();
25 | });
26 | /*点击控制按钮里面的暂停图标的时候*/
27 | $("#ztbf").click(function(){
28 | if(vids.paused){
29 | vids.play()
30 | $("#ztbf").attr("class","iconfont icon-zanting")
31 | }else{
32 | vids.pause()
33 | $("#ztbf").attr("class","iconfont icon-zanting2")
34 | }
35 | })
36 | /*不论任何途径只要是暂停或者播放*/
37 | vids.onplay=function(){
38 | $("#pass").css({display:"none"});
39 | $("#ztbf").attr("class","iconfont icon-zanting");
40 | }
41 | vids.onpause=function(){
42 | $("#pass").css({display:"block"});
43 | $("#ztbf").attr("class","iconfont icon-zanting2");
44 | $("#pBar").on('mouseup',function(){
45 | $(this).off('mousemove')
46 | })
47 | }
48 | /*时间转换器*/
49 | function numFormat(time){
50 | time = parseInt(time);
51 | var h = addZero(Math.floor(time/3600));
52 | var m = addZero(Math.floor((time%3600)/60));
53 | var s = addZero(Math.floor(time%60));
54 | return h+":"+m+":"+s;
55 | }
56 | function addZero(num){
57 | if(num<10){
58 | return "0"+num;
59 | }else{
60 | return ''+num;
61 | }
62 | }
63 | /*当前时间/总的时间(canplay方法开始)*/
64 | vids.oncanplay=function(){
65 | var aTime=numFormat(vids.duration);
66 | $("#aTime").html(aTime);
67 | /*第一步,进度条跟着时间动(鼠标点下的时候)*/
68 | vids.ontimeupdate=function(){
69 | sskd=$(".controls").width()
70 | var hc=(vids.buffered.end(0)/vids.duration)*sskd;
71 | $("#buff").css({width:hc+'px'})
72 | var nTime=numFormat(vids.currentTime);
73 | $("#nTime").html(nTime);
74 | /*当前的时间比上总的时间乘以总的长度*/
75 | var nLengh=(vids.currentTime/vids.duration)*(sskd-20);
76 | $("#pBar_move").css({width:nLengh+'px'});
77 | }
78 | /*第二步,点击时的进度条*/
79 | $("#pBar").mousedown(function(e){
80 | var cLk=e.clientX;/*点击距离(点击在进度条区域)*/
81 | var pJl=$("#pBar").offset().left;/*获取进度条距离左边的距离*/
82 | var mLengh=cLk-pJl;/*移动的距离*/
83 | if(mLengh>=(sskd-20)){
84 | mLengh=(sskd-20)
85 | }
86 | $("#pBar_move").css({width:mLengh+'px'});/*改变进度条的距离*/
87 | var cTime1=mLengh/(sskd-20)*vids.duration;
88 | vids.currentTime=cTime1;
89 | var cTime2=numFormat(cTime1);
90 | $("#nTime").html(cTime2);/*改变html的显示时间*/
91 | vids.play();
92 | /*---------------------------------鼠标拖拽的距离---------------------------------------*/
93 | $(document).on('mousemove',function(e){
94 | vids.pause();
95 | var newLeft=e.clientX-pJl;/*拖拽的距离*/
96 | if(newLeft<=0){
97 | newLeft=0;
98 | }
99 | if(newLeft>=(sskd-20)){
100 | newLeft=(sskd-20)
101 | }
102 | var cTime3=newLeft/(sskd-20)*vids.duration;
103 | var cTime4=numFormat(cTime3);
104 | $("#pBar_move").css({width:newLeft+'px'});
105 | vids.currentTime=cTime3;
106 | $("#nTime").html(cTime4);
107 | })/*拖拽结束*/
108 | /*----------------------------------鼠标松开----------------------------------------*/
109 | $("body").on('mouseup',function(){
110 | $(document).off('mousemove');
111 | vids.play();
112 | })/*松开结束*/
113 | })/*mousedown方法结束*/
114 | }/*(canplay方法结束)*/
115 | /*----------------------------------快进快退(点击html的时候)----------------------------------*/
116 | function ktui(){
117 | vids.currentTime-=10;
118 | }
119 | function kjin(){
120 | vids.currentTime+=10;
121 | }
122 | /*----------------------------------快进快退(点击键盘的时候)----------------------------------*/
123 | $(document).keydown(function (event) {
124 | if (event.keyCode===37){
125 | vids.currentTime-=10;
126 | }
127 | if (event.keyCode===39){
128 | vids.currentTime+=10;
129 | }
130 | /*----暂停播放(点击键盘空格的时候)----*/
131 | if (event.keyCode===32){
132 | if(vids.paused){
133 | vids.play()
134 | $("#ztbf").attr("class","iconfont icon-zanting")
135 | }else{
136 | vids.pause()
137 | $("#ztbf").attr("class","iconfont icon-zanting2")
138 | }
139 | }
140 | /*-----------退出全屏-----------*/
141 | if (event.keyCode===27){
142 | $(".video_ls").removeClass("on");
143 | $(".controls").css({width:"764px"})
144 | }
145 | })
146 | /*鼠标双击事件(双击播放器然后全屏)*/
147 | $(".video_ls").dblclick(function(){
148 | $(".video_ls").addClass("on");
149 | var oBox=$("body").width()-66;
150 | $(".controls").css({width:oBox+'px'})
151 | });
152 | /*全屏播放按钮*/
153 | $("#qp").click(function(){
154 | if($(".video_ls").hasClass("on")){
155 | $(".video_ls").removeClass("on");
156 | $(".controls").css({width:"764px"})
157 | }else{
158 | $(".video_ls").addClass("on");
159 | var oBox=$("body").width()-66;
160 | $(".controls").css({width:oBox+'px'})
161 | }
162 | })
163 | /*收藏*/
164 | $("#like").click(function(){
165 | if($(this).hasClass("on")){
166 | $(this).removeClass("on")
167 | }else{
168 | $(this).addClass("on")
169 | }
170 | })
171 | /*点赞*/
172 | $("#zan").click(function(){
173 | if($(this).hasClass("on")){
174 | $(this).removeClass("on")
175 | }else{
176 | $(this).addClass("on")
177 | }
178 | })
179 | /*音量加减*/
180 | vBtn.onmousedown = function(ev){
181 | var ev=ev||window.event;
182 | var xs=ev.clientX - this.offsetLeft;
183 | document.onmousemove = function(ev){
184 | var newLefts=ev.clientX-xs;
185 | if(newLefts<=0){
186 | newLefts=0;
187 | }else if(newLefts>=vBar.offsetWidth-vBtn.offsetWidth){
188 | newLefts=vBar.offsetWidth-vBtn.offsetWidth;
189 | }
190 | vBtn.style.left=newLefts+"px";
191 | vBar_in.style.width =(newLefts+8)+"px";
192 | var prop=newLefts/(vBar.offsetWidth-vBtn.offsetWidth);
193 | vids.volume =prop;
194 | //静音改变音量图标
195 | // if(!vids.volume){
196 | // icon.style.backgroundImage="url(images/iconb.png)"
197 | // }else{
198 | // icon.style.backgroundImage="url(images/icona.png)"
199 | // }
200 | }
201 | document.onmouseup = function(){
202 | document.onmousemove = null;
203 | document.onmouseup = null;
204 | }
205 | }
206 |
--------------------------------------------------------------------------------
/huang_se/static/media/01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/media/01.jpg
--------------------------------------------------------------------------------
/huang_se/static/media/240.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/media/240.mp4
--------------------------------------------------------------------------------
/huang_se/static/media/zt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/media/zt.png
--------------------------------------------------------------------------------
/huang_se/static/related/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/related/1.jpg
--------------------------------------------------------------------------------
/huang_se/static/related/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/static/related/2.jpg
--------------------------------------------------------------------------------
/huang_se/templates/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/chenguanyou/porn_movie/0b38795b252c72c913f81b6ec8e66704c58c45ce/huang_se/templates/.DS_Store
--------------------------------------------------------------------------------
/huang_se/templates/fenye.html:
--------------------------------------------------------------------------------
1 | {% load static %}
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
32 |
35 |
36 |
37 |
38 |
39 |
45 |
46 |
47 |
48 |
49 |
50 |
102 |
103 |
--------------------------------------------------------------------------------
/huang_se/templates/header.html:
--------------------------------------------------------------------------------
1 | {% load static %}
2 |
3 |
4 |
5 |
72 |
73 |
74 |
75 |
">
76 |
77 |
78 |
79 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |