Przeglądaj źródła

更新了文档目录结构

jackfrued 5 lat temu
rodzic
commit
2847d4f0f9
100 zmienionych plików z 0 dodań i 9870 usunięć
  1. 0 0
      Day61-65/.gitkeep
  2. 0 0
      Day61-65/61.网络爬虫和相关工具.md
  3. 0 140
      Day61-65/61.预备知识.md
  4. 0 377
      Day61-65/62.Tornado入门.md
  5. 0 0
      Day61-65/62.数据采集和解析.md
  6. 0 152
      Day61-65/63.Tornado中的异步化.md
  7. 0 0
      Day61-65/63.存储数据.md
  8. 0 228
      Day61-65/64.WebSocket的应用.md
  9. 0 0
      Day61-65/64.并发下载.md
  10. 0 0
      Day61-65/65.解析动态内容.md
  11. 0 2
      Day61-65/65.项目实战.md
  12. 0 0
      Day61-65/75.常见反爬策略及应对方案.md
  13. 0 0
      Day61-65/code/.gitkeep
  14. 0 0
      Day61-65/code/asyncio01.py
  15. 0 0
      Day61-65/code/asyncio02.py
  16. 0 0
      Day61-65/code/coroutine01.py
  17. 0 0
      Day61-65/code/coroutine02.py
  18. 0 0
      Day61-65/code/douban/douban/__init__.py
  19. 0 0
      Day61-65/code/douban/douban/items.py
  20. 0 0
      Day61-65/code/douban/douban/middlewares.py
  21. 0 0
      Day61-65/code/douban/douban/pipelines.py
  22. 0 0
      Day61-65/code/douban/douban/settings.py
  23. 0 0
      Day61-65/code/douban/douban/spiders/__init__.py
  24. 0 0
      Day61-65/code/douban/douban/spiders/movie.py
  25. 0 0
      Day61-65/code/douban/scrapy.cfg
  26. 0 0
      Day61-65/code/example01.py
  27. 0 0
      Day61-65/code/example02.py
  28. 0 0
      Day61-65/code/example03.py
  29. 0 0
      Day61-65/code/example04.py
  30. 0 0
      Day61-65/code/example05.py
  31. 0 0
      Day61-65/code/example06.py
  32. 0 0
      Day61-65/code/example07.py
  33. 0 0
      Day61-65/code/example08.py
  34. 0 0
      Day61-65/code/example09.py
  35. 0 0
      Day61-65/code/example10.py
  36. 0 0
      Day61-65/code/example10a.py
  37. 0 0
      Day61-65/code/example11.py
  38. 0 0
      Day61-65/code/example11a.py
  39. 0 0
      Day61-65/code/example12.py
  40. 0 0
      Day61-65/code/generator01.py
  41. 0 0
      Day61-65/code/generator02.py
  42. 0 0
      Day61-65/code/guido.jpg
  43. 0 44
      Day61-65/code/hello-tornado/chat_handlers.py
  44. 0 24
      Day61-65/code/hello-tornado/chat_server.py
  45. 0 36
      Day61-65/code/hello-tornado/example01.py
  46. 0 77
      Day61-65/code/hello-tornado/example02.py
  47. 0 75
      Day61-65/code/hello-tornado/example03.py
  48. 0 44
      Day61-65/code/hello-tornado/example04.py
  49. 0 47
      Day61-65/code/hello-tornado/example05.py
  50. 0 80
      Day61-65/code/hello-tornado/example06.py
  51. 0 92
      Day61-65/code/hello-tornado/example07.py
  52. 0 30
      Day61-65/code/hello-tornado/example_of_aiohttp.py
  53. 0 40
      Day61-65/code/hello-tornado/example_of_asyncio.py
  54. 0 50
      Day61-65/code/hello-tornado/example_of_coroutine.py
  55. 0 49
      Day61-65/code/hello-tornado/example_of_multiprocess.py
  56. 0 18
      Day61-65/code/hello-tornado/requirements.txt
  57. 0 67
      Day61-65/code/hello-tornado/templates/chat.html
  58. 0 25
      Day61-65/code/hello-tornado/templates/login.html
  59. 0 17
      Day61-65/code/hello-tornado/templates/news.html
  60. 0 0
      Day61-65/code/image360/image360/__init__.py
  61. 0 0
      Day61-65/code/image360/image360/items.py
  62. 0 0
      Day61-65/code/image360/image360/middlewares.py
  63. 0 0
      Day61-65/code/image360/image360/pipelines.py
  64. 0 0
      Day61-65/code/image360/image360/settings.py
  65. 0 0
      Day61-65/code/image360/image360/spiders/__init__.py
  66. 0 0
      Day61-65/code/image360/image360/spiders/image.py
  67. 0 0
      Day61-65/code/image360/image360/spiders/taobao.py
  68. 0 0
      Day61-65/code/image360/scrapy.cfg
  69. 0 0
      Day61-65/code/main.py
  70. 0 0
      Day61-65/code/main_redis.py
  71. 0 0
      Day61-65/code/myutils.py
  72. 0 373
      Day61-65/code/project_of_tornado/assets/css/admin.css
  73. 0 0
      Day61-65/code/project_of_tornado/assets/css/amazeui.datatables.min.css
  74. 0 0
      Day61-65/code/project_of_tornado/assets/css/amazeui.min.css
  75. 0 1912
      Day61-65/code/project_of_tornado/assets/css/app.css
  76. 0 2056
      Day61-65/code/project_of_tornado/assets/css/app.less
  77. 0 4
      Day61-65/code/project_of_tornado/assets/css/fullcalendar.min.css
  78. 0 208
      Day61-65/code/project_of_tornado/assets/css/fullcalendar.print.css
  79. BIN
      Day61-65/code/project_of_tornado/assets/fonts/FontAwesome.otf
  80. BIN
      Day61-65/code/project_of_tornado/assets/fonts/fontawesome-webfont.eot
  81. BIN
      Day61-65/code/project_of_tornado/assets/fonts/fontawesome-webfont.ttf
  82. BIN
      Day61-65/code/project_of_tornado/assets/fonts/fontawesome-webfont.woff
  83. BIN
      Day61-65/code/project_of_tornado/assets/fonts/fontawesome-webfont.woff2
  84. 0 294
      Day61-65/code/project_of_tornado/assets/html/404.html
  85. 0 453
      Day61-65/code/project_of_tornado/assets/html/calendar.html
  86. 0 341
      Day61-65/code/project_of_tornado/assets/html/chart.html
  87. 0 619
      Day61-65/code/project_of_tornado/assets/html/form.html
  88. 0 62
      Day61-65/code/project_of_tornado/assets/html/login.html
  89. 0 70
      Day61-65/code/project_of_tornado/assets/html/sign-up.html
  90. 0 469
      Day61-65/code/project_of_tornado/assets/html/table-list-img.html
  91. 0 461
      Day61-65/code/project_of_tornado/assets/html/table-list.html
  92. 0 834
      Day61-65/code/project_of_tornado/assets/html/tables.html
  93. BIN
      Day61-65/code/project_of_tornado/assets/i/app-icon72x72@2x.png
  94. BIN
      Day61-65/code/project_of_tornado/assets/i/examples/admin-chrome.png
  95. BIN
      Day61-65/code/project_of_tornado/assets/i/examples/admin-firefox.png
  96. BIN
      Day61-65/code/project_of_tornado/assets/i/examples/admin-ie.png
  97. BIN
      Day61-65/code/project_of_tornado/assets/i/examples/admin-opera.png
  98. BIN
      Day61-65/code/project_of_tornado/assets/i/examples/admin-safari.png
  99. BIN
      Day61-65/code/project_of_tornado/assets/i/examples/adminPage.png
  100. BIN
      Day61-65/code/project_of_tornado/assets/i/examples/blogPage.png

+ 0 - 0
Day61-65/.gitkeep


+ 0 - 0
Day66-75/66.网络爬虫和相关工具.md → Day61-65/61.网络爬虫和相关工具.md


+ 0 - 140
Day61-65/61.预备知识.md

@@ -1,140 +0,0 @@
-## 预备知识
-
-### 并发编程
-
-所谓并发编程就是让程序中有多个部分能够并发或同时执行,并发编程带来的好处不言而喻,其中最为关键的两点是提升了执行效率和改善了用户体验。下面简单阐述一下Python中实现并发编程的三种方式:
-
-1. 多线程:Python中通过`threading`模块的`Thread`类并辅以`Lock`、`Condition`、`Event`、`Semaphore`和`Barrier`等类来支持多线程编程。Python解释器通过GIL(全局解释器锁)来防止多个线程同时执行本地字节码,这个锁对于CPython(Python解释器的官方实现)是必须的,因为CPython的内存管理并不是线程安全的。因为GIL的存在,Python的多线程并不能利用CPU的多核特性。
-
-2. 多进程:使用多进程可以有效的解决GIL的问题,Python中的`multiprocessing`模块提供了`Process`类来实现多进程,其他的辅助类跟`threading`模块中的类类似,由于进程间的内存是相互隔离的(操作系统对进程的保护),进程间通信(共享数据)必须使用管道、套接字等方式,这一点从编程的角度来讲是比较麻烦的,为此,Python的`multiprocessing`模块提供了一个名为`Queue`的类,它基于管道和锁机制提供了多个进程共享的队列。
-
-   ```Python
-   """
-   用下面的命令运行程序并查看执行时间,例如:
-   time python3 example06.py
-   real    0m20.657s
-   user    1m17.749s
-   sys     0m0.158s
-   使用多进程后实际执行时间为20.657秒,而用户时间1分17.749秒约为实际执行时间的4倍
-   这就证明我们的程序通过多进程使用了CPU的多核特性,而且这台计算机配置了4核的CPU
-   """
-   import concurrent.futures
-   import math
-   
-   PRIMES = [
-       1116281,
-       1297337,
-       104395303,
-       472882027,
-       533000389,
-       817504243,
-       982451653,
-       112272535095293,
-       112582705942171,
-       112272535095293,
-       115280095190773,
-       115797848077099,
-       1099726899285419
-   ] * 5
-   
-   
-   def is_prime(num):
-       """判断素数"""
-       assert num > 0
-       for i in range(2, int(math.sqrt(num)) + 1):
-           if num % i == 0:
-               return False
-       return num != 1
-   
-   
-   def main():
-       """主函数"""
-       with concurrent.futures.ProcessPoolExecutor() as executor:
-           for number, prime in zip(PRIMES, executor.map(is_prime, PRIMES)):
-               print('%d is prime: %s' % (number, prime))
-   
-   
-   if __name__ == '__main__':
-       main()
-   ```
-
-3. 异步编程(异步I/O):所谓异步编程是通过调度程序从任务队列中挑选任务,调度程序以交叉的形式执行这些任务,我们并不能保证任务将以某种顺序去执行,因为执行顺序取决于队列中的一项任务是否愿意将CPU处理时间让位给另一项任务。异步编程通常通过多任务协作处理的方式来实现,由于执行时间和顺序的不确定,因此需要通过钩子函数(回调函数)或者`Future`对象来获取任务执行的结果。目前我们使用的Python 3通过`asyncio`模块以及`await`和`async`关键字(Python 3.5中引入,Python 3.7中正式成为关键字)提供了对异步I/O的支持。
-
-   ```Python
-   import asyncio
-   
-   
-   async def fetch(host):
-       """从指定的站点抓取信息(协程函数)"""
-       print(f'Start fetching {host}\n')
-       # 跟服务器建立连接
-       reader, writer = await asyncio.open_connection(host, 80)
-       # 构造请求行和请求头
-       writer.write(b'GET / HTTP/1.1\r\n')
-       writer.write(f'Host: {host}\r\n'.encode())
-       writer.write(b'\r\n')
-       # 清空缓存区(发送请求)
-       await writer.drain()
-       # 接收服务器的响应(读取响应行和响应头)
-       line = await reader.readline()
-       while line != b'\r\n':
-           print(line.decode().rstrip())
-           line = await reader.readline()
-       print('\n')
-       writer.close()
-   
-   
-   def main():
-       """主函数"""
-       urls = ('www.sohu.com', 'www.douban.com', 'www.163.com')
-       # 获取系统默认的事件循环
-       loop = asyncio.get_event_loop()
-       # 用生成式语法构造一个包含多个协程对象的列表
-       tasks = [fetch(url) for url in urls]
-       # 通过asyncio模块的wait函数将协程列表包装成Task(Future子类)并等待其执行完成
-       # 通过事件循环的run_until_complete方法运行任务直到Future完成并返回它的结果
-       loop.run_until_complete(asyncio.wait(tasks))
-       loop.close()
-   
-   
-   if __name__ == '__main__':
-       main()
-   ```
-
-   > 说明:目前大多数网站都要求基于HTTPS通信,因此上面例子中的网络请求不一定能收到正常的响应,也就是说响应状态码不一定是200,有可能是3xx或者4xx。当然我们这里的重点不在于获得网站响应的内容,而是帮助大家理解`asyncio`模块以及`async`和`await`两个关键字的使用。
-
-我们对三种方式的使用场景做一个简单的总结。
-
-以下情况需要使用多线程:
-
-1. 程序需要维护许多共享的状态(尤其是可变状态),Python中的列表、字典、集合都是线程安全的,所以使用线程而不是进程维护共享状态的代价相对较小。
-2. 程序会花费大量时间在I/O操作上,没有太多并行计算的需求且不需占用太多的内存。
-
-以下情况需要使用多进程:
-
-1. 程序执行计算密集型任务(如:字节码操作、数据处理、科学计算)。
-2. 程序的输入可以并行的分成块,并且可以将运算结果合并。
-3. 程序在内存使用方面没有任何限制且不强依赖于I/O操作(如:读写文件、套接字等)。
-
-最后,如果程序不需要真正的并发性或并行性,而是更多的依赖于异步处理和回调时,异步I/O就是一种很好的选择。另一方面,当程序中有大量的等待与休眠时,也应该考虑使用异步I/O。
-
-> 扩展:关于进程,还需要做一些补充说明。首先,为了控制进程的执行,操作系统内核必须有能力挂起正在CPU上运行的进程,并恢复以前挂起的某个进程使之继续执行,这种行为被称为进程切换(也叫调度)。进程切换是比较耗费资源的操作,因为在进行切换时首先要保存当前进程的上下文(内核再次唤醒该进程时所需要的状态,包括:程序计数器、状态寄存器、数据栈等),然后还要恢复准备执行的进程的上下文。正在执行的进程由于期待的某些事件未发生,如请求系统资源失败、等待某个操作完成、新数据尚未到达等原因会主动由运行状态变为阻塞状态,当进程进入阻塞状态,是不占用CPU资源的。这些知识对于理解到底选择哪种方式进行并发编程也是很重要的。
-
-### I/O模式和事件驱动
-
-对于一次I/O操作(以读操作为例),数据会先被拷贝到操作系统内核的缓冲区中,然后从操作系统内核的缓冲区拷贝到应用程序的缓冲区(这种方式称为标准I/O或缓存I/O,大多数文件系统的默认I/O都是这种方式),最后交给进程。所以说,当一个读操作发生时(写操作与之类似),它会经历两个阶段:(1)等待数据准备就绪;(2)将数据从内核拷贝到进程中。
-
-由于存在这两个阶段,因此产生了以下几种I/O模式:
-
-1. 阻塞 I/O(blocking I/O):进程发起读操作,如果内核数据尚未就绪,进程会阻塞等待数据直到内核数据就绪并拷贝到进程的内存中。
-2. 非阻塞 I/O(non-blocking I/O):进程发起读操作,如果内核数据尚未就绪,进程不阻塞而是收到内核返回的错误信息,进程收到错误信息可以再次发起读操作,一旦内核数据准备就绪,就立即将数据拷贝到了用户内存中,然后返回。
-3. 多路I/O复用( I/O multiplexing):监听多个I/O对象,当I/O对象有变化(数据就绪)的时候就通知用户进程。多路I/O复用的优势并不在于单个I/O操作能处理得更快,而是在于能处理更多的I/O操作。
-4. 异步 I/O(asynchronous I/O):进程发起读操作后就可以去做别的事情了,内核收到异步读操作后会立即返回,所以用户进程不阻塞,当内核数据准备就绪时,内核发送一个信号给用户进程,告诉它读操作完成了。
-
-通常,我们编写一个处理用户请求的服务器程序时,有以下三种方式可供选择:
-
-1. 每收到一个请求,创建一个新的进程,来处理该请求;
-2. 每收到一个请求,创建一个新的线程,来处理该请求;
-3. 每收到一个请求,放入一个事件列表,让主进程通过非阻塞I/O方式来处理请求
-
-第1种方式实现比较简单,但由于创建进程开销比较大,会导致服务器性能比较差;第2种方式,由于要涉及到线程的同步,有可能会面临竞争、死锁等问题;第3种方式,就是所谓事件驱动的方式,它利用了多路I/O复用和异步I/O的优点,虽然代码逻辑比前面两种都复杂,但能达到最好的性能,这也是目前大多数网络服务器采用的方式。

+ 0 - 377
Day61-65/62.Tornado入门.md

@@ -1,377 +0,0 @@
-## Tornado入门
-
-### Tornado概述
-
-Python的Web框架种类繁多(比Python语言的关键字还要多),但在众多优秀的Web框架中,Tornado框架最适合用来开发需要处理长连接和应对高并发的Web应用。Tornado框架在设计之初就考虑到性能问题,通过对非阻塞I/O和epoll(Linux 2.5.44内核引入的一种多路I/O复用方式,旨在实现高性能网络服务,在BSD和macOS中是kqueue)的运用,Tornado可以处理大量的并发连接,更轻松的应对C10K(万级并发)问题,是非常理想的实时通信Web框架。
-
-> 扩展:基于线程的Web服务器产品(如:Apache)会维护一个线程池来处理用户请求,当用户请求到达时就为该请求分配一个线程,如果线程池中没有空闲线程了,那么可以通过创建新的线程来应付新的请求,但前提是系统尚有空闲的内存空间,显然这种方式很容易将服务器的空闲内存耗尽(大多数Linux发行版本中,默认的线程栈大小为8M)。想象一下,如果我们要开发一个社交类应用,这类应用中,通常需要显示实时更新的消息、对象状态的变化和各种类型的通知,那也就意味着客户端需要保持请求连接来接收服务器的各种响应,在这种情况下,服务器上的工作线程很容易被耗尽,这也就意味着新的请求很有可能无法得到响应。
-
-Tornado框架源于FriendFeed网站,在FriendFeed网站被Facebook收购之后得以开源,正式发布的日期是2009年9月10日。Tornado能让你能够快速开发高速的Web应用,如果你想编写一个可扩展的社交应用、实时分析引擎,或RESTful API,那么Tornado框架就是很好的选择。Tornado其实不仅仅是一个Web开发的框架,它还是一个高性能的事件驱动网络访问引擎,内置了高性能的HTTP服务器和客户端(支持同步和异步请求),同时还对WebSocket提供了完美的支持。
-
-了解和学习Tornado最好的资料就是它的官方文档,在[tornadoweb.org](http://www.tornadoweb.org)上面有很多不错的例子,你也可以在Github上找到Tornado的源代码和历史版本。
-
-### 5分钟上手Tornado
-
-1. 创建并激活虚拟环境。
-
-   ```Shell
-   mkdir hello-tornado
-   cd hello-tornado
-   python3 -m venv venv
-   source venv/bin/activate
-   ```
-
-2. 安装Tornado。
-
-   ```Shell
-   pip install tornado
-   ```
-
-3. 编写Web应用。
-
-   ```Python
-   """
-   example01.py
-   """
-   import tornado.ioloop
-   import tornado.web
-   
-   
-   class MainHandler(tornado.web.RequestHandler):
-   
-       def get(self):
-           self.write('<h1>Hello, world!</h1>')
-   
-   
-   def main():
-       app = tornado.web.Application(handlers=[(r'/', MainHandler), ])
-       app.listen(8888)
-       tornado.ioloop.IOLoop.current().start()
-   
-   
-   if __name__ == '__main__':
-       main()
-   ```
-
-4. 运行并访问应用。
-
-   ```Shell
-   python example01.py
-   ```
-
-   ![](./res/run-hello-world-app.png)
-
-在上面的例子中,代码example01.py通过定义一个继承自`RequestHandler`的类(`MainHandler`)来处理用户请求,当请求到达时,Tornado会实例化这个类(创建`MainHandler`对象),并调用与HTTP请求方法(GET、POST等)对应的方法,显然上面的`MainHandler`只能处理GET请求,在收到GET请求时,它会将一段HTML的内容写入到HTTP响应中。`main`函数的第1行代码创建了Tornado框架中`Application`类的实例,它代表了我们的Web应用,而创建该实例最为重要的参数就是`handlers`,该参数告知`Application`对象,当收到一个请求时应该通过哪个类的对象来处理这个请求。在上面的例子中,当通过HTTP的GET请求访问站点根路径时,就会调用`MainHandler`的`get`方法。 `main`函数的第2行代码通过`Application`对象的`listen`方法指定了监听HTTP请求的端口。`main`函数的第3行代码用于获取Tornado框架的`IOLoop`实例并启动它,该实例代表一个条件触发的I/O循环,用于持续的接收来自于客户端的请求。
-
-> 扩展:在Python 3中,`IOLoop`实例的本质就是`asyncio`的事件循环,该事件循环在非Windows系统中就是`SelectorEventLoop`对象,它基于`selectors`模块(高级I/O复用模块),会使用当前操作系统最高效的I/O复用选择器,例如在Linux环境下它使用`EpollSelector`,而在macOS和BSD环境下它使用的是`KqueueSelector`;在Python 2中,`IOLoop`直接使用`select`模块(低级I/O复用模块)的`epoll`或`kqueue`函数,如果这两种方式都不可用,则调用`select`函数实现多路I/O复用。当然,如果要支持高并发,你的系统最好能够支持epoll或者kqueue这两种多路I/O复用方式中的一种。
-
-如果希望通过命令行参数来指定Web应用的监听端口,可以对上面的代码稍作修改。
-
-```Python
-"""
-example01.py
-"""
-import tornado.ioloop
-import tornado.web
-
-from tornado.options import define, options, parse_command_line
-
-
-# 定义默认端口
-define('port', default=8000, type=int)
-
-
-class MainHandler(tornado.web.RequestHandler):
-
-    def get(self):
-        self.write('<h1>Hello, world!</h1>')
-
-
-def main():
-    # python example01.py --port=8000
-    parse_command_line()
-    app = tornado.web.Application(handlers=[(r'/', MainHandler), ])
-    app.listen(options.port)
-    tornado.ioloop.IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()
-```
-
-在启动Web应用时,如果没有指定端口,将使用`define`函数中设置的默认端口8000,如果要指定端口,可以使用下面的方式来启动Web应用。
-
-```Shell
-python example01.py --port=8000
-```
-
-### 路由解析
-
-上面我们曾经提到过创建`Application`实例时需要指定`handlers`参数,这个参数非常重要,它应该是一个元组的列表,元组中的第一个元素是正则表达式,它用于匹配用户请求的资源路径;第二个元素是`RequestHandler`的子类。在刚才的例子中,我们只在`handlers`列表中放置了一个元组,事实上我们可以放置多个元组来匹配不同的请求(资源路径),而且可以使用正则表达式的捕获组来获取匹配的内容并将其作为参数传入到`get`、`post`这些方法中。
-
-```Python
-"""
-example02.py
-"""
-import os
-import random
-
-import tornado.ioloop
-import tornado.web
-
-from tornado.options import define, options, parse_command_line
-
-
-# 定义默认端口
-define('port', default=8000, type=int)
-
-
-class SayingHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def get(self):
-        sayings = [
-            '世上没有绝望的处境,只有对处境绝望的人',
-            '人生的道路在态度的岔口一分为二,从此通向成功或失败',
-            '所谓措手不及,不是说没有时间准备,而是有时间的时候没有准备',
-            '那些你认为不靠谱的人生里,充满你没有勇气做的事',
-            '在自己喜欢的时间里,按照自己喜欢的方式,去做自己喜欢做的事,这便是自由',
-            '有些人不属于自己,但是遇见了也弥足珍贵'
-        ]
-        # 渲染index.html模板页
-        self.render('index.html', message=random.choice(sayings))
-
-
-class WeatherHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def get(self, city):
-        # Tornado框架会自动处理百分号编码的问题
-        weathers = {
-            '北京': {'temperature': '-4~4', 'pollution': '195 中度污染'},
-            '成都': {'temperature': '3~9', 'pollution': '53 良'},
-            '深圳': {'temperature': '20~25', 'pollution': '25 优'},
-            '广州': {'temperature': '18~23', 'pollution': '56 良'},
-            '上海': {'temperature': '6~8', 'pollution': '65 良'}
-        }
-        if city in weathers:
-            self.render('weather.html', city=city, weather=weathers[city])
-        else:
-            self.render('index.html', message=f'没有{city}的天气信息')
-
-
-class ErrorHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def get(self):
-        # 重定向到指定的路径
-        self.redirect('/saying')
-
-
-def main():
-    """主函数"""
-    parse_command_line()
-    app = tornado.web.Application(
-        # handlers是按列表中的顺序依次进行匹配的
-        handlers=[
-            (r'/saying/?', SayingHandler),
-            (r'/weather/([^/]{2,})/?', WeatherHandler),
-            (r'/.+', ErrorHandler),
-        ],
-        # 通过template_path参数设置模板页的路径
-        template_path=os.path.join(os.path.dirname(__file__), 'templates')
-    )
-    app.listen(options.port)
-    tornado.ioloop.IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()
-```
-
-模板页index.html。
-
-```HTML
-<!-- index.html -->
-<!DOCTYPE html>
-<html lang="en">
-<head>
-	<meta charset="utf-8">
-	<title>Tornado基础</title>
-</head>
-<body>
-	<h1>{{message}}</h1>
-</body>
-</html>
-```
-
-模板页weather.html。
-
-```HTML
-<!-- weather.html -->
-<!DOCTYPE html>
-<html lang="en">
-<head>
-	<meta charset="utf-8">
-	<title>Tornado基础</title>
-</head>
-<body>
-	<h1>{{city}}</h1>
-	<hr>
-	<h2>温度:{{weather['temperature']}}摄氏度</h2>
-	<h2>污染指数:{{weather['pollution']}}</h2>
-</body>
-</html>
-```
-
-Tornado的模板语法与其他的Web框架中使用的模板语法并没有什么实质性的区别,而且目前的Web应用开发更倡导使用前端渲染的方式来减轻服务器的负担,所以这里我们并不对模板语法和后端渲染进行深入的讲解。
-
-### 请求处理器
-
-通过上面的代码可以看出,`RequestHandler`是处理用户请求的核心类,通过重写`get`、`post`、`put`、`delete`等方法可以处理不同类型的HTTP请求,除了这些方法之外,`RequestHandler`还实现了很多重要的方法,下面是部分方法的列表:
-
-1. `get_argument` / `get_arguments` / `get_body_argument` / `get_body_arguments` / `get_query_arugment` / `get_query_arguments`:获取请求参数。
-2. `set_status` / `send_error` / `set_header` / `add_header` / `clear_header` / `clear`:操作状态码和响应头。
-3. `write` / `flush` / `finish` / `write_error`:和输出相关的方法。
-4. `render` / `render_string`:渲染模板。
-5. `redirect`:请求重定向。
-6. `get_cookie` / `set_cookie` / `get_secure_cookie` / `set_secure_cookie` / `create_signed_value` / `clear_cookie` / `clear_all_cookies`:操作Cookie。
-
-我们用上面讲到的这些方法来完成下面的需求,访问页面时,如果Cookie中没有读取到用户信息则要求用户填写个人信息,如果从Cookie中读取到用户信息则直接显示用户信息。
-
-```Python
-"""
-example03.py
-"""
-import os
-import re
-
-import tornado.ioloop
-import tornado.web
-
-from tornado.options import define, options, parse_command_line
-
-
-# 定义默认端口
-define('port', default=8000, type=int)
-
-users = {}
-
-
-class User(object):
-    """用户"""
-
-    def __init__(self, nickname, gender, birthday):
-        self.nickname = nickname
-        self.gender = gender
-        self.birthday = birthday
-
-
-class MainHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def get(self):
-        # 从Cookie中读取用户昵称
-        nickname = self.get_cookie('nickname')
-        if nickname in users:
-            self.render('userinfo.html', user=users[nickname])
-        else:
-            self.render('userform.html', hint='请填写个人信息')
-
-
-class UserHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def post(self):
-        # 从表单参数中读取用户昵称、性别和生日信息
-        nickname = self.get_body_argument('nickname').strip()
-        gender = self.get_body_argument('gender')
-        birthday = self.get_body_argument('birthday')
-        # 检查用户昵称是否有效
-        if not re.fullmatch(r'\w{6,20}', nickname):
-            self.render('userform.html', hint='请输入有效的昵称')
-        elif nickname in users:
-            self.render('userform.html', hint='昵称已经被使用过')
-        else:
-            users[nickname] = User(nickname, gender, birthday)
-            # 将用户昵称写入Cookie并设置有效期为7天
-            self.set_cookie('nickname', nickname, expires_days=7)
-            self.render('userinfo.html', user=users[nickname])
-
-
-def main():
-    """主函数"""
-    parse_command_line()
-    app = tornado.web.Application(
-        handlers=[
-            (r'/', MainHandler), (r'/register', UserHandler)
-        ],
-        template_path=os.path.join(os.path.dirname(__file__), 'templates')
-    )
-    app.listen(options.port)
-    tornado.ioloop.IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()
-```
-
-模板页userform.html。
-
-```HTML
-<!-- userform.html -->
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <title>Tornado基础</title>
-	<style>
-		.em { color: red; }
-	</style>
-</head>
-<body>
-    <h1>填写用户信息</h1>
-    <hr>
-	<p class="em">{{hint}}</p>
-    <form action="/register" method="post">
-		<p>
-			<label>昵称:</label>
-			<input type="text" name="nickname">
-			(字母数字下划线,6-20个字符)
-		</p>
-		<p>
-			<label>性别:</label>
-			<input type="radio" name="gender" value="男" checked>男
-			<input type="radio" name="gender" value="女">女
-		</p>
-		<p>
-			<label>生日:</label>
-			<input type="date" name="birthday" value="1990-01-01">
-		</p>
-		<p>
-			<input type="submit" value="确定">
-		</p>
-	</form>
-</body>
-</html>
-```
-
-模板页userinfo.html。
-
-```HTML
-<!-- userinfo.html -->
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <title>Tornado基础</title>
-</head>
-<body>
-    <h1>用户信息</h1>
-    <hr>
-    <h2>昵称:{{user.nickname}}</h2>
-    <h2>性别:{{user.gender}}</h2>
-    <h2>出生日期:{{user.birthday}}</h2>
-</body>
-</html>
-```

+ 0 - 0
Day66-75/67.数据采集和解析.md → Day61-65/62.数据采集和解析.md


+ 0 - 152
Day61-65/63.Tornado中的异步化.md

@@ -1,152 +0,0 @@
-## Tornado中的异步化
-
-在前面的例子中,我们并没有对`RequestHandler`中的`get`或`post`方法进行异步处理,这就意味着,一旦在`get`或`post`方法中出现了耗时间的操作,不仅仅是当前请求被阻塞,按照Tornado框架的工作模式,其他的请求也会被阻塞,所以我们需要对耗时间的操作进行异步化处理。
-
-在Tornado稍早一些的版本中,可以用装饰器实现请求方法的异步化或协程化来解决这个问题。
-
-- 给`RequestHandler`的请求处理函数添加`@tornado.web.asynchronous`装饰器,如下所示:
-
-  ```Python
-  class AsyncReqHandler(RequestHandler):
-      
-      @tornado.web.asynchronous
-      def get(self):
-         http = httpclient.AsyncHTTPClient()
-         http.fetch("http://example.com/", self._on_download)
-  
-      def _on_download(self, response):
-         do_something_with_response(response)
-         self.render("template.html")
-  ```
-
-- 给`RequestHandler`的请求处理函数添加`@tornado.gen.coroutine`装饰器,如下所示:
-
-  ```Python
-  class GenAsyncHandler(RequestHandler):
-      
-      @tornado.gen.coroutine
-      def get(self):
-          http_client = AsyncHTTPClient()
-          response = yield http_client.fetch("http://example.com")
-          do_something_with_response(response)
-          self.render("template.html")
-  ```
-
-- 使用`@return_future`装饰器,如下所示:
-
-  ```Python
-  @return_future
-  def future_func(arg1, arg2, callback):
-      # Do stuff (possibly asynchronous)
-      callback(result)
-  
-  async def caller():
-      await future_func(arg1, arg2)
-  ```
-
-在Tornado 5.x版本中,这几个装饰器都被标记为**deprcated**(过时),我们可以通过Python 3.5中引入的`async`和`await`(在Python 3.7中已经成为正式的关键字)来达到同样的效果。当然,要实现异步化还得靠其他的支持异步操作的三方库来支持,如果请求处理函数中用到了不支持异步操作的三方库,就需要靠自己写包装类来支持异步化。
-
-下面的代码演示了在读写数据库时如何实现请求处理的异步化。我们用到的数据库建表语句如下所示:
-
-```SQL
-create database hrs default charset utf8;
-
-use hrs;
-
-/* 创建部门表 */
-create table tb_dept
-(
-    dno     int not null comment '部门编号',
-    dname   varchar(10) not null comment '部门名称',
-    dloc    varchar(20) not null comment '部门所在地',
-    primary key (dno)
-);
-
-insert into tb_dept values
-    (10, '会计部', '北京'),
-    (20, '研发部', '成都'),
-    (30, '销售部', '重庆'),
-    (40, '运维部', '深圳');
-```
-
-我们通过下面的代码实现了查询和新增部门两个操作。
-
-```Python
-import json
-
-import aiomysql
-import tornado
-import tornado.web
-
-from tornado.ioloop import IOLoop
-from tornado.options import define, parse_command_line, options
-
-define('port', default=8000, type=int)
-
-
-async def connect_mysql():
-    return await aiomysql.connect(
-        host='120.77.222.217',
-        port=3306,
-        db='hrs',
-        user='root',
-        password='123456',
-    )
-
-
-class HomeHandler(tornado.web.RequestHandler):
-
-    async def get(self, no):
-        async with self.settings['mysql'].cursor(aiomysql.DictCursor) as cursor:
-            await cursor.execute("select * from tb_dept where dno=%s", (no, ))
-            if cursor.rowcount == 0:
-                self.finish(json.dumps({
-                    'code': 20001,
-                    'mesg': f'没有编号为{no}的部门'
-                }))
-                return
-            row = await cursor.fetchone()
-            self.finish(json.dumps(row))
-
-    async def post(self, *args, **kwargs):
-        no = self.get_argument('no')
-        name = self.get_argument('name')
-        loc = self.get_argument('loc')
-        conn = self.settings['mysql']
-        try:
-            async with conn.cursor() as cursor:
-                await cursor.execute('insert into tb_dept values (%s, %s, %s)',
-                                     (no, name, loc))
-            await conn.commit()
-        except aiomysql.MySQLError:
-            self.finish(json.dumps({
-                'code': 20002,
-                'mesg': '添加部门失败请确认部门信息'
-            }))
-        else:
-            self.set_status(201)
-            self.finish()
-
-
-def make_app(config):
-    return tornado.web.Application(
-        handlers=[(r'/api/depts/(.*)', HomeHandler), ],
-        **config
-    )
-
-
-def main():
-    parse_command_line()
-    app = make_app({
-        'debug': True,
-        'mysql': IOLoop.current().run_sync(connect_mysql)
-    })
-    app.listen(options.port)
-    IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()
-```
-
-上面的代码中,我们用到了`aiomysql`这个三方库,它基于`pymysql`封装,实现了对MySQL操作的异步化。操作Redis可以使用`aioredis`,访问MongoDB可以使用`motor`,这些都是支持异步操作的三方库。

+ 0 - 0
Day66-75/68.存储数据.md → Day61-65/63.存储数据.md


+ 0 - 228
Day61-65/64.WebSocket的应用.md

@@ -1,228 +0,0 @@
-## WebSocket的应用
-
-Tornado的异步特性使其非常适合处理高并发的业务,同时也适合那些需要在客户端和服务器之间维持长连接的业务。传统的基于HTTP协议的Web应用,服务器和客户端(浏览器)的通信只能由客户端发起,这种单向请求注定了如果服务器有连续的状态变化,客户端(浏览器)是很难得知的。事实上,今天的很多Web应用都需要服务器主动向客户端(浏览器)发送数据,我们将这种通信方式称之为“推送”。过去很长一段时间,程序员都是用定时轮询(Polling)或长轮询(Long Polling)等方式来实现“推送”,但是这些都不是真正意义上的“推送”,而且浪费资源且效率低下。在HTML5时代,可以通过一种名为WebSocket的技术在服务器和客户端(浏览器)之间维持传输数据的长连接,这种方式可以实现真正的“推送”服务。
-
-### WebSocket简介
-
-WebSocket 协议在2008年诞生,2011年成为国际标准([RFC 6455](https://tools.ietf.org/html/rfc6455)),现在的浏览器都能够支持它,它可以实现浏览器和服务器之间的全双工通信。我们之前学习或了解过Python的Socket编程,通过Socket编程,可以基于TCP或UDP进行数据传输;而WebSocket与之类似,只不过它是基于HTTP来实现通信握手,使用TCP来进行数据传输。WebSocket的出现打破了HTTP请求和响应只能一对一通信的模式,也改变了服务器只能被动接受客户端请求的状况。目前有很多Web应用是需要服务器主动向客户端发送信息的,例如股票信息的网站可能需要向浏览器发送股票涨停通知,社交网站可能需要向用户发送好友上线提醒或聊天信息。
-
-![](./res/websocket.png)
-
-WebSocket的特点如下所示:
-
-1. 建立在TCP协议之上,服务器端的实现比较容易。
-2. 与HTTP协议有着良好的兼容性,默认端口是80(WS)和443(WSS),通信握手阶段采用HTTP协议,能通过各种 HTTP 代理服务器(不容易被防火墙阻拦)。
-3. 数据格式比较轻量,性能开销小,通信高效。
-4. 可以发送文本,也可以发送二进制数据。
-5. 没有同源策略的限制,客户端(浏览器)可以与任意服务器通信。
-
-![](./res/ws_wss.png)
-
-### WebSocket服务器端编程
-
-Tornado框架中有一个`tornado.websocket.WebSocketHandler`类专门用于处理来自WebSocket的请求,通过继承该类并重写`open`、`on_message`、`on_close` 等方法来处理WebSocket通信,下面我们对`WebSocketHandler`的核心方法做一个简单的介绍。
-
-1. `open(*args, **kwargs)`方法:建立新的WebSocket连接后,Tornado框架会调用该方法,该方法的参数与`RequestHandler`的`get`方法的参数类似,这也就意味着在`open`方法中可以执行获取请求参数、读取Cookie信息这样的操作。
-
-2. `on_message(message)`方法:建立WebSocket之后,当收到来自客户端的消息时,Tornado框架会调用该方法,这样就可以对收到的消息进行对应的处理,必须重写这个方法。
-
-3. `on_close()`方法:当WebSocket被关闭时,Tornado框架会调用该方法,在该方法中可以通过`close_code`和`close_reason`了解关闭的原因。
-
-4. `write_message(message, binary=False)`方法:将指定的消息通过WebSocket发送给客户端,可以传递utf-8字符序列或者字节序列,如果message是一个字典,将会执行JSON序列化。正常情况下,该方法会返回一个`Future`对象;如果WebSocket被关闭了,将引发`WebSocketClosedError`。
-
-5. `set_nodelay(value)`方法:默认情况下,因为TCP的Nagle算法会导致短小的消息被延迟发送,在考虑到交互性的情况下就要通过将该方法的参数设置为`True`来避免延迟。
-
-6. `close(code=None, reason=None)`方法:主动关闭WebSocket,可以指定状态码(详见[RFC 6455 7.4.1节](https://tools.ietf.org/html/rfc6455#section-7.4.1))和原因。
-
-### WebSocket客户端编程
-
-1. 创建WebSocket对象。
-
-   ```JavaScript
-   var webSocket = new WebSocket('ws://localhost:8000/ws');
-   ```
-
-   >说明:webSocket对象的readyState属性表示该对象当前状态,取值为CONNECTING-正在连接,OPEN-连接成功可以通信,CLOSING-正在关闭,CLOSED-已经关闭。
-
-2. 编写回调函数。
-
-   ```JavaScript
-   webSocket.onopen = function(evt) { webSocket.send('...'); };
-   webSocket.onmessage = function(evt) { console.log(evt.data); };
-   webSocket.onclose = function(evt) {};
-   webSocket.onerror = function(evt) {};
-   ```
-
-   > 说明:如果要绑定多个事件回调函数,可以用addEventListener方法。另外,通过事件对象的data属性获得的数据可能是字符串,也有可能是二进制数据,可以通过webSocket对象的binaryType属性(blob、arraybuffer)或者通过typeof、instanceof运算符检查类型进行判定。
-
-### 项目:Web聊天室
-
-```Python
-"""
-handlers.py - 用户登录和聊天的处理器
-"""
-import tornado.web
-import tornado.websocket
-
-nicknames = set()
-connections = {}
-
-
-class LoginHandler(tornado.web.RequestHandler):
-
-    def get(self):
-        self.render('login.html', hint='')
-
-    def post(self):
-        nickname = self.get_argument('nickname')
-        if nickname in nicknames:
-            self.render('login.html', hint='昵称已被使用,请更换昵称')
-        self.set_secure_cookie('nickname', nickname)
-        self.render('chat.html')
-
-
-class ChatHandler(tornado.websocket.WebSocketHandler):
-
-    def open(self):
-        nickname = self.get_secure_cookie('nickname').decode()
-        nicknames.add(nickname)
-        for conn in connections.values():
-            conn.write_message(f'~~~{nickname}进入了聊天室~~~')
-        connections[nickname] = self
-
-    def on_message(self, message):
-        nickname = self.get_secure_cookie('nickname').decode()
-        for conn in connections.values():
-            if conn is not self:
-                conn.write_message(f'{nickname}说:{message}')
-
-    def on_close(self):
-        nickname = self.get_secure_cookie('nickname').decode()
-        del connections[nickname]
-        nicknames.remove(nickname)
-        for conn in connections.values():
-            conn.write_message(f'~~~{nickname}离开了聊天室~~~')
-
-```
-
-```Python
-"""
-run_chat_server.py - 聊天服务器
-"""
-import os
-
-import tornado.web
-import tornado.ioloop
-
-from handlers import LoginHandler, ChatHandler
-
-
-if __name__ == '__main__':
-    app = tornado.web.Application(
-        handlers=[(r'/login', LoginHandler), (r'/chat', ChatHandler)],
-        template_path=os.path.join(os.path.dirname(__file__), 'templates'),
-        static_path=os.path.join(os.path.dirname(__file__), 'static'),
-        cookie_secret='MWM2MzEyOWFlOWRiOWM2MGMzZThhYTk0ZDNlMDA0OTU=',
-    )
-    app.listen(8888)
-    tornado.ioloop.IOLoop.current().start()
-```
-
-```HTML
-<!-- login.html -->
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <title>Tornado聊天室</title>
-    <style>
-        .hint { color: red; font-size: 0.8em; }
-    </style>
-</head>
-<body>
-    <div>
-        <div id="container">
-            <h1>进入聊天室</h1>
-            <hr>
-            <p class="hint">{{hint}}</p>
-            <form method="post" action="/login">
-                <label>昵称:</label>
-                <input type="text" placeholder="请输入你的昵称" name="nickname">
-                <button type="submit">登录</button>
-            </form>
-        </div>
-    </div>
-</body>
-</html>
-```
-
-```HTML
-<!-- chat.html -->
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <title>Tornado聊天室</title>
-</head>
-<body>
-    <h1>聊天室</h1>
-    <hr>
-    <div>
-        <textarea id="contents" rows="20" cols="120" readonly></textarea>
-    </div>
-    <div class="send">
-        <input type="text" id="content" size="50">
-        <input type="button" id="send" value="发送">
-    </div>
-    <p>
-        <a id="quit" href="javascript:void(0);">退出聊天室</a>
-    </p>
-    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
-    <script>
-        $(function() {
-            // 将内容追加到指定的文本区
-            function appendContent($ta, message) {
-                var contents = $ta.val();
-                contents += '\n' + message;
-                $ta.val(contents);
-                $ta[0].scrollTop = $ta[0].scrollHeight;
-            }
-            // 通过WebSocket发送消息
-            function sendMessage() {
-                message = $('#content').val().trim();
-                if (message.length > 0) {
-                    ws.send(message);
-                    appendContent($('#contents'), '我说:' + message);
-                    $('#content').val('');
-                }
-            }
-            // 创建WebSocket对象
-            var ws= new WebSocket('ws://localhost:8888/chat');
-            // 连接建立后执行的回调函数
-            ws.onopen = function(evt) {
-                $('#contents').val('~~~欢迎您进入聊天室~~~');
-            };
-            // 收到消息后执行的回调函数
-            ws.onmessage = function(evt) {
-                appendContent($('#contents'), evt.data);
-            };
-            // 为发送按钮绑定点击事件回调函数
-            $('#send').on('click', sendMessage);
-            // 为文本框绑定按下回车事件回调函数
-            $('#content').on('keypress', function(evt) {
-                keycode = evt.keyCode || evt.which;
-                if (keycode == 13) {
-                    sendMessage();
-                }
-            });
-            // 为退出聊天室超链接绑定点击事件回调函数
-            $('#quit').on('click', function(evt) {
-                ws.close();
-                location.href = '/login';
-            });
-        });
-    </script>
-</body>
-</html>
-```
-

+ 0 - 0
Day66-75/69.并发下载.md → Day61-65/64.并发下载.md


+ 0 - 0
Day66-75/70.解析动态内容.md → Day61-65/65.解析动态内容.md


+ 0 - 2
Day61-65/65.项目实战.md

@@ -1,2 +0,0 @@
-## 项目实战
-

+ 0 - 0
Day66-75/75.常见反爬策略及应对方案.md → Day61-65/75.常见反爬策略及应对方案.md


+ 0 - 0
Day61-65/code/.gitkeep


+ 0 - 0
Day66-75/code/asyncio01.py → Day61-65/code/asyncio01.py


+ 0 - 0
Day66-75/code/asyncio02.py → Day61-65/code/asyncio02.py


+ 0 - 0
Day66-75/code/coroutine01.py → Day61-65/code/coroutine01.py


+ 0 - 0
Day66-75/code/coroutine02.py → Day61-65/code/coroutine02.py


+ 0 - 0
Day61-65/code/project_of_tornado/service/__init__.py → Day61-65/code/douban/douban/__init__.py


+ 0 - 0
Day66-75/code/douban/douban/items.py → Day61-65/code/douban/douban/items.py


+ 0 - 0
Day66-75/code/douban/douban/middlewares.py → Day61-65/code/douban/douban/middlewares.py


+ 0 - 0
Day66-75/code/douban/douban/pipelines.py → Day61-65/code/douban/douban/pipelines.py


+ 0 - 0
Day66-75/code/douban/douban/settings.py → Day61-65/code/douban/douban/settings.py


+ 0 - 0
Day66-75/code/douban/douban/spiders/__init__.py → Day61-65/code/douban/douban/spiders/__init__.py


+ 0 - 0
Day66-75/code/douban/douban/spiders/movie.py → Day61-65/code/douban/douban/spiders/movie.py


+ 0 - 0
Day66-75/code/douban/scrapy.cfg → Day61-65/code/douban/scrapy.cfg


+ 0 - 0
Day66-75/code/example01.py → Day61-65/code/example01.py


+ 0 - 0
Day66-75/code/example02.py → Day61-65/code/example02.py


+ 0 - 0
Day66-75/code/example03.py → Day61-65/code/example03.py


+ 0 - 0
Day66-75/code/example04.py → Day61-65/code/example04.py


+ 0 - 0
Day66-75/code/example05.py → Day61-65/code/example05.py


+ 0 - 0
Day66-75/code/example06.py → Day61-65/code/example06.py


+ 0 - 0
Day66-75/code/example07.py → Day61-65/code/example07.py


+ 0 - 0
Day66-75/code/example08.py → Day61-65/code/example08.py


+ 0 - 0
Day66-75/code/example09.py → Day61-65/code/example09.py


+ 0 - 0
Day66-75/code/example10.py → Day61-65/code/example10.py


+ 0 - 0
Day66-75/code/example10a.py → Day61-65/code/example10a.py


+ 0 - 0
Day66-75/code/example11.py → Day61-65/code/example11.py


+ 0 - 0
Day66-75/code/example11a.py → Day61-65/code/example11a.py


+ 0 - 0
Day66-75/code/example12.py → Day61-65/code/example12.py


+ 0 - 0
Day66-75/code/generator01.py → Day61-65/code/generator01.py


+ 0 - 0
Day66-75/code/generator02.py → Day61-65/code/generator02.py


+ 0 - 0
Day66-75/code/guido.jpg → Day61-65/code/guido.jpg


+ 0 - 44
Day61-65/code/hello-tornado/chat_handlers.py

@@ -1,44 +0,0 @@
-"""
-handlers.py - 用户登录和聊天的处理器
-"""
-import tornado.web
-import tornado.websocket
-
-nicknames = set()
-connections = {}
-
-
-class LoginHandler(tornado.web.RequestHandler):
-
-    def get(self):
-        self.render('login.html', hint='')
-
-    def post(self):
-        nickname = self.get_argument('nickname')
-        if nickname in nicknames:
-            self.render('login.html', hint='昵称已被使用,请更换昵称')
-        self.set_secure_cookie('nickname', nickname)
-        self.render('chat.html')
-
-
-class ChatHandler(tornado.websocket.WebSocketHandler):
-
-    def open(self):
-        nickname = self.get_secure_cookie('nickname').decode()
-        nicknames.add(nickname)
-        for conn in connections.values():
-            conn.write_message(f'~~~{nickname}进入了聊天室~~~')
-        connections[nickname] = self
-
-    def on_message(self, message):
-        nickname = self.get_secure_cookie('nickname').decode()
-        for conn in connections.values():
-            if conn is not self:
-                conn.write_message(f'{nickname}说:{message}')
-
-    def on_close(self):
-        nickname = self.get_secure_cookie('nickname').decode()
-        del connections[nickname]
-        nicknames.remove(nickname)
-        for conn in connections.values():
-            conn.write_message(f'~~~{nickname}离开了聊天室~~~')

+ 0 - 24
Day61-65/code/hello-tornado/chat_server.py

@@ -1,24 +0,0 @@
-"""
-chat_server.py - 聊天服务器
-"""
-import os
-
-import tornado.web
-import tornado.ioloop
-
-from chat_handlers import LoginHandler, ChatHandler
-
-
-def main():
-    app = tornado.web.Application(
-        handlers=[(r'/login', LoginHandler), (r'/chat', ChatHandler)],
-        template_path=os.path.join(os.path.dirname(__file__), 'templates'),
-        static_path=os.path.join(os.path.dirname(__file__), 'static'),
-        cookie_secret='MWM2MzEyOWFlOWRiOWM2MGMzZThhYTk0ZDNlMDA0OTU=',
-    )
-    app.listen(8888)
-    tornado.ioloop.IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 36
Day61-65/code/hello-tornado/example01.py

@@ -1,36 +0,0 @@
-"""
-example01.py - 五分钟上手Tornado
-"""
-import tornado.ioloop
-import tornado.web
-
-from tornado.options import define, options, parse_command_line
-
-# 定义默认端口
-define('port', default=8000, type=int)
-
-
-class MainHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def get(self):
-        # 向客户端(浏览器)写入内容
-        self.write('<h1>Hello, world!</h1>')
-
-
-def main():
-    """主函数"""
-    # 解析命令行参数,例如:
-    # python example01.py --port 8888
-    parse_command_line()
-    # 创建了Tornado框架中Application类的实例并指定handlers参数
-    # Application实例代表了我们的Web应用,handlers代表了路由解析
-    app = tornado.web.Application(handlers=[(r'/', MainHandler), ])
-    # 指定了监听HTTP请求的TCP端口(默认8000,也可以通过命令行参数指定)
-    app.listen(options.port)
-    # 获取Tornado框架的IOLoop实例并启动它(默认启动asyncio的事件循环)
-    tornado.ioloop.IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 77
Day61-65/code/hello-tornado/example02.py

@@ -1,77 +0,0 @@
-"""
-example02.py - 路由解析
-"""
-import os
-import random
-
-import tornado.ioloop
-import tornado.web
-
-from tornado.options import define, options, parse_command_line
-
-
-# 定义默认端口
-define('port', default=8000, type=int)
-
-
-class SayingHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def get(self):
-        sayings = [
-            '世上没有绝望的处境,只有对处境绝望的人',
-            '人生的道路在态度的岔口一分为二,从此通向成功或失败',
-            '所谓措手不及,不是说没有时间准备,而是有时间的时候没有准备',
-            '那些你认为不靠谱的人生里,充满你没有勇气做的事',
-            '在自己喜欢的时间里,按照自己喜欢的方式,去做自己喜欢做的事,这便是自由',
-            '有些人不属于自己,但是遇见了也弥足珍贵'
-        ]
-        # 渲染index.html模板页
-        self.render('index.html', message=random.choice(sayings))
-
-
-class WeatherHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def get(self, city):
-        # Tornado框架会自动处理百分号编码的问题
-        weathers = {
-            '北京': {'temperature': '-4~4', 'pollution': '195 中度污染'},
-            '成都': {'temperature': '3~9', 'pollution': '53 良'},
-            '深圳': {'temperature': '20~25', 'pollution': '25 优'},
-            '广州': {'temperature': '18~23', 'pollution': '56 良'},
-            '上海': {'temperature': '6~8', 'pollution': '65 良'}
-        }
-        if city in weathers:
-            self.render('weather.html', city=city, weather=weathers[city])
-        else:
-            self.render('index.html', message=f'没有{city}的天气信息')
-
-
-class ErrorHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def get(self):
-        # 重定向到指定的路径
-        self.redirect('/saying')
-
-
-def main():
-    """主函数"""
-    parse_command_line()
-    app = tornado.web.Application(
-        # handlers是按列表中的顺序依次进行匹配的
-        handlers=[
-            (r'/saying/?', SayingHandler),
-            (r'/weather/([^/]{2,})/?', WeatherHandler),
-            (r'/.+', ErrorHandler),
-        ],
-        # 通过template_path参数设置模板页的路径
-        template_path=os.path.join(os.path.dirname(__file__), 'templates')
-    )
-    app.listen(options.port)
-    tornado.ioloop.IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 75
Day61-65/code/hello-tornado/example03.py

@@ -1,75 +0,0 @@
-"""
-example03.py - RequestHandler解析
-"""
-import os
-import re
-
-import tornado.ioloop
-import tornado.web
-
-from tornado.options import define, options, parse_command_line
-
-
-# 定义默认端口
-define('port', default=8000, type=int)
-
-users = {}
-
-
-class User(object):
-    """用户"""
-
-    def __init__(self, nickname, gender, birthday):
-        self.nickname = nickname
-        self.gender = gender
-        self.birthday = birthday
-
-
-class MainHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def get(self):
-        # 从Cookie中读取用户昵称
-        nickname = self.get_cookie('nickname')
-        if nickname in users:
-            self.render('userinfo.html', user=users[nickname])
-        else:
-            self.render('userform.html', hint='请填写个人信息')
-
-
-class UserHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def post(self):
-        # 从表单参数中读取用户昵称、性别和生日信息
-        nickname = self.get_body_argument('nickname').strip()
-        gender = self.get_body_argument('gender')
-        birthday = self.get_body_argument('birthday')
-        # 检查用户昵称是否有效
-        if not re.fullmatch(r'\w{6,20}', nickname):
-            self.render('userform.html', hint='请输入有效的昵称')
-        elif nickname in users:
-            self.render('userform.html', hint='昵称已经被使用过')
-        else:
-            users[nickname] = User(nickname, gender, birthday)
-            # 将用户昵称写入Cookie并设置有效期为7天
-            self.set_cookie('nickname', nickname, expires_days=7)
-            self.render('userinfo.html', user=users[nickname])
-
-
-def main():
-    """主函数"""
-    parse_command_line()
-    app = tornado.web.Application(
-        handlers=[
-            (r'/', MainHandler),
-            (r'/register', UserHandler),
-        ],
-        template_path=os.path.join(os.path.dirname(__file__), 'templates'),
-    )
-    app.listen(options.port)
-    tornado.ioloop.IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 44
Day61-65/code/hello-tornado/example04.py

@@ -1,44 +0,0 @@
-"""
-example04.py - 同步请求的例子
-"""
-import json
-import os
-
-import requests
-import tornado.gen
-import tornado.ioloop
-import tornado.web
-import tornado.websocket
-import tornado.httpclient
-from tornado.options import define, options, parse_command_line
-
-define('port', default=8888, type=int)
-
-# 请求天行数据提供的API数据接口
-REQ_URL = 'http://api.tianapi.com/guonei/'
-# 在天行数据网站注册后可以获得API_KEY
-API_KEY = 'your_personal_api_key'
-
-
-class MainHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    def get(self):
-        resp = requests.get(f'{REQ_URL}?key={API_KEY}')
-        newslist = json.loads(resp.text)['newslist']
-        self.render('news.html', newslist=newslist)
-
-
-def main():
-    """主函数"""
-    parse_command_line()
-    app = tornado.web.Application(
-        handlers=[(r'/', MainHandler), ],
-        template_path=os.path.join(os.path.dirname(__file__), 'templates'),
-    )
-    app.listen(options.port)
-    tornado.ioloop.IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 47
Day61-65/code/hello-tornado/example05.py

@@ -1,47 +0,0 @@
-"""
-example05.py - 异步请求的例子
-"""
-import aiohttp
-import json
-import os
-
-import tornado.gen
-import tornado.ioloop
-import tornado.web
-import tornado.websocket
-import tornado.httpclient
-from tornado.options import define, options, parse_command_line
-
-define('port', default=8888, type=int)
-
-# 请求天行数据提供的API数据接口
-REQ_URL = 'http://api.tianapi.com/guonei/'
-# 在天行数据网站注册后可以获得API_KEY
-API_KEY = 'your_personal_api_key'
-
-
-class MainHandler(tornado.web.RequestHandler):
-    """自定义请求处理器"""
-
-    async def get(self):
-        async with aiohttp.ClientSession() as session:
-            resp = await session.get(f'{REQ_URL}?key={API_KEY}')
-            json_str = await resp.text()
-            print(json_str)
-            newslist = json.loads(json_str)['newslist']
-            self.render('news.html', newslist=newslist)
-
-
-def main():
-    """主函数"""
-    parse_command_line()
-    app = tornado.web.Application(
-        handlers=[(r'/', MainHandler), ],
-        template_path=os.path.join(os.path.dirname(__file__), 'templates'),
-    )
-    app.listen(options.port)
-    tornado.ioloop.IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 80
Day61-65/code/hello-tornado/example06.py

@@ -1,80 +0,0 @@
-"""
-example06.py - 异步操作MySQL
-"""
-import json
-
-import aiomysql
-import tornado
-import tornado.web
-
-from tornado.ioloop import IOLoop
-from tornado.options import define, parse_command_line, options
-
-define('port', default=8888, type=int)
-
-
-async def connect_mysql():
-    return await aiomysql.connect(
-        host='1.2.3.4',
-        port=3306,
-        db='hrs',
-        charset='utf8',
-        use_unicode=True,
-        user='yourname',
-        password='yourpass',
-    )
-
-
-class HomeHandler(tornado.web.RequestHandler):
-
-    async def get(self, no):
-        async with self.settings['mysql'].cursor(aiomysql.DictCursor) as cursor:
-            await cursor.execute("select * from tb_dept where dno=%s", (no, ))
-            if cursor.rowcount == 0:
-                self.finish(json.dumps({
-                    'code': 20001,
-                    'mesg': f'没有编号为{no}的部门'
-                }))
-                return
-            row = await cursor.fetchone()
-            self.finish(json.dumps(row))
-
-    async def post(self, *args, **kwargs):
-        no = self.get_argument('no')
-        name = self.get_argument('name')
-        loc = self.get_argument('loc')
-        conn = self.settings['mysql']
-        try:
-            async with conn.cursor() as cursor:
-                await cursor.execute('insert into tb_dept values (%s, %s, %s)',
-                                     (no, name, loc))
-            await conn.commit()
-        except aiomysql.MySQLError:
-            self.finish(json.dumps({
-                'code': 20002,
-                'mesg': '添加部门失败请确认部门信息'
-            }))
-        else:
-            self.set_status(201)
-            self.finish()
-
-
-def make_app(config):
-    return tornado.web.Application(
-        handlers=[(r'/api/depts/(.*)', HomeHandler), ],
-        **config
-    )
-
-
-def main():
-    parse_command_line()
-    app = make_app({
-        'debug': True,
-        'mysql': IOLoop.current().run_sync(connect_mysql)
-    })
-    app.listen(options.port)
-    IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 92
Day61-65/code/hello-tornado/example07.py

@@ -1,92 +0,0 @@
-"""
-example07.py - 将非异步的三方库封装为异步调用
-"""
-import asyncio
-import concurrent
-import json
-
-import tornado
-import tornado.web
-import pymysql
-
-from pymysql import connect
-from pymysql.cursors import DictCursor
-
-from tornado.ioloop import IOLoop
-from tornado.options import define, parse_command_line, options
-from tornado.platform.asyncio import AnyThreadEventLoopPolicy
-
-define('port', default=8888, type=int)
-
-
-def get_mysql_connection():
-    return connect(
-        host='1.2.3.4',
-        port=3306,
-        db='hrs',
-        charset='utf8',
-        use_unicode=True,
-        user='yourname',
-        password='yourpass',
-    )
-
-
-class HomeHandler(tornado.web.RequestHandler):
-    executor = concurrent.futures.ThreadPoolExecutor(max_workers=10)
-
-    async def get(self, no):
-        return await self._get(no)
-
-    @tornado.concurrent.run_on_executor
-    def _get(self, no):
-        con = get_mysql_connection()
-        try:
-            with con.cursor(DictCursor) as cursor:
-                cursor.execute("select * from tb_dept where dno=%s", (no, ))
-                if cursor.rowcount == 0:
-                    self.finish(json.dumps({
-                        'code': 20001,
-                        'mesg': f'没有编号为{no}的部门'
-                    }))
-                    return
-                row = cursor.fetchone()
-                self.finish(json.dumps(row))
-        finally:
-            con.close()
-
-    async def post(self, *args, **kwargs):
-        return await self._post(*args, **kwargs)
-
-    @tornado.concurrent.run_on_executor
-    def _post(self, *args, **kwargs):
-        no = self.get_argument('no')
-        name = self.get_argument('name')
-        loc = self.get_argument('loc')
-        conn = get_mysql_connection()
-        try:
-            with conn.cursor() as cursor:
-                cursor.execute('insert into tb_dept values (%s, %s, %s)',
-                               (no, name, loc))
-            conn.commit()
-        except pymysql.MySQLError:
-            self.finish(json.dumps({
-                'code': 20002,
-                'mesg': '添加部门失败请确认部门信息'
-            }))
-        else:
-            self.set_status(201)
-            self.finish()
-
-
-def main():
-    asyncio.set_event_loop_policy(AnyThreadEventLoopPolicy())
-    parse_command_line()
-    app = tornado.web.Application(
-        handlers=[(r'/api/depts/(.*)', HomeHandler), ]
-    )
-    app.listen(options.port)
-    IOLoop.current().start()
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 30
Day61-65/code/hello-tornado/example_of_aiohttp.py

@@ -1,30 +0,0 @@
-import asyncio
-import re
-
-import aiohttp
-
-PATTERN = re.compile(r'\<title\>(?P<title>.*)\<\/title\>')
-
-
-async def show_title(url):
-    async with aiohttp.ClientSession() as session:
-        resp = await session.get(url, ssl=False)
-        html = await resp.text()
-        print(PATTERN.search(html).group('title'))
-
-
-def main():
-    urls = ('https://www.python.org/',
-            'https://git-scm.com/',
-            'https://www.jd.com/',
-            'https://www.taobao.com/',
-            'https://www.douban.com/')
-    # asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
-    # 获取事件循环()
-    loop = asyncio.get_event_loop()
-    tasks = [show_title(url) for url in urls]
-    loop.run_until_complete(asyncio.wait(tasks))
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 40
Day61-65/code/hello-tornado/example_of_asyncio.py

@@ -1,40 +0,0 @@
-import asyncio
-
-
-async def fetch(host):
-    """从指定的站点抓取信息(协程函数)"""
-    print(f'Start fetching {host}\n')
-    # 跟服务器建立连接
-    reader, writer = await asyncio.open_connection(host, 80)
-    # 构造请求行和请求头
-    writer.write(b'GET / HTTP/1.1\r\n')
-    writer.write(f'Host: {host}\r\n'.encode())
-    writer.write(b'\r\n')
-    # 清空缓存区(发送请求)
-    await writer.drain()
-    # 接收服务器的响应(读取响应行和响应头)
-    line = await reader.readline()
-    while line != b'\r\n':
-        print(line.decode().rstrip())
-        line = await reader.readline()
-    print('\n')
-    writer.close()
-
-
-def main():
-    """主函数"""
-    urls = ('www.sohu.com', 'www.douban.com', 'www.163.com')
-    # 获取系统默认的事件循环
-    loop = asyncio.get_event_loop()
-    # 用生成式语法构造一个包含多个协程对象的列表
-    tasks = [fetch(url) for url in urls]
-    # 通过asyncio模块的wait函数将协程列表包装成Task(Future子类)并等待其执行完成
-    # 通过事件循环的run_until_complete方法运行任务直到Future完成并返回它的结果
-    futures = asyncio.wait(tasks)
-    print(futures, type(futures))
-    loop.run_until_complete(futures)
-    loop.close()
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 50
Day61-65/code/hello-tornado/example_of_coroutine.py

@@ -1,50 +0,0 @@
-"""
-协程(coroutine)- 可以在需要时进行切换的相互协作的子程序
-"""
-import asyncio
-
-from example_of_multiprocess import is_prime
-
-
-def num_generator(m, n):
-    """指定范围的数字生成器"""
-    for num in range(m, n + 1):
-        print(f'generate number: {num}')
-        yield num
-
-
-async def prime_filter(m, n):
-    """素数过滤器"""
-    primes = []
-    for i in num_generator(m, n):
-        if is_prime(i):
-            print('Prime =>', i)
-            primes.append(i)
-
-        await asyncio.sleep(0.001)
-    return tuple(primes)
-
-
-async def square_mapper(m, n):
-    """平方映射器"""
-    squares = []
-    for i in num_generator(m, n):
-        print('Square =>', i * i)
-        squares.append(i * i)
-
-        await asyncio.sleep(0.001)
-    return squares
-
-
-def main():
-    """主函数"""
-    loop = asyncio.get_event_loop()
-    start, end = 1, 100
-    futures = asyncio.gather(prime_filter(start, end), square_mapper(start, end))
-    futures.add_done_callback(lambda x: print(x.result()))
-    loop.run_until_complete(futures)
-    loop.close()
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 49
Day61-65/code/hello-tornado/example_of_multiprocess.py

@@ -1,49 +0,0 @@
-"""
-用下面的命令运行程序并查看执行时间,例如:
-time python3 example05.py
-real    0m20.657s
-user    1m17.749s
-sys     0m0.158s
-使用多进程后实际执行时间为20.657秒,而用户时间1分17.749秒约为实际执行时间的4倍
-这就证明我们的程序通过多进程使用了CPU的多核特性,而且这台计算机配置了4核的CPU
-"""
-import concurrent.futures
-import math
-
-PRIMES = [
-    1116281,
-    1297337,
-    104395303,
-    472882027,
-    533000389,
-    817504243,
-    982451653,
-    112272535095293,
-    112582705942171,
-    112272535095293,
-    115280095190773,
-    115797848077099,
-    1099726899285419
-] * 5
-
-
-def is_prime(num):
-    """判断素数"""
-    assert num > 0
-    if num % 2 == 0:
-        return False
-    for i in range(3, int(math.sqrt(num)) + 1, 2):
-        if num % i == 0:
-            return False
-    return num != 1
-
-
-def main():
-    """主函数"""
-    with concurrent.futures.ProcessPoolExecutor() as executor:
-        for number, prime in zip(PRIMES, executor.map(is_prime, PRIMES)):
-            print('%d is prime: %s' % (number, prime))
-
-
-if __name__ == '__main__':
-    main()

+ 0 - 18
Day61-65/code/hello-tornado/requirements.txt

@@ -1,18 +0,0 @@
-aiohttp==3.5.4
-aiomysql==0.0.20
-asn1crypto==0.24.0
-async-timeout==3.0.1
-attrs==19.1.0
-certifi==2019.3.9
-cffi==1.12.2
-chardet==3.0.4
-cryptography==2.6.1
-idna==2.8
-multidict==4.5.2
-pycparser==2.19
-PyMySQL==0.9.2
-requests==2.21.0
-six==1.12.0
-tornado==5.1.1
-urllib3==1.24.1
-yarl==1.3.0

+ 0 - 67
Day61-65/code/hello-tornado/templates/chat.html

@@ -1,67 +0,0 @@
-<!-- chat.html -->
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <title>Tornado聊天室</title>
-</head>
-<body>
-    <h1>聊天室</h1>
-    <hr>
-    <div>
-        <textarea id="contents" rows="20" cols="120" readonly></textarea>
-    </div>
-    <div class="send">
-        <input type="text" id="content" size="50">
-        <input type="button" id="send" value="发送">
-    </div>
-    <p>
-        <a id="quit" href="javascript:void(0);">退出聊天室</a>
-    </p>
-    <script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
-    <script>
-        $(function() {
-            // 将内容追加到指定的文本区
-            function appendContent($ta, message) {
-                var contents = $ta.val();
-                contents += '\n' + message;
-                $ta.val(contents);
-                $ta[0].scrollTop = $ta[0].scrollHeight;
-            }
-            // 通过WebSocket发送消息
-            function sendMessage() {
-                message = $('#content').val().trim();
-                if (message.length > 0) {
-                    ws.send(message);
-                    appendContent($('#contents'), '我说:' + message);
-                    $('#content').val('');
-                }
-            }
-            // 创建WebSocket对象
-            var ws= new WebSocket('ws://localhost:8888/chat');
-            // 连接建立后执行的回调函数
-            ws.onopen = function(evt) {
-                $('#contents').val('~~~欢迎您进入聊天室~~~');
-            };
-            // 收到消息后执行的回调函数
-            ws.onmessage = function(evt) {
-                appendContent($('#contents'), evt.data);
-            };
-            // 为发送按钮绑定点击事件回调函数
-            $('#send').on('click', sendMessage);
-            // 为文本框绑定按下回车事件回调函数
-            $('#content').on('keypress', function(evt) {
-                keycode = evt.keyCode || evt.which;
-                if (keycode == 13) {
-                    sendMessage();
-                }
-            });
-            // 为退出聊天室超链接绑定点击事件回调函数
-            $('#quit').on('click', function(evt) {
-                ws.close();
-                location.href = '/login';
-            });
-        });
-    </script>
-</body>
-</html>

+ 0 - 25
Day61-65/code/hello-tornado/templates/login.html

@@ -1,25 +0,0 @@
-<!-- login.html -->
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <title>Tornado聊天室</title>
-    <style>
-        .hint { color: red; font-size: 0.8em; }
-    </style>
-</head>
-<body>
-    <div>
-        <div id="container">
-            <h1>进入聊天室</h1>
-            <hr>
-            <p class="hint">{{hint}}</p>
-            <form method="post" action="/login">
-                <label>昵称:</label>
-                <input type="text" placeholder="请输入你的昵称" name="nickname">
-                <button type="submit">登录</button>
-            </form>
-        </div>
-    </div>
-</body>
-</html>

+ 0 - 17
Day61-65/code/hello-tornado/templates/news.html

@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="UTF-8">
-    <title>新闻列表</title>
-</head>
-<body>
-    <h1>新闻列表</h1>
-    <hr>
-    {% for news in newslist %}
-    <div>
-        <img src="{{news['picUrl']}}" alt="">
-        <p>{{news['title']}}</p>
-    </div>
-    {% end %}
-</body>
-</html>

+ 0 - 0
Day61-65/code/project_of_tornado/service/handlers/__init__.py → Day61-65/code/image360/image360/__init__.py


+ 0 - 0
Day66-75/code/image360/image360/items.py → Day61-65/code/image360/image360/items.py


+ 0 - 0
Day66-75/code/image360/image360/middlewares.py → Day61-65/code/image360/image360/middlewares.py


+ 0 - 0
Day66-75/code/image360/image360/pipelines.py → Day61-65/code/image360/image360/pipelines.py


+ 0 - 0
Day66-75/code/image360/image360/settings.py → Day61-65/code/image360/image360/settings.py


+ 0 - 0
Day66-75/code/image360/image360/spiders/__init__.py → Day61-65/code/image360/image360/spiders/__init__.py


+ 0 - 0
Day66-75/code/image360/image360/spiders/image.py → Day61-65/code/image360/image360/spiders/image.py


+ 0 - 0
Day66-75/code/image360/image360/spiders/taobao.py → Day61-65/code/image360/image360/spiders/taobao.py


+ 0 - 0
Day66-75/code/image360/scrapy.cfg → Day61-65/code/image360/scrapy.cfg


+ 0 - 0
Day66-75/code/main.py → Day61-65/code/main.py


+ 0 - 0
Day66-75/code/main_redis.py → Day61-65/code/main_redis.py


+ 0 - 0
Day66-75/code/myutils.py → Day61-65/code/myutils.py


+ 0 - 373
Day61-65/code/project_of_tornado/assets/css/admin.css

@@ -1,373 +0,0 @@
-/**
- * admin.css
- */
-
-
-/*
- fixed-layout 固定头部和边栏布局
-*/
-
-html,
-body {
-  height: 100%;
-  overflow: hidden;
-}
-
-ul {
-  margin-top: 0;
-}
-
-.admin-icon-yellow {
-  color: #ffbe40;
-}
-
-.admin-header {
-  position: fixed;
-  top: 0;
-  left: 0;
-  right: 0;
-  z-index: 1500;
-  font-size: 1.4rem;
-  margin-bottom: 0;
-}
-
-.admin-header-list a:hover :after {
-  content: none;
-}
-
-.admin-main {
-  position: relative;
-  height: 100%;
-  padding-top: 51px;
-  background: #f3f3f3;
-}
-
-.admin-menu {
-  position: fixed;
-  z-index: 10;
-  bottom: 30px;
-  right: 20px;
-}
-
-.admin-sidebar {
-  width: 260px;
-  min-height: 100%;
-  float: left;
-  border-right: 1px solid #cecece;
-}
-
-.admin-sidebar.am-active {
-  z-index: 1600;
-}
-
-.admin-sidebar-list {
-  margin-bottom: 0;
-}
-
-.admin-sidebar-list li a {
-  color: #5c5c5c;
-  padding-left: 24px;
-}
-
-.admin-sidebar-list li:first-child {
-  border-top: none;
-}
-
-.admin-sidebar-sub {
-  margin-top: 0;
-  margin-bottom: 0;
-  box-shadow: 0 16px 8px -15px #e2e2e2 inset;
-  background: #ececec;
-  padding-left: 24px;
-}
-
-.admin-sidebar-sub li:first-child {
-  border-top: 1px solid #dedede;
-}
-
-.admin-sidebar-panel {
-  margin: 10px;
-}
-
-.admin-content {
-  display: -webkit-box;
-  display: -webkit-flex;
-  display: -ms-flexbox;
-  display: flex;
-  -webkit-box-orient: vertical;
-  -webkit-box-direction: normal;
-  -webkit-flex-direction: column;
-  -ms-flex-direction: column;
-  flex-direction: column;
-  background: #fff;
-}
-
-.admin-content,
-.admin-sidebar {
-  height: 100%;
-  overflow-x: hidden;
-  overflow-y: scroll;
-  -webkit-overflow-scrolling: touch;
-}
-
-.admin-content-body {
-  -webkit-box-flex: 1;
-  -webkit-flex: 1 0 auto;
-  -ms-flex: 1 0 auto;
-  flex: 1 0 auto;
-}
-
-.admin-content-footer {
-  font-size: 85%;
-  color: #777;
-}
-
-.admin-content-list {
-  border: 1px solid #e9ecf1;
-  margin-top: 0;
-}
-
-.admin-content-list li {
-  border: 1px solid #e9ecf1;
-  border-width: 0 1px;
-  margin-left: -1px;
-}
-
-.admin-content-list li:first-child {
-  border-left: none;
-}
-
-.admin-content-list li:last-child {
-  border-right: none;
-}
-
-.admin-content-table a {
-  color: #535353;
-}
-.admin-content-file {
-  margin-bottom: 0;
-  color: #666;
-}
-
-.admin-content-file p {
-  margin: 0 0 5px 0;
-  font-size: 1.4rem;
-}
-
-.admin-content-file li {
-  padding: 10px 0;
-}
-
-.admin-content-file li:first-child {
-  border-top: none;
-}
-
-.admin-content-file li:last-child {
-  border-bottom: none;
-}
-
-.admin-content-file li .am-progress {
-  margin-bottom: 4px;
-}
-
-.admin-content-file li .am-progress-bar {
-  line-height: 14px;
-}
-
-.admin-content-task {
-  margin-bottom: 0;
-}
-
-.admin-content-task li {
-  padding: 5px 0;
-  border-color: #eee;
-}
-
-.admin-content-task li:first-child {
-  border-top: none;
-}
-
-.admin-content-task li:last-child {
-  border-bottom: none;
-}
-
-.admin-task-meta {
-  font-size: 1.2rem;
-  color: #999;
-}
-
-.admin-task-bd {
-  font-size: 1.4rem;
-  margin-bottom: 5px;
-}
-
-.admin-content-comment {
-  margin-bottom: 0;
-}
-
-.admin-content-comment .am-comment-bd {
-  font-size: 1.4rem;
-}
-
-.admin-content-pagination {
-  margin-bottom: 0;
-}
-.admin-content-pagination li a {
-  padding: 4px 8px;
-}
-
-@media only screen and (min-width: 641px) {
-  .admin-sidebar {
-    display: block;
-    position: static;
-    background: none;
-  }
-
-  .admin-offcanvas-bar {
-    position: static;
-    width: auto;
-    background: none;
-    -webkit-transform: translate3d(0, 0, 0);
-    -ms-transform: translate3d(0, 0, 0);
-    transform: translate3d(0, 0, 0);
-    overflow-y: visible;
-    min-height: 100%;
-  }
-  .admin-offcanvas-bar:after {
-    content: none;
-  }
-}
-
-@media only screen and (max-width: 640px) {
-  .admin-sidebar {
-    width: inherit;
-  }
-
-  .admin-offcanvas-bar {
-    background: #f3f3f3;
-  }
-
-  .admin-offcanvas-bar:after {
-    background: #BABABA;
-  }
-
-  .admin-sidebar-list a:hover, .admin-sidebar-list a:active{
-    -webkit-transition: background-color .3s ease;
-    -moz-transition: background-color .3s ease;
-    -ms-transition: background-color .3s ease;
-    -o-transition: background-color .3s ease;
-    transition: background-color .3s ease;
-    background: #E4E4E4;
-  }
-
-  .admin-content-list li {
-    padding: 10px;
-    border-width: 1px 0;
-    margin-top: -1px;
-  }
-
-  .admin-content-list li:first-child {
-    border-top: none;
-  }
-
-  .admin-content-list li:last-child {
-    border-bottom: none;
-  }
-
-  .admin-form-text {
-    text-align: left !important;
-  }
-
-}
-
-/*
-* user.html css
-*/
-.user-info {
-  margin-bottom: 15px;
-}
-
-.user-info .am-progress {
-  margin-bottom: 4px;
-}
-
-.user-info p {
-  margin: 5px;
-}
-
-.user-info-order {
-  font-size: 1.4rem;
-}
-
-/*
-* errorLog.html css
-*/
-
-.error-log .am-pre-scrollable {
-  max-height: 40rem;
-}
-
-/*
-* table.html css
-*/
-
-.table-main {
-  font-size: 1.4rem;
-  padding: .5rem;
-}
-
-.table-main button {
-  background: #fff;
-}
-
-.table-check {
-  width: 30px;
-}
-
-.table-id {
-  width: 50px;
-}
-
-@media only screen and (max-width: 640px) {
-  .table-select {
-    margin-top: 10px;
-    margin-left: 5px;
-  }
-}
-
-/*
-gallery.html css
-*/
-
-.gallery-list li {
-  padding: 10px;
-}
-
-.gallery-list a {
-  color: #666;
-}
-
-.gallery-list a:hover {
-  color: #3bb4f2;
-}
-
-.gallery-title {
-  margin-top: 6px;
-  font-size: 1.4rem;
-}
-
-.gallery-desc {
-  font-size: 1.2rem;
-  margin-top: 4px;
-}
-
-/*
- 404.html css
-*/
-
-.page-404 {
-  background: #fff;
-  border: none;
-  width: 200px;
-  margin: 0 auto;
-}

Plik diff jest za duży
+ 0 - 0
Day61-65/code/project_of_tornado/assets/css/amazeui.datatables.min.css


Plik diff jest za duży
+ 0 - 0
Day61-65/code/project_of_tornado/assets/css/amazeui.min.css


+ 0 - 1912
Day61-65/code/project_of_tornado/assets/css/app.css

@@ -1,1912 +0,0 @@
-ul,
-li {
-  list-style: none;
-  padding: 0;
-  margin: 0;
-}
-header {
-  z-index: 1200;
-  position: relative;
-}
-.tpl-header-logo {
-  width: 240px;
-  height: 57px;
-  display: table;
-  text-align: center;
-  position: relative;
-  z-index: 1300;
-}
-.tpl-header-logo a {
-  display: table-cell;
-  vertical-align: middle;
-}
-.tpl-header-logo img {
-  width: 170px;
-}
-.tpl-header-fluid {
-  margin-left: 240px;
-  height: 56px;
-  padding-left: 20px;
-  padding-right: 20px;
-}
-.tpl-header-switch-button {
-  margin-top: 0px;
-  margin-bottom: 0px;
-  float: left;
-  color: #cfcfcf;
-  margin-left: -20px;
-  margin-right: 0;
-  border: 0;
-  border-radius: 0;
-  padding: 0px 22px;
-  font-size: 22px;
-  line-height: 55px;
-}
-.tpl-header-switch-button:hover {
-  outline: none;
-}
-.tpl-header-search-form {
-  height: 54px;
-  line-height: 52px;
-  margin-left: 10px;
-}
-.tpl-header-search-box,
-.tpl-header-search-btn {
-  transition: all 0.4s ease-in-out;
-  color: #848c90;
-  background: none;
-  border: none;
-  outline: none;
-}
-.tpl-header-search-box {
-  font-size: 14px;
-}
-.tpl-header-search-box:hover,
-.tpl-header-search-box:active {
-  color: #fff;
-}
-.tpl-header-search-btn {
-  font-size: 15px;
-}
-.tpl-header-search-btn:hover,
-.tpl-header-search-btn:active {
-  color: #fff;
-}
-.tpl-header-navbar {
-  color: #fff;
-}
-.tpl-header-navbar li {
-  float: left;
-}
-.tpl-header-navbar a {
-  line-height: 56px;
-  display: block;
-  padding: 0 16px;
-  position: relative;
-}
-.tpl-header-navbar a .item-feed-badge {
-  position: absolute;
-  top: 9px;
-  left: 25px;
-}
-ul.tpl-dropdown-content {
-  padding: 10px;
-  margin-top: 0;
-  width: 300px;
-  background-color: #2f3638;
-  border: 1px solid #525e62;
-  border-radius: 0;
-}
-ul.tpl-dropdown-content li {
-  float: none;
-}
-ul.tpl-dropdown-content:before,
-ul.tpl-dropdown-content:after {
-  display: none;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-title {
-  font-size: 12px;
-  float: left;
-  color: rgba(255, 255, 255, 0.7);
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-time {
-  float: right;
-  text-align: right;
-  color: rgba(255, 255, 255, 0.7);
-  font-size: 11px;
-  width: 50px;
-  margin-left: 10px;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications:last-child .tpl-dropdown-menu-notifications-item {
-  text-align: center;
-  border: none;
-  font-size: 12px;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications:last-child .tpl-dropdown-menu-notifications-item i {
-  margin-left: -6px;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-messages:last-child .tpl-dropdown-menu-messages-item {
-  text-align: center;
-  border: none;
-  font-size: 12px;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-messages:last-child .tpl-dropdown-menu-messages-item i {
-  margin-left: -6px;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item,
-ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item {
-  padding: 12px;
-  color: #fff;
-  line-height: 20px;
-  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:hover,
-ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:hover,
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:focus,
-ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:focus {
-  background-color: #465154;
-  color: #fff;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-ico,
-ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-ico {
-  line-height: initial;
-  float: left;
-  width: 35px;
-  height: 35px;
-  border-radius: 50%;
-  margin-right: 10px;
-  margin-top: 6px;
-  overflow: hidden;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-ico img,
-ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-ico img {
-  width: 100%;
-  height: auto;
-  vertical-align: middle;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-time,
-ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-time {
-  float: right;
-  text-align: right;
-  color: rgba(255, 255, 255, 0.7);
-  font-size: 11px;
-  width: 40px;
-  margin-left: 10px;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-content,
-ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-content {
-  display: block;
-  font-size: 13px;
-  margin-left: 45px;
-  margin-right: 50px;
-}
-ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .menu-messages-content .menu-messages-content-time,
-ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-content .menu-messages-content-time {
-  margin-top: 3px;
-  color: rgba(255, 255, 255, 0.7);
-  font-size: 11px;
-}
-.am-dimmer {
-  z-index: 1200;
-}
-.am-modal {
-  z-index: 1300;
-}
-.am-datepicker-dropdown {
-  z-index: 1400;
-}
-.tpl-skiner {
-  transition: all 0.4s ease-in-out;
-  position: fixed;
-  z-index: 10000;
-  right: -130px;
-  top: 65px;
-}
-.tpl-skiner.active {
-  right: 0px;
-}
-.tpl-skiner-content {
-  background: rgba(0, 0, 0, 0.7);
-  width: 130px;
-  padding: 15px;
-  border-radius: 4px 0 0 4px;
-  overflow: hidden;
-}
-.fc-content .am-icon-close {
-  position: absolute;
-  right: 0;
-  top: 0px;
-}
-.tpl-skiner-toggle {
-  position: absolute;
-  top: 5px;
-  left: -40px;
-  width: 40px;
-  color: #969a9b;
-  font-size: 20px;
-  height: 40px;
-  line-height: 40px;
-  text-align: center;
-  background: rgba(0, 0, 0, 0.7);
-  cursor: pointer;
-  border-top-left-radius: 4px;
-  border-bottom-left-radius: 4px;
-}
-.tpl-skiner-content-title {
-  margin: 0;
-  margin-bottom: 4px;
-  padding-bottom: 4px;
-  font-size: 16px;
-  text-transform: uppercase;
-  color: #fff;
-  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
-}
-.tpl-skiner-content-bar {
-  padding-top: 10px;
-}
-.tpl-skiner-content-bar .skiner-color {
-  transition: all 0.4s ease-in-out;
-  float: left;
-  width: 25px;
-  height: 25px;
-  margin-right: 10px;
-  cursor: pointer;
-}
-.tpl-skiner-content-bar .skiner-white {
-  background: #fff;
-  border: 2px solid #eee;
-}
-.tpl-skiner-content-bar .skiner-black {
-  background: #000;
-  border: 2px solid #222;
-}
-.sub-active {
-  color: #fff!important;
-}
-.left-sidebar {
-  transition: all 0.4s ease-in-out;
-  width: 240px;
-  min-height: 100%;
-  padding-top: 57px;
-  position: absolute;
-  z-index: 1104;
-  top: 0;
-  left: 0px;
-}
-.left-sidebar.xs-active {
-  left: 0px;
-}
-.left-sidebar.active {
-  left: -240px;
-}
-.tpl-sidebar-user-panel {
-  padding: 22px;
-  padding-top: 28px;
-}
-.tpl-user-panel-profile-picture {
-  border-radius: 50%;
-  width: 82px;
-  height: 82px;
-  margin-bottom: 10px;
-  overflow: hidden;
-}
-.tpl-user-panel-profile-picture img {
-  width: auto;
-  height: 82px;
-  vertical-align: middle;
-}
-.tpl-user-panel-status-icon {
-  margin-right: 2px;
-}
-.user-panel-logged-in-text {
-  display: block;
-  color: #cfcfcf;
-  font-size: 14px;
-}
-.tpl-user-panel-action-link {
-  color: #6d787c;
-  font-size: 12px;
-}
-.tpl-user-panel-action-link:hover {
-  color: #a2aaad;
-}
-.sidebar-nav {
-  list-style-type: none;
-  padding: 0;
-  margin: 0;
-}
-.sidebar-nav-sub {
-  display: none;
-}
-.sidebar-nav-sub .sidebar-nav-link {
-  font-size: 12px;
-  padding-left: 30px;
-}
-.sidebar-nav-sub .sidebar-nav-link a {
-  font-size: 12px;
-  padding-left: 0;
-}
-.sidebar-nav-sub .sidebar-nav-link-logo {
-  margin-right: 8px;
-  width: 20px;
-  font-size: 16px;
-}
-.sidebar-nav-sub-ico-rotate {
-  -webkit-transform: rotate(180deg);
-  transform: rotate(180deg);
-  -webkit-transition: all 300ms;
-  transition: all 300ms;
-}
-.sidebar-nav-link-logo-ico {
-  margin-top: 5px;
-}
-.sidebar-nav-heading {
-  padding: 24px 17px;
-  font-size: 15px;
-  font-weight: 500;
-}
-.sidebar-nav-heading-info {
-  font-size: 12px;
-  color: #868E8E;
-  padding-left: 10px;
-}
-.sidebar-nav-link-logo {
-  margin-right: 8px;
-  width: 20px;
-  font-size: 16px;
-}
-.sidebar-nav-link {
-  color: #fff;
-}
-.sidebar-nav-link a {
-  display: block;
-  color: #868E8E;
-  padding: 10px 17px;
-  border-left: #282d2f 3px solid;
-  font-size: 14px;
-  cursor: pointer;
-}
-.sidebar-nav-link a.active {
-  cursor: pointer;
-  border-left: #1CA2CE 3px solid;
-  color: #fff;
-}
-.sidebar-nav-link a:hover {
-  color: #fff;
-}
-.tpl-content-wrapper {
-  transition: all 0.4s ease-in-out;
-  position: relative;
-  margin-left: 240px;
-  z-index: 1101;
-  min-height: 922px;
-  border-bottom-left-radius: 3px;
-}
-.tpl-content-wrapper.xs-active {
-  margin-left: 240px;
-}
-.tpl-content-wrapper.active {
-  margin-left: 0;
-}
-.page-header {
-  background: #424b4f;
-  margin-top: 0;
-  margin-bottom: 0;
-  padding: 40px 0;
-  border-bottom: 0;
-}
-.container-fluid {
-  margin-top: 0;
-  margin-bottom: 0;
-  padding: 40px 0;
-  border-bottom: 0;
-  padding-left: 20px;
-  padding-right: 20px;
-}
-.row {
-  margin-right: -10px;
-  margin-left: -10px;
-}
-.page-header-description {
-  margin-top: 4px;
-  margin-bottom: 0;
-  font-size: 14px;
-  color: #e6e6e6;
-}
-.page-header-heading {
-  font-size: 20px;
-  font-weight: 400;
-}
-.page-header-heading .page-header-heading-ico {
-  font-size: 28px;
-  position: relative;
-  top: 3px;
-}
-.page-header-heading small {
-  font-weight: normal;
-  line-height: 1;
-  color: #B3B3B3;
-}
-.page-header-button {
-  transition: all 0.4s ease-in-out;
-  opacity: 0.3;
-  float: right;
-  outline: none;
-  border: 1px solid #fff;
-  padding: 16px 36px;
-  font-size: 23px;
-  line-height: 23px;
-  border-radius: 0;
-  padding-top: 14px;
-  color: #fff;
-  background-color: rgba(0, 0, 0, 0);
-  font-weight: 500;
-}
-.page-header-button:hover {
-  background-color: #ffffff;
-  color: #333;
-  opacity: 1;
-}
-.widget {
-  width: 100%;
-  min-height: 148px;
-  margin-bottom: 20px;
-  border-radius: 0;
-  position: relative;
-}
-.widget-head {
-  width: 100%;
-  padding: 15px;
-}
-.widget-title {
-  font-size: 14px;
-}
-.widget-fluctuation-period-text {
-  display: inline-block;
-  font-size: 16px;
-  line-height: 20px;
-  margin-bottom: 9px;
-}
-.widget-body {
-  padding: 13px 15px;
-  width: 100%;
-}
-.row-content {
-  padding: 20px;
-}
-.widget-fluctuation-description-text {
-  margin-top: 4px;
-  display: block;
-  font-size: 12px;
-  line-height: 13px;
-}
-.widget-fluctuation-description-amount {
-  display: block;
-  font-size: 20px;
-  line-height: 22px;
-}
-.widget-statistic-header {
-  position: relative;
-  z-index: 35;
-  display: block;
-  font-size: 14px;
-  text-transform: uppercase;
-  margin-bottom: 8px;
-}
-.widget-body-md {
-  height: 200px;
-}
-.widget-body-lg {
-  min-height: 330px;
-}
-.widget-margin-bottom-lg {
-  margin-bottom: 20px;
-}
-.tpl-table-black-operation a {
-  display: inline-block;
-  padding: 5px 6px;
-  font-size: 12px;
-  line-height: 12px;
-}
-.tpl-switch input[type="checkbox"] {
-  position: absolute;
-  opacity: 0;
-  width: 50px;
-  height: 20px;
-}
-.tpl-switch input[type="checkbox"].ios-switch + div {
-  vertical-align: middle;
-  width: 40px;
-  height: 20px;
-  border-radius: 999px;
-  background-color: rgba(0, 0, 0, 0.1);
-  -webkit-transition-duration: .4s;
-  -webkit-transition-property: background-color, box-shadow;
-  margin-top: 6px;
-}
-.tpl-switch input[type="checkbox"].ios-switch:checked + div {
-  width: 40px;
-  background-position: 0 0;
-  background-color: #36c6d3;
-}
-.tpl-switch input[type="checkbox"].tinyswitch.ios-switch + div {
-  width: 34px;
-  height: 18px;
-}
-.tpl-switch input[type="checkbox"].bigswitch.ios-switch + div {
-  width: 50px;
-  height: 25px;
-}
-.tpl-switch input[type="checkbox"].green.ios-switch:checked + div {
-  background-color: #00e359;
-  border: 1px solid #00a23f;
-  box-shadow: inset 0 0 0 10px #00e359;
-}
-.tpl-switch input[type="checkbox"].ios-switch + div > div {
-  float: left;
-  width: 18px;
-  height: 18px;
-  border-radius: inherit;
-  background: #ffffff;
-  -webkit-transition-timing-function: cubic-bezier(0.54, 1.85, 0.5, 1);
-  -webkit-transition-duration: 0.4s;
-  -webkit-transition-property: transform, background-color, box-shadow;
-  -moz-transition-timing-function: cubic-bezier(0.54, 1.85, 0.5, 1);
-  -moz-transition-duration: 0.4s;
-  -moz-transition-property: transform, background-color;
-  pointer-events: none;
-  margin-top: 1px;
-  margin-left: 1px;
-}
-.tpl-switch input[type="checkbox"].ios-switch:checked + div > div {
-  -webkit-transform: translate3d(20px, 0, 0);
-  -moz-transform: translate3d(20px, 0, 0);
-  background-color: #ffffff;
-}
-.tpl-switch input[type="checkbox"].tinyswitch.ios-switch + div > div {
-  width: 16px;
-  height: 16px;
-  margin-top: 1px;
-}
-.tpl-switch input[type="checkbox"].tinyswitch.ios-switch:checked + div > div {
-  -webkit-transform: translate3d(16px, 0, 0);
-  -moz-transform: translate3d(16px, 0, 0);
-  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px #0850ac;
-}
-.tpl-switch input[type="checkbox"].bigswitch.ios-switch + div > div {
-  width: 23px;
-  height: 23px;
-  margin-top: 1px;
-}
-.tpl-switch input[type="checkbox"].bigswitch.ios-switch:checked + div > div {
-  -webkit-transform: translate3d(25px, 0, 0);
-  -moz-transform: translate3d(16px, 0, 0);
-}
-.tpl-switch input[type="checkbox"].green.ios-switch:checked + div > div {
-  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px #00a23f;
-}
-.tpl-page-state {
-  width: 100%;
-}
-.tpl-page-state-title {
-  font-size: 40px;
-  font-weight: bold;
-}
-.tpl-page-state-content {
-  padding: 10px 0;
-}
-.tpl-login {
-  width: 100%;
-}
-.tpl-login-logo {
-  max-width: 159px;
-  height: 205px;
-  margin: 0 auto;
-  margin-bottom: 20px;
-}
-.tpl-login-title {
-  width: 100%;
-  font-size: 24px;
-}
-.tpl-login-content {
-  width: 300px;
-  margin: 12% auto 0;
-}
-.tpl-login-remember-me {
-  color: #B3B3B3;
-  font-size: 14px;
-}
-.tpl-login-remember-me label {
-  position: relative;
-  top: -2px;
-}
-.tpl-login-content-info {
-  color: #B3B3B3;
-  font-size: 14px;
-}
-.cl-p {
-  padding: 0!important;
-}
-.tpl-table-line-img {
-  max-width: 100px;
-  padding: 2px;
-}
-.tpl-table-list-select {
-  text-align: right;
-}
-.fc-button-group,
-.fc button {
-  display: block;
-}
-.theme-white {
-  background: #e9ecf3;
-}
-.theme-white .sidebar-nav-sub .sidebar-nav-link-logo {
-  margin-left: 10px;
-}
-.theme-white .tpl-header-search-box:hover,
-.theme-white .tpl-header-search-box:active .tpl-error-title {
-  color: #848c90;
-}
-.theme-white .tpl-error-title-info {
-  line-height: 30px;
-  font-size: 21px;
-  margin-top: 20px;
-  text-align: center;
-  color: #dce2ec;
-}
-.theme-white .tpl-error-btn {
-  background: #03a9f3;
-  border: 1px solid #03a9f3;
-  border-radius: 30px;
-  padding: 6px 20px 8px;
-}
-.theme-white .tpl-error-content {
-  margin-top: 20px;
-  margin-bottom: 20px;
-  font-size: 16px;
-  text-align: center;
-  color: #96a2b4;
-}
-.theme-white .tpl-calendar-box {
-  background: #fff;
-  border-radius: 4px;
-  padding: 20px;
-}
-.theme-white .tpl-calendar-box .fc-event {
-  border-radius: 0;
-  background: #03a9f3;
-  border: 1px solid #14b0f6;
-}
-.theme-white .tpl-calendar-box .fc-axis {
-  color: #868E8E;
-}
-.theme-white .tpl-calendar-box .fc-unthemed .fc-today {
-  background: #eee;
-}
-.theme-white .tpl-calendar-box .fc-more {
-  color: #868E8E;
-}
-.theme-white .tpl-calendar-box .fc th.fc-widget-header {
-  background: #32c5d2!important;
-  color: #ffffff;
-  font-size: 14px;
-  line-height: 20px;
-  padding: 7px 0px;
-  text-transform: uppercase;
-  border: none!important;
-}
-.theme-white .tpl-calendar-box .fc th.fc-widget-header a {
-  color: #fff;
-}
-.theme-white .tpl-calendar-box .fc-center h2 {
-  color: #868E8E;
-}
-.theme-white .tpl-calendar-box .fc-state-default {
-  background-image: none;
-  background: #fff;
-  font-size: 14px;
-  color: #868E8E;
-}
-.theme-white .tpl-calendar-box .fc th,
-.theme-white .tpl-calendar-box .fc td,
-.theme-white .tpl-calendar-box .fc hr,
-.theme-white .tpl-calendar-box .fc thead,
-.theme-white .tpl-calendar-box .fc tbody,
-.theme-white .tpl-calendar-box .fc-row {
-  border-color: #eee!important;
-}
-.theme-white .tpl-calendar-box .fc-day-number {
-  color: #868E8E;
-  padding-right: 6px;
-}
-.theme-white .tpl-calendar-box .fc th {
-  color: #868E8E;
-  font-weight: normal;
-  font-size: 14px;
-  padding: 6px 0;
-}
-.theme-white .tpl-login-logo {
-  background: url(../img/logoa.png) center no-repeat;
-}
-.theme-white .sub-active {
-  color: #23abf0!important;
-}
-.theme-white .tpl-table-line-img {
-  border: 1px solid #ddd;
-}
-.theme-white .tpl-pagination .am-disabled a,
-.theme-white .tpl-pagination li a {
-  color: #23abf0;
-  border-radius: 3px;
-  padding: 6px 12px;
-}
-.theme-white .tpl-pagination .am-active a {
-  background: #23abf0;
-  color: #fff;
-  border: 1px solid #23abf0;
-  padding: 6px 12px;
-}
-.theme-white .tpl-login-btn {
-  background-color: #32c5d2;
-  border: none;
-  padding: 10px 16px;
-  font-size: 14px;
-  line-height: 14px;
-  outline: none;
-}
-.theme-white .tpl-login-btn:hover,
-.theme-white .tpl-login-btn:active {
-  background: #22b2e1;
-  color: #fff;
-}
-.theme-white .tpl-login-title {
-  color: #697882;
-}
-.theme-white .tpl-login-title strong {
-  color: #39bae4;
-}
-.theme-white .tpl-login-content {
-  width: 500px;
-  padding: 40px 40px 25px;
-  background-color: #fff;
-  border-radius: 4px;
-}
-.theme-white .tpl-form-line-form,
-.theme-white .tpl-form-border-form {
-  padding-top: 20px;
-}
-.theme-white .tpl-form-border-form input[type=number]:focus,
-.theme-white .tpl-form-border-form input[type=search]:focus,
-.theme-white .tpl-form-border-form input[type=text]:focus,
-.theme-white .tpl-form-border-form input[type=password]:focus,
-.theme-white .tpl-form-border-form input[type=datetime]:focus,
-.theme-white .tpl-form-border-form input[type=datetime-local]:focus,
-.theme-white .tpl-form-border-form input[type=date]:focus,
-.theme-white .tpl-form-border-form input[type=month]:focus,
-.theme-white .tpl-form-border-form input[type=time]:focus,
-.theme-white .tpl-form-border-form input[type=week]:focus,
-.theme-white .tpl-form-border-form input[type=email]:focus,
-.theme-white .tpl-form-border-form input[type=url]:focus,
-.theme-white .tpl-form-border-form input[type=tel]:focus,
-.theme-white .tpl-form-border-form input[type=color]:focus,
-.theme-white .tpl-form-border-form select:focus,
-.theme-white .tpl-form-border-form textarea:focus,
-.theme-white .am-form-field:focus {
-  -webkit-box-shadow: none;
-  box-shadow: none;
-}
-.theme-white .tpl-form-border-form input[type=number],
-.theme-white .tpl-form-border-form input[type=search],
-.theme-white .tpl-form-border-form input[type=text],
-.theme-white .tpl-form-border-form input[type=password],
-.theme-white .tpl-form-border-form input[type=datetime],
-.theme-white .tpl-form-border-form input[type=datetime-local],
-.theme-white .tpl-form-border-form input[type=date],
-.theme-white .tpl-form-border-form input[type=month],
-.theme-white .tpl-form-border-form input[type=time],
-.theme-white .tpl-form-border-form input[type=week],
-.theme-white .tpl-form-border-form input[type=email],
-.theme-white .tpl-form-border-form input[type=url],
-.theme-white .tpl-form-border-form input[type=tel],
-.theme-white .tpl-form-border-form input[type=color],
-.theme-white .tpl-form-border-form select,
-.theme-white .tpl-form-border-form textarea,
-.theme-white .am-form-field {
-  display: block;
-  width: 100%;
-  padding: 6px 12px;
-  line-height: 1.42857;
-  color: #4d6b8a;
-  background-color: #fff;
-  background-image: none;
-  border-radius: 4px;
-  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  background: 0 0;
-  border: 0;
-  border: 1px solid #c2cad8;
-  -webkit-border-radius: 0;
-  -moz-border-radius: 0;
-  -ms-border-radius: 0;
-  text-indent: .5em;
-  -o-border-radius: 0;
-  border-radius: 0;
-  color: #555;
-  box-shadow: none;
-  padding-left: 0;
-  padding-right: 0;
-  font-size: 14px;
-}
-.theme-white .tpl-form-border-form .am-checkbox,
-.theme-white .tpl-form-border-form .am-checkbox-inline,
-.theme-white .tpl-form-border-form .am-form-label,
-.theme-white .tpl-form-border-form .am-radio,
-.theme-white .tpl-form-border-form .am-radio-inline {
-  margin-top: 0;
-  margin-bottom: 0;
-}
-.theme-white .tpl-form-border-form .am-form-group:after {
-  clear: both;
-}
-.theme-white .tpl-form-border-form .am-form-group:after,
-.theme-white .tpl-form-border-form .am-form-group:before {
-  content: " ";
-  display: table;
-}
-.theme-white .tpl-form-border-form .am-form-label {
-  padding-top: 5px;
-  font-size: 16px;
-  color: #888;
-  font-weight: inherit;
-  text-align: right;
-}
-.theme-white .tpl-form-border-form .am-form-group {
-  /*padding: 20px 0;*/
-}
-.theme-white .tpl-form-border-form .am-form-label .tpl-form-line-small-title {
-  color: #999;
-  font-size: 12px;
-}
-.theme-white .tpl-form-line-form input[type=number]:focus,
-.theme-white .tpl-form-line-form input[type=search]:focus,
-.theme-white .tpl-form-line-form input[type=text]:focus,
-.theme-white .tpl-form-line-form input[type=password]:focus,
-.theme-white .tpl-form-line-form input[type=datetime]:focus,
-.theme-white .tpl-form-line-form input[type=datetime-local]:focus,
-.theme-white .tpl-form-line-form input[type=date]:focus,
-.theme-white .tpl-form-line-form input[type=month]:focus,
-.theme-white .tpl-form-line-form input[type=time]:focus,
-.theme-white .tpl-form-line-form input[type=week]:focus,
-.theme-white .tpl-form-line-form input[type=email]:focus,
-.theme-white .tpl-form-line-form input[type=url]:focus,
-.theme-white .tpl-form-line-form input[type=tel]:focus,
-.theme-white .tpl-form-line-form input[type=color]:focus,
-.theme-white .tpl-form-line-form select:focus,
-.theme-white .tpl-form-line-form textarea:focus,
-.theme-white .am-form-field:focus {
-  -webkit-box-shadow: none;
-  box-shadow: none;
-}
-.theme-white .tpl-form-line-form input[type=number],
-.theme-white .tpl-form-line-form input[type=search],
-.theme-white .tpl-form-line-form input[type=text],
-.theme-white .tpl-form-line-form input[type=password],
-.theme-white .tpl-form-line-form input[type=datetime],
-.theme-white .tpl-form-line-form input[type=datetime-local],
-.theme-white .tpl-form-line-form input[type=date],
-.theme-white .tpl-form-line-form input[type=month],
-.theme-white .tpl-form-line-form input[type=time],
-.theme-white .tpl-form-line-form input[type=week],
-.theme-white .tpl-form-line-form input[type=email],
-.theme-white .tpl-form-line-form input[type=url],
-.theme-white .tpl-form-line-form input[type=tel],
-.theme-white .tpl-form-line-form input[type=color],
-.theme-white .tpl-form-line-form select,
-.theme-white .tpl-form-line-form textarea,
-.theme-white .am-form-field {
-  display: block;
-  width: 100%;
-  padding: 6px 12px;
-  line-height: 1.42857;
-  color: #4d6b8a;
-  background-color: #fff;
-  background-image: none;
-  border: 1px solid #c2cad8;
-  border-radius: 4px;
-  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  background: 0 0;
-  border: 0;
-  border-bottom: 1px solid #c2cad8;
-  -webkit-border-radius: 0;
-  -moz-border-radius: 0;
-  -ms-border-radius: 0;
-  -o-border-radius: 0;
-  border-radius: 0;
-  color: #555;
-  box-shadow: none;
-  padding-left: 0;
-  padding-right: 0;
-  font-size: 14px;
-}
-.theme-white .tpl-form-line-form .am-checkbox,
-.theme-white .tpl-form-line-form .am-checkbox-inline,
-.theme-white .tpl-form-line-form .am-form-label,
-.theme-white .tpl-form-line-form .am-radio,
-.theme-white .tpl-form-line-form .am-radio-inline {
-  margin-top: 0;
-  margin-bottom: 0;
-}
-.theme-white .tpl-form-line-form .am-form-group:after {
-  clear: both;
-}
-.theme-white .tpl-form-line-form .am-form-group:after,
-.theme-white .tpl-form-line-form .am-form-group:before {
-  content: " ";
-  display: table;
-}
-.theme-white .tpl-form-line-form .am-form-label {
-  padding-top: 5px;
-  font-size: 16px;
-  color: #888;
-  font-weight: inherit;
-  text-align: right;
-}
-.theme-white .tpl-form-line-form .am-form-group {
-  /*padding: 20px 0;*/
-}
-.theme-white .tpl-form-line-form .am-form-label .tpl-form-line-small-title {
-  color: #999;
-  font-size: 12px;
-}
-.theme-white .tpl-table-black-operation a {
-  border: 1px solid #36c6d3;
-  color: #36c6d3;
-}
-.theme-white .tpl-table-black-operation a:hover {
-  background: #36c6d3;
-  color: #fff;
-}
-.theme-white .tpl-table-black-operation a.tpl-table-black-operation-del {
-  border: 1px solid #e7505a;
-  color: #e7505a;
-}
-.theme-white .tpl-table-black-operation a.tpl-table-black-operation-del:hover {
-  background: #e7505a;
-  color: #fff;
-}
-.theme-white .tpl-amendment-echarts {
-  left: -17px;
-}
-.theme-white .tpl-user-card {
-  border: 1px solid #3598dc;
-  border-top: 2px solid #3598dc;
-  background: #3598dc;
-  color: #ffffff;
-  border-radius: 4px;
-}
-.theme-white .tpl-user-card-title {
-  font-size: 26px;
-  margin-top: 0;
-  font-weight: 300;
-  margin-top: 25px;
-  margin-bottom: 10px;
-}
-.theme-white .achievement-subheading {
-  font-size: 12px;
-  margin-top: 0;
-  margin-bottom: 15px;
-}
-.theme-white .achievement-image {
-  border-radius: 50%;
-  margin-bottom: 22px;
-}
-.theme-white .achievement-description {
-  margin: 0;
-  font-size: 12px;
-}
-.theme-white .tpl-table-black {
-  color: #838FA1;
-}
-.theme-white .tpl-table-black thead > tr > th {
-  font-size: 14px;
-  padding: 6px;
-}
-.theme-white .tpl-table-black tbody > tr > td {
-  font-size: 14px;
-  padding: 7px 6px;
-}
-.theme-white .tpl-table-black tfoot > tr > th {
-  font-size: 14px;
-  padding: 6px 0;
-}
-.theme-white .am-progress {
-  height: 12px;
-}
-.theme-white .am-progress-title {
-  font-size: 14px;
-  margin-bottom: 8px;
-}
-.theme-white .widget-fluctuation-tpl-btn {
-  margin-top: 6px;
-  display: block;
-  color: #fff;
-  font-size: 12px;
-  padding: 8px 14px;
-  outline: none;
-  background-color: #e7505a;
-  border: 1px solid #e7505a;
-}
-.theme-white .widget-fluctuation-tpl-btn:hover {
-  background: transparent;
-  color: #e7505a;
-}
-.theme-white .widget-fluctuation-description-text {
-  color: #c5cacd;
-}
-.theme-white .widget-fluctuation-period-text {
-  color: #838FA1;
-}
-.theme-white .text-success {
-  color: #5eb95e;
-}
-.theme-white .widget-head {
-  border-bottom: 1px solid #eef1f5;
-}
-.theme-white .widget-function a {
-  color: #838FA1;
-}
-.theme-white .widget-function a:hover {
-  color: #a7bdcd;
-}
-.theme-white .widget {
-  padding: 10px 20px 13px;
-  background-color: #fff;
-  border-radius: 4px;
-  color: #838FA1;
-}
-.theme-white .widget-title {
-  font-size: 16px;
-}
-.theme-white .widget-primary {
-  min-height: 174px;
-  border: 1px solid #32c5d2;
-  border-top: 2px solid #32c5d2;
-  background: #32c5d2;
-  color: #ffffff;
-  padding: 12px 17px;
-  padding-left: 22px;
-}
-.theme-white .widget-statistic-icon {
-  position: absolute;
-  z-index: 30;
-  right: 30px;
-  top: 24px;
-  font-size: 70px;
-  color: #46cad6;
-}
-.theme-white .widget-statistic-description {
-  position: relative;
-  z-index: 35;
-  display: block;
-  font-size: 14px;
-  line-height: 14px;
-  padding-top: 8px;
-  color: #fff;
-}
-.theme-white .widget-statistic-value {
-  position: relative;
-  z-index: 35;
-  font-weight: 300;
-  display: block;
-  color: #fff;
-  font-size: 46px;
-  line-height: 46px;
-  margin-bottom: 8px;
-}
-.theme-white .widget-statistic-header {
-  padding-top: 18px;
-  color: #fff;
-}
-.theme-white .widget-purple {
-  padding: 12px 17px;
-  border: 1px solid #8E44AD;
-  border-top: 2px solid #8E44AD;
-  background: #8E44AD;
-  color: #ffffff;
-  min-height: 174px;
-}
-.theme-white .widget-purple .widget-statistic-icon {
-  color: #9956b5;
-}
-.theme-white .widget-purple .widget-statistic-header {
-  color: #ded5e7;
-}
-.theme-white .widget-purple .widget-statistic-description {
-  color: #ded5e7;
-}
-.theme-white .page-header-button {
-  opacity: .8;
-  border: 1px solid #32c5d2;
-  background: #32c5d2;
-  color: #fff;
-}
-.theme-white .page-header-button:hover {
-  opacity: 1;
-}
-.theme-white .page-header-description {
-  color: #666;
-}
-.theme-white .page-header-heading {
-  color: #666;
-}
-.theme-white ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-content .menu-messages-content-time {
-  color: #96a5aa;
-}
-.theme-white ul.tpl-dropdown-content {
-  background: #fff;
-  border: 1px solid #ddd;
-}
-.theme-white ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item,
-.theme-white ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item {
-  border-bottom: 1px solid #eee;
-  color: #999;
-}
-.theme-white ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item:hover,
-.theme-white ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:hover {
-  background-color: #f5f5f5;
-}
-.theme-white ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-item .tpl-dropdown-menu-notifications-time,
-.theme-white ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .tpl-dropdown-menu-notifications-time {
-  color: #999;
-}
-.theme-white ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item:hover {
-  background-color: #f5f5f5;
-}
-.theme-white ul.tpl-dropdown-content .tpl-dropdown-menu-notifications-title {
-  color: #999;
-}
-.theme-white .sidebar-nav-link a {
-  border-left: #fff 3px solid;
-}
-.theme-white .sidebar-nav-link a:hover {
-  background: #f2f6f9;
-  color: #868E8E;
-  border-left: #3bb4f2 3px solid;
-}
-.theme-white .sidebar-nav-link a.active {
-  background: #f2f6f9;
-  color: #868E8E;
-  border-left: #3bb4f2 3px solid;
-}
-.theme-white .sidebar-nav-heading {
-  color: #999;
-  border-bottom: 1px solid #eee;
-}
-.theme-white .tpl-sidebar-user-panel {
-  background: #fff;
-  border-bottom: 1px solid #eee;
-}
-.theme-white .tpl-content-wrapper {
-  background: #e9ecf3;
-}
-.theme-white .tpl-header-fluid {
-  background: #fff;
-  border-top: 1px solid #eee;
-}
-.theme-white .tpl-header-logo {
-  background: #fff;
-  border-bottom: 1px solid #eee;
-}
-.theme-white .tpl-header-switch-button {
-  background: #fff;
-  border-right: 1px solid #eee;
-  border-left: 1px solid #eee;
-}
-.theme-white .tpl-header-switch-button:hover {
-  background: #fff;
-  color: #999;
-}
-.theme-white .tpl-header-navbar a {
-  color: #999;
-}
-.theme-white .tpl-header-navbar a:hover {
-  color: #999;
-}
-.theme-white .left-sidebar {
-  background: #fff;
-}
-.theme-white .widget-color-green {
-  border: 1px solid #32c5d2;
-  border-top: 2px solid #32c5d2;
-  background: #32c5d2;
-  color: #ffffff;
-}
-.theme-white .widget-color-green .widget-fluctuation-period-text {
-  color: #fff;
-}
-.theme-white .widget-color-green .widget-head {
-  border-bottom: 1px solid #2bb8c4;
-}
-.theme-white .widget-color-green .widget-fluctuation-description-text {
-  color: #bbe7f6;
-}
-.theme-white .widget-color-green .widget-function a {
-  color: #42bde5;
-}
-.theme-white .widget-color-green .widget-function a:hover {
-  color: #fff;
-}
-.theme-black {
-  background-color: #282d2f;
-}
-.theme-black .tpl-am-model-bd {
-  background: #424b4f;
-}
-.theme-black .tpl-model-dialog {
-  background: #424b4f;
-}
-.theme-black .tpl-error-title {
-  font-size: 210px;
-  line-height: 220px;
-  color: #868E8E;
-}
-.theme-black .tpl-error-title-info {
-  line-height: 30px;
-  font-size: 21px;
-  margin-top: 20px;
-  text-align: center;
-  color: #868E8E;
-}
-.theme-black .tpl-error-btn {
-  background: #03a9f3;
-  border: 1px solid #03a9f3;
-  border-radius: 30px;
-  padding: 6px 20px 8px;
-}
-.theme-black .tpl-error-content {
-  margin-top: 20px;
-  margin-bottom: 20px;
-  font-size: 16px;
-  text-align: center;
-  color: #cfcfcf;
-}
-.theme-black .tpl-calendar-box {
-  background: #424b4f;
-  padding: 20px;
-}
-.theme-black .tpl-calendar-box .fc-button {
-  border-radius: 0;
-  box-shadow: 0;
-}
-.theme-black .tpl-calendar-box .fc-event {
-  border-radius: 0;
-  background: #03a9f3;
-}
-.theme-black .tpl-calendar-box .fc-axis {
-  color: #fff;
-}
-.theme-black .tpl-calendar-box .fc-unthemed .fc-today {
-  background: #3a4144;
-}
-.theme-black .tpl-calendar-box .fc-more {
-  color: #fff;
-}
-.theme-black .tpl-calendar-box .fc th.fc-widget-header {
-  background: #9675ce!important;
-  color: #ffffff;
-  font-size: 14px;
-  line-height: 20px;
-  padding: 7px 0px;
-  text-transform: uppercase;
-  border: none!important;
-}
-.theme-black .tpl-calendar-box .fc th.fc-widget-header a {
-  color: #fff;
-}
-.theme-black .tpl-calendar-box .fc-center h2 {
-  color: #fff;
-}
-.theme-black .tpl-calendar-box .fc-state-default {
-  background-image: none;
-  background: #fff;
-  font-size: 14px;
-}
-.theme-black .tpl-calendar-box .fc th,
-.theme-black .tpl-calendar-box .fc td,
-.theme-black .tpl-calendar-box .fc hr,
-.theme-black .tpl-calendar-box .fc thead,
-.theme-black .tpl-calendar-box .fc tbody,
-.theme-black .tpl-calendar-box .fc-row {
-  border-color: rgba(120, 130, 140, 0.4) !important;
-}
-.theme-black .tpl-calendar-box .fc-day-number {
-  color: #868E8E;
-  padding-right: 6px;
-}
-.theme-black .tpl-calendar-box .fc th {
-  color: #868E8E;
-  font-weight: normal;
-  font-size: 14px;
-  padding: 6px 0;
-}
-.theme-black .tpl-login-logo {
-  background: url(../img/logob.png) center no-repeat;
-}
-.theme-black .tpl-table-line-img {
-  max-width: 100px;
-  padding: 2px;
-  border: none;
-}
-.theme-black .tpl-table-list-field {
-  border: none;
-}
-.theme-black .tpl-table-list-select .am-dropdown-content {
-  color: #888;
-}
-.theme-black .tpl-table-list-select .am-selected-btn {
-  border: 1px solid rgba(255, 255, 255, 0.2);
-  color: #fff;
-}
-.theme-black .tpl-table-list-select .am-btn-default.am-active,
-.theme-black .tpl-table-list-select .am-btn-default:active,
-.theme-black .tpl-table-list-select .am-dropdown.am-active .am-btn-default.am-dropdown-toggle {
-  border: 1px solid rgba(255, 255, 255, 0.2);
-  color: #fff;
-  background: #5d6468;
-}
-.theme-black .tpl-pagination .am-disabled a,
-.theme-black .tpl-pagination li a {
-  color: #fff;
-  padding: 6px 12px;
-  background: #3f4649;
-  border: none;
-}
-.theme-black .tpl-pagination .am-active a {
-  background: #167fa1;
-  color: #fff;
-  border: 1px solid #167fa1;
-  padding: 6px 12px;
-}
-.theme-black .tpl-login-btn {
-  border: 1px solid #b5b5b5;
-  background-color: rgba(0, 0, 0, 0);
-  padding: 10px 16px;
-  font-size: 14px;
-  line-height: 14px;
-  color: #b5b5b5;
-}
-.theme-black .tpl-login-btn:hover,
-.theme-black .tpl-login-btn:active {
-  background: #b5b5b5;
-  color: #fff;
-}
-.theme-black .tpl-login-title {
-  color: #fff;
-}
-.theme-black .tpl-login-title strong {
-  color: #39bae4;
-}
-.theme-black .tpl-form-line-form,
-.theme-black .tpl-form-border-form {
-  padding-top: 20px;
-}
-.theme-black .tpl-form-line-form .am-btn-default,
-.theme-black .tpl-form-border-form .am-btn-default {
-  color: #fff;
-  border: 1px solid rgba(255, 255, 255, 0.2);
-}
-.theme-black .tpl-form-line-form .am-selected-text,
-.theme-black .tpl-form-border-form .am-selected-text {
-  color: #888;
-}
-.theme-black .tpl-form-border-form input[type=number]:focus,
-.theme-black .tpl-form-border-form input[type=search]:focus,
-.theme-black .tpl-form-border-form input[type=text]:focus,
-.theme-black .tpl-form-border-form input[type=password]:focus,
-.theme-black .tpl-form-border-form input[type=datetime]:focus,
-.theme-black .tpl-form-border-form input[type=datetime-local]:focus,
-.theme-black .tpl-form-border-form input[type=date]:focus,
-.theme-black .tpl-form-border-form input[type=month]:focus,
-.theme-black .tpl-form-border-form input[type=time]:focus,
-.theme-black .tpl-form-border-form input[type=week]:focus,
-.theme-black .tpl-form-border-form input[type=email]:focus,
-.theme-black .tpl-form-border-form input[type=url]:focus,
-.theme-black .tpl-form-border-form input[type=tel]:focus,
-.theme-black .tpl-form-border-form input[type=color]:focus,
-.theme-black .tpl-form-border-form select:focus,
-.theme-black .tpl-form-border-form textarea:focus,
-.theme-black .am-form-field:focus {
-  -webkit-box-shadow: none;
-  box-shadow: none;
-}
-.theme-black .tpl-form-border-form input[type=number],
-.theme-black .tpl-form-border-form input[type=search],
-.theme-black .tpl-form-border-form input[type=text],
-.theme-black .tpl-form-border-form input[type=password],
-.theme-black .tpl-form-border-form input[type=datetime],
-.theme-black .tpl-form-border-form input[type=datetime-local],
-.theme-black .tpl-form-border-form input[type=date],
-.theme-black .tpl-form-border-form input[type=month],
-.theme-black .tpl-form-border-form input[type=time],
-.theme-black .tpl-form-border-form input[type=week],
-.theme-black .tpl-form-border-form input[type=email],
-.theme-black .tpl-form-border-form input[type=url],
-.theme-black .tpl-form-border-form input[type=tel],
-.theme-black .tpl-form-border-form input[type=color],
-.theme-black .tpl-form-border-form select,
-.theme-black .tpl-form-border-form textarea,
-.theme-black .am-form-field {
-  display: block;
-  width: 100%;
-  padding: 6px 12px;
-  line-height: 1.42857;
-  color: #4d6b8a;
-  background-color: #fff;
-  background-image: none;
-  border: 1px solid #c2cad8;
-  border-radius: 4px;
-  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  background: 0 0;
-  border: 0;
-  text-indent: .5em;
-  border: 1px solid rgba(255, 255, 255, 0.2);
-  -webkit-border-radius: 0;
-  -moz-border-radius: 0;
-  -ms-border-radius: 0;
-  -o-border-radius: 0;
-  border-radius: 0;
-  color: #fff;
-  box-shadow: none;
-  padding-left: 0;
-  padding-right: 0;
-  font-size: 14px;
-}
-.theme-black .tpl-form-border-form .am-checkbox,
-.theme-black .tpl-form-border-form .am-checkbox-inline,
-.theme-black .tpl-form-border-form .am-form-label,
-.theme-black .tpl-form-border-form .am-radio,
-.theme-black .tpl-form-border-form .am-radio-inline {
-  margin-top: 0;
-  margin-bottom: 0;
-}
-.theme-black .tpl-form-border-form .am-form-group:after {
-  clear: both;
-}
-.theme-black .tpl-form-border-form .am-form-group:after,
-.theme-black .tpl-form-border-form .am-form-group:before {
-  content: " ";
-  display: table;
-}
-.theme-black .tpl-form-border-form .am-form-label {
-  padding-top: 5px;
-  font-size: 16px;
-  color: #fff;
-  font-weight: inherit;
-  text-align: right;
-}
-.theme-black .tpl-form-border-form .am-form-group {
-  /*padding: 20px 0;*/
-}
-.theme-black .tpl-form-border-form .am-form-label .tpl-form-line-small-title {
-  color: #999;
-  font-size: 12px;
-}
-.theme-black .tpl-form-line-form input[type=number]:focus,
-.theme-black .tpl-form-line-form input[type=search]:focus,
-.theme-black .tpl-form-line-form input[type=text]:focus,
-.theme-black .tpl-form-line-form input[type=password]:focus,
-.theme-black .tpl-form-line-form input[type=datetime]:focus,
-.theme-black .tpl-form-line-form input[type=datetime-local]:focus,
-.theme-black .tpl-form-line-form input[type=date]:focus,
-.theme-black .tpl-form-line-form input[type=month]:focus,
-.theme-black .tpl-form-line-form input[type=time]:focus,
-.theme-black .tpl-form-line-form input[type=week]:focus,
-.theme-black .tpl-form-line-form input[type=email]:focus,
-.theme-black .tpl-form-line-form input[type=url]:focus,
-.theme-black .tpl-form-line-form input[type=tel]:focus,
-.theme-black .tpl-form-line-form input[type=color]:focus,
-.theme-black .tpl-form-line-form select:focus,
-.theme-black .tpl-form-line-form textarea:focus,
-.theme-black .am-form-field:focus {
-  -webkit-box-shadow: none;
-  box-shadow: none;
-}
-.theme-black .tpl-form-line-form input[type=number],
-.theme-black .tpl-form-line-form input[type=search],
-.theme-black .tpl-form-line-form input[type=text],
-.theme-black .tpl-form-line-form input[type=password],
-.theme-black .tpl-form-line-form input[type=datetime],
-.theme-black .tpl-form-line-form input[type=datetime-local],
-.theme-black .tpl-form-line-form input[type=date],
-.theme-black .tpl-form-line-form input[type=month],
-.theme-black .tpl-form-line-form input[type=time],
-.theme-black .tpl-form-line-form input[type=week],
-.theme-black .tpl-form-line-form input[type=email],
-.theme-black .tpl-form-line-form input[type=url],
-.theme-black .tpl-form-line-form input[type=tel],
-.theme-black .tpl-form-line-form input[type=color],
-.theme-black .tpl-form-line-form select,
-.theme-black .tpl-form-line-form textarea,
-.theme-black .am-form-field {
-  display: block;
-  width: 100%;
-  padding: 6px 12px;
-  line-height: 1.42857;
-  color: #4d6b8a;
-  background-color: #fff;
-  background-image: none;
-  border: 1px solid #c2cad8;
-  border-radius: 4px;
-  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-  background: 0 0;
-  border: 0;
-  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
-  -webkit-border-radius: 0;
-  -moz-border-radius: 0;
-  -ms-border-radius: 0;
-  -o-border-radius: 0;
-  border-radius: 0;
-  color: #fff;
-  box-shadow: none;
-  padding-left: 0;
-  padding-right: 0;
-  font-size: 14px;
-}
-.theme-black .tpl-form-line-form .am-checkbox,
-.theme-black .tpl-form-line-form .am-checkbox-inline,
-.theme-black .tpl-form-line-form .am-form-label,
-.theme-black .tpl-form-line-form .am-radio,
-.theme-black .tpl-form-line-form .am-radio-inline {
-  margin-top: 0;
-  margin-bottom: 0;
-}
-.theme-black .tpl-form-line-form .am-form-group:after {
-  clear: both;
-}
-.theme-black .tpl-form-line-form .am-form-group:after,
-.theme-black .tpl-form-line-form .am-form-group:before {
-  content: " ";
-  display: table;
-}
-.theme-black .tpl-form-line-form .am-form-label {
-  padding-top: 5px;
-  font-size: 16px;
-  color: #fff;
-  font-weight: inherit;
-  text-align: right;
-}
-.theme-black .tpl-form-line-form .am-form-group {
-  /*padding: 20px 0;*/
-}
-.theme-black .tpl-form-line-form .am-form-label .tpl-form-line-small-title {
-  color: #999;
-  font-size: 12px;
-}
-.theme-black .tpl-table-black-operation a {
-  border: 1px solid #7b878d;
-  color: #7b878d;
-}
-.theme-black .tpl-table-black-operation a:hover {
-  background: #7b878d;
-  color: #fff;
-}
-.theme-black .tpl-table-black-operation a.tpl-table-black-operation-del {
-  border: 1px solid #f35842;
-  color: #f35842;
-}
-.theme-black .tpl-table-black-operation a.tpl-table-black-operation-del:hover {
-  background: #f35842;
-  color: #fff;
-}
-.theme-black .am-table-bordered {
-  border: 1px solid #666d70;
-}
-.theme-black .am-table-bordered > tbody > tr > td,
-.theme-black .am-table-bordered > tbody > tr > th,
-.theme-black .am-table-bordered > tfoot > tr > td,
-.theme-black .am-table-bordered > tfoot > tr > th,
-.theme-black .am-table-bordered > thead > tr > td,
-.theme-black .am-table-bordered > thead > tr > th {
-  border: 1px solid #666d70;
-}
-.theme-black .am-table-bordered > thead + tbody > tr:first-child > td,
-.theme-black .am-table-bordered > thead + tbody > tr:first-child > th {
-  border: 1px solid #666d70;
-}
-.theme-black .am-table-striped > tbody > tr:nth-child(odd) > td,
-.theme-black .am-table-striped > tbody > tr:nth-child(odd) > th {
-  background-color: #5d6468;
-}
-.theme-black .tpl-table-black {
-  color: #fff;
-}
-.theme-black .tpl-table-black thead > tr > th {
-  font-size: 14px;
-  padding: 6px;
-  border-bottom: 1px solid #666d70;
-}
-.theme-black .tpl-table-black tbody > tr > td {
-  font-size: 14px;
-  padding: 7px 6px;
-  border-top: 1px solid #666d70;
-}
-.theme-black .tpl-table-black tfoot > tr > th {
-  font-size: 14px;
-  padding: 6px 0;
-}
-.theme-black .tpl-user-card {
-  border: 1px solid #11627d;
-  border-top: 2px solid #105f79;
-  background: #1786aa;
-  color: #ffffff;
-}
-.theme-black .tpl-user-card-title {
-  font-size: 26px;
-  margin-top: 0;
-  font-weight: 300;
-  margin-top: 25px;
-  margin-bottom: 10px;
-}
-.theme-black .achievement-subheading {
-  font-size: 12px;
-  margin-top: 0;
-  margin-bottom: 15px;
-}
-.theme-black .achievement-image {
-  border-radius: 50%;
-  margin-bottom: 22px;
-}
-.theme-black .achievement-description {
-  margin: 0;
-  font-size: 12px;
-}
-.theme-black .am-progress {
-  height: 12px;
-  margin-bottom: 14px;
-  background: rgba(0, 0, 0, 0.15);
-}
-.theme-black .am-progress-title {
-  font-size: 14px;
-  margin-bottom: 8px;
-}
-.theme-black .am-progress-title-more {
-  color: #a1a8ab;
-}
-.theme-black .widget-fluctuation-tpl-btn {
-  margin-top: 6px;
-  display: block;
-  color: #fff;
-  font-size: 12px;
-  padding: 5px 10px;
-  outline: none;
-  background-color: rgba(255, 255, 255, 0);
-  border: 1px solid #fff;
-}
-.theme-black .widget-fluctuation-tpl-btn:hover {
-  background: #fff;
-  color: #4b5357;
-}
-.theme-black .widget-fluctuation-description-text {
-  color: #c5cacd;
-}
-.theme-black .text-success {
-  color: #08ed72;
-}
-.theme-black .widget-fluctuation-period-text {
-  color: #fff;
-}
-.theme-black .widget-head {
-  border-bottom: 1px solid #3f4649;
-}
-.theme-black .widget-function a {
-  color: #7b878d;
-}
-.theme-black .widget-function a:hover {
-  color: #fff;
-}
-.theme-black .widget {
-  border: 1px solid #33393c;
-  border-top: 2px solid #313639;
-  background: #4b5357;
-  color: #ffffff;
-}
-.theme-black .widget-primary {
-  border: 1px solid #11627d;
-  border-top: 2px solid #105f79;
-  background: #1786aa;
-  color: #ffffff;
-  padding: 12px 17px;
-}
-.theme-black .widget-statistic-icon {
-  position: absolute;
-  z-index: 30;
-  right: 30px;
-  top: 0px;
-  font-size: 70px;
-  color: #1b9eca;
-}
-.theme-black .widget-statistic-description {
-  position: relative;
-  z-index: 35;
-  display: block;
-  font-size: 14px;
-  line-height: 14px;
-  padding-top: 8px;
-  color: #9cdcf2;
-}
-.theme-black .widget-statistic-value {
-  position: relative;
-  z-index: 35;
-  font-weight: 300;
-  display: block;
-  color: #fff;
-  font-size: 46px;
-  line-height: 46px;
-  margin-bottom: 8px;
-}
-.theme-black .widget-statistic-header {
-  color: #9cdcf2;
-}
-.theme-black .widget-purple {
-  padding: 12px 17px;
-  border: 1px solid #5e4578;
-  border-top: 2px solid #5c4375;
-  background: #785799;
-  color: #ffffff;
-}
-.theme-black .widget-purple .widget-statistic-icon {
-  color: #8a6aaa;
-}
-.theme-black .widget-purple .widget-statistic-header {
-  color: #ded5e7;
-}
-.theme-black .widget-purple .widget-statistic-description {
-  color: #ded5e7;
-}
-.theme-black .page-header-description {
-  color: #e6e6e6;
-}
-.theme-black .page-header-heading {
-  color: #666;
-}
-.theme-black .container-fluid {
-  background: #424b4f;
-}
-.theme-black .page-header-heading {
-  color: #fff;
-}
-.theme-black .sidebar-nav-heading {
-  color: #fff;
-}
-.theme-black .tpl-sidebar-user-panel {
-  background: #1f2224;
-  border-bottom: 1px solid #1f2224;
-}
-.theme-black .tpl-content-wrapper {
-  background: #3a4144;
-}
-.theme-black .tpl-header-fluid {
-  background: #2f3638;
-}
-.theme-black .sidebar-nav-link a.active {
-  background: #232829;
-}
-.theme-black .sidebar-nav-link a:hover {
-  background: #232829;
-}
-.theme-black .tpl-header-switch-button {
-  background: #2f3638;
-  border-right: 1px solid #282d2f;
-}
-.theme-black .tpl-header-switch-button:hover {
-  background: #282d2f;
-  color: #fff;
-}
-.theme-black .tpl-header-navbar a {
-  color: #cfcfcf;
-}
-.theme-black .tpl-header-navbar a:hover {
-  color: #fff;
-}
-.theme-black .left-sidebar {
-  padding-top: 56px;
-  background: #282d2f;
-}
-.theme-black .widget-color-green {
-  border: 1px solid #11627d;
-  border-top: 2px solid #105f79;
-  background: #1786aa;
-  color: #ffffff;
-}
-.theme-black .widget-color-green .widget-head {
-  border-bottom: 1px solid #147494;
-}
-.theme-black .widget-color-green .widget-fluctuation-description-text {
-  color: #bbe7f6;
-}
-.theme-black .widget-color-green .widget-function a {
-  color: #42bde5;
-}
-.theme-black .widget-color-green .widget-function a:hover {
-  color: #fff;
-}
-@media screen and (max-width: 1024px) {
-  .tpl-index-settings-button {
-    display: none;
-  }
-  .theme-black .left-sidebar {
-    padding-top: 111px;
-  }
-  .left-sidebar {
-    padding-top: 111px;
-  }
-  .tpl-content-wrapper {
-    margin-left: 0;
-  }
-  .tpl-header-logo {
-    float: none;
-    width: 100%;
-  }
-  .tpl-header-navbar-welcome {
-    display: none;
-  }
-  .tpl-sidebar-user-panel {
-    border-top: 1px solid #eee;
-  }
-  .tpl-header-fluid {
-    border-top: none;
-    margin-left: 0;
-  }
-  .theme-white .tpl-header-fluid {
-    border-top: none;
-  }
-  .theme-black .tpl-sidebar-user-panel {
-    border-top: 1px solid #1f2224;
-  }
-}
-@media screen and (min-width: 641px) {
-  [class*=am-u-] {
-    padding-left: 10px;
-    padding-right: 10px;
-  }
-}
-@media screen and (max-width: 641px) {
-  .theme-white .tpl-error-title,
-  .theme-black .tpl-error-title {
-    font-size: 130px;
-    line-height: 140px;
-  }
-  .theme-white .tpl-login-title {
-    font-size: 20px;
-  }
-  .theme-white .tpl-login-content {
-    width: 86%;
-    padding: 22px 30px 25px;
-  }
-  .tpl-header-search {
-    display: none;
-  }
-  ul.tpl-dropdown-content {
-    position: fixed;
-    width: 100%;
-    left: 0;
-    top: 112px;
-    right: 0;
-  }
-}

+ 0 - 2056
Day61-65/code/project_of_tornado/assets/css/app.less

@@ -1,2056 +0,0 @@
-ul,li {
-    list-style: none;
-    padding: 0;
-    margin: 0;
-}
-
-a {
-    
-}
-
-header {
-    z-index: 1200;
-    position: relative;
-}
-.tpl-header-logo {
-    width: 240px;
-    height: 57px;
-    display: table;
-    text-align:center;
-    position: relative;
-    z-index: 1300;
-
-    a {
-        display:table-cell;
-        vertical-align:middle;
-    }
-
-    img {
-        width:170px;
-    }
-}
-
-
-.tpl-header-fluid {
-    margin-left: 240px;
-    height: 56px;
-    
-    padding-left: 20px;
-    padding-right: 20px;
-}
-
-
-.tpl-header-switch-button {
-
-    margin-top: 0px;
-    margin-bottom: 0px;
-    float: left;
-    color: #cfcfcf;
-    margin-left: -20px;
-    margin-right: 0;
-    border: 0;
-    border-radius: 0;
-    padding: 0px 22px;
-    font-size: 22px;
-    line-height: 55px;
-    
-    &:hover {
-      
-        outline: none;
-    }
-}
-
-
-.tpl-header-search-form {
-    height: 54px;
-    line-height: 52px;
-    margin-left: 10px;
-
-}
-.tpl-header-search-box , .tpl-header-search-btn {
-    transition: all 0.4s ease-in-out;
-    color: #848c90;
-    background: none;
-    border: none;
-    outline: none;
-}
-
-.tpl-header-search-box {
-    font-size: 14px;
-
-    &:hover,&:active {
-        color: #fff;
-    }
-}
-
-.tpl-header-search-btn {
-    font-size: 15px;
-
-    &:hover,&:active {
-        color: #fff;
-    }
-}
-
-.tpl-header-navbar {
-    color: #fff;
-    li {
-        float: left;
-    }
-    a {
-        line-height: 56px;
-        display: block;
-        padding: 0 16px;
-        position: relative;
-
-
-        &:hover {
-
-        }
-        
-        .item-feed-badge {
-            position: absolute;
-            top: 9px;
-            left: 25px;
-        }
-    }
-}
-
-ul.tpl-dropdown-content {
-    padding: 10px;
-    margin-top: 0;
-    width: 300px;
-    background-color: #2f3638;
-    border: 1px solid #525e62;
-    border-radius: 0;
-
-    li {
-        float:none;
-    }
-
-    &:before , &:after {
-        display: none;
-    }
-}
-
-
-ul.tpl-dropdown-content {
-
-
-    .tpl-dropdown-menu-notifications {
-        
-    }
-
-    .tpl-dropdown-menu-notifications-title {
-        font-size: 12px;
-        float: left;
-        color: rgba(255, 255, 255, 0.7);
-    }
-
-    .tpl-dropdown-menu-notifications-time {
-         float: right;
-        text-align: right;
-        color: rgba(255, 255, 255, 0.7);
-        font-size: 11px;
-        width: 50px;
-        margin-left: 10px;
-    }
-
-    .tpl-dropdown-menu-notifications:last-child .tpl-dropdown-menu-notifications-item {
-            text-align: center;
-            border: none;
-            font-size: 12px;
-            i {
-                margin-left: -6px;
-            }
-    }
-
-    .tpl-dropdown-menu-messages:last-child .tpl-dropdown-menu-messages-item {
-            text-align: center;
-            border: none;
-            font-size: 12px;
-            i {
-                margin-left: -6px;
-            }
-    }
-    .tpl-dropdown-menu-notifications-item , .tpl-dropdown-menu-messages-item {
-        padding: 12px;
-        color: #fff;
-        line-height: 20px;
-        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
-
-        &:hover , &:focus {
-                background-color: #465154;
-                color: #fff;
-        }
-
-        
-
-        .menu-messages-ico {
-            line-height: initial;
-            float: left;
-            width: 35px;
-            height: 35px;
-            border-radius: 50%;
-            margin-right: 10px;
-            margin-top: 6px;
-            overflow: hidden;
-
-            img {
-                width: 100%;
-                height: auto;
-                vertical-align: middle;
-            }
-        }
-
-        .menu-messages-time {
-            float: right;
-            text-align: right;
-            color: rgba(255, 255, 255, 0.7);
-            font-size: 11px;
-            width: 40px;
-            margin-left: 10px;
-
-            
-        }
-
-        .menu-messages-content {
-            display: block;
-            font-size: 13px;
-            margin-left: 45px;
-            margin-right: 50px;
-
-            .menu-messages-content-title {
-
-            }
-
-            .menu-messages-content-time {
-                margin-top: 3px;
-                color: rgba(255, 255, 255, 0.7);
-                font-size: 11px;
-            }
-        }
-
-       
-    }
-}
-
-.am-dimmer {
-    z-index: 1200;
-}
-.am-modal {
-    z-index: 1300;
-}
-.am-datepicker-dropdown {
-    z-index: 1400;
-}
-
-.tpl-skiner {
-    transition: all 0.4s ease-in-out;
-    position: fixed;
-    z-index: 10000;
-    right: -130px;
-    top: 65px;
-}
-
-.tpl-skiner.active {
-    right: 0px;
-}
-.tpl-skiner-content {
-    background: rgba(0, 0, 0, 0.7);
-    width: 130px;
-    padding: 15px;
-    border-radius: 4px 0 0 4px;
-    overflow: hidden;
-}
-
-.fc-content .am-icon-close {
-    position: absolute;
-    right: 0;
-    top: 0px;
-}
-.tpl-skiner-toggle {
-    position: absolute;
-    top: 5px;
-    left: -40px;
-    width: 40px;
-    color:#969a9b;
-    font-size: 20px;
-    height: 40px;
-    line-height: 40px;
-    text-align: center;
-    background: rgba(0, 0, 0, 0.7);
-    cursor: pointer;
-    border-top-left-radius: 4px;
-    border-bottom-left-radius: 4px;
-
-}
-.tpl-skiner-content-title {
-    margin: 0;
-    margin-bottom: 4px;
-    padding-bottom: 4px;
-    font-size: 16px;
-    text-transform: uppercase;
-    color:#fff;
-    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
-}
-
-.tpl-skiner-content-bar {
-    padding-top: 10px;
-    .skiner-color {
-        transition: all 0.4s ease-in-out;
-        float: left;
-        width: 25px;
-        height: 25px;
-        margin-right: 10px;
-        cursor: pointer;
-    }
-    .skiner-white {
-        background: #fff;
-        border: 2px solid #eee;
-    }
-
-    .skiner-black {
-        background: #000;
-        border: 2px solid #222;
-    }
-}
-
-.sub-active {
-    color:#fff!important;
-}
-.left-sidebar {
-        transition: all 0.4s ease-in-out;
-    width: 240px;
-    min-height: 100%;
-    padding-top: 57px;
-    position: absolute;
-    z-index: 1104;
-    top: 0;
-    left: 0px;
-    &.xs-active {
-        left:0px;
-    }
-    &.active {
-        left:-240px;
-    }
-    
-}
-.tpl-sidebar-user-panel {
-    padding: 22px;
-    padding-top: 28px;
-}
-
-.tpl-user-panel-slide-toggleable {
-
-}
-
-.tpl-user-panel-profile-picture {
-    border-radius: 50%;
-    width: 82px;
-    height: 82px;
-    margin-bottom: 10px;
-    overflow: hidden;
-
-    img {
-        width: auto;
-        height: 82px;
-        vertical-align: middle;
-    }
-}
-.tpl-user-panel-status-icon {
-        margin-right: 2px;
-}
-.user-panel-logged-in-text {
-    display: block;
-
-    color:#cfcfcf;
-    font-size: 14px;
-}
-.tpl-user-panel-action-link {
-    color: #6d787c;
-    font-size: 12px;
-    &:hover {
-        color: #a2aaad;
-    }
-}
-
-.sidebar-nav {
-    list-style-type: none;
-    padding: 0;
-    margin: 0;
-}
-
-.sidebar-nav-sub {
-    display: none;
-    .sidebar-nav-link {
-        font-size: 12px;
-        padding-left: 30px;
-    a {
-        font-size: 12px;
-        padding-left: 0;
-    }
-    }
-
-    .sidebar-nav-link-logo {
-            margin-right: 8px;
-    width: 20px;
-    font-size: 16px;
-    }
-}
-
-.sidebar-nav-sub-ico-rotate{
-    -webkit-transform: rotate(180deg);
-    transform: rotate(180deg);
-    -webkit-transition: all 300ms;
-    transition: all 300ms;
-}
-.sidebar-nav-link-logo-ico {
-    margin-top: 5px;
-}
-.sidebar-nav-heading {
-    padding: 24px 17px;
-    font-size: 15px;
-    font-weight: 500;
-}
-.sidebar-nav-heading-info {
-    font-size: 12px;
-    color:#868E8E;
-    padding-left: 10px;
-}
-.sidebar-nav-link-logo {
-    margin-right: 8px;
-    width: 20px;
-    font-size: 16px;
-}
-.sidebar-nav-link {
- 
-    color: #fff;
-
-    a {
-        display: block;
-        color: #868E8E;
-        padding: 10px 17px;
-        border-left: #282d2f 3px solid;
-        font-size: 14px;
-        cursor: pointer;
-
-        &.active {
-            cursor: pointer;
-            border-left: #1CA2CE 3px solid;
-            color: #fff;
-            
-        }
-
-        &:hover {
-            color: #fff;
-        }
-    }
-}
-
-.tpl-content-wrapper {
-    transition: all 0.4s ease-in-out;
-    position: relative;
-    margin-left: 240px;
-    z-index: 1101;
-    min-height: 922px;
-    border-bottom-left-radius: 3px;
-    &.xs-active {
-        margin-left: 240px;
-    }
-    &.active {
-        margin-left: 0;
-    }
-}
-
-.page-header {
-    background: #424b4f;
-    margin-top: 0;
-    margin-bottom: 0;
-    padding: 40px 0;
-    border-bottom: 0;
-}
-
-.container-fluid {
-    margin-top: 0;
-    margin-bottom: 0;
-    padding: 40px 0;
-    border-bottom: 0;
-        padding-left: 20px;
-    padding-right: 20px;
-}
-
-.row {
-    margin-right: -10px;
-    margin-left: -10px;
-}
-
-.page-header-description {
-    margin-top: 4px;
-    margin-bottom: 0;
-    font-size: 14px;
-    color: #e6e6e6;
-}
-.page-header-heading {
-    font-size: 20px;
-    font-weight: 400;
-    .page-header-heading-ico {
-        font-size: 28px;
-        position: relative;
-        top: 3px;
-    }
-    small {
-            font-weight: normal;
-    line-height: 1;
-    color: #B3B3B3;
-    }
-}
-
-.page-header-button {
-    transition: all 0.4s ease-in-out;
-    opacity: 0.3;
-    font-weight: 500;
-    border-radius: 0;
-    float: right;
-    outline: none;
-    border: 1px solid #fff;
-    padding: 16px 36px;
-    font-size: 23px;
-    line-height: 23px;
-    border-radius: 0;
-    padding-top: 14px;
-    color: #fff;
-    background-color: rgba(0, 0, 0, 0);
-    font-weight: 500;
-
-    &:hover {
-        background-color: #ffffff;
-        color: #333;
-        opacity: 1;
-    }
-}
-.widget {
-    width: 100%;
-        min-height: 148px;
-    margin-bottom: 20px;
-    border-radius: 0;
-    position: relative;
-}
-
-.widget-head {
-    width: 100%;
-    padding: 15px;
-}
-
-.widget-title  {
-    font-size: 14px;
-}
-.widget-function {
-      
-}
-.widget-fluctuation-period-text {
-    display: inline-block;
-    font-size: 16px;
-    line-height: 20px;
-    margin-bottom: 9px;
-}
-.widget-body {
-    padding: 13px 15px;
-    width: 100%;
-}
-.row-content {
-    padding: 20px;
-}
-
-.widget-fluctuation-description-text{
-margin-top: 4px;
-    display: block;
-    font-size: 12px;
-    line-height: 13px;
-    }
-
-.text-success {
-
-}
-.widget-fluctuation-tpl-btn {
-
-}
-.widget-fluctuation-description-amount {
-    display: block;
-    font-size: 20px;
-    line-height: 22px;
-}
-
-.widget-primary {
-
-}
-
-.widget-statistic-header {
-    position: relative;
-    z-index: 35;
-    display: block;
-    font-size: 14px;
-    text-transform: uppercase;
-    margin-bottom: 8px;
-}
- .widget-body-md {
-      height: 200px;
-  }
-.widget-body-lg {
-    min-height: 330px;
-    // height: 330px;
-}
-.widget-margin-bottom-lg {
-    margin-bottom: 20px;
-}
-
-.tpl-table-black-operation {
-
-}
-
-
-.tpl-table-black-operation {
-    a {
-        display: inline-block;
-        padding: 5px 6px;
-        font-size: 12px;
-        line-height: 12px;
-    }
-}
-.tpl-switch input[type="checkbox"] {
-        position: absolute;
-        opacity: 0;
-        width: 50px;
-    height: 20px;
-    }
-
-    
-    .tpl-switch input[type="checkbox"].ios-switch + div {
-        vertical-align: middle;
-        width: 40px;
-        height: 20px;
-
-        border-radius: 999px;
-        background-color: rgba(0, 0, 0, 0.1);
-        -webkit-transition-duration: .4s;
-        -webkit-transition-property: background-color, box-shadow;
-
-        margin-top: 6px;
-    }
-
-    
-    .tpl-switch input[type="checkbox"].ios-switch:checked + div {
-        width: 40px;
-        background-position: 0 0;
-        background-color: #36c6d3;
-
-
-    }
-
-    
-    .tpl-switch input[type="checkbox"].tinyswitch.ios-switch + div {
-        width: 34px;
-        height: 18px;
-    }
-
-    
-    .tpl-switch input[type="checkbox"].bigswitch.ios-switch + div {
-        width: 50px;
-        height: 25px;
-    }
-
-    
-    .tpl-switch input[type="checkbox"].green.ios-switch:checked + div {
-        background-color: #00e359;
-        border: 1px solid rgba(0, 162, 63, 1);
-        box-shadow: inset 0 0 0 10px rgba(0, 227, 89, 1);
-    }
-
-    
-    .tpl-switch input[type="checkbox"].ios-switch + div > div {
-        float: left;
-        width: 18px;
-        height: 18px;
-        border-radius: inherit;
-        background: #ffffff;
-        -webkit-transition-timing-function: cubic-bezier(.54, 1.85, .5, 1);
-        -webkit-transition-duration: 0.4s;
-        -webkit-transition-property: transform, background-color, box-shadow;
-        -moz-transition-timing-function: cubic-bezier(.54, 1.85, .5, 1);
-        -moz-transition-duration: 0.4s;
-        -moz-transition-property: transform, background-color;
-  
-        pointer-events: none;
-        margin-top: 1px;
-        margin-left: 1px;
-    }
-
-    
-    .tpl-switch input[type="checkbox"].ios-switch:checked + div > div {
-        -webkit-transform: translate3d(20px, 0, 0);
-        -moz-transform: translate3d(20px, 0, 0);
-        background-color: #ffffff;
-  
-    }
-
-    
-    .tpl-switch input[type="checkbox"].tinyswitch.ios-switch + div > div {
-        width: 16px;
-        height: 16px;
-        margin-top: 1px;
-    }
-
-    
-    .tpl-switch input[type="checkbox"].tinyswitch.ios-switch:checked + div > div {
-        -webkit-transform: translate3d(16px, 0, 0);
-        -moz-transform: translate3d(16px, 0, 0);
-        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0px 0px 0 1px rgba(8, 80, 172, 1);
-    }
-
-    
-    .tpl-switch input[type="checkbox"].bigswitch.ios-switch + div > div {
-        width: 23px;
-        height: 23px;
-        margin-top: 1px;
-    }
-
-    
-    .tpl-switch input[type="checkbox"].bigswitch.ios-switch:checked + div > div {
-        -webkit-transform: translate3d(25px, 0, 0);
-        -moz-transform: translate3d(16px, 0, 0);
-   
-    }
-
-    
-    .tpl-switch input[type="checkbox"].green.ios-switch:checked + div > div {
-        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 162, 63, 1);
-    }
-
-
-
-.tpl-page-state {
-    width: 100%;
-}
-
-.tpl-page-state-title {
-    font-size: 40px;
-    font-weight: bold;
-}
-
-.tpl-page-state-content {
-    padding: 10px 0;
-}
-
-.tpl-login {
-   width: 100%; 
-}
-
-.tpl-login-logo {
-    max-width: 159px;
-    height: 205px;
-    margin: 0 auto;
-    margin-bottom: 20px;
-}
-.tpl-login-title {
-    width: 100%;
-    font-size: 24px;
-}
-.tpl-login-content {
-    width: 300px;
-    margin: 12% auto 0;
-}
-.tpl-login-remember-me {
-    color: #B3B3B3;
-    font-size: 14px;
-
-        label {
-            position: relative;
-            top: -2px;
-        }
-}
-.tpl-login-content-info {
-    color: #B3B3B3;
-    font-size: 14px;
-}
-
-.tpl-pagination {
-
-}
-
-.cl-p {
-    padding: 0!important;
-}
-.tpl-table-line-img {
-    max-width: 100px;
-    padding: 2px;
-}
-.tpl-table-list-select {
-        text-align:right;
-    }
-.fc-button-group, .fc button {
-    display: block;
-}
-
-.theme-white {
-
-    .sidebar-nav-sub {
-        .sidebar-nav-link-logo {
-            margin-left: 10px;
-        }
-    }
-    .tpl-header-search-box:hover, .tpl-header-search-box:active
-    .tpl-error-title {
-
-        color: #848c90;
-    }
-    .tpl-error-title-info {
-        line-height: 30px;
-    font-size: 21px;
-    margin-top: 20px;
-            text-align: center;
-            color: #dce2ec;
-    }
-    .tpl-error-btn {
-        background: #03a9f3;
-    border: 1px solid #03a9f3;
-    border-radius: 30px;
-    padding: 6px 20px 8px;
-    }
-    .tpl-error-content {
-        margin-top: 20px;
-        margin-bottom: 20px;
-        font-size: 16px;
-        text-align: center;
-        color: #96a2b4;
-    }
-.tpl-calendar-box {
-        background: #fff;
-        border-radius: 4px;
-        padding: 20px;
-        .fc-event {
-            border-radius: 0;
-            background: #03a9f3;
-            border: 1px solid #14b0f6;
-        }
-        .fc-axis {
-            color: #868E8E;
-        }
-        .fc-unthemed .fc-today {
-            background: #eee;
-        }
-        .fc-more {
-            color: #868E8E;
-        }
-
-        .fc th.fc-widget-header {
-                background: #32c5d2!important;
-
-    color: #ffffff;
-    font-size: 14px;
-    line-height: 20px;
-    padding: 7px 0px;
-    text-transform: uppercase;
-    border:none!important;
-    a {
-        color: #fff;
-    }
-        }
- 
-        .fc-center {
-            h2 {
-                color:#868E8E;
-            }
-        }
-        .fc-state-default {
-            background-image: none;
-            background: #fff;
-            font-size: 14px;
-            color: #868E8E;
-}
-        .fc th, .fc td, .fc hr, .fc thead, .fc tbody, .fc-row {
-            // background: rgba(0, 0, 0, 0)!important;
-                border-color: #eee!important;
-        }
-        .fc-day-number {
-            color: #868E8E;
-            padding-right: 6px;
-        }
-        .fc th {
-            color: #868E8E;
-            font-weight: normal;
-            font-size: 14px;
-            padding: 6px 0;
-        }
-    }
-
-    .tpl-login-logo {
-        background: url(../img/logoa.png) center no-repeat;
-        
-    }
-    .sub-active {
-
-        color:#23abf0!important;
-    }
-.tpl-table-line-img {
-    border: 1px solid #ddd;
-}
-.tpl-pagination .am-disabled a , .tpl-pagination li a {
-    color: #23abf0;
-    border-radius: 3px;
-    padding: 6px 12px;
-}
-
-.tpl-pagination .am-active a{
-    background: #23abf0;color: #fff;
-    border: 1px solid #23abf0;
-    padding: 6px 12px;
-}
-
-   
-.tpl-login-btn {
-    background-color:#32c5d2;
-    border: none;
-    padding: 10px 16px;
-    font-size: 14px;
-    line-height: 14px;
-    outline: none;
-
-    &:hover,&:active {
-        background: #22b2e1;
-        color:#fff;
-    }
-
-}
-.tpl-login-title {
-      color: #697882;
-    strong {
-        color: #39bae4;
-    }
-}
-   .tpl-login-content{
-       width: 500px;
-    padding: 40px 40px 25px;
-    background-color: #fff;
-    border-radius: 4px;
-   }
-    
-  .tpl-form-line-form , .tpl-form-border-form {
-        padding-top: 20px;
-  }
-
-
-.tpl-form-border-form input[type=number]:focus, .tpl-form-border-form input[type=search]:focus, .tpl-form-border-form input[type=text]:focus, .tpl-form-border-form input[type=password]:focus, .tpl-form-border-form input[type=datetime]:focus, .tpl-form-border-form input[type=datetime-local]:focus, .tpl-form-border-form input[type=date]:focus, .tpl-form-border-form input[type=month]:focus, .tpl-form-border-form input[type=time]:focus, .tpl-form-border-form input[type=week]:focus, .tpl-form-border-form input[type=email]:focus, .tpl-form-border-form input[type=url]:focus, .tpl-form-border-form input[type=tel]:focus, .tpl-form-border-form input[type=color]:focus, .tpl-form-border-form select:focus, .tpl-form-border-form textarea:focus, .am-form-field:focus{
-          -webkit-box-shadow: none;
-    box-shadow: none;
-  }
-.tpl-form-border-form input[type=number], .tpl-form-border-form input[type=search], .tpl-form-border-form input[type=text], .tpl-form-border-form input[type=password], .tpl-form-border-form input[type=datetime], .tpl-form-border-form input[type=datetime-local], .tpl-form-border-form input[type=date], .tpl-form-border-form input[type=month], .tpl-form-border-form input[type=time], .tpl-form-border-form input[type=week], .tpl-form-border-form input[type=email], .tpl-form-border-form input[type=url], .tpl-form-border-form input[type=tel], .tpl-form-border-form input[type=color], .tpl-form-border-form select, .tpl-form-border-form textarea, .am-form-field {
-        display: block;
-    width: 100%;
-
-    padding: 6px 12px;
-    font-size: 14px;
-    line-height: 1.42857;
-    color: #4d6b8a;
-    background-color: #fff;
-    background-image: none;
-    border: 1px solid #c2cad8;
-    border-radius: 4px;
-    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-    -webkit-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    -o-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    background: 0 0;
-    border: 0;
-    border: 1px solid #c2cad8;
-    -webkit-border-radius: 0;
-    -moz-border-radius: 0;
-    -ms-border-radius: 0;
-    text-indent: .5em;
-    -o-border-radius: 0;
-    border-radius: 0;
-    color: #555;
-    box-shadow: none;
-    padding-left: 0;
-    padding-right: 0;
-    font-size: 14px;
-}
-
-.tpl-form-border-form .am-checkbox, .tpl-form-border-form .am-checkbox-inline, .tpl-form-border-form .am-form-label, .tpl-form-border-form .am-radio, .tpl-form-border-form .am-radio-inline{
-    margin-top: 0;
-    margin-bottom: 0;
-
-}
-
-.tpl-form-border-form .am-form-group:after {
-    clear: both;
-}
-.tpl-form-border-form .am-form-group:after, .tpl-form-border-form .am-form-group:before {
-content: " ";
-    display: table;
-
-}
-.tpl-form-border-form  .am-form-label{    
-    padding-top: 5px;
-font-size: 16px;
-color: #888;
-font-weight: inherit;
-text-align: right;
-}
-.tpl-form-border-form  .am-form-group {
-    /*padding: 20px 0;*/
-
-}
-.tpl-form-border-form  .am-form-label .tpl-form-line-small-title {
-    color: #999;
-    font-size: 12px;
-}
-
-  .tpl-form-line-form input[type=number]:focus, .tpl-form-line-form input[type=search]:focus, .tpl-form-line-form input[type=text]:focus, .tpl-form-line-form input[type=password]:focus, .tpl-form-line-form input[type=datetime]:focus, .tpl-form-line-form input[type=datetime-local]:focus, .tpl-form-line-form input[type=date]:focus, .tpl-form-line-form input[type=month]:focus, .tpl-form-line-form input[type=time]:focus, .tpl-form-line-form input[type=week]:focus, .tpl-form-line-form input[type=email]:focus, .tpl-form-line-form input[type=url]:focus, .tpl-form-line-form input[type=tel]:focus, .tpl-form-line-form input[type=color]:focus, .tpl-form-line-form select:focus, .tpl-form-line-form textarea:focus, .am-form-field:focus{
-          -webkit-box-shadow: none;
-    box-shadow: none;
-  }
-.tpl-form-line-form input[type=number], .tpl-form-line-form input[type=search], .tpl-form-line-form input[type=text], .tpl-form-line-form input[type=password], .tpl-form-line-form input[type=datetime], .tpl-form-line-form input[type=datetime-local], .tpl-form-line-form input[type=date], .tpl-form-line-form input[type=month], .tpl-form-line-form input[type=time], .tpl-form-line-form input[type=week], .tpl-form-line-form input[type=email], .tpl-form-line-form input[type=url], .tpl-form-line-form input[type=tel], .tpl-form-line-form input[type=color], .tpl-form-line-form select, .tpl-form-line-form textarea, .am-form-field {
-        display: block;
-    width: 100%;
-
-    padding: 6px 12px;
-    font-size: 14px;
-    line-height: 1.42857;
-    color: #4d6b8a;
-    background-color: #fff;
-    background-image: none;
-    border: 1px solid #c2cad8;
-    border-radius: 4px;
-    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-    -webkit-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    -o-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    background: 0 0;
-    border: 0;
-    border-bottom: 1px solid #c2cad8;
-    -webkit-border-radius: 0;
-    -moz-border-radius: 0;
-    -ms-border-radius: 0;
-    -o-border-radius: 0;
-    border-radius: 0;
-    color: #555;
-    box-shadow: none;
-    padding-left: 0;
-    padding-right: 0;
-    font-size: 14px;
-}
-
-.tpl-form-line-form .am-checkbox, .tpl-form-line-form .am-checkbox-inline, .tpl-form-line-form .am-form-label, .tpl-form-line-form .am-radio, .tpl-form-line-form .am-radio-inline{
-    margin-top: 0;
-    margin-bottom: 0;
-
-}
-
-.tpl-form-line-form .am-form-group:after {
-    clear: both;
-}
-.tpl-form-line-form .am-form-group:after, .tpl-form-line-form .am-form-group:before {
-content: " ";
-    display: table;
-
-}
-.tpl-form-line-form  .am-form-label{    
-    padding-top: 5px;
-font-size: 16px;
-color: #888;
-font-weight: inherit;
-text-align: right;
-}
-.tpl-form-line-form  .am-form-group {
-    /*padding: 20px 0;*/
-
-}
-.tpl-form-line-form  .am-form-label .tpl-form-line-small-title {
-    color: #999;
-    font-size: 12px;
-}
-
-    .tpl-table-black-operation {
-    a {
-        border: 1px solid #36c6d3;
-        color:#36c6d3;
-        &:hover {
-            background: #36c6d3;
-            color:#fff;
-        }
-    }
-    a.tpl-table-black-operation-del {
-        border: 1px solid #e7505a;
-        color:#e7505a;
-        &:hover {
-            background: #e7505a;
-            color:#fff;
-        }
-    }
-}
-    .tpl-amendment-echarts {
-            left: -17px;
-    }
-   .tpl-user-card {
-        border: 1px solid #3598dc;
-        border-top: 2px solid #3598dc;
-        background: #3598dc;
-        color: #ffffff;
-        border-radius: 4px;
-    }
-          .tpl-user-card-title {
-        font-size: 26px;
-        margin-top: 0;
-        font-weight: 300;
-        margin-top: 25px;
-        margin-bottom: 10px;
-    }
-    .achievement-subheading {
-        font-size: 12px;
-        margin-top: 0;
-        margin-bottom: 15px;
-    }
-     .achievement-image {
-             border-radius: 50%;
-    margin-bottom: 22px;
-     }
-     .achievement-description {
-             margin: 0;
-    font-size: 12px;
-     }
-
-           .tpl-table-black {
-            color: #838FA1;
-
-        thead>tr>th {
-            font-size: 14px;
-            padding: 6px;
-        }
-        tbody>tr>td {
-            font-size: 14px;
-            padding: 7px 6px;
-
-        }
-        tfoot>tr>th {
-            font-size: 14px;
-            padding: 6px 0;
-        }
-    }
-
-
-     .am-progress {
-          height: 12px;
-     }
-    .am-progress-title {
-        font-size: 14px;
-         margin-bottom: 8px;
-    }
-    .am-progress-title-more {
-
-    }
-      .widget-fluctuation-tpl-btn {
-       margin-top: 6px;
-       display: block;
-        color: #fff;
-        font-size: 12px;
-            padding: 8px 14px;
-            outline: none;
-    background-color: #e7505a;
-    border: 1px solid #e7505a;
-            &:hover {
-                background:transparent;
-                color:#e7505a;
-            }
-
-    }
-    .widget-fluctuation-description-text{
-color: #c5cacd;
-    }
-    background: #e9ecf3;
-    .widget-fluctuation-period-text {
-        color:#838FA1;
-    }
-.text-success {
-       color: #5eb95e;
-}
-    .widget-head {
-         border-bottom: 1px solid #eef1f5;
-}
-   .widget-function {
-       a {
-            color: #838FA1;
-        &:hover {
-            color:#a7bdcd;
-        }
-       }
-   
-    }
-    .widget  {
-        padding: 10px 20px 13px;
-        background-color: #fff;
-        border-radius: 4px;
-            color: #838FA1;
-            
-    }
-    .widget-title {
-        font-size: 16px;
-    }
-
-    .widget-primary {
-       
-        min-height: 174px;
-    border: 1px solid #32c5d2;
-    border-top: 2px solid #32c5d2;
-    background: #32c5d2;
-    color: #ffffff;
-        padding: 12px 17px;
-         padding-left: 22px;
-}
-.widget-statistic-body {
-
-}
-.widget-statistic-icon {
-    position: absolute;
-    z-index: 30;
-    right: 30px;
-    top: 24px;
-    font-size: 70px;
-    color: #46cad6;
-}
-.widget-statistic-description {
-    position: relative;
-    z-index: 35;
-    display: block;
-    font-size: 14px;
-    line-height: 14px;
-    padding-top: 8px;
-        color: #fff;
-}
-.widget-statistic-value {
-    position: relative;
-    z-index: 35;
-    font-weight: 300;
-    display: block;
-    color: #fff;
-    font-size: 46px;
-    line-height: 46px;
-    margin-bottom: 8px;
-}
-.widget-statistic-header {
-    padding-top: 18px;
-    color: #fff;
-}
-.widget-purple {
-        padding: 12px 17px;
-        border: 1px solid #8E44AD;
-    border-top: 2px solid #8E44AD;
-    background: #8E44AD;
-    color: #ffffff;
-        min-height: 174px;
-     .widget-statistic-icon {
-             color: #9956b5;
-     }
-    .widget-statistic-header {
-        color: #ded5e7;
-    }
-    .widget-statistic-description {
-            color: #ded5e7;
-    }
-}
-    .page-header-button {
-        opacity: .8;
-        border: 1px solid #32c5d2;
-        background: #32c5d2;
-        color:#fff;
-        &:hover {
-            opacity: 1;
-        }
-    }
-       .page-header-description {
-       color: #666;
-   }
-    .page-header-heading {
-        color: #666;
-    }
-    .container-fluid {
-    
-    }
-    ul.tpl-dropdown-content .tpl-dropdown-menu-messages-item .menu-messages-content .menu-messages-content-time {
-    color: #96a5aa;
-    }
-    ul.tpl-dropdown-content {
-        background: #fff;
-        border: 1px solid #ddd;
-    .tpl-dropdown-menu-notifications-item , .tpl-dropdown-menu-messages-item {
-        border-bottom: 1px solid #eee;
-        color:#999;
-            
-            &:hover{
-                    background-color: #f5f5f5;
-            }
-        .tpl-dropdown-menu-notifications-time {
-            color: #999;
-        }
-    }
-        .tpl-dropdown-menu-messages-item:hover {
-                background-color: #f5f5f5;
-        }
-
-        .tpl-dropdown-menu-notifications-title {
-            color:#999;
-        }
-
-        
-    }
-    .sidebar-nav-link {
-        a {
-            border-left: #fff 3px solid;
-        }
-        a:hover {
-
-            background: #f2f6f9;
-    color: #868E8E;
-    border-left: #3bb4f2 3px solid;
-        }
-    }
-
-    .sidebar-nav-link a.active {
-            background: #f2f6f9;
-            color:  #868E8E;
-            border-left: #3bb4f2 3px solid;
-    }
-   .sidebar-nav-heading {
-       color: #999;
-       border-bottom: 1px solid #eee;
-   }
-    .tpl-sidebar-user-panel {
-        background: #fff;
-        border-bottom: 1px solid #eee;
-    }
-.tpl-content-wrapper {
-       background: #e9ecf3;
-   }
-    .tpl-header-fluid {
-    background: #fff;
-    border-top: 1px solid #eee;
-}
-    .tpl-header-logo {
-     background: #fff;
-     border-bottom: 1px solid #eee;
-}
-
-.tpl-header-switch-button {
-    background: #fff;
-    border-right: 1px solid #eee;
-    border-left: 1px solid #eee;
-    &:hover {
-        background: #fff;
-        color: #999;
-    }
-}
-     .tpl-header-navbar {
-        a {
-            color:#999;
-
-            &:hover {
-                color: #999;
-            }
-        }
-    }
-    .left-sidebar {
-        background: #fff;
-    }
-
-  .widget-color-green {
-        border: 1px solid #32c5d2;
-    border-top: 2px solid #32c5d2;
-    background: #32c5d2;
-    color: #ffffff;
-    .widget-fluctuation-period-text {
-        color:#fff;
-    }
-    .widget-head {
-        border-bottom: 1px solid #2bb8c4;
-    }
-    .widget-fluctuation-description-text {
-        color:#bbe7f6;
-    }
-    .widget-function {
-        a {
-            color:#42bde5;
-            &:hover {
-                color: #fff;
-            }
-        }
-    }
-    }
-
-
-
-}
-
-
-.theme-black {
-
-    .tpl-am-model-bd {
-        background: #424b4f;
-    }
-    .tpl-model-dialog {
-        background: #424b4f;
-    }
-     .tpl-error-title {
-        font-size: 210px;
-        line-height: 220px;
-        color: #868E8E;
-    }
-    .tpl-error-title-info {
-        line-height: 30px;
-    font-size: 21px;
-    margin-top: 20px;
-            text-align: center;
-            color: #868E8E;
-    }
-    .tpl-error-btn {
-        background: #03a9f3;
-    border: 1px solid #03a9f3;
-    border-radius: 30px;
-    padding: 6px 20px 8px;
-    }
-    .tpl-error-content {
-        margin-top: 20px;
-        margin-bottom: 20px;
-        font-size: 16px;
-        text-align: center;
-        color: #cfcfcf;
-    }
-    .tpl-calendar-box {
-        background: #424b4f;
-        padding: 20px;
-        .fc-button {
-            border-radius: 0;
-            box-shadow:0;
-        }
-        .fc-event {
-            border-radius: 0;
-            background: #03a9f3;
-        }
-        .fc-axis {
-            color: #fff;
-        }
-        .fc-unthemed .fc-today {
-            background: #3a4144;
-        }
-        .fc-more {
-            color: #fff;
-        }
-        .fc th.fc-widget-header {
-                background: #9675ce!important;
-    color: #ffffff;
-    font-size: 14px;
-    line-height: 20px;
-    padding: 7px 0px;
-    text-transform: uppercase;
-    border:none!important;
-    a {
-        color: #fff;
-    }
-        }
- 
-        .fc-center {
-            h2 {
-                color:#fff;
-            }
-        }
-        .fc-state-default {
-            background-image: none;
-            background: #fff;
-            font-size: 14px;
-}
-        .fc th, .fc td, .fc hr, .fc thead, .fc tbody, .fc-row {
-            // background: rgba(0, 0, 0, 0)!important;
-                border-color: rgba(120, 130, 140, 0.4) !important;
-        }
-        .fc-day-number {
-            color: #868E8E;
-            padding-right: 6px;
-        }
-        .fc th {
-            color: #868E8E;
-            font-weight: normal;
-            font-size: 14px;
-            padding: 6px 0;
-        }
-    }
-   .tpl-login-logo {
-        background: url(../img/logob.png) center no-repeat;
-        
-    }
-    .tpl-table-line-img {
-    max-width: 100px;
-    padding: 2px;
-border: none;
-}
-   .tpl-table-list-field {
-       border: none;
-   }
-    .tpl-table-list-select {
-   
-        .am-dropdown-content {
-            color:#888;
-        }
-        .am-selected-btn {
-                border:1px solid rgba(255, 255, 255, 0.2);
-                color:#fff;
-        }
-
-        .am-btn-default.am-active, .am-btn-default:active, .am-dropdown.am-active .am-btn-default.am-dropdown-toggle {
-            border:1px solid rgba(255, 255, 255, 0.2);
-                color:#fff;
-                background: #5d6468;
-        }
-    }
-.tpl-pagination .am-disabled a , .tpl-pagination li a {
-    color: #fff;
-    padding: 6px 12px;
-    background: #3f4649;
-    border: none;
-}
-
-.tpl-pagination .am-active a{
-    background: #167fa1;color: #fff;
-    border: 1px solid #167fa1;
-    padding: 6px 12px;
-}
-
-.tpl-login-btn {
-    border: 1px solid #b5b5b5;
-    background-color: rgba(0, 0, 0, 0);
-    padding: 10px 16px;
-    font-size: 14px;
-    line-height: 14px;
-    color:#b5b5b5;
-
-    &:hover,&:active {
-        background: #b5b5b5;
-        color:#fff;
-    }
-
-}
-.tpl-login-title {
-    color:#fff;
-    strong {
-        color: #39bae4;
-    }
-}
-
-
-
-
- .tpl-form-line-form , .tpl-form-border-form {
-        padding-top: 20px;
-
-        .am-btn-default {
-            color:#fff;
-            border: 1px solid rgba(255, 255, 255, 0.2);
-           
-        }
-         .am-selected-text {
-                color:#888;
-            }
-  }
-  .tpl-form-border-form input[type=number]:focus, .tpl-form-border-form input[type=search]:focus, .tpl-form-border-form input[type=text]:focus, .tpl-form-border-form input[type=password]:focus, .tpl-form-border-form input[type=datetime]:focus, .tpl-form-border-form input[type=datetime-local]:focus, .tpl-form-border-form input[type=date]:focus, .tpl-form-border-form input[type=month]:focus, .tpl-form-border-form input[type=time]:focus, .tpl-form-border-form input[type=week]:focus, .tpl-form-border-form input[type=email]:focus, .tpl-form-border-form input[type=url]:focus, .tpl-form-border-form input[type=tel]:focus, .tpl-form-border-form input[type=color]:focus, .tpl-form-border-form select:focus, .tpl-form-border-form textarea:focus, .am-form-field:focus{
-          -webkit-box-shadow: none;
-    box-shadow: none;
-  }
-.tpl-form-border-form input[type=number], .tpl-form-border-form input[type=search], .tpl-form-border-form input[type=text], .tpl-form-border-form input[type=password], .tpl-form-border-form input[type=datetime], .tpl-form-border-form input[type=datetime-local], .tpl-form-border-form input[type=date], .tpl-form-border-form input[type=month], .tpl-form-border-form input[type=time], .tpl-form-border-form input[type=week], .tpl-form-border-form input[type=email], .tpl-form-border-form input[type=url], .tpl-form-border-form input[type=tel], .tpl-form-border-form input[type=color], .tpl-form-border-form select, .tpl-form-border-form textarea, .am-form-field {
-        display: block;
-    width: 100%;
-
-    padding: 6px 12px;
-    font-size: 14px;
-    line-height: 1.42857;
-    color: #4d6b8a;
-    background-color: #fff;
-    background-image: none;
-    border: 1px solid #c2cad8;
-    border-radius: 4px;
-    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-    -webkit-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    -o-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    background: 0 0;
-    border: 0;
-    text-indent: .5em;
-    border: 1px solid rgba(255, 255, 255, 0.2);
-    -webkit-border-radius: 0;
-    -moz-border-radius: 0;
-    -ms-border-radius: 0;
-    -o-border-radius: 0;
-    border-radius: 0;
-    color: #fff;
-    box-shadow: none;
-    padding-left: 0;
-    padding-right: 0;
-    font-size: 14px;
-}
-
-.tpl-form-border-form .am-checkbox, .tpl-form-border-form .am-checkbox-inline, .tpl-form-border-form .am-form-label, .tpl-form-border-form .am-radio, .tpl-form-border-form .am-radio-inline{
-    margin-top: 0;
-    margin-bottom: 0;
-
-}
-
-.tpl-form-border-form .am-form-group:after {
-    clear: both;
-}
-.tpl-form-border-form .am-form-group:after, .tpl-form-border-form .am-form-group:before {
-content: " ";
-    display: table;
-
-}
-.tpl-form-border-form  .am-form-label{    
-    padding-top: 5px;
-font-size: 16px;
-color: #fff;
-font-weight: inherit;
-text-align: right;
-}
-.tpl-form-border-form  .am-form-group {
-    /*padding: 20px 0;*/
-
-}
-.tpl-form-border-form  .am-form-label .tpl-form-line-small-title {
-    color: #999;
-    font-size: 12px;
-}
-
-
-
-
-
-
-  .tpl-form-line-form input[type=number]:focus, .tpl-form-line-form input[type=search]:focus, .tpl-form-line-form input[type=text]:focus, .tpl-form-line-form input[type=password]:focus, .tpl-form-line-form input[type=datetime]:focus, .tpl-form-line-form input[type=datetime-local]:focus, .tpl-form-line-form input[type=date]:focus, .tpl-form-line-form input[type=month]:focus, .tpl-form-line-form input[type=time]:focus, .tpl-form-line-form input[type=week]:focus, .tpl-form-line-form input[type=email]:focus, .tpl-form-line-form input[type=url]:focus, .tpl-form-line-form input[type=tel]:focus, .tpl-form-line-form input[type=color]:focus, .tpl-form-line-form select:focus, .tpl-form-line-form textarea:focus, .am-form-field:focus{
-          -webkit-box-shadow: none;
-    box-shadow: none;
-  }
-.tpl-form-line-form input[type=number], .tpl-form-line-form input[type=search], .tpl-form-line-form input[type=text], .tpl-form-line-form input[type=password], .tpl-form-line-form input[type=datetime], .tpl-form-line-form input[type=datetime-local], .tpl-form-line-form input[type=date], .tpl-form-line-form input[type=month], .tpl-form-line-form input[type=time], .tpl-form-line-form input[type=week], .tpl-form-line-form input[type=email], .tpl-form-line-form input[type=url], .tpl-form-line-form input[type=tel], .tpl-form-line-form input[type=color], .tpl-form-line-form select, .tpl-form-line-form textarea, .am-form-field {
-        display: block;
-    width: 100%;
-
-    padding: 6px 12px;
-    font-size: 14px;
-    line-height: 1.42857;
-    color: #4d6b8a;
-    background-color: #fff;
-    background-image: none;
-    border: 1px solid #c2cad8;
-    border-radius: 4px;
-    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
-    -webkit-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    -o-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
-    background: 0 0;
-    border: 0;
-    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
-    -webkit-border-radius: 0;
-    -moz-border-radius: 0;
-    -ms-border-radius: 0;
-    -o-border-radius: 0;
-    border-radius: 0;
-    color: #fff;
-    box-shadow: none;
-    padding-left: 0;
-    padding-right: 0;
-    font-size: 14px;
-}
-
-.tpl-form-line-form .am-checkbox, .tpl-form-line-form .am-checkbox-inline, .tpl-form-line-form .am-form-label, .tpl-form-line-form .am-radio, .tpl-form-line-form .am-radio-inline{
-    margin-top: 0;
-    margin-bottom: 0;
-
-}
-
-.tpl-form-line-form .am-form-group:after {
-    clear: both;
-}
-.tpl-form-line-form .am-form-group:after, .tpl-form-line-form .am-form-group:before {
-content: " ";
-    display: table;
-
-}
-.tpl-form-line-form  .am-form-label{    
-    padding-top: 5px;
-font-size: 16px;
-color: #fff;
-font-weight: inherit;
-text-align: right;
-}
-
-
-
-.tpl-form-line-form  .am-form-group {
-    /*padding: 20px 0;*/
-
-}
-.tpl-form-line-form  .am-form-label .tpl-form-line-small-title {
-    color: #999;
-    font-size: 12px;
-}
-   
-   background-color: #282d2f;
-   
- .tpl-table-black-operation {
-    a {
-        border: 1px solid #7b878d;
-        color:#7b878d;
-        &:hover {
-            background: #7b878d;
-            color:#fff;
-        }
-    }
-    a.tpl-table-black-operation-del {
-        border: 1px solid #f35842;
-        color:#f35842;
-        &:hover {
-            background: #f35842;
-            color:#fff;
-        }
-    }
-}
-    .am-table-bordered {
-        border: 1px solid #666d70;
-    }
-    .am-table-bordered>tbody>tr>td, .am-table-bordered>tbody>tr>th, .am-table-bordered>tfoot>tr>td, .am-table-bordered>tfoot>tr>th, .am-table-bordered>thead>tr>td, .am-table-bordered>thead>tr>th {
-        border: 1px solid #666d70;
-    }
-
-    .am-table-bordered>thead+tbody>tr:first-child>td, .am-table-bordered>thead+tbody>tr:first-child>th {
-         border: 1px solid #666d70;
-    }
-
-    .am-table-striped>tbody>tr:nth-child(odd)>td, .am-table-striped>tbody>tr:nth-child(odd)>th {
-        background-color: #5d6468;
-    }
-    .tpl-table-black {
-        color:#fff;
-
-        thead>tr>th {
-            font-size: 14px;
-            padding: 6px;
-            border-bottom: 1px solid #666d70;
-        }
-        tbody>tr>td {
-            font-size: 14px;
-            padding: 7px 6px;
-                border-top: 1px solid #666d70;
-        }
-        tfoot>tr>th {
-            font-size: 14px;
-            padding: 6px 0;
-        }
-    }
-   .tpl-user-card {
-        border: 1px solid #11627d;
-        border-top: 2px solid #105f79;
-        background: #1786aa;
-        color: #ffffff;
-    }
-          .tpl-user-card-title {
-        font-size: 26px;
-        margin-top: 0;
-        font-weight: 300;
-        margin-top: 25px;
-        margin-bottom: 10px;
-    }
-    .achievement-subheading {
-        font-size: 12px;
-        margin-top: 0;
-        margin-bottom: 15px;
-    }
-     .achievement-image {
-             border-radius: 50%;
-    margin-bottom: 22px;
-     }
-     .achievement-description {
-             margin: 0;
-    font-size: 12px;
-     }
-
-
-
-    .am-progress {
-        height: 12px;
-        margin-bottom: 14px;
-              background: rgba(0, 0, 0, 0.15);
-    }
-   .am-progress-title {
-        font-size: 14px;
-        margin-bottom: 8px;
-    }
-    .am-progress-title-more {
-            color: #a1a8ab;
-    }
-   .widget-fluctuation-tpl-btn {
-       margin-top: 6px;
-       display: block;
-        color: #fff;
-        font-size: 12px;
-            padding: 5px 10px;
-            outline: none;
-    background-color: rgba(255, 255, 255, 0);
-    border: 1px solid #fff;
-            &:hover {
-                background: #fff;
-                color:#4b5357;
-            }
-
-    }
-.widget-fluctuation-description-text{
-color: #c5cacd;
-    }
-
-   .text-success {
-    color: #08ed72;
-}
-.widget-fluctuation-period-text {
-      color:#fff;   
-    }
-
-    .widget-head {
-    border-bottom: 1px solid #3f4649;
-}
-   .widget-function {
-       a {
-            color:#7b878d;
-        &:hover {
-            color:#fff;
-        }
-       }
-   
-    }
-    .widget  {
-         border: 1px solid #33393c;
-    border-top: 2px solid #313639;
-    background: #4b5357;
-    color: #ffffff;
-    }
-      .widget-primary {
-    border: 1px solid #11627d;
-    border-top: 2px solid #105f79;
-    background: #1786aa;
-    color: #ffffff;
-        padding: 12px 17px;
-}
-.widget-statistic-body {
-
-}
-.widget-statistic-icon {
-    position: absolute;
-    z-index: 30;
-    right: 30px;
-    top: 0px;
-    font-size: 70px;
-    color: #1b9eca;
-}
-.widget-statistic-description {
-    position: relative;
-    z-index: 35;
-    display: block;
-    font-size: 14px;
-    line-height: 14px;
-    padding-top: 8px;
-        color: #9cdcf2;
-}
-.widget-statistic-value {
-    position: relative;
-    z-index: 35;
-    font-weight: 300;
-    display: block;
-    color: #fff;
-    font-size: 46px;
-    line-height: 46px;
-    margin-bottom: 8px;
-}
-.widget-statistic-header {
-    color: #9cdcf2;
-}
-
-.widget-purple {
-        padding: 12px 17px;
-        border: 1px solid #5e4578;
-    border-top: 2px solid #5c4375;
-    background: #785799;
-    color: #ffffff;
-     .widget-statistic-icon {
-             color: #8a6aaa;
-     }
-    .widget-statistic-header {
-        color: #ded5e7;
-    }
-    .widget-statistic-description {
-            color: #ded5e7;
-    }
-}
-   .page-header-description {
-       color: #e6e6e6;
-   }
-   .page-header-heading {
-        color: #666;
-    }
-    .container-fluid {
-        background: #424b4f;
-    }
-   .page-header-heading {
-       color: #fff;
-   }
-   .sidebar-nav-heading {
-       color:#fff;
-   }
-   .tpl-sidebar-user-panel {
-    background: #1f2224;
-    border-bottom: 1px solid #1f2224;
-}
-   .tpl-content-wrapper {
-       background: #3a4144;
-   }
-       .tpl-header-fluid {
-    background: #2f3638;
-
-}
-
-    .sidebar-nav-link {
-        a.active {
-            background: #232829;
-        }
-        a:hover {
-
-         background: #232829;
-        }
-    }
-
-.tpl-header-switch-button {
-    background: #2f3638;
-    border-right: 1px solid #282d2f;
-    &:hover {
-        background: #282d2f;
-        color: #fff;
-    }
-}
-        .tpl-header-navbar {
-        a {
-            color:#cfcfcf;
-
-            &:hover {
-                color: #fff;
-            }
-        }
-    } 
-    .left-sidebar {
-        padding-top: 56px;
-        background: #282d2f;
-    }
-
-    .widget-color-green {
-        border: 1px solid #11627d;
-    border-top: 2px solid #105f79;
-    background: #1786aa;
-    color: #ffffff;
-    .widget-head {
-        border-bottom: 1px solid #147494;
-    }
-    .widget-fluctuation-description-text {
-        color:#bbe7f6;
-    }
-    .widget-function {
-        a {
-            color:#42bde5;
-            &:hover {
-                color: #fff;
-            }
-        }
-    }
-    }
-}
-
-
-
-@media screen and (max-width: 1024px) {
-    .tpl-index-settings-button {
-        display: none;
-    }
-
-    .theme-black .left-sidebar {
-        padding-top: 111px;
-    }
-    .left-sidebar {
-        padding-top: 111px;
-    }
-    .tpl-content-wrapper {
-        margin-left: 0
-    }
-    .tpl-header-logo {
-        float:none;
-        width: 100%;
-    }
-    .tpl-header-navbar-welcome {
-        display: none;
-    }
-
-    .tpl-sidebar-user-panel {
-        border-top: 1px solid #eee;
-    }
-    .tpl-header-fluid {
-        border-top: none;
-        margin-left: 0;
-    }
-
-    .theme-white .tpl-header-fluid {
-        border-top: none;
-    }
-    .theme-black .tpl-sidebar-user-panel {
-        border-top: 1px solid #1f2224;
-    }
-}
-
-@media screen and (min-width: 641px) {
-     [class*=am-u-] {
-        padding-left: 10px;
-        padding-right: 10px;
-}
-}
-@media screen and (max-width: 641px) {
-
-     .theme-white , .theme-black {
-         .tpl-error-title {
-        font-size: 130px;
-        line-height: 140px;
-
-    }
-     }
-     .theme-white {
-         
-         .tpl-login-title {
-             font-size: 20px;
-         }
-        .tpl-login-content{
-            width: 86%;
-                padding: 22px 30px 25px;
-        }
-    }
-
-
-  
-    .tpl-header-search {
-        display: none;
-    }
-    ul.tpl-dropdown-content {
-        position: fixed;
-        width: 100%;
-        left: 0;
-        top: 112px;
-        right: 0;
-    }
-}

Plik diff jest za duży
+ 0 - 4
Day61-65/code/project_of_tornado/assets/css/fullcalendar.min.css


+ 0 - 208
Day61-65/code/project_of_tornado/assets/css/fullcalendar.print.css

@@ -1,208 +0,0 @@
-/*!
- * FullCalendar v0.0.0 Print Stylesheet
- * Docs & License: http://fullcalendar.io/
- * (c) 2016 Adam Shaw
- */
-
-/*
- * Include this stylesheet on your page to get a more printer-friendly calendar.
- * When including this stylesheet, use the media='print' attribute of the <link> tag.
- * Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css.
- */
-
-.fc {
-	max-width: 100% !important;
-}
-
-
-/* Global Event Restyling
---------------------------------------------------------------------------------------------------*/
-
-.fc-event {
-	background: #fff !important;
-	color: #000 !important;
-	page-break-inside: avoid;
-}
-
-.fc-event .fc-resizer {
-	display: none;
-}
-
-
-/* Table & Day-Row Restyling
---------------------------------------------------------------------------------------------------*/
-
-.fc th,
-.fc td,
-.fc hr,
-.fc thead,
-.fc tbody,
-.fc-row {
-	border-color: #ccc !important;
-	background: #fff !important;
-}
-
-/* kill the overlaid, absolutely-positioned components */
-/* common... */
-.fc-bg,
-.fc-bgevent-skeleton,
-.fc-highlight-skeleton,
-.fc-helper-skeleton,
-/* for timegrid. within cells within table skeletons... */
-.fc-bgevent-container,
-.fc-business-container,
-.fc-highlight-container,
-.fc-helper-container {
-	display: none;
-}
-
-/* don't force a min-height on rows (for DayGrid) */
-.fc tbody .fc-row {
-	height: auto !important; /* undo height that JS set in distributeHeight */
-	min-height: 0 !important; /* undo the min-height from each view's specific stylesheet */
-}
-
-.fc tbody .fc-row .fc-content-skeleton {
-	position: static; /* undo .fc-rigid */
-	padding-bottom: 0 !important; /* use a more border-friendly method for this... */
-}
-
-.fc tbody .fc-row .fc-content-skeleton tbody tr:last-child td { /* only works in newer browsers */
-	padding-bottom: 1em; /* ...gives space within the skeleton. also ensures min height in a way */
-}
-
-.fc tbody .fc-row .fc-content-skeleton table {
-	/* provides a min-height for the row, but only effective for IE, which exaggerates this value,
-	   making it look more like 3em. for other browers, it will already be this tall */
-	height: 1em;
-}
-
-
-/* Undo month-view event limiting. Display all events and hide the "more" links
---------------------------------------------------------------------------------------------------*/
-
-.fc-more-cell,
-.fc-more {
-	display: none !important;
-}
-
-.fc tr.fc-limited {
-	display: table-row !important;
-}
-
-.fc td.fc-limited {
-	display: table-cell !important;
-}
-
-.fc-popover {
-	display: none; /* never display the "more.." popover in print mode */
-}
-
-
-/* TimeGrid Restyling
---------------------------------------------------------------------------------------------------*/
-
-/* undo the min-height 100% trick used to fill the container's height */
-.fc-time-grid {
-	min-height: 0 !important;
-}
-
-/* don't display the side axis at all ("all-day" and time cells) */
-.fc-agenda-view .fc-axis {
-	display: none;
-}
-
-/* don't display the horizontal lines */
-.fc-slats,
-.fc-time-grid hr { /* this hr is used when height is underused and needs to be filled */
-	display: none !important; /* important overrides inline declaration */
-}
-
-/* let the container that holds the events be naturally positioned and create real height */
-.fc-time-grid .fc-content-skeleton {
-	position: static;
-}
-
-/* in case there are no events, we still want some height */
-.fc-time-grid .fc-content-skeleton table {
-	height: 4em;
-}
-
-/* kill the horizontal spacing made by the event container. event margins will be done below */
-.fc-time-grid .fc-event-container {
-	margin: 0 !important;
-}
-
-
-/* TimeGrid *Event* Restyling
---------------------------------------------------------------------------------------------------*/
-
-/* naturally position events, vertically stacking them */
-.fc-time-grid .fc-event {
-	position: static !important;
-	margin: 3px 2px !important;
-}
-
-/* for events that continue to a future day, give the bottom border back */
-.fc-time-grid .fc-event.fc-not-end {
-	border-bottom-width: 1px !important;
-}
-
-/* indicate the event continues via "..." text */
-.fc-time-grid .fc-event.fc-not-end:after {
-	content: "...";
-}
-
-/* for events that are continuations from previous days, give the top border back */
-.fc-time-grid .fc-event.fc-not-start {
-	border-top-width: 1px !important;
-}
-
-/* indicate the event is a continuation via "..." text */
-.fc-time-grid .fc-event.fc-not-start:before {
-	content: "...";
-}
-
-/* time */
-
-/* undo a previous declaration and let the time text span to a second line */
-.fc-time-grid .fc-event .fc-time {
-	white-space: normal !important;
-}
-
-/* hide the the time that is normally displayed... */
-.fc-time-grid .fc-event .fc-time span {
-	display: none;
-}
-
-/* ...replace it with a more verbose version (includes AM/PM) stored in an html attribute */
-.fc-time-grid .fc-event .fc-time:after {
-	content: attr(data-full);
-}
-
-
-/* Vertical Scroller & Containers
---------------------------------------------------------------------------------------------------*/
-
-/* kill the scrollbars and allow natural height */
-.fc-scroller,
-.fc-day-grid-container,    /* these divs might be assigned height, which we need to cleared */
-.fc-time-grid-container {  /* */
-	overflow: visible !important;
-	height: auto !important;
-}
-
-/* kill the horizontal border/padding used to compensate for scrollbars */
-.fc-row {
-	border: 0 !important;
-	margin: 0 !important;
-}
-
-
-/* Button Controls
---------------------------------------------------------------------------------------------------*/
-
-.fc-button-group,
-.fc button {
-	display: none; /* don't display any button-related controls */
-}

BIN
Day61-65/code/project_of_tornado/assets/fonts/FontAwesome.otf


BIN
Day61-65/code/project_of_tornado/assets/fonts/fontawesome-webfont.eot


BIN
Day61-65/code/project_of_tornado/assets/fonts/fontawesome-webfont.ttf


BIN
Day61-65/code/project_of_tornado/assets/fonts/fontawesome-webfont.woff


BIN
Day61-65/code/project_of_tornado/assets/fonts/fontawesome-webfont.woff2


+ 0 - 294
Day61-65/code/project_of_tornado/assets/html/404.html

@@ -1,294 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <title>Amaze UI Admin index Examples</title>
-    <meta name="description" content="这是一个 index 页面">
-    <meta name="keywords" content="index">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="Cache-Control" content="no-siteapp"/>
-    <link rel="icon" type="image/png" href="../i/favicon.png">
-    <link rel="apple-touch-icon-precomposed" href="../i/app-icon72x72@2x.png">
-    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
-    <script src="../js/echarts.min.js"></script>
-    <link rel="stylesheet" href="../css/amazeui.min.css"/>
-    <link rel="stylesheet" href="../css/amazeui.datatables.min.css"/>
-    <link rel="stylesheet" href="../css/app.css">
-    <script src="../js/jquery.min.js"></script>
-
-</head>
-
-<body data-type="widgets">
-<script src="../js/theme.js"></script>
-<div class="am-g tpl-g">
-    <!-- 头部 -->
-    <header>
-        <!-- logo -->
-        <div class="am-fl tpl-header-logo">
-            <a href="javascript:;"><img src="../img/logo.png" alt=""></a>
-        </div>
-        <!-- 右侧内容 -->
-        <div class="tpl-header-fluid">
-            <!-- 侧边切换 -->
-            <div class="am-fl tpl-header-switch-button am-icon-list">
-                    <span>
-
-                </span>
-            </div>
-            <!-- 搜索 -->
-            <div class="am-fl tpl-header-search">
-                <form class="tpl-header-search-form" action="javascript:;">
-                    <button class="tpl-header-search-btn am-icon-search"></button>
-                    <input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
-                </form>
-            </div>
-            <!-- 其它功能-->
-            <div class="am-fr tpl-header-navbar">
-                <ul>
-                    <!-- 欢迎语 -->
-                    <li class="am-text-sm tpl-header-navbar-welcome">
-                        <a href="javascript:;">欢迎你, <span>Amaze UI</span> </a>
-                    </li>
-
-                    <!-- 新邮件 -->
-                    <li class="am-dropdown tpl-dropdown" data-am-dropdown>
-                        <a href="javascript:;" class="am-dropdown-toggle tpl-dropdown-toggle" data-am-dropdown-toggle>
-                            <i class="am-icon-envelope"></i>
-                            <span class="am-badge am-badge-success am-round item-feed-badge">4</span>
-                        </a>
-                        <!-- 弹出列表 -->
-                        <ul class="am-dropdown-content tpl-dropdown-content">
-                            <li class="tpl-dropdown-menu-messages">
-                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                    <div class="menu-messages-ico">
-                                        <img src="../img/user04.png" alt="">
-                                    </div>
-                                    <div class="menu-messages-time">
-                                        3小时前
-                                    </div>
-                                    <div class="menu-messages-content">
-                                        <div class="menu-messages-content-title">
-                                            <i class="am-icon-circle-o am-text-success"></i>
-                                            <span>夕风色</span>
-                                        </div>
-                                        <div class="am-text-truncate"> Amaze UI 的诞生,依托于 GitHub 及其他技术社区上一些优秀的资源;Amaze UI
-                                            的成长,则离不开用户的支持。
-                                        </div>
-                                        <div class="menu-messages-content-time">2016-09-21 下午 16:40</div>
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-messages">
-                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                    <div class="menu-messages-ico">
-                                        <img src="../img/user02.png" alt="">
-                                    </div>
-                                    <div class="menu-messages-time">
-                                        5天前
-                                    </div>
-                                    <div class="menu-messages-content">
-                                        <div class="menu-messages-content-title">
-                                            <i class="am-icon-circle-o am-text-warning"></i>
-                                            <span>禁言小张</span>
-                                        </div>
-                                        <div class="am-text-truncate"> 为了能最准确的传达所描述的问题, 建议你在反馈时附上演示,方便我们理解。</div>
-                                        <div class="menu-messages-content-time">2016-09-16 上午 09:23</div>
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-messages">
-                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                    <i class="am-icon-circle-o"></i> 进入列表…
-                                </a>
-                            </li>
-                        </ul>
-                    </li>
-
-                    <!-- 新提示 -->
-                    <li class="am-dropdown" data-am-dropdown>
-                        <a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle>
-                            <i class="am-icon-bell"></i>
-                            <span class="am-badge am-badge-warning am-round item-feed-badge">5</span>
-                        </a>
-                        <!-- 弹出列表 -->
-                        <ul class="am-dropdown-content tpl-dropdown-content">
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <div class="tpl-dropdown-menu-notifications-title">
-                                        <i class="am-icon-line-chart"></i>
-                                        <span> 有6笔新的销售订单</span>
-                                    </div>
-                                    <div class="tpl-dropdown-menu-notifications-time">
-                                        12分钟前
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <div class="tpl-dropdown-menu-notifications-title">
-                                        <i class="am-icon-star"></i>
-                                        <span> 有3个来自人事部的消息</span>
-                                    </div>
-                                    <div class="tpl-dropdown-menu-notifications-time">
-                                        30分钟前
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <div class="tpl-dropdown-menu-notifications-title">
-                                        <i class="am-icon-folder-o"></i>
-                                        <span> 上午开会记录存档</span>
-                                    </div>
-                                    <div class="tpl-dropdown-menu-notifications-time">
-                                        1天前
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <i class="am-icon-bell"></i> 进入列表…
-                                </a>
-                            </li>
-                        </ul>
-                    </li>
-
-                    <!-- 退出 -->
-                    <li class="am-text-sm">
-                        <a href="javascript:;">
-                            <span class="am-icon-sign-out"></span> 退出
-                        </a>
-                    </li>
-                </ul>
-            </div>
-        </div>
-
-    </header>
-    <!-- 风格切换 -->
-    <div class="tpl-skiner">
-        <div class="tpl-skiner-toggle am-icon-cog">
-        </div>
-        <div class="tpl-skiner-content">
-            <div class="tpl-skiner-content-title">
-                选择主题
-            </div>
-            <div class="tpl-skiner-content-bar">
-                <span class="skiner-color skiner-white" data-color="theme-white"></span>
-                <span class="skiner-color skiner-black" data-color="theme-black"></span>
-            </div>
-        </div>
-    </div>
-    <!-- 侧边导航栏 -->
-    <div class="left-sidebar">
-        <!-- 用户信息 -->
-        <div class="tpl-sidebar-user-panel">
-            <div class="tpl-user-panel-slide-toggleable">
-                <div class="tpl-user-panel-profile-picture">
-                    <img src="../img/user04.png" alt="">
-                </div>
-                <span class="user-panel-logged-in-text">
-              <i class="am-icon-circle-o am-text-success tpl-user-panel-status-icon"></i>
-              禁言小张
-          </span>
-                <a href="javascript:;" class="tpl-user-panel-action-link"> <span class="am-icon-pencil"></span> 账号设置</a>
-            </div>
-        </div>
-
-        <!-- 菜单 -->
-        <ul class="sidebar-nav">
-            <li class="sidebar-nav-heading">Components <span class="sidebar-nav-heading-info"> 附加组件</span></li>
-            <li class="sidebar-nav-link">
-                <a href="/">
-                    <i class="am-icon-home sidebar-nav-link-logo"></i> 首页
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/tables.html">
-                    <i class="am-icon-table sidebar-nav-link-logo"></i> 表格
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/calendar.html">
-                    <i class="am-icon-calendar sidebar-nav-link-logo"></i> 日历
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/form.html">
-                    <i class="am-icon-wpforms sidebar-nav-link-logo"></i> 表单
-
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/chart.html">
-                    <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 图表
-
-                </a>
-            </li>
-            <li class="sidebar-nav-heading">Page<span class="sidebar-nav-heading-info"> 常用页面</span></li>
-            <li class="sidebar-nav-link">
-                <a href="javascript:;" class="sidebar-nav-sub-title">
-                    <i class="am-icon-table sidebar-nav-link-logo"></i> 数据列表
-                    <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
-                </a>
-                <ul class="sidebar-nav sidebar-nav-sub">
-                    <li class="sidebar-nav-link">
-                        <a href="../html/table-list.html">
-                            <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 文字列表
-                        </a>
-                    </li>
-                    <li class="sidebar-nav-link">
-                        <a href="../html/table-list-img.html">
-                            <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 图文列表
-                        </a>
-                    </li>
-                </ul>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="/signup">
-                    <i class="am-icon-clone sidebar-nav-link-logo"></i> 注册
-                    <span class="am-badge am-badge-secondary sidebar-nav-link-logo-ico am-round am-fr am-margin-right-sm">6</span>
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="/login">
-                    <i class="am-icon-key sidebar-nav-link-logo"></i> 登录
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="/page404" class="active">
-                    <i class="am-icon-tv sidebar-nav-link-logo"></i> 404错误
-                </a>
-            </li>
-
-        </ul>
-    </div>
-
-    <!-- 内容区域 -->
-    <div class="tpl-content-wrapper">
-        <div class="row-content am-cf">
-            <div class="widget am-cf">
-                <div class="widget-body">
-                    <div class="tpl-page-state">
-                        <div class="tpl-page-state-title am-text-center tpl-error-title">404</div>
-                        <div class="tpl-error-title-info">Page Not Found</div>
-                        <div class="tpl-page-state-content tpl-error-content">
-
-                            <p>对不起,没有找到您所需要的页面,可能是URL不确定,或者页面已被移除。</p>
-                            <a href="/" class="am-btn am-btn-secondary am-radius tpl-error-btn">Back Home</a></div>
-
-                    </div>
-                </div>
-            </div>
-        </div>
-    </div>
-</div>
-</div>
-<script src="../js/amazeui.min.js"></script>
-<script src="../js/amazeui.datatables.min.js"></script>
-<script src="../js/dataTables.responsive.min.js"></script>
-<script src="../js/app.js"></script>
-</body>
-</html>

+ 0 - 453
Day61-65/code/project_of_tornado/assets/html/calendar.html

@@ -1,453 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <title>Amaze UI Admin index Examples</title>
-    <meta name="description" content="这是一个 index 页面">
-    <meta name="keywords" content="index">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="Cache-Control" content="no-siteapp" />
-    <link rel="icon" type="image/png" href="../i/favicon.png">
-    <link rel="apple-touch-icon-precomposed" href="../i/app-icon72x72@2x.png">
-    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
-    <link rel="stylesheet" href="../css/amazeui.min.css" />
-    <link rel="stylesheet" href="../css/fullcalendar.min.css" />
-    <link rel="stylesheet" href="../css/fullcalendar.print.css" media='print' />
-    <link rel="stylesheet" href="../css/app.css">
-    <script src="../js/jquery.min.js"></script>
-
-</head>
-
-<body data-type="widgets">
-    <script src="../js/theme.js"></script>
-    <div class="am-g tpl-g">
-        <!-- 头部 -->
-        <header>
-            <!-- logo -->
-            <div class="am-fl tpl-header-logo">
-                <a href="javascript:;"><img src="../img/logo.png" alt=""></a>
-            </div>
-            <!-- 右侧内容 -->
-            <div class="tpl-header-fluid">
-                <!-- 侧边切换 -->
-                <div class="am-fl tpl-header-switch-button am-icon-list">
-                    <span>
-
-                </span>
-                </div>
-                <!-- 搜索 -->
-                <div class="am-fl tpl-header-search">
-                    <form class="tpl-header-search-form" action="javascript:;">
-                        <button class="tpl-header-search-btn am-icon-search"></button>
-                        <input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
-                    </form>
-                </div>
-                <!-- 其它功能-->
-                <div class="am-fr tpl-header-navbar">
-                    <ul>
-                        <!-- 欢迎语 -->
-                        <li class="am-text-sm tpl-header-navbar-welcome">
-                            <a href="javascript:;">欢迎你, <span>Amaze UI</span> </a>
-                        </li>
-
-                        <!-- 新邮件 -->
-                        <li class="am-dropdown tpl-dropdown" data-am-dropdown>
-                            <a href="javascript:;" class="am-dropdown-toggle tpl-dropdown-toggle" data-am-dropdown-toggle>
-                                <i class="am-icon-envelope"></i>
-                                <span class="am-badge am-badge-success am-round item-feed-badge">4</span>
-                            </a>
-                            <!-- 弹出列表 -->
-                            <ul class="am-dropdown-content tpl-dropdown-content">
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <div class="menu-messages-ico">
-                                            <img src="../img/user04.png" alt="">
-                                        </div>
-                                        <div class="menu-messages-time">
-                                            3小时前
-                                        </div>
-                                        <div class="menu-messages-content">
-                                            <div class="menu-messages-content-title">
-                                                <i class="am-icon-circle-o am-text-success"></i>
-                                                <span>夕风色</span>
-                                            </div>
-                                            <div class="am-text-truncate"> Amaze UI 的诞生,依托于 GitHub 及其他技术社区上一些优秀的资源;Amaze UI 的成长,则离不开用户的支持。 </div>
-                                            <div class="menu-messages-content-time">2016-09-21 下午 16:40</div>
-                                        </div>
-                                    </a>
-                                </li>
-
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <div class="menu-messages-ico">
-                                            <img src="../img/user02.png" alt="">
-                                        </div>
-                                        <div class="menu-messages-time">
-                                            5天前
-                                        </div>
-                                        <div class="menu-messages-content">
-                                            <div class="menu-messages-content-title">
-                                                <i class="am-icon-circle-o am-text-warning"></i>
-                                                <span>禁言小张</span>
-                                            </div>
-                                            <div class="am-text-truncate"> 为了能最准确的传达所描述的问题, 建议你在反馈时附上演示,方便我们理解。 </div>
-                                            <div class="menu-messages-content-time">2016-09-16 上午 09:23</div>
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <i class="am-icon-circle-o"></i> 进入列表…
-                                    </a>
-                                </li>
-                            </ul>
-                        </li>
-
-                        <!-- 新提示 -->
-                        <li class="am-dropdown" data-am-dropdown>
-                            <a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle>
-                                <i class="am-icon-bell"></i>
-                                <span class="am-badge am-badge-warning am-round item-feed-badge">5</span>
-                            </a>
-
-                            <!-- 弹出列表 -->
-                            <ul class="am-dropdown-content tpl-dropdown-content">
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-line-chart"></i>
-                                            <span> 有6笔新的销售订单</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            12分钟前
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-star"></i>
-                                            <span> 有3个来自人事部的消息</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            30分钟前
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-folder-o"></i>
-                                            <span> 上午开会记录存档</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            1天前
-                                        </div>
-                                    </a>
-                                </li>
-
-
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <i class="am-icon-bell"></i> 进入列表…
-                                    </a>
-                                </li>
-                            </ul>
-                        </li>
-
-                        <!-- 退出 -->
-                        <li class="am-text-sm">
-                            <a href="javascript:;">
-                                <span class="am-icon-sign-out"></span> 退出
-                            </a>
-                        </li>
-                    </ul>
-                </div>
-            </div>
-
-        </header>
-        <!-- 风格切换 -->
-        <div class="tpl-skiner">
-            <div class="tpl-skiner-toggle am-icon-cog">
-            </div>
-            <div class="tpl-skiner-content">
-                <div class="tpl-skiner-content-title">
-                    选择主题
-                </div>
-                <div class="tpl-skiner-content-bar">
-                    <span class="skiner-color skiner-white" data-color="theme-white"></span>
-                    <span class="skiner-color skiner-black" data-color="theme-black"></span>
-                </div>
-            </div>
-        </div>
-        <!-- 侧边导航栏 -->
-        <div class="left-sidebar">
-            <!-- 用户信息 -->
-            <div class="tpl-sidebar-user-panel">
-                <div class="tpl-user-panel-slide-toggleable">
-                    <div class="tpl-user-panel-profile-picture">
-                        <img src="../img/user04.png" alt="">
-                    </div>
-                    <span class="user-panel-logged-in-text">
-              <i class="am-icon-circle-o am-text-success tpl-user-panel-status-icon"></i>
-              禁言小张
-          </span>
-                    <a href="javascript:;" class="tpl-user-panel-action-link"> <span class="am-icon-pencil"></span> 账号设置</a>
-                </div>
-            </div>
-
-
-            <!-- 菜单 -->
-            <ul class="sidebar-nav">
-                <li class="sidebar-nav-heading">Components <span class="sidebar-nav-heading-info"> 附加组件</span></li>
-                <li class="sidebar-nav-link">
-                    <a href="/">
-                        <i class="am-icon-home sidebar-nav-link-logo"></i> 首页
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/tables.html">
-                        <i class="am-icon-table sidebar-nav-link-logo"></i> 表格
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/calendar.html" class="active">
-                        <i class="am-icon-calendar sidebar-nav-link-logo"></i> 日历
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/form.html">
-                        <i class="am-icon-wpforms sidebar-nav-link-logo"></i> 表单
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/chart.html">
-                        <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 图表
-                    </a>
-                </li>
-
-                <li class="sidebar-nav-heading">Page<span class="sidebar-nav-heading-info"> 常用页面</span></li>
-                <li class="sidebar-nav-link">
-                    <a href="javascript:;" class="sidebar-nav-sub-title">
-                        <i class="am-icon-table sidebar-nav-link-logo"></i> 数据列表
-                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
-                    </a>
-                    <ul class="sidebar-nav sidebar-nav-sub">
-                        <li class="sidebar-nav-link">
-                            <a href="../html/table-list.html">
-                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 文字列表
-                            </a>
-                        </li>
-
-                        <li class="sidebar-nav-link">
-                            <a href="../html/table-list-img.html">
-                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 图文列表
-                            </a>
-                        </li>
-                    </ul>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/signup">
-                        <i class="am-icon-clone sidebar-nav-link-logo"></i> 注册
-                        <span class="am-badge am-badge-secondary sidebar-nav-link-logo-ico am-round am-fr am-margin-right-sm">6</span>
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/login">
-                        <i class="am-icon-key sidebar-nav-link-logo"></i> 登录
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/page404">
-                        <i class="am-icon-tv sidebar-nav-link-logo"></i> 404错误
-                    </a>
-                </li>
-
-            </ul>
-        </div>
-
-        <!-- 内容区域 -->
-        <div class="tpl-content-wrapper">
-            <div class="row-content am-cf">
-                <div class="tpl-calendar-box">
-                    <div id="calendar"></div>
-                </div>
-
-            </div>
-        </div>
-    </div>
-    </div>
-
-
-    <!-- 弹出层 -->
-
-    <div class="am-modal am-modal-no-btn" id="calendar-edit-box">
-        <div class="am-modal-dialog tpl-model-dialog">
-            <div class="am-modal-hd">
-                <a href="javascript: void(0)" class="am-close edit-box-close am-close-spin" data-am-modal-close>&times;</a>
-            </div>
-            <div class="am-modal-bd tpl-am-model-bd am-cf">
-
-                <form class="am-form tpl-form-border-form">
-                    <div class="am-form-group am-u-sm-12">
-                        <label for="user-name" class="am-u-sm-12 am-form-label am-text-left">标题 <span class="tpl-form-line-small-title">Title</span></label>
-                        <div class="am-u-sm-12">
-                            <input type="text" class="tpl-form-input am-margin-top-xs calendar-edit-box-title" id="user-name" placeholder="" disabled>
-                        </div>
-                    </div>
-
-
-
-
-
-
-
-                </form>
-
-            </div>
-        </div>
-    </div>
-    <script src="../js/moment.js"></script>
-    <script src="../js/amazeui.min.js"></script>
-    <script src="../js/fullcalendar.min.js"></script>
-    <script src="../js/app.js"></script>
-    <script>
-        $(document).ready(function() {
-            var editBox = $('#calendar-edit-box');
-
-            $('.edit-box-close').on('click', function() {
-                $('#calendar').fullCalendar('unselect');
-            })
-            $('#calendar').fullCalendar({
-
-                header: {
-                    left: 'prev,next today',
-                    center: 'title',
-                    right: 'month,agendaWeek,agendaDay'
-                },
-
-                monthNames: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
-                monthNamesShort: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
-                dayNames: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
-                dayNamesShort: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
-                today: ["今天"],
-                firstDay: 1,
-                buttonText: {
-                    today: '本月',
-                    month: '月',
-                    week: '周',
-                    day: '日',
-                    prev: '上一月',
-                    next: '下一月'
-                },
-                defaultDate: '2016-09-12',
-                lang: 'zh-cn',
-                navLinks: true, // can click day/week names to navigate views
-                selectable: true,
-                selectHelper: true,
-                select: function(start, end) {
-                    var title = prompt('填写你的记录的:');
-                    var eventData;
-                    if (title) {
-                        eventData = {
-                            title: title,
-                            start: start,
-                            end: end
-                        };
-                        $('#calendar').fullCalendar('renderEvent', eventData, true); // stick? = true
-                    }
-                    $('#calendar').fullCalendar('unselect');
-
-
-
-                },
-                editable: true,
-                eventLimit: true, // allow "more" link when too many events
-                eventClick: function(event, jsEvent, view) {
-
-                    // event.source.events[0].title = '222223333'
-                    // 修改数据
-                    // 标题
-                    $('.calendar-edit-box-title').val(event.title)
-
-
-
-                    //  弹出框
-                    editBox.modal();
-
-
-
-
-
-                },
-                events: [{
-                    id: 1,
-                    title: '给她抱抱 叫她包包 喂她吃饱 给她买包',
-                    start: '2016-09-01',
-                    end: '2016-09-10'
-                }, {
-                    id: 2,
-                    title: '给她抱抱',
-                    start: '2016-09-07',
-                    end: '2016-09-10'
-                }, {
-                    id: 3,
-                    title: '叫她包包',
-                    start: '2016-09-09',
-                    end: '2016-09-10'
-                }, {
-                    id: 4,
-                    title: '喂她吃饱',
-                    start: '2016-09-16',
-                    end: '2016-09-10'
-                }, {
-                    id: 5,
-                    title: '喂她吃饱',
-                    start: '2016-09-11',
-                    end: '2016-09-13'
-                }, {
-                    id: 6,
-                    title: '喂她吃饱',
-                    start: '2016-09-12',
-                    end: '2016-09-12'
-                }, {
-                    id: 7,
-                    title: '喂她吃饱',
-                    start: '2016-09-12',
-                    end: '2016-09-12'
-                }, {
-                    id: 8,
-                    title: '喂她吃饱',
-                    start: '2016-09-12',
-                    end: '2016-09-12'
-                }, {
-                    id: 9,
-                    title: '喂她吃饱',
-                    start: '2016-09-12',
-                    end: '2016-09-12'
-                }, {
-                    id: 10,
-                    title: '喂她吃饱',
-                    start: '2016-09-12',
-                    end: '2016-09-12'
-                }, {
-                    id: 11,
-                    title: 'Birthday Party',
-                    start: '2016-09-13',
-                    end: '2016-09-12'
-                }, {
-                    id: 12,
-                    title: 'Click for Google',
-                    start: '2016-09-28',
-                    end: '2016-09-12'
-                }]
-            });
-
-        });
-    </script>
-</body>
-
-</html>

+ 0 - 341
Day61-65/code/project_of_tornado/assets/html/chart.html

@@ -1,341 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <title>Amaze UI Admin index Examples</title>
-    <meta name="description" content="这是一个 index 页面">
-    <meta name="keywords" content="index">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="Cache-Control" content="no-siteapp" />
-    <link rel="icon" type="image/png" href="../i/favicon.png">
-    <link rel="apple-touch-icon-precomposed" href="../i/app-icon72x72@2x.png">
-    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
-    <script src="../js/echarts.min.js"></script>
-    <link rel="stylesheet" href="../css/amazeui.min.css" />
-    <link rel="stylesheet" href="../css/amazeui.datatables.min.css" />
-    <link rel="stylesheet" href="../css/app.css">
-    <script src="../js/jquery.min.js"></script>
-</head>
-<body data-type="chart">
-    <script src="../js/theme.js"></script>
-    <div class="am-g tpl-g">
-        <!-- 头部 -->
-        <header>
-            <!-- logo -->
-            <div class="am-fl tpl-header-logo">
-                <a href="javascript:;"><img src="../img/logo.png" alt=""></a>
-            </div>
-            <!-- 右侧内容 -->
-            <div class="tpl-header-fluid">
-                <!-- 侧边切换 -->
-                <div class="am-fl tpl-header-switch-button am-icon-list">
-                    <span>
-
-                </span>
-                </div>
-                <!-- 搜索 -->
-                <div class="am-fl tpl-header-search">
-                    <form class="tpl-header-search-form" action="javascript:;">
-                        <button class="tpl-header-search-btn am-icon-search"></button>
-                        <input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
-                    </form>
-                </div>
-                <!-- 其它功能-->
-                <div class="am-fr tpl-header-navbar">
-                    <ul>
-                        <!-- 欢迎语 -->
-                        <li class="am-text-sm tpl-header-navbar-welcome">
-                            <a href="javascript:;">欢迎你, <span>Amaze UI</span> </a>
-                        </li>
-
-                        <!-- 新邮件 -->
-                        <li class="am-dropdown tpl-dropdown" data-am-dropdown>
-                            <a href="javascript:;" class="am-dropdown-toggle tpl-dropdown-toggle" data-am-dropdown-toggle>
-                                <i class="am-icon-envelope"></i>
-                                <span class="am-badge am-badge-success am-round item-feed-badge">4</span>
-                            </a>
-                            <!-- 弹出列表 -->
-                            <ul class="am-dropdown-content tpl-dropdown-content">
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <div class="menu-messages-ico">
-                                            <img src="../img/user04.png" alt="">
-                                        </div>
-                                        <div class="menu-messages-time">
-                                            3小时前
-                                        </div>
-                                        <div class="menu-messages-content">
-                                            <div class="menu-messages-content-title">
-                                                <i class="am-icon-circle-o am-text-success"></i>
-                                                <span>夕风色</span>
-                                            </div>
-                                            <div class="am-text-truncate"> Amaze UI 的诞生,依托于 GitHub 及其他技术社区上一些优秀的资源;Amaze UI 的成长,则离不开用户的支持。 </div>
-                                            <div class="menu-messages-content-time">2016-09-21 下午 16:40</div>
-                                        </div>
-                                    </a>
-                                </li>
-
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <div class="menu-messages-ico">
-                                            <img src="../img/user02.png" alt="">
-                                        </div>
-                                        <div class="menu-messages-time">
-                                            5天前
-                                        </div>
-                                        <div class="menu-messages-content">
-                                            <div class="menu-messages-content-title">
-                                                <i class="am-icon-circle-o am-text-warning"></i>
-                                                <span>禁言小张</span>
-                                            </div>
-                                            <div class="am-text-truncate"> 为了能最准确的传达所描述的问题, 建议你在反馈时附上演示,方便我们理解。 </div>
-                                            <div class="menu-messages-content-time">2016-09-16 上午 09:23</div>
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <i class="am-icon-circle-o"></i> 进入列表…
-                                    </a>
-                                </li>
-                            </ul>
-                        </li>
-
-                        <!-- 新提示 -->
-                        <li class="am-dropdown" data-am-dropdown>
-                            <a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle>
-                                <i class="am-icon-bell"></i>
-                                <span class="am-badge am-badge-warning am-round item-feed-badge">5</span>
-                            </a>
-
-                            <!-- 弹出列表 -->
-                            <ul class="am-dropdown-content tpl-dropdown-content">
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-line-chart"></i>
-                                            <span> 有6笔新的销售订单</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            12分钟前
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-star"></i>
-                                            <span> 有3个来自人事部的消息</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            30分钟前
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-folder-o"></i>
-                                            <span> 上午开会记录存档</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            1天前
-                                        </div>
-                                    </a>
-                                </li>
-
-
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <i class="am-icon-bell"></i> 进入列表…
-                                    </a>
-                                </li>
-                            </ul>
-                        </li>
-
-                        <!-- 退出 -->
-                        <li class="am-text-sm">
-                            <a href="javascript:;">
-                                <span class="am-icon-sign-out"></span> 退出
-                            </a>
-                        </li>
-                    </ul>
-                </div>
-            </div>
-
-        </header>
-        <!-- 风格切换 -->
-        <div class="tpl-skiner">
-            <div class="tpl-skiner-toggle am-icon-cog">
-            </div>
-            <div class="tpl-skiner-content">
-                <div class="tpl-skiner-content-title">
-                    选择主题
-                </div>
-                <div class="tpl-skiner-content-bar">
-                    <span class="skiner-color skiner-white" data-color="theme-white"></span>
-                    <span class="skiner-color skiner-black" data-color="theme-black"></span>
-                </div>
-            </div>
-        </div>
-        <!-- 侧边导航栏 -->
-        <div class="left-sidebar">
-            <!-- 用户信息 -->
-            <div class="tpl-sidebar-user-panel">
-                <div class="tpl-user-panel-slide-toggleable">
-                    <div class="tpl-user-panel-profile-picture">
-                        <img src="../img/user04.png" alt="">
-                    </div>
-                    <span class="user-panel-logged-in-text">
-              <i class="am-icon-circle-o am-text-success tpl-user-panel-status-icon"></i>
-              禁言小张
-          </span>
-                    <a href="javascript:;" class="tpl-user-panel-action-link"> <span class="am-icon-pencil"></span> 账号设置</a>
-                </div>
-            </div>
-
-            <!-- 菜单 -->
-            <ul class="sidebar-nav">
-                <li class="sidebar-nav-heading">Components <span class="sidebar-nav-heading-info"> 附加组件</span></li>
-                <li class="sidebar-nav-link">
-                    <a href="/">
-                        <i class="am-icon-home sidebar-nav-link-logo"></i> 首页
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/tables.html">
-                        <i class="am-icon-table sidebar-nav-link-logo"></i> 表格
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/calendar.html">
-                        <i class="am-icon-calendar sidebar-nav-link-logo"></i> 日历
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/form.html">
-                        <i class="am-icon-wpforms sidebar-nav-link-logo"></i> 表单
-
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/chart.html" class="active">
-                        <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 图表
-
-                    </a>
-                </li>
-
-                <li class="sidebar-nav-heading">Page<span class="sidebar-nav-heading-info"> 常用页面</span></li>
-                <li class="sidebar-nav-link">
-                    <a href="javascript:;" class="sidebar-nav-sub-title">
-                        <i class="am-icon-table sidebar-nav-link-logo"></i> 数据列表
-                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
-                    </a>
-                    <ul class="sidebar-nav sidebar-nav-sub">
-                        <li class="sidebar-nav-link">
-                            <a href="../html/table-list.html">
-                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 文字列表
-                            </a>
-                        </li>
-
-                        <li class="sidebar-nav-link">
-                            <a href="../html/table-list-img.html">
-                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 图文列表
-                            </a>
-                        </li>
-                    </ul>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/signup">
-                        <i class="am-icon-clone sidebar-nav-link-logo"></i> 注册
-                        <span class="am-badge am-badge-secondary sidebar-nav-link-logo-ico am-round am-fr am-margin-right-sm">6</span>
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/login">
-                        <i class="am-icon-key sidebar-nav-link-logo"></i> 登录
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/page404">
-                        <i class="am-icon-tv sidebar-nav-link-logo"></i> 404错误
-                    </a>
-                </li>
-
-            </ul>
-        </div>
-
-        <!-- 内容区域 -->
-        <div class="tpl-content-wrapper">
-
-            <div class="container-fluid am-cf">
-                <div class="row">
-                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
-                        <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span> 图表 <small>Amaze UI</small></div>
-                        <p class="page-header-description">图表组件使用的是 <a href="http://echarts.baidu.com">百度图表echarts</a>。</p>
-                    </div>
-                    <div class="am-u-lg-3 tpl-index-settings-button">
-                        <button type="button" class="page-header-button"><span class="am-icon-paint-brush"></span> 设置</button>
-                    </div>
-                </div>
-
-            </div>
-
-            <div class="row-content am-cf">
-                <div class="widget am-cf">
-                    <div class="widget-head am-cf">
-                        <div class="widget-title am-fl">折线</div>
-                        <div class="widget-function am-fr">
-                            <a href="javascript:;" class="am-icon-cog"></a>
-                        </div>
-                    </div>
-                    <div class="widget-body am-fr">
-                        <div style="height: 400px" class="" id="tpl-echarts-A">
-
-                        </div>
-                    </div>
-                </div>
-
-
-                <div class="widget am-cf">
-                    <div class="widget-head am-cf">
-                        <div class="widget-title am-fl">雷达</div>
-                        <div class="widget-function am-fr">
-                            <a href="javascript:;" class="am-icon-cog"></a>
-                        </div>
-                    </div>
-                    <div class="widget-body am-fr">
-                        <div style="height: 400px" id="tpl-echarts-B">
-
-                        </div>
-                    </div>
-                </div>
-
-
-                <div class="widget am-cf">
-                    <div class="widget-head am-cf">
-                        <div class="widget-title am-fl">折线柱图</div>
-                        <div class="widget-function am-fr">
-                            <a href="javascript:;" class="am-icon-cog"></a>
-                        </div>
-                    </div>
-                    <div class="widget-body am-fr">
-                        <div style="height: 400px" id="tpl-echarts-C">
-
-                        </div>
-                    </div>
-                </div>
-
-            </div>
-        </div>
-    </div>
-    </div>
-    <script src="../js/amazeui.min.js"></script>
-    <script src="../js/amazeui.datatables.min.js"></script>
-    <script src="../js/dataTables.responsive.min.js"></script>
-    <script src="../js/app.js"></script>
-    <!-- 说明:通过WebSocket获取服务器推送数据的代码在app.js中 -->
-</body>
-</html>

+ 0 - 619
Day61-65/code/project_of_tornado/assets/html/form.html

@@ -1,619 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <title>Amaze UI Admin index Examples</title>
-    <meta name="description" content="这是一个 index 页面">
-    <meta name="keywords" content="index">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="Cache-Control" content="no-siteapp" />
-    <link rel="icon" type="image/png" href="../i/favicon.png">
-    <link rel="apple-touch-icon-precomposed" href="../i/app-icon72x72@2x.png">
-    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
-    <script src="../js/echarts.min.js"></script>
-    <link rel="stylesheet" href="../css/amazeui.min.css" />
-    <link rel="stylesheet" href="../css/amazeui.datatables.min.css" />
-    <link rel="stylesheet" href="../css/app.css">
-    <script src="../js/jquery.min.js"></script>
-
-</head>
-
-<body data-type="widgets">
-    <script src="../js/theme.js"></script>
-    <div class="am-g tpl-g">
-        <!-- 头部 -->
-        <header>
-            <!-- logo -->
-            <div class="am-fl tpl-header-logo">
-                <a href="javascript:;"><img src="../img/logo.png" alt=""></a>
-            </div>
-            <!-- 右侧内容 -->
-            <div class="tpl-header-fluid">
-                <!-- 侧边切换 -->
-                <div class="am-fl tpl-header-switch-button am-icon-list">
-                    <span>
-
-                </span>
-                </div>
-                <!-- 搜索 -->
-                <div class="am-fl tpl-header-search">
-                    <form class="tpl-header-search-form" action="javascript:;">
-                        <button class="tpl-header-search-btn am-icon-search"></button>
-                        <input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
-                    </form>
-                </div>
-                <!-- 其它功能-->
-                <div class="am-fr tpl-header-navbar">
-                    <ul>
-                        <!-- 欢迎语 -->
-                        <li class="am-text-sm tpl-header-navbar-welcome">
-                            <a href="javascript:;">欢迎你, <span>Amaze UI</span> </a>
-                        </li>
-
-                        <!-- 新邮件 -->
-                        <li class="am-dropdown tpl-dropdown" data-am-dropdown>
-                            <a href="javascript:;" class="am-dropdown-toggle tpl-dropdown-toggle" data-am-dropdown-toggle>
-                                <i class="am-icon-envelope"></i>
-                                <span class="am-badge am-badge-success am-round item-feed-badge">4</span>
-                            </a>
-                            <!-- 弹出列表 -->
-                            <ul class="am-dropdown-content tpl-dropdown-content">
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <div class="menu-messages-ico">
-                                            <img src="../img/user04.png" alt="">
-                                        </div>
-                                        <div class="menu-messages-time">
-                                            3小时前
-                                        </div>
-                                        <div class="menu-messages-content">
-                                            <div class="menu-messages-content-title">
-                                                <i class="am-icon-circle-o am-text-success"></i>
-                                                <span>夕风色</span>
-                                            </div>
-                                            <div class="am-text-truncate"> Amaze UI 的诞生,依托于 GitHub 及其他技术社区上一些优秀的资源;Amaze UI 的成长,则离不开用户的支持。 </div>
-                                            <div class="menu-messages-content-time">2016-09-21 下午 16:40</div>
-                                        </div>
-                                    </a>
-                                </li>
-
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <div class="menu-messages-ico">
-                                            <img src="../img/user02.png" alt="">
-                                        </div>
-                                        <div class="menu-messages-time">
-                                            5天前
-                                        </div>
-                                        <div class="menu-messages-content">
-                                            <div class="menu-messages-content-title">
-                                                <i class="am-icon-circle-o am-text-warning"></i>
-                                                <span>禁言小张</span>
-                                            </div>
-                                            <div class="am-text-truncate"> 为了能最准确的传达所描述的问题, 建议你在反馈时附上演示,方便我们理解。 </div>
-                                            <div class="menu-messages-content-time">2016-09-16 上午 09:23</div>
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <i class="am-icon-circle-o"></i> 进入列表…
-                                    </a>
-                                </li>
-                            </ul>
-                        </li>
-
-                        <!-- 新提示 -->
-                        <li class="am-dropdown" data-am-dropdown>
-                            <a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle>
-                                <i class="am-icon-bell"></i>
-                                <span class="am-badge am-badge-warning am-round item-feed-badge">5</span>
-                            </a>
-
-                            <!-- 弹出列表 -->
-                            <ul class="am-dropdown-content tpl-dropdown-content">
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-line-chart"></i>
-                                            <span> 有6笔新的销售订单</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            12分钟前
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-star"></i>
-                                            <span> 有3个来自人事部的消息</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            30分钟前
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-folder-o"></i>
-                                            <span> 上午开会记录存档</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            1天前
-                                        </div>
-                                    </a>
-                                </li>
-
-
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <i class="am-icon-bell"></i> 进入列表…
-                                    </a>
-                                </li>
-                            </ul>
-                        </li>
-
-                        <!-- 退出 -->
-                        <li class="am-text-sm">
-                            <a href="javascript:;">
-                                <span class="am-icon-sign-out"></span> 退出
-                            </a>
-                        </li>
-                    </ul>
-                </div>
-            </div>
-
-        </header>
-        <!-- 风格切换 -->
-        <div class="tpl-skiner">
-            <div class="tpl-skiner-toggle am-icon-cog">
-            </div>
-            <div class="tpl-skiner-content">
-                <div class="tpl-skiner-content-title">
-                    选择主题
-                </div>
-                <div class="tpl-skiner-content-bar">
-                    <span class="skiner-color skiner-white" data-color="theme-white"></span>
-                    <span class="skiner-color skiner-black" data-color="theme-black"></span>
-                </div>
-            </div>
-        </div>
-        <!-- 侧边导航栏 -->
-        <div class="left-sidebar">
-            <!-- 用户信息 -->
-            <div class="tpl-sidebar-user-panel">
-                <div class="tpl-user-panel-slide-toggleable">
-                    <div class="tpl-user-panel-profile-picture">
-                        <img src="../img/user04.png" alt="">
-                    </div>
-                    <span class="user-panel-logged-in-text">
-              <i class="am-icon-circle-o am-text-success tpl-user-panel-status-icon"></i>
-              禁言小张
-          </span>
-                    <a href="javascript:;" class="tpl-user-panel-action-link"> <span class="am-icon-pencil"></span> 账号设置</a>
-                </div>
-            </div>
-
-            <!-- 菜单 -->
-            <ul class="sidebar-nav">
-                <li class="sidebar-nav-heading">Components <span class="sidebar-nav-heading-info"> 附加组件</span></li>
-                <li class="sidebar-nav-link">
-                    <a href="/">
-                        <i class="am-icon-home sidebar-nav-link-logo"></i> 首页
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/tables.html">
-                        <i class="am-icon-table sidebar-nav-link-logo"></i> 表格
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/calendar.html">
-                        <i class="am-icon-calendar sidebar-nav-link-logo"></i> 日历
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/form.html" class="active">
-                        <i class="am-icon-wpforms sidebar-nav-link-logo"></i> 表单
-
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/chart.html">
-                        <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 图表
-
-                    </a>
-                </li>
-
-                <li class="sidebar-nav-heading">Page<span class="sidebar-nav-heading-info"> 常用页面</span></li>
-                <li class="sidebar-nav-link">
-                    <a href="javascript:;" class="sidebar-nav-sub-title">
-                        <i class="am-icon-table sidebar-nav-link-logo"></i> 数据列表
-                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
-                    </a>
-                    <ul class="sidebar-nav sidebar-nav-sub">
-                        <li class="sidebar-nav-link">
-                            <a href="../html/table-list.html">
-                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 文字列表
-                            </a>
-                        </li>
-
-                        <li class="sidebar-nav-link">
-                            <a href="../html/table-list-img.html">
-                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 图文列表
-                            </a>
-                        </li>
-                    </ul>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/signup">
-                        <i class="am-icon-clone sidebar-nav-link-logo"></i> 注册
-                        <span class="am-badge am-badge-secondary sidebar-nav-link-logo-ico am-round am-fr am-margin-right-sm">6</span>
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/login">
-                        <i class="am-icon-key sidebar-nav-link-logo"></i> 登录
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/page404">
-                        <i class="am-icon-tv sidebar-nav-link-logo"></i> 404错误
-                    </a>
-                </li>
-
-            </ul>
-        </div>
-
-        <!-- 内容区域 -->
-        <div class="tpl-content-wrapper">
-
-            <div class="container-fluid am-cf">
-                <div class="row">
-                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
-                        <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span> 表单 <small>Amaze UI</small></div>
-                        <p class="page-header-description">Amaze UI 有许多不同的表格可用。</p>
-                    </div>
-                    <div class="am-u-lg-3 tpl-index-settings-button">
-                        <button type="button" class="page-header-button"><span class="am-icon-paint-brush"></span> 设置</button>
-                    </div>
-                </div>
-
-            </div>
-
-            <div class="row-content am-cf">
-
-
-                <div class="row">
-
-                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
-                        <div class="widget am-cf">
-                            <div class="widget-head am-cf">
-                                <div class="widget-title am-fl">线条表单</div>
-                                <div class="widget-function am-fr">
-                                    <a href="javascript:;" class="am-icon-cog"></a>
-                                </div>
-                            </div>
-                            <div class="widget-body am-fr">
-
-                                <form class="am-form tpl-form-line-form">
-                                    <div class="am-form-group">
-                                        <label for="user-name" class="am-u-sm-3 am-form-label">标题 <span class="tpl-form-line-small-title">Title</span></label>
-                                        <div class="am-u-sm-9">
-                                            <input type="text" class="tpl-form-input" id="user-name" placeholder="请输入标题文字">
-                                            <small>请填写标题文字10-20字左右。</small>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-email" class="am-u-sm-3 am-form-label">发布时间 <span class="tpl-form-line-small-title">Time</span></label>
-                                        <div class="am-u-sm-9">
-                                            <input type="text" class="am-form-field tpl-form-no-bg" placeholder="发布时间" data-am-datepicker="" readonly="">
-                                            <small>发布时间为必填</small>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-phone" class="am-u-sm-3 am-form-label">作者 <span class="tpl-form-line-small-title">Author</span></label>
-                                        <div class="am-u-sm-9">
-                                            <select data-am-selected="{searchBox: 1}" style="display: none;">
-  <option value="a">-The.CC</option>
-  <option value="b">夕风色</option>
-  <option value="o">Orange</option>
-</select>
-
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label class="am-u-sm-3 am-form-label">SEO关键字 <span class="tpl-form-line-small-title">SEO</span></label>
-                                        <div class="am-u-sm-9">
-                                            <input type="text" placeholder="输入SEO关键字">
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-weibo" class="am-u-sm-3 am-form-label">封面图 <span class="tpl-form-line-small-title">Images</span></label>
-                                        <div class="am-u-sm-9">
-                                            <div class="am-form-group am-form-file">
-                                                <div class="tpl-form-file-img">
-                                                    <img src="../img/a5.png" alt="">
-                                                </div>
-                                                <button type="button" class="am-btn am-btn-danger am-btn-sm">
-    <i class="am-icon-cloud-upload"></i> 添加封面图片</button>
-                                                <input id="doc-form-file" type="file" multiple="">
-                                            </div>
-
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-weibo" class="am-u-sm-3 am-form-label">添加分类 <span class="tpl-form-line-small-title">Type</span></label>
-                                        <div class="am-u-sm-9">
-                                            <input type="text" id="user-weibo" placeholder="请添加分类用点号隔开">
-                                            <div>
-
-                                            </div>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-intro" class="am-u-sm-3 am-form-label">隐藏文章</label>
-                                        <div class="am-u-sm-9">
-                                            <div class="tpl-switch">
-                                                <input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" checked="">
-                                                <div class="tpl-switch-btn-view">
-                                                    <div>
-                                                    </div>
-                                                </div>
-                                            </div>
-
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-intro" class="am-u-sm-3 am-form-label">文章内容</label>
-                                        <div class="am-u-sm-9">
-                                            <textarea class="" rows="10" id="user-intro" placeholder="请输入文章内容"></textarea>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <div class="am-u-sm-9 am-u-sm-push-3">
-                                            <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
-                                        </div>
-                                    </div>
-                                </form>
-                            </div>
-                        </div>
-                    </div>
-                </div>
-
-                <div class="row">
-
-                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
-                        <div class="widget am-cf">
-                            <div class="widget-head am-cf">
-                                <div class="widget-title am-fl">边框表单</div>
-                                <div class="widget-function am-fr">
-                                    <a href="javascript:;" class="am-icon-cog"></a>
-                                </div>
-                            </div>
-                            <div class="widget-body am-fr">
-
-                                <form class="am-form tpl-form-border-form tpl-form-border-br">
-                                    <div class="am-form-group">
-                                        <label for="user-name" class="am-u-sm-3 am-form-label">标题 <span class="tpl-form-line-small-title">Title</span></label>
-                                        <div class="am-u-sm-9">
-                                            <input type="text" class="tpl-form-input" id="user-name" placeholder="请输入标题文字">
-                                            <small>请填写标题文字10-20字左右。</small>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-email" class="am-u-sm-3 am-form-label">发布时间 <span class="tpl-form-line-small-title">Time</span></label>
-                                        <div class="am-u-sm-9">
-                                            <input type="text" class="am-form-field tpl-form-no-bg" placeholder="发布时间" data-am-datepicker="" readonly="">
-                                            <small>发布时间为必填</small>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-phone" class="am-u-sm-3 am-form-label">作者 <span class="tpl-form-line-small-title">Author</span></label>
-                                        <div class="am-u-sm-9">
-                                            <select data-am-selected="{searchBox: 1}" style="display: none;">
-  <option value="a">-The.CC</option>
-  <option value="b">夕风色</option>
-  <option value="o">Orange</option>
-</select>
-
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label class="am-u-sm-3 am-form-label">SEO关键字 <span class="tpl-form-line-small-title">SEO</span></label>
-                                        <div class="am-u-sm-9">
-                                            <input type="text" placeholder="输入SEO关键字">
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-weibo" class="am-u-sm-3 am-form-label">封面图 <span class="tpl-form-line-small-title">Images</span></label>
-                                        <div class="am-u-sm-9">
-                                            <div class="am-form-group am-form-file">
-                                                <div class="tpl-form-file-img">
-                                                    <img src="../img/a5.png" alt="">
-                                                </div>
-                                                <button type="button" class="am-btn am-btn-danger am-btn-sm">
-    <i class="am-icon-cloud-upload"></i> 添加封面图片</button>
-                                                <input id="doc-form-file" type="file" multiple="">
-                                            </div>
-
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-weibo" class="am-u-sm-3 am-form-label">添加分类 <span class="tpl-form-line-small-title">Type</span></label>
-                                        <div class="am-u-sm-9">
-                                            <input type="text" id="user-weibo" placeholder="请添加分类用点号隔开">
-                                            <div>
-
-                                            </div>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-intro" class="am-u-sm-3 am-form-label">隐藏文章</label>
-                                        <div class="am-u-sm-9">
-                                            <div class="tpl-switch">
-                                                <input type="checkbox" class="ios-switch bigswitch tpl-switch-btn" checked="">
-                                                <div class="tpl-switch-btn-view">
-                                                    <div>
-                                                    </div>
-                                                </div>
-                                            </div>
-
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-intro" class="am-u-sm-3 am-form-label">文章内容</label>
-                                        <div class="am-u-sm-9">
-                                            <textarea class="" rows="10" id="user-intro" placeholder="请输入文章内容"></textarea>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <div class="am-u-sm-9 am-u-sm-push-3">
-                                            <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
-                                        </div>
-                                    </div>
-                                </form>
-                            </div>
-                        </div>
-                    </div>
-                </div>
-
-                <div class="row">
-
-                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
-                        <div class="widget am-cf">
-                            <div class="widget-head am-cf">
-                                <div class="widget-title am-fl">换行边框</div>
-                                <div class="widget-function am-fr">
-                                    <a href="javascript:;" class="am-icon-cog"></a>
-                                </div>
-                            </div>
-                            <div class="widget-body am-fr">
-
-                                <form class="am-form tpl-form-border-form">
-                                    <div class="am-form-group">
-                                        <label for="user-name" class="am-u-sm-12 am-form-label am-text-left">标题 <span class="tpl-form-line-small-title">Title</span></label>
-                                        <div class="am-u-sm-12">
-                                            <input type="text" class="tpl-form-input am-margin-top-xs" id="user-name" placeholder="请输入标题文字">
-                                            <small>请填写标题文字10-20字左右。</small>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-email" class="am-u-sm-12 am-form-label am-text-left">发布时间 <span class="tpl-form-line-small-title">Time</span></label>
-                                        <div class="am-u-sm-12">
-                                            <input type="text" class="am-form-field tpl-form-no-bg am-margin-top-xs" placeholder="发布时间" data-am-datepicker="" readonly="">
-                                            <small>发布时间为必填</small>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-phone" class="am-u-sm-12 am-form-label am-text-left">作者 <span class="tpl-form-line-small-title">Author</span></label>
-                                        <div class="am-u-sm-12  am-margin-top-xs">
-                                            <select data-am-selected="{searchBox: 1}" style="display: none;">
-  <option value="a">-The.CC</option>
-  <option value="b">夕风色</option>
-  <option value="o">Orange</option>
-</select>
-
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label class="am-u-sm-12 am-form-label  am-text-left">SEO关键字 <span class="tpl-form-line-small-title">SEO</span></label>
-                                        <div class="am-u-sm-12">
-                                            <input type="text" class="am-margin-top-xs" placeholder="输入SEO关键字">
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-weibo" class="am-u-sm-12 am-form-label  am-text-left">封面图 <span class="tpl-form-line-small-title">Images</span></label>
-                                        <div class="am-u-sm-12 am-margin-top-xs">
-                                            <div class="am-form-group am-form-file">
-                                                <div class="tpl-form-file-img">
-                                                    <img src="../img/a5.png" alt="">
-                                                </div>
-                                                <button type="button" class="am-btn am-btn-danger am-btn-sm ">
-    <i class="am-icon-cloud-upload"></i> 添加封面图片</button>
-                                                <input id="doc-form-file" type="file" multiple="">
-                                            </div>
-
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-weibo" class="am-u-sm-12 am-form-label  am-text-left">添加分类 <span class="tpl-form-line-small-title">Type</span></label>
-                                        <div class="am-u-sm-12">
-                                            <input type="text" id="user-weibo" class="am-margin-top-xs" placeholder="请添加分类用点号隔开">
-                                            <div>
-
-                                            </div>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-intro" class="am-u-sm-12 am-form-label  am-text-left">隐藏文章</label>
-                                        <div class="am-u-sm-12">
-                                            <div class="tpl-switch">
-                                                <input type="checkbox" class="ios-switch bigswitch tpl-switch-btn am-margin-top-xs" checked="">
-                                                <div class="tpl-switch-btn-view">
-                                                    <div>
-                                                    </div>
-                                                </div>
-                                            </div>
-
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <label for="user-intro" class="am-u-sm-12 am-form-label  am-text-left">文章内容</label>
-                                        <div class="am-u-sm-12 am-margin-top-xs">
-                                            <textarea class="" rows="10" id="user-intro" placeholder="请输入文章内容"></textarea>
-                                        </div>
-                                    </div>
-
-                                    <div class="am-form-group">
-                                        <div class="am-u-sm-12 am-u-sm-push-12">
-                                            <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
-                                        </div>
-                                    </div>
-                                </form>
-                            </div>
-                        </div>
-                    </div>
-                </div>
-
-
-            </div>
-        </div>
-    </div>
-    </div>
-    <script src="../js/amazeui.min.js"></script>
-    <script src="../js/amazeui.datatables.min.js"></script>
-    <script src="../js/dataTables.responsive.min.js"></script>
-    <script src="../js/app.js"></script>
-
-</body>
-
-</html>

+ 0 - 62
Day61-65/code/project_of_tornado/assets/html/login.html

@@ -1,62 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <title>Amaze UI Admin index Examples</title>
-    <meta name="description" content="这是一个 index 页面">
-    <meta name="keywords" content="index">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="Cache-Control" content="no-siteapp" />
-    <link rel="icon" type="image/png" href="../i/favicon.png">
-    <link rel="apple-touch-icon-precomposed" href="../i/app-icon72x72@2x.png">
-    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
-    <link rel="stylesheet" href="../css/amazeui.min.css" />
-    <link rel="stylesheet" href="../css/amazeui.datatables.min.css" />
-    <link rel="stylesheet" href="../css/app.css">
-    <script src="../js/jquery.min.js"></script>
-</head>
-<body data-type="login">
-    <script src="../js/theme.js"></script>
-    <div class="am-g tpl-g">
-        <!-- 风格切换 -->
-        <div class="tpl-skiner">
-            <div class="tpl-skiner-toggle am-icon-cog">
-            </div>
-            <div class="tpl-skiner-content">
-                <div class="tpl-skiner-content-title">
-                    选择主题
-                </div>
-                <div class="tpl-skiner-content-bar">
-                    <span class="skiner-color skiner-white" data-color="theme-white"></span>
-                    <span class="skiner-color skiner-black" data-color="theme-black"></span>
-                </div>
-            </div>
-        </div>
-        <div class="tpl-login">
-            <div class="tpl-login-content">
-                <div class="tpl-login-logo"></div>
-                <form class="am-form tpl-form-line-form">
-                    <div class="am-form-group">
-                        <input type="text" class="tpl-form-input" id="user-name" placeholder="请输入账号">
-                    </div>
-                    <div class="am-form-group">
-                        <input type="password" class="tpl-form-input" id="user-name" placeholder="请输入密码">
-                    </div>
-                    <div class="am-form-group tpl-login-remember-me">
-                        <input id="remember-me" type="checkbox">
-                        <label for="remember-me">记住密码</label>
-                    </div>
-                    <div class="am-form-group">
-                        <button type="button" class="am-btn am-btn-primary  am-btn-block tpl-btn-bg-color-success  tpl-login-btn">提交</button>
-                    </div>
-                </form>
-            </div>
-        </div>
-    </div>
-    <script src="../js/amazeui.min.js"></script>
-    <script src="../js/app.js"></script>
-</body>
-</html>

+ 0 - 70
Day61-65/code/project_of_tornado/assets/html/sign-up.html

@@ -1,70 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <title>Amaze UI Admin index Examples</title>
-    <meta name="description" content="这是一个 index 页面">
-    <meta name="keywords" content="index">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="Cache-Control" content="no-siteapp"/>
-    <link rel="icon" type="image/png" href="../i/favicon.png">
-    <link rel="apple-touch-icon-precomposed" href="../i/app-icon72x72@2x.png">
-    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
-    <link rel="stylesheet" href="../css/amazeui.min.css"/>
-    <link rel="stylesheet" href="../css/amazeui.datatables.min.css"/>
-    <link rel="stylesheet" href="../css/app.css">
-    <script src="../js/jquery.min.js"></script>
-</head>
-<body data-type="login">
-<script src="../js/theme.js"></script>
-<div class="am-g tpl-g">
-    <!-- 风格切换 -->
-    <div class="tpl-skiner">
-        <div class="tpl-skiner-toggle am-icon-cog">
-        </div>
-        <div class="tpl-skiner-content">
-            <div class="tpl-skiner-content-title">
-                选择主题
-            </div>
-            <div class="tpl-skiner-content-bar">
-                <span class="skiner-color skiner-white" data-color="theme-white"></span>
-                <span class="skiner-color skiner-black" data-color="theme-black"></span>
-            </div>
-        </div>
-    </div>
-    <div class="tpl-login">
-        <div class="tpl-login-content">
-            <div class="tpl-login-title">注册用户</div>
-            <span class="tpl-login-content-info">创建一个新的用户</span>
-            <form class="am-form tpl-form-line-form">
-                <div class="am-form-group">
-                    <input type="text" class="tpl-form-input" id="user-name" placeholder="邮箱">
-                </div>
-                <div class="am-form-group">
-                    <input type="text" class="tpl-form-input" id="user-name" placeholder="用户名">
-                </div>
-                <div class="am-form-group">
-                    <input type="password" class="tpl-form-input" id="user-name" placeholder="请输入密码">
-                </div>
-                <div class="am-form-group">
-                    <input type="password" class="tpl-form-input" id="user-name" placeholder="再次输入密码">
-                </div>
-                <div class="am-form-group tpl-login-remember-me">
-                    <input id="remember-me" type="checkbox">
-                    <label for="remember-me">我已阅读并同意 <a href="javascript:;">《用户注册协议》</a></label>
-                </div>
-                <div class="am-form-group">
-                    <button type="button"
-                            class="am-btn am-btn-primary  am-btn-block tpl-btn-bg-color-success  tpl-login-btn">提交
-                    </button>
-                </div>
-            </form>
-        </div>
-    </div>
-</div>
-<script src="../js/amazeui.min.js"></script>
-<script src="../js/app.js"></script>
-</body>
-</html>

+ 0 - 469
Day61-65/code/project_of_tornado/assets/html/table-list-img.html

@@ -1,469 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <title>Amaze UI Admin index Examples</title>
-    <meta name="description" content="这是一个 index 页面">
-    <meta name="keywords" content="index">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="Cache-Control" content="no-siteapp" />
-    <link rel="icon" type="image/png" href="../i/favicon.png">
-    <link rel="apple-touch-icon-precomposed" href="../i/app-icon72x72@2x.png">
-    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
-    <link rel="stylesheet" href="../css/amazeui.min.css" />
-    <link rel="stylesheet" href="../css/amazeui.datatables.min.css" />
-    <link rel="stylesheet" href="../css/app.css">
-    <script src="../js/jquery.min.js"></script>
-
-</head>
-
-<body data-type="widgets">
-    <script src="../js/theme.js"></script>
-    <div class="am-g tpl-g">
-        <!-- 头部 -->
-        <header>
-            <!-- logo -->
-            <div class="am-fl tpl-header-logo">
-                <a href="javascript:;"><img src="../img/logo.png" alt=""></a>
-            </div>
-            <!-- 右侧内容 -->
-            <div class="tpl-header-fluid">
-                <!-- 侧边切换 -->
-                <div class="am-fl tpl-header-switch-button am-icon-list">
-                    <span>
-
-                </span>
-                </div>
-                <!-- 搜索 -->
-                <div class="am-fl tpl-header-search">
-                    <form class="tpl-header-search-form" action="javascript:;">
-                        <button class="tpl-header-search-btn am-icon-search"></button>
-                        <input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
-                    </form>
-                </div>
-                <!-- 其它功能-->
-                <div class="am-fr tpl-header-navbar">
-                    <ul>
-                        <!-- 欢迎语 -->
-                        <li class="am-text-sm tpl-header-navbar-welcome">
-                            <a href="javascript:;">欢迎你, <span>Amaze UI</span> </a>
-                        </li>
-
-                        <!-- 新邮件 -->
-                        <li class="am-dropdown tpl-dropdown" data-am-dropdown>
-                            <a href="javascript:;" class="am-dropdown-toggle tpl-dropdown-toggle" data-am-dropdown-toggle>
-                                <i class="am-icon-envelope"></i>
-                                <span class="am-badge am-badge-success am-round item-feed-badge">4</span>
-                            </a>
-                            <!-- 弹出列表 -->
-                            <ul class="am-dropdown-content tpl-dropdown-content">
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <div class="menu-messages-ico">
-                                            <img src="../img/user04.png" alt="">
-                                        </div>
-                                        <div class="menu-messages-time">
-                                            3小时前
-                                        </div>
-                                        <div class="menu-messages-content">
-                                            <div class="menu-messages-content-title">
-                                                <i class="am-icon-circle-o am-text-success"></i>
-                                                <span>夕风色</span>
-                                            </div>
-                                            <div class="am-text-truncate"> Amaze UI 的诞生,依托于 GitHub 及其他技术社区上一些优秀的资源;Amaze UI 的成长,则离不开用户的支持。 </div>
-                                            <div class="menu-messages-content-time">2016-09-21 下午 16:40</div>
-                                        </div>
-                                    </a>
-                                </li>
-
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <div class="menu-messages-ico">
-                                            <img src="../img/user02.png" alt="">
-                                        </div>
-                                        <div class="menu-messages-time">
-                                            5天前
-                                        </div>
-                                        <div class="menu-messages-content">
-                                            <div class="menu-messages-content-title">
-                                                <i class="am-icon-circle-o am-text-warning"></i>
-                                                <span>禁言小张</span>
-                                            </div>
-                                            <div class="am-text-truncate"> 为了能最准确的传达所描述的问题, 建议你在反馈时附上演示,方便我们理解。 </div>
-                                            <div class="menu-messages-content-time">2016-09-16 上午 09:23</div>
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-messages">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                        <i class="am-icon-circle-o"></i> 进入列表…
-                                    </a>
-                                </li>
-                            </ul>
-                        </li>
-
-                        <!-- 新提示 -->
-                        <li class="am-dropdown" data-am-dropdown>
-                            <a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle>
-                                <i class="am-icon-bell"></i>
-                                <span class="am-badge am-badge-warning am-round item-feed-badge">5</span>
-                            </a>
-
-                            <!-- 弹出列表 -->
-                            <ul class="am-dropdown-content tpl-dropdown-content">
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-line-chart"></i>
-                                            <span> 有6笔新的销售订单</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            12分钟前
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-star"></i>
-                                            <span> 有3个来自人事部的消息</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            30分钟前
-                                        </div>
-                                    </a>
-                                </li>
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <div class="tpl-dropdown-menu-notifications-title">
-                                            <i class="am-icon-folder-o"></i>
-                                            <span> 上午开会记录存档</span>
-                                        </div>
-                                        <div class="tpl-dropdown-menu-notifications-time">
-                                            1天前
-                                        </div>
-                                    </a>
-                                </li>
-
-
-                                <li class="tpl-dropdown-menu-notifications">
-                                    <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                        <i class="am-icon-bell"></i> 进入列表…
-                                    </a>
-                                </li>
-                            </ul>
-                        </li>
-
-                        <!-- 退出 -->
-                        <li class="am-text-sm">
-                            <a href="javascript:;">
-                                <span class="am-icon-sign-out"></span> 退出
-                            </a>
-                        </li>
-                    </ul>
-                </div>
-            </div>
-
-        </header>
-        <!-- 风格切换 -->
-        <div class="tpl-skiner">
-            <div class="tpl-skiner-toggle am-icon-cog">
-            </div>
-            <div class="tpl-skiner-content">
-                <div class="tpl-skiner-content-title">
-                    选择主题
-                </div>
-                <div class="tpl-skiner-content-bar">
-                    <span class="skiner-color skiner-white" data-color="theme-white"></span>
-                    <span class="skiner-color skiner-black" data-color="theme-black"></span>
-                </div>
-            </div>
-        </div>
-        <!-- 侧边导航栏 -->
-        <div class="left-sidebar">
-            <!-- 用户信息 -->
-            <div class="tpl-sidebar-user-panel">
-                <div class="tpl-user-panel-slide-toggleable">
-                    <div class="tpl-user-panel-profile-picture">
-                        <img src="../img/user04.png" alt="">
-                    </div>
-                    <span class="user-panel-logged-in-text">
-                        <i class="am-icon-circle-o am-text-success tpl-user-panel-status-icon"></i>
-                        禁言小张
-                    </span>
-                    <a href="javascript:;" class="tpl-user-panel-action-link"> <span class="am-icon-pencil"></span> 账号设置</a>
-                </div>
-            </div>
-            <!-- 菜单 -->
-            <ul class="sidebar-nav">
-                <li class="sidebar-nav-heading">Components <span class="sidebar-nav-heading-info"> 附加组件</span></li>
-                <li class="sidebar-nav-link">
-                    <a href="/">
-                        <i class="am-icon-home sidebar-nav-link-logo"></i> 首页
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/tables.html">
-                        <i class="am-icon-table sidebar-nav-link-logo"></i> 表格
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/calendar.html">
-                        <i class="am-icon-calendar sidebar-nav-link-logo"></i> 日历
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/form.html">
-                        <i class="am-icon-wpforms sidebar-nav-link-logo"></i> 表单
-
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="../html/chart.html">
-                        <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 图表
-
-                    </a>
-                </li>
-
-                <li class="sidebar-nav-heading">Page<span class="sidebar-nav-heading-info"> 常用页面</span></li>
-                <li class="sidebar-nav-link">
-                    <a href="javascript:;" class="sidebar-nav-sub-title active">
-                        <i class="am-icon-table sidebar-nav-link-logo"></i> 数据列表
-                        <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico sidebar-nav-sub-ico-rotate"></span>
-                    </a>
-                    <ul class="sidebar-nav sidebar-nav-sub" style="display: block;">
-                        <li class="sidebar-nav-link">
-                            <a href="../html/table-list.html">
-                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 文字列表
-                            </a>
-                        </li>
-
-                        <li class="sidebar-nav-link">
-                            <a href="../html/table-list-img.html" class="sub-active">
-                                <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 图文列表
-                            </a>
-                        </li>
-                    </ul>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/signup">
-                        <i class="am-icon-clone sidebar-nav-link-logo"></i> 注册
-                        <span class="am-badge am-badge-secondary sidebar-nav-link-logo-ico am-round am-fr am-margin-right-sm">6</span>
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/login">
-                        <i class="am-icon-key sidebar-nav-link-logo"></i> 登录
-                    </a>
-                </li>
-                <li class="sidebar-nav-link">
-                    <a href="/page404">
-                        <i class="am-icon-tv sidebar-nav-link-logo"></i> 404错误
-                    </a>
-                </li>
-
-            </ul>
-        </div>
-        <!-- 内容区域 -->
-        <div class="tpl-content-wrapper">
-            <div class="row-content am-cf">
-                <div class="row">
-                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
-                        <div class="widget am-cf">
-                            <div class="widget-head am-cf">
-                                <div class="widget-title  am-cf">文章列表</div>
-
-
-                            </div>
-                            <div class="widget-body  am-fr">
-
-                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
-                                    <div class="am-form-group">
-                                        <div class="am-btn-toolbar">
-                                            <div class="am-btn-group am-btn-group-xs">
-                                                <button type="button" class="am-btn am-btn-default am-btn-success"><span class="am-icon-plus"></span> 新增</button>
-                                                <button type="button" class="am-btn am-btn-default am-btn-secondary"><span class="am-icon-save"></span> 保存</button>
-                                                <button type="button" class="am-btn am-btn-default am-btn-warning"><span class="am-icon-archive"></span> 审核</button>
-                                                <button type="button" class="am-btn am-btn-default am-btn-danger"><span class="am-icon-trash-o"></span> 删除</button>
-                                            </div>
-                                        </div>
-                                    </div>
-                                </div>
-                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
-                                    <div class="am-form-group tpl-table-list-select">
-                                        <select data-am-selected="{btnSize: 'sm'}">
-              <option value="option1">所有类别</option>
-              <option value="option2">IT业界</option>
-              <option value="option3">数码产品</option>
-              <option value="option3">笔记本电脑</option>
-              <option value="option3">平板电脑</option>
-              <option value="option3">只能手机</option>
-              <option value="option3">超极本</option>
-            </select>
-                                    </div>
-                                </div>
-                                <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
-                                    <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
-                                        <input type="text" class="am-form-field ">
-                                        <span class="am-input-group-btn">
-            <button class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search" type="button"></button>
-          </span>
-                                    </div>
-                                </div>
-
-                                <div class="am-u-sm-12">
-                                    <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
-                                        <thead>
-                                            <tr>
-                                                <th>文章缩略图</th>
-                                                <th>文章标题</th>
-                                                <th>作者</th>
-                                                <th>时间</th>
-                                                <th>操作</th>
-                                            </tr>
-                                        </thead>
-                                        <tbody>
-                                            <tr class="gradeX">
-                                                <td>
-                                                    <img src="../img/k.jpg" class="tpl-table-line-img" alt="">
-                                                </td>
-                                                <td class="am-text-middle">Amaze UI 模式窗口</td>
-                                                <td class="am-text-middle">张鹏飞</td>
-                                                <td class="am-text-middle">2016-09-26</td>
-                                                <td class="am-text-middle">
-                                                    <div class="tpl-table-black-operation">
-                                                        <a href="javascript:;">
-                                                            <i class="am-icon-pencil"></i> 编辑
-                                                        </a>
-                                                        <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                            <i class="am-icon-trash"></i> 删除
-                                                        </a>
-                                                    </div>
-                                                </td>
-                                            </tr>
-                                            <tr class="even gradeC">
-                                                <td>
-                                                    <img src="../img/k.jpg" class="tpl-table-line-img" alt="">
-                                                </td>
-                                                <td class="am-text-middle">有适配微信小程序的计划吗</td>
-                                                <td class="am-text-middle">天纵之人</td>
-                                                <td class="am-text-middle">2016-09-26</td>
-                                                <td class="am-text-middle">
-                                                    <div class="tpl-table-black-operation">
-                                                        <a href="javascript:;">
-                                                            <i class="am-icon-pencil"></i> 编辑
-                                                        </a>
-                                                        <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                            <i class="am-icon-trash"></i> 删除
-                                                        </a>
-                                                    </div>
-                                                </td>
-                                            </tr>
-                                            <tr class="gradeX">
-                                                <td>
-                                                    <img src="../img/k.jpg" class="tpl-table-line-img" alt="">
-                                                </td>
-                                                <td class="am-text-middle">请问有没有amazeui 分享插件</td>
-                                                <td class="am-text-middle">王宽师</td>
-                                                <td class="am-text-middle">2016-09-26</td>
-                                                <td class="am-text-middle">
-                                                    <div class="tpl-table-black-operation">
-                                                        <a href="javascript:;">
-                                                            <i class="am-icon-pencil"></i> 编辑
-                                                        </a>
-                                                        <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                            <i class="am-icon-trash"></i> 删除
-                                                        </a>
-                                                    </div>
-                                                </td>
-                                            </tr>
-                                            <tr class="even gradeC">
-                                                <td>
-                                                    <img src="../img/k.jpg" class="tpl-table-line-img" alt="">
-                                                </td>
-                                                <td class="am-text-middle">关于input输入框的问题</td>
-                                                <td class="am-text-middle">着迷</td>
-                                                <td class="am-text-middle">2016-09-26</td>
-                                                <td class="am-text-middle">
-                                                    <div class="tpl-table-black-operation">
-                                                        <a href="javascript:;">
-                                                            <i class="am-icon-pencil"></i> 编辑
-                                                        </a>
-                                                        <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                            <i class="am-icon-trash"></i> 删除
-                                                        </a>
-                                                    </div>
-                                                </td>
-                                            </tr>
-                                            <tr class="even gradeC">
-                                                <td>
-                                                    <img src="../img/k.jpg" class="tpl-table-line-img" alt="">
-                                                </td>
-                                                <td class="am-text-middle">有没有发现官网上的下载包不好用</td>
-                                                <td class="am-text-middle">醉里挑灯看键</td>
-                                                <td class="am-text-middle">2016-09-26</td>
-                                                <td class="am-text-middle">
-                                                    <div class="tpl-table-black-operation">
-                                                        <a href="javascript:;">
-                                                            <i class="am-icon-pencil"></i> 编辑
-                                                        </a>
-                                                        <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                            <i class="am-icon-trash"></i> 删除
-                                                        </a>
-                                                    </div>
-                                                </td>
-                                            </tr>
-
-                                            <tr class="even gradeC">
-                                                <td>
-                                                    <img src="../img/k.jpg" class="tpl-table-line-img" alt="">
-                                                </td>
-                                                <td class="am-text-middle">我建议WEB版本文件引入问题</td>
-                                                <td class="am-text-middle">罢了</td>
-                                                <td class="am-text-middle">2016-09-26</td>
-                                                <td class="am-text-middle">
-                                                    <div class="tpl-table-black-operation">
-                                                        <a href="javascript:;">
-                                                            <i class="am-icon-pencil"></i> 编辑
-                                                        </a>
-                                                        <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                            <i class="am-icon-trash"></i> 删除
-                                                        </a>
-                                                    </div>
-                                                </td>
-                                            </tr>
-                                            <!-- more data -->
-                                        </tbody>
-                                    </table>
-                                </div>
-                                <div class="am-u-lg-12 am-cf">
-
-                                    <div class="am-fr">
-                                        <ul class="am-pagination tpl-pagination">
-                                            <li class="am-disabled"><a href="#">«</a></li>
-                                            <li class="am-active"><a href="#">1</a></li>
-                                            <li><a href="#">2</a></li>
-                                            <li><a href="#">3</a></li>
-                                            <li><a href="#">4</a></li>
-                                            <li><a href="#">5</a></li>
-                                            <li><a href="#">»</a></li>
-                                        </ul>
-                                    </div>
-                                </div>
-                            </div>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-    </div>
-    </div>
-    <script src="../js/amazeui.min.js"></script>
-    <script src="../js/app.js"></script>
-
-</body>
-
-</html>

+ 0 - 461
Day61-65/code/project_of_tornado/assets/html/table-list.html

@@ -1,461 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <title>Amaze UI Admin index Examples</title>
-    <meta name="description" content="这是一个 index 页面">
-    <meta name="keywords" content="index">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="Cache-Control" content="no-siteapp"/>
-    <link rel="icon" type="image/png" href="../i/favicon.png">
-    <link rel="apple-touch-icon-precomposed" href="../i/app-icon72x72@2x.png">
-    <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
-    <script src="../js/echarts.min.js"></script>
-    <link rel="stylesheet" href="../css/amazeui.min.css"/>
-    <link rel="stylesheet" href="../css/amazeui.datatables.min.css"/>
-    <link rel="stylesheet" href="../css/app.css">
-    <script src="../js/jquery.min.js"></script>
-
-</head>
-
-<body data-type="widgets">
-<script src="../js/theme.js"></script>
-<div class="am-g tpl-g">
-    <!-- 头部 -->
-    <header>
-        <!-- logo -->
-        <div class="am-fl tpl-header-logo">
-            <a href="javascript:;"><img src="../img/logo.png" alt=""></a>
-        </div>
-        <!-- 右侧内容 -->
-        <div class="tpl-header-fluid">
-            <!-- 侧边切换 -->
-            <div class="am-fl tpl-header-switch-button am-icon-list">
-                    <span>
-
-                </span>
-            </div>
-            <!-- 搜索 -->
-            <div class="am-fl tpl-header-search">
-                <form class="tpl-header-search-form" action="javascript:;">
-                    <button class="tpl-header-search-btn am-icon-search"></button>
-                    <input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
-                </form>
-            </div>
-            <!-- 其它功能-->
-            <div class="am-fr tpl-header-navbar">
-                <ul>
-                    <!-- 欢迎语 -->
-                    <li class="am-text-sm tpl-header-navbar-welcome">
-                        <a href="javascript:;">欢迎你, <span>Amaze UI</span> </a>
-                    </li>
-
-                    <!-- 新邮件 -->
-                    <li class="am-dropdown tpl-dropdown" data-am-dropdown>
-                        <a href="javascript:;" class="am-dropdown-toggle tpl-dropdown-toggle" data-am-dropdown-toggle>
-                            <i class="am-icon-envelope"></i>
-                            <span class="am-badge am-badge-success am-round item-feed-badge">4</span>
-                        </a>
-                        <!-- 弹出列表 -->
-                        <ul class="am-dropdown-content tpl-dropdown-content">
-                            <li class="tpl-dropdown-menu-messages">
-                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                    <div class="menu-messages-ico">
-                                        <img src="../img/user04.png" alt="">
-                                    </div>
-                                    <div class="menu-messages-time">
-                                        3小时前
-                                    </div>
-                                    <div class="menu-messages-content">
-                                        <div class="menu-messages-content-title">
-                                            <i class="am-icon-circle-o am-text-success"></i>
-                                            <span>夕风色</span>
-                                        </div>
-                                        <div class="am-text-truncate"> Amaze UI 的诞生,依托于 GitHub 及其他技术社区上一些优秀的资源;Amaze UI
-                                            的成长,则离不开用户的支持。
-                                        </div>
-                                        <div class="menu-messages-content-time">2016-09-21 下午 16:40</div>
-                                    </div>
-                                </a>
-                            </li>
-
-                            <li class="tpl-dropdown-menu-messages">
-                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                    <div class="menu-messages-ico">
-                                        <img src="../img/user02.png" alt="">
-                                    </div>
-                                    <div class="menu-messages-time">
-                                        5天前
-                                    </div>
-                                    <div class="menu-messages-content">
-                                        <div class="menu-messages-content-title">
-                                            <i class="am-icon-circle-o am-text-warning"></i>
-                                            <span>禁言小张</span>
-                                        </div>
-                                        <div class="am-text-truncate"> 为了能最准确的传达所描述的问题, 建议你在反馈时附上演示,方便我们理解。</div>
-                                        <div class="menu-messages-content-time">2016-09-16 上午 09:23</div>
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-messages">
-                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                    <i class="am-icon-circle-o"></i> 进入列表…
-                                </a>
-                            </li>
-                        </ul>
-                    </li>
-
-                    <!-- 新提示 -->
-                    <li class="am-dropdown" data-am-dropdown>
-                        <a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle>
-                            <i class="am-icon-bell"></i>
-                            <span class="am-badge am-badge-warning am-round item-feed-badge">5</span>
-                        </a>
-
-                        <!-- 弹出列表 -->
-                        <ul class="am-dropdown-content tpl-dropdown-content">
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <div class="tpl-dropdown-menu-notifications-title">
-                                        <i class="am-icon-line-chart"></i>
-                                        <span> 有6笔新的销售订单</span>
-                                    </div>
-                                    <div class="tpl-dropdown-menu-notifications-time">
-                                        12分钟前
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <div class="tpl-dropdown-menu-notifications-title">
-                                        <i class="am-icon-star"></i>
-                                        <span> 有3个来自人事部的消息</span>
-                                    </div>
-                                    <div class="tpl-dropdown-menu-notifications-time">
-                                        30分钟前
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <div class="tpl-dropdown-menu-notifications-title">
-                                        <i class="am-icon-folder-o"></i>
-                                        <span> 上午开会记录存档</span>
-                                    </div>
-                                    <div class="tpl-dropdown-menu-notifications-time">
-                                        1天前
-                                    </div>
-                                </a>
-                            </li>
-
-
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <i class="am-icon-bell"></i> 进入列表…
-                                </a>
-                            </li>
-                        </ul>
-                    </li>
-
-                    <!-- 退出 -->
-                    <li class="am-text-sm">
-                        <a href="javascript:;">
-                            <span class="am-icon-sign-out"></span> 退出
-                        </a>
-                    </li>
-                </ul>
-            </div>
-        </div>
-
-    </header>
-    <!-- 风格切换 -->
-    <div class="tpl-skiner">
-        <div class="tpl-skiner-toggle am-icon-cog">
-        </div>
-        <div class="tpl-skiner-content">
-            <div class="tpl-skiner-content-title">
-                选择主题
-            </div>
-            <div class="tpl-skiner-content-bar">
-                <span class="skiner-color skiner-white" data-color="theme-white"></span>
-                <span class="skiner-color skiner-black" data-color="theme-black"></span>
-            </div>
-        </div>
-    </div>
-    <!-- 侧边导航栏 -->
-    <div class="left-sidebar">
-        <!-- 用户信息 -->
-        <div class="tpl-sidebar-user-panel">
-            <div class="tpl-user-panel-slide-toggleable">
-                <div class="tpl-user-panel-profile-picture">
-                    <img src="../img/user04.png" alt="">
-                </div>
-                <span class="user-panel-logged-in-text"><i class="am-icon-circle-o am-text-success tpl-user-panel-status-icon"></i>
-                禁言小张
-                </span>
-                <a href="javascript:;" class="tpl-user-panel-action-link"> <span class="am-icon-pencil"></span> 账号设置</a>
-            </div>
-        </div>
-        <!-- 菜单 -->
-        <ul class="sidebar-nav">
-            <li class="sidebar-nav-heading">Components <span class="sidebar-nav-heading-info"> 附加组件</span></li>
-            <li class="sidebar-nav-link">
-                <a href="/">
-                    <i class="am-icon-home sidebar-nav-link-logo"></i> 首页
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/tables.html">
-                    <i class="am-icon-table sidebar-nav-link-logo"></i> 表格
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/calendar.html">
-                    <i class="am-icon-calendar sidebar-nav-link-logo"></i> 日历
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/form.html">
-                    <i class="am-icon-wpforms sidebar-nav-link-logo"></i> 表单
-
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/chart.html">
-                    <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 图表
-
-                </a>
-            </li>
-            <li class="sidebar-nav-heading">Page<span class="sidebar-nav-heading-info"> 常用页面</span></li>
-            <li class="sidebar-nav-link">
-                <a href="javascript:;" class="sidebar-nav-sub-title active">
-                    <i class="am-icon-table sidebar-nav-link-logo"></i> 数据列表
-                    <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico sidebar-nav-sub-ico-rotate"></span>
-                </a>
-                <ul class="sidebar-nav sidebar-nav-sub" style="display: block;">
-                    <li class="sidebar-nav-link">
-                        <a href="../html/table-list.html" class="sub-active">
-                            <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 文字列表
-                        </a>
-                    </li>
-                    <li class="sidebar-nav-link">
-                        <a href="../html/table-list-img.html">
-                            <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 图文列表
-                        </a>
-                    </li>
-                </ul>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="/signup">
-                    <i class="am-icon-clone sidebar-nav-link-logo"></i> 注册
-                    <span class="am-badge am-badge-secondary sidebar-nav-link-logo-ico am-round am-fr am-margin-right-sm">6</span>
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="/login">
-                    <i class="am-icon-key sidebar-nav-link-logo"></i> 登录
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="/page404">
-                    <i class="am-icon-tv sidebar-nav-link-logo"></i> 404错误
-                </a>
-            </li>
-        </ul>
-    </div>
-    <!-- 内容区域 -->
-    <div class="tpl-content-wrapper">
-        <div class="row-content am-cf">
-            <div class="row">
-                <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
-                    <div class="widget am-cf">
-                        <div class="widget-head am-cf">
-                            <div class="widget-title  am-cf">文章列表</div>
-
-
-                        </div>
-                        <div class="widget-body  am-fr">
-
-                            <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
-                                <div class="am-form-group">
-                                    <div class="am-btn-toolbar">
-                                        <div class="am-btn-group am-btn-group-xs">
-                                            <button type="button" class="am-btn am-btn-default am-btn-success"><span
-                                                    class="am-icon-plus"></span> 新增
-                                            </button>
-                                            <button type="button" class="am-btn am-btn-default am-btn-secondary"><span
-                                                    class="am-icon-save"></span> 保存
-                                            </button>
-                                            <button type="button" class="am-btn am-btn-default am-btn-warning"><span
-                                                    class="am-icon-archive"></span> 审核
-                                            </button>
-                                            <button type="button" class="am-btn am-btn-default am-btn-danger"><span
-                                                    class="am-icon-trash-o"></span> 删除
-                                            </button>
-                                        </div>
-                                    </div>
-                                </div>
-                            </div>
-                            <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
-                                <div class="am-form-group tpl-table-list-select">
-                                    <select data-am-selected="{btnSize: 'sm'}">
-                                        <option value="option1">所有类别</option>
-                                        <option value="option2">IT业界</option>
-                                        <option value="option3">数码产品</option>
-                                        <option value="option3">笔记本电脑</option>
-                                        <option value="option3">平板电脑</option>
-                                        <option value="option3">只能手机</option>
-                                        <option value="option3">超极本</option>
-                                    </select>
-                                </div>
-                            </div>
-                            <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
-                                <div class="am-input-group am-input-group-sm tpl-form-border-form cl-p">
-                                    <input type="text" class="am-form-field ">
-                                    <span class="am-input-group-btn">
-            <button class="am-btn  am-btn-default am-btn-success tpl-table-list-field am-icon-search"
-                    type="button"></button>
-          </span>
-                                </div>
-                            </div>
-
-                            <div class="am-u-sm-12">
-                                <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black "
-                                       id="example-r">
-                                    <thead>
-                                    <tr>
-                                        <th>文章标题</th>
-                                        <th>作者</th>
-                                        <th>时间</th>
-                                        <th>操作</th>
-                                    </tr>
-                                    </thead>
-                                    <tbody>
-                                    <tr class="gradeX">
-                                        <td>Amaze UI 模式窗口</td>
-                                        <td>张鹏飞</td>
-                                        <td>2016-09-26</td>
-                                        <td>
-                                            <div class="tpl-table-black-operation">
-                                                <a href="javascript:;">
-                                                    <i class="am-icon-pencil"></i> 编辑
-                                                </a>
-                                                <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                    <i class="am-icon-trash"></i> 删除
-                                                </a>
-                                            </div>
-                                        </td>
-                                    </tr>
-                                    <tr class="even gradeC">
-                                        <td>有适配微信小程序的计划吗</td>
-                                        <td>天纵之人</td>
-                                        <td>2016-09-26</td>
-                                        <td>
-                                            <div class="tpl-table-black-operation">
-                                                <a href="javascript:;">
-                                                    <i class="am-icon-pencil"></i> 编辑
-                                                </a>
-                                                <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                    <i class="am-icon-trash"></i> 删除
-                                                </a>
-                                            </div>
-                                        </td>
-                                    </tr>
-                                    <tr class="gradeX">
-                                        <td>请问有没有amazeui 分享插件</td>
-                                        <td>王宽师</td>
-                                        <td>2016-09-26</td>
-                                        <td>
-                                            <div class="tpl-table-black-operation">
-                                                <a href="javascript:;">
-                                                    <i class="am-icon-pencil"></i> 编辑
-                                                </a>
-                                                <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                    <i class="am-icon-trash"></i> 删除
-                                                </a>
-                                            </div>
-                                        </td>
-                                    </tr>
-                                    <tr class="even gradeC">
-                                        <td>关于input输入框的问题</td>
-                                        <td>着迷</td>
-                                        <td>2016-09-26</td>
-                                        <td>
-                                            <div class="tpl-table-black-operation">
-                                                <a href="javascript:;">
-                                                    <i class="am-icon-pencil"></i> 编辑
-                                                </a>
-                                                <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                    <i class="am-icon-trash"></i> 删除
-                                                </a>
-                                            </div>
-                                        </td>
-                                    </tr>
-                                    <tr class="even gradeC">
-                                        <td>有没有发现官网上的下载包不好用</td>
-                                        <td>醉里挑灯看键</td>
-                                        <td>2016-09-26</td>
-                                        <td>
-                                            <div class="tpl-table-black-operation">
-                                                <a href="javascript:;">
-                                                    <i class="am-icon-pencil"></i> 编辑
-                                                </a>
-                                                <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                    <i class="am-icon-trash"></i> 删除
-                                                </a>
-                                            </div>
-                                        </td>
-                                    </tr>
-
-                                    <tr class="even gradeC">
-                                        <td>我建议WEB版本文件引入问题</td>
-                                        <td>罢了</td>
-                                        <td>2016-09-26</td>
-                                        <td>
-                                            <div class="tpl-table-black-operation">
-                                                <a href="javascript:;">
-                                                    <i class="am-icon-pencil"></i> 编辑
-                                                </a>
-                                                <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                    <i class="am-icon-trash"></i> 删除
-                                                </a>
-                                            </div>
-                                        </td>
-                                    </tr>
-                                    <!-- more data -->
-                                    </tbody>
-                                </table>
-                            </div>
-                            <div class="am-u-lg-12 am-cf">
-
-                                <div class="am-fr">
-                                    <ul class="am-pagination tpl-pagination">
-                                        <li class="am-disabled"><a href="#">«</a></li>
-                                        <li class="am-active"><a href="#">1</a></li>
-                                        <li><a href="#">2</a></li>
-                                        <li><a href="#">3</a></li>
-                                        <li><a href="#">4</a></li>
-                                        <li><a href="#">5</a></li>
-                                        <li><a href="#">»</a></li>
-                                    </ul>
-                                </div>
-                            </div>
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-    </div>
-</div>
-</div>
-<script src="../js/amazeui.min.js"></script>
-<script src="../js/amazeui.datatables.min.js"></script>
-<script src="../js/dataTables.responsive.min.js"></script>
-<script src="../js/app.js"></script>
-
-</body>
-
-</html>

+ 0 - 834
Day61-65/code/project_of_tornado/assets/html/tables.html

@@ -1,834 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
-    <title>Amaze UI Admin index Examples</title>
-    <meta name="description" content="这是一个 index 页面">
-    <meta name="keywords" content="index">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <meta name="renderer" content="webkit">
-    <meta http-equiv="Cache-Control" content="no-siteapp">
-    <link rel="icon" type="image/png" href="../i/favicon.png">
-    <link rel="apple-touch-icon-precomposed" href="../i/app-icon72x72@2x.png">
-    <meta name="apple-mobile-web-app-title" content="Amaze UI">
-    <script src="../js/echarts.min.js"></script>
-    <link rel="stylesheet" href="../css/amazeui.min.css">
-    <link rel="stylesheet" href="../css/amazeui.datatables.min.css">
-    <link rel="stylesheet" href="../css/app.css">
-    <script src="../js/jquery.min.js"></script>
-</head>
-<body data-type="widgets">
-<script src="../js/theme.js"></script>
-<div class="am-g tpl-g">
-    <!-- 头部 -->
-    <header>
-        <!-- logo -->
-        <div class="am-fl tpl-header-logo">
-            <a href="javascript:;"><img src="../img/logo.png" alt=""></a>
-        </div>
-        <!-- 右侧内容 -->
-        <div class="tpl-header-fluid">
-            <!-- 侧边切换 -->
-            <div class="am-fl tpl-header-switch-button am-icon-list">
-                    <span>
-
-                </span>
-            </div>
-            <!-- 搜索 -->
-            <div class="am-fl tpl-header-search">
-                <form class="tpl-header-search-form" action="javascript:;">
-                    <button class="tpl-header-search-btn am-icon-search"></button>
-                    <input class="tpl-header-search-box" type="text" placeholder="搜索内容...">
-                </form>
-            </div>
-            <!-- 其它功能-->
-            <div class="am-fr tpl-header-navbar">
-                <ul>
-                    <!-- 欢迎语 -->
-                    <li class="am-text-sm tpl-header-navbar-welcome">
-                        <a href="javascript:;">欢迎你, <span>Amaze UI</span> </a>
-                    </li>
-                    <!-- 新邮件 -->
-                    <li class="am-dropdown tpl-dropdown" data-am-dropdown>
-                        <a href="javascript:;" class="am-dropdown-toggle tpl-dropdown-toggle" data-am-dropdown-toggle>
-                            <i class="am-icon-envelope"></i>
-                            <span class="am-badge am-badge-success am-round item-feed-badge">4</span>
-                        </a>
-                        <!-- 弹出列表 -->
-                        <ul class="am-dropdown-content tpl-dropdown-content">
-                            <li class="tpl-dropdown-menu-messages">
-                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                    <div class="menu-messages-ico">
-                                        <img src="../img/user04.png" alt="">
-                                    </div>
-                                    <div class="menu-messages-time">
-                                        3小时前
-                                    </div>
-                                    <div class="menu-messages-content">
-                                        <div class="menu-messages-content-title">
-                                            <i class="am-icon-circle-o am-text-success"></i>
-                                            <span>夕风色</span>
-                                        </div>
-                                        <div class="am-text-truncate"> Amaze UI 的诞生,依托于 GitHub 及其他技术社区上一些优秀的资源;Amaze UI
-                                            的成长,则离不开用户的支持。
-                                        </div>
-                                        <div class="menu-messages-content-time">2016-09-21 下午 16:40</div>
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-messages">
-                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                    <div class="menu-messages-ico">
-                                        <img src="../img/user02.png" alt="">
-                                    </div>
-                                    <div class="menu-messages-time">
-                                        5天前
-                                    </div>
-                                    <div class="menu-messages-content">
-                                        <div class="menu-messages-content-title">
-                                            <i class="am-icon-circle-o am-text-warning"></i>
-                                            <span>禁言小张</span>
-                                        </div>
-                                        <div class="am-text-truncate"> 为了能最准确的传达所描述的问题, 建议你在反馈时附上演示,方便我们理解。</div>
-                                        <div class="menu-messages-content-time">2016-09-16 上午 09:23</div>
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-messages">
-                                <a href="javascript:;" class="tpl-dropdown-menu-messages-item am-cf">
-                                    <i class="am-icon-circle-o"></i> 进入列表…
-                                </a>
-                            </li>
-                        </ul>
-                    </li>
-
-                    <!-- 新提示 -->
-                    <li class="am-dropdown" data-am-dropdown>
-                        <a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle>
-                            <i class="am-icon-bell"></i>
-                            <span class="am-badge am-badge-warning am-round item-feed-badge">5</span>
-                        </a>
-
-                        <!-- 弹出列表 -->
-                        <ul class="am-dropdown-content tpl-dropdown-content">
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <div class="tpl-dropdown-menu-notifications-title">
-                                        <i class="am-icon-line-chart"></i>
-                                        <span> 有6笔新的销售订单</span>
-                                    </div>
-                                    <div class="tpl-dropdown-menu-notifications-time">
-                                        12分钟前
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <div class="tpl-dropdown-menu-notifications-title">
-                                        <i class="am-icon-star"></i>
-                                        <span> 有3个来自人事部的消息</span>
-                                    </div>
-                                    <div class="tpl-dropdown-menu-notifications-time">
-                                        30分钟前
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <div class="tpl-dropdown-menu-notifications-title">
-                                        <i class="am-icon-folder-o"></i>
-                                        <span> 上午开会记录存档</span>
-                                    </div>
-                                    <div class="tpl-dropdown-menu-notifications-time">
-                                        1天前
-                                    </div>
-                                </a>
-                            </li>
-                            <li class="tpl-dropdown-menu-notifications">
-                                <a href="javascript:;" class="tpl-dropdown-menu-notifications-item am-cf">
-                                    <i class="am-icon-bell"></i> 进入列表…
-                                </a>
-                            </li>
-                        </ul>
-                    </li>
-
-                    <!-- 退出 -->
-                    <li class="am-text-sm">
-                        <a href="javascript:;">
-                            <span class="am-icon-sign-out"></span> 退出
-                        </a>
-                    </li>
-                </ul>
-            </div>
-        </div>
-
-    </header>
-    <!-- 风格切换 -->
-    <div class="tpl-skiner">
-        <div class="tpl-skiner-toggle am-icon-cog">
-        </div>
-        <div class="tpl-skiner-content">
-            <div class="tpl-skiner-content-title">
-                选择主题
-            </div>
-            <div class="tpl-skiner-content-bar">
-                <span class="skiner-color skiner-white" data-color="theme-white"></span>
-                <span class="skiner-color skiner-black" data-color="theme-black"></span>
-            </div>
-        </div>
-    </div>
-    <!-- 侧边导航栏 -->
-    <div class="left-sidebar">
-        <!-- 用户信息 -->
-        <div class="tpl-sidebar-user-panel">
-            <div class="tpl-user-panel-slide-toggleable">
-                <div class="tpl-user-panel-profile-picture">
-                    <img src="../img/user04.png" alt="">
-                </div>
-                <span class="user-panel-logged-in-text">
-              <i class="am-icon-circle-o am-text-success tpl-user-panel-status-icon"></i>
-              禁言小张
-          </span>
-                <a href="javascript:;" class="tpl-user-panel-action-link"> <span class="am-icon-pencil"></span> 账号设置</a>
-            </div>
-        </div>
-        <!-- 菜单 -->
-        <ul class="sidebar-nav">
-            <li class="sidebar-nav-heading">Components <span class="sidebar-nav-heading-info"> 附加组件</span></li>
-            <li class="sidebar-nav-link">
-                <a href="/">
-                    <i class="am-icon-home sidebar-nav-link-logo"></i> 首页
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/tables.html" class="active">
-                    <i class="am-icon-table sidebar-nav-link-logo"></i> 表格
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/calendar.html">
-                    <i class="am-icon-calendar sidebar-nav-link-logo"></i> 日历
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/form.html">
-                    <i class="am-icon-wpforms sidebar-nav-link-logo"></i> 表单
-
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="../html/chart.html">
-                    <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 图表
-
-                </a>
-            </li>
-
-            <li class="sidebar-nav-heading">Page<span class="sidebar-nav-heading-info"> 常用页面</span></li>
-            <li class="sidebar-nav-link">
-                <a href="javascript:;" class="sidebar-nav-sub-title">
-                    <i class="am-icon-table sidebar-nav-link-logo"></i> 数据列表
-                    <span class="am-icon-chevron-down am-fr am-margin-right-sm sidebar-nav-sub-ico"></span>
-                </a>
-                <ul class="sidebar-nav sidebar-nav-sub">
-                    <li class="sidebar-nav-link">
-                        <a href="../html/table-list.html">
-                            <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 文字列表
-                        </a>
-                    </li>
-
-                    <li class="sidebar-nav-link">
-                        <a href="../html/table-list-img.html">
-                            <span class="am-icon-angle-right sidebar-nav-link-logo"></span> 图文列表
-                        </a>
-                    </li>
-                </ul>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="/signup">
-                    <i class="am-icon-clone sidebar-nav-link-logo"></i> 注册
-                    <span class="am-badge am-badge-secondary sidebar-nav-link-logo-ico am-round am-fr am-margin-right-sm">6</span>
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="/login">
-                    <i class="am-icon-key sidebar-nav-link-logo"></i> 登录
-                </a>
-            </li>
-            <li class="sidebar-nav-link">
-                <a href="/page404">
-                    <i class="am-icon-tv sidebar-nav-link-logo"></i> 404错误
-                </a>
-            </li>
-
-        </ul>
-    </div>
-    <!-- 内容区域 -->
-    <div class="tpl-content-wrapper">
-        <div class="container-fluid am-cf">
-            <div class="row">
-                <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
-                    <div class="page-header-heading"><span class="am-icon-home page-header-heading-icon"></span> 表格
-                        <small>Amaze UI</small>
-                    </div>
-                    <p class="page-header-description">Amaze UI 有许多不同的表格可用。</p>
-                </div>
-                <div class="am-u-lg-3 tpl-index-settings-button">
-                    <button type="button" class="page-header-button"><span class="am-icon-paint-brush"></span> 设置
-                    </button>
-                </div>
-            </div>
-        </div>
-        <div class="row-content am-cf">
-            <div class="row">
-                <div class="am-u-sm-12 am-u-md-12 am-u-lg-6">
-                    <div class="widget am-cf">
-                        <div class="widget-head am-cf">
-                            <div class="widget-title am-fl">滚动条表格</div>
-                            <div class="widget-function am-fr">
-                                <a href="javascript:;" class="am-icon-cog"></a>
-                            </div>
-                        </div>
-                        <div class="widget-body  widget-body-lg am-fr">
-                            <div class="am-scrollable-horizontal ">
-                                <table width="100%" class="am-table am-table-compact am-text-nowrap tpl-table-black "
-                                       id="example-r">
-                                    <thead>
-                                    <tr>
-                                        <th>工号</th>
-                                        <th>姓名</th>
-                                        <th>职位</th>
-                                        <th>月薪</th>
-                                        <th>自我介绍</th>
-                                    </tr>
-                                    </thead>
-                                    <tbody id="emp-data-row">
-                                    <tr v-for="emp in emps">
-                                        <td>{{ emp.no }}</td>
-                                        <td>{{ emp.name }}</td>
-                                        <td>{{ emp.job }}</td>
-                                        <td>{{ emp.sal }}</td>
-                                        <td>{{ emp.intro }}</td>
-                                        <td>
-                                            <div class="tpl-table-black-operation">
-                                                <a href="javascript:;">
-                                                    <i class="am-icon-pencil"></i> 编辑
-                                                </a>
-                                                <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                    <i class="am-icon-trash"></i> 删除
-                                                </a>
-                                            </div>
-                                        </td>
-                                    </tr>
-                                    </tbody>
-                                </table>
-                            </div>
-
-                        </div>
-                    </div>
-                </div>
-
-                <div class="am-u-sm-12 am-u-md-12 am-u-lg-6">
-                    <div class="widget am-cf">
-                        <div class="widget-head am-cf">
-                            <div class="widget-title am-fl">自适应表格</div>
-                            <div class="widget-function am-fr">
-                                <a href="javascript:;" class="am-icon-cog"></a>
-                            </div>
-                        </div>
-                        <div class="widget-body  widget-body-lg am-fr">
-                            <table width="100%" class="am-table am-table-compact tpl-table-black " id="example-r">
-                                <thead>
-                                <tr>
-                                    <th>文章标题</th>
-                                    <th>作者</th>
-                                    <th>时间</th>
-                                    <th>操作</th>
-                                </tr>
-                                </thead>
-                                <tbody>
-                                <tr class="gradeX">
-                                    <td>Amaze UI 模式窗口</td>
-                                    <td>张鹏飞</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>有适配微信小程序的计划吗</td>
-                                    <td>天纵之人</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="gradeX">
-                                    <td>请问有没有amazeui 分享插件</td>
-                                    <td>王宽师</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>关于input输入框的问题</td>
-                                    <td>着迷</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>有没有发现官网上的下载包不好用</td>
-                                    <td>醉里挑灯看键</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-
-                                <tr class="even gradeC">
-                                    <td>我建议WEB版本文件引入问题</td>
-                                    <td>罢了</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                </tbody>
-                            </table>
-                        </div>
-                    </div>
-                </div>
-            </div>
-
-            <div class="row">
-                <div class="am-u-sm-12 am-u-md-12 am-u-lg-6">
-                    <div class="widget am-cf">
-                        <div class="widget-head am-cf">
-                            <div class="widget-title am-fl">基本边框</div>
-                            <div class="widget-function am-fr">
-                                <a href="javascript:;" class="am-icon-cog"></a>
-                            </div>
-                        </div>
-                        <div class="widget-body  widget-body-lg am-fr">
-
-                            <table width="100%" class="am-table am-table-compact am-table-bordered tpl-table-black "
-                                   id="example-r">
-                                <thead>
-                                <tr>
-                                    <th>文章标题</th>
-                                    <th>作者</th>
-                                    <th>时间</th>
-                                    <th>操作</th>
-                                </tr>
-                                </thead>
-                                <tbody>
-                                <tr class="gradeX">
-                                    <td>Amaze UI 模式窗口</td>
-                                    <td>张鹏飞</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>有适配微信小程序的计划吗</td>
-                                    <td>天纵之人</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="gradeX">
-                                    <td>请问有没有amazeui 分享插件</td>
-                                    <td>王宽师</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>关于input输入框的问题</td>
-                                    <td>着迷</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>有没有发现官网上的下载包不好用</td>
-                                    <td>醉里挑灯看键</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-
-                                <tr class="even gradeC">
-                                    <td>我建议WEB版本文件引入问题</td>
-                                    <td>罢了</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <!-- more data -->
-                                </tbody>
-                            </table>
-
-                        </div>
-                    </div>
-                </div>
-
-                <div class="am-u-sm-12 am-u-md-12 am-u-lg-6">
-                    <div class="widget am-cf">
-                        <div class="widget-head am-cf">
-                            <div class="widget-title am-fl">圆角斑马线边框</div>
-                            <div class="widget-function am-fr">
-                                <a href="javascript:;" class="am-icon-cog"></a>
-                            </div>
-                        </div>
-                        <div class="widget-body  widget-body-lg am-fr">
-
-                            <table width="100%"
-                                   class="am-table am-table-compact am-table-bordered am-table-radius am-table-striped tpl-table-black "
-                                   id="example-r">
-                                <thead>
-                                <tr>
-                                    <th>文章标题</th>
-                                    <th>作者</th>
-                                    <th>时间</th>
-                                    <th>操作</th>
-                                </tr>
-                                </thead>
-                                <tbody>
-                                <tr class="gradeX">
-                                    <td>Amaze UI 模式窗口</td>
-                                    <td>张鹏飞</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>有适配微信小程序的计划吗</td>
-                                    <td>天纵之人</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="gradeX">
-                                    <td>请问有没有amazeui 分享插件</td>
-                                    <td>王宽师</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>关于input输入框的问题</td>
-                                    <td>着迷</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>有没有发现官网上的下载包不好用</td>
-                                    <td>醉里挑灯看键</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-
-                                <tr class="even gradeC">
-                                    <td>我建议WEB版本文件引入问题</td>
-                                    <td>罢了</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <!-- more data -->
-                                </tbody>
-                            </table>
-
-                        </div>
-                    </div>
-                </div>
-            </div>
-
-            <div class="row">
-                <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
-                    <div class="widget am-cf">
-                        <div class="widget-head am-cf">
-                            <div class="widget-title am-fl">斑马线</div>
-                            <div class="widget-function am-fr">
-                                <a href="javascript:;" class="am-icon-cog"></a>
-                            </div>
-                        </div>
-                        <div class="widget-body  widget-body-lg am-fr">
-
-                            <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black "
-                                   id="example-r">
-                                <thead>
-                                <tr>
-                                    <th>文章标题</th>
-                                    <th>作者</th>
-                                    <th>时间</th>
-                                    <th>操作</th>
-                                </tr>
-                                </thead>
-                                <tbody>
-                                <tr class="gradeX">
-                                    <td>Amaze UI 模式窗口</td>
-                                    <td>张鹏飞</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>有适配微信小程序的计划吗</td>
-                                    <td>天纵之人</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="gradeX">
-                                    <td>请问有没有amazeui 分享插件</td>
-                                    <td>王宽师</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>关于input输入框的问题</td>
-                                    <td>着迷</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <tr class="even gradeC">
-                                    <td>有没有发现官网上的下载包不好用</td>
-                                    <td>醉里挑灯看键</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-
-                                <tr class="even gradeC">
-                                    <td>我建议WEB版本文件引入问题</td>
-                                    <td>罢了</td>
-                                    <td>2016-09-26</td>
-                                    <td>
-                                        <div class="tpl-table-black-operation">
-                                            <a href="javascript:;">
-                                                <i class="am-icon-pencil"></i> 编辑
-                                            </a>
-                                            <a href="javascript:;" class="tpl-table-black-operation-del">
-                                                <i class="am-icon-trash"></i> 删除
-                                            </a>
-                                        </div>
-                                    </td>
-                                </tr>
-                                <!-- more data -->
-                                </tbody>
-                            </table>
-
-                        </div>
-                    </div>
-                </div>
-            </div>
-        </div>
-    </div>
-</div>
-</div>
-<script src="../js/amazeui.min.js"></script>
-<script src="../js/amazeui.datatables.min.js"></script>
-<script src="../js/dataTables.responsive.min.js"></script>
-<script src="../js/app.js"></script>
-<script src="https://cdn.bootcss.com/vue/2.6.9/vue.min.js"></script>
-<script>
-    fetch('/api/emps')
-        .then(resp => resp.json())
-        .then(function(data) {
-            var app = new Vue({
-                'el': '#emp-data-row',
-                data: {
-                    emps: data
-                }
-            });
-        });
-</script>
-</body>
-</html>

BIN
Day61-65/code/project_of_tornado/assets/i/app-icon72x72@2x.png


BIN
Day61-65/code/project_of_tornado/assets/i/examples/admin-chrome.png


BIN
Day61-65/code/project_of_tornado/assets/i/examples/admin-firefox.png


BIN
Day61-65/code/project_of_tornado/assets/i/examples/admin-ie.png


BIN
Day61-65/code/project_of_tornado/assets/i/examples/admin-opera.png


BIN
Day61-65/code/project_of_tornado/assets/i/examples/admin-safari.png


BIN
Day61-65/code/project_of_tornado/assets/i/examples/adminPage.png


BIN
Day61-65/code/project_of_tornado/assets/i/examples/blogPage.png


Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików