|
29 | 29 | 'lib/font-awesome/css/font-awesome.min.css' |
30 | 30 | 'lib/wangEditor/dist/css/wangEditor.min.css' |
31 | 31 | 'lib/nprogress/nprogress.css' |
32 | | - 'lib-man/bootoast/css/bootoast.css' |
33 | | - 'lib-man/live2d/css/live2d.css' |
34 | | - 'lib-man/who/jquery.atwho.min.css' |
35 | 32 | 'css/common.css' |
36 | 33 | filter='cssrewrite' %} |
37 | 34 | <link rel="stylesheet" href="{{ asset_url }}"/> |
| 35 | + |
| 36 | + <link rel="stylesheet" href="https://static.yeskn.com/live2d/css/live2d.css"> |
| 37 | + <link rel="stylesheet" href="https://static.yeskn.com/jquery-atwho/jquery.atwho.min.css"> |
| 38 | + <link rel="stylesheet" href="https://static.yeskn.com/bootoast/css/bootoast.css"> |
38 | 39 | {% endstylesheets %} |
39 | 40 | {% endblock %} |
40 | 41 |
|
|
44 | 45 | filter='uglifyjs2' %} |
45 | 46 | <script src="{{ asset_url }}"></script> |
46 | 47 | {% endjavascripts %} |
| 48 | + |
47 | 49 | <!--[if lt IE 9]> |
48 | 50 | <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> |
49 | 51 | <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> |
|
130 | 132 |
|
131 | 133 | {% if app.request.get('_pjax') is empty %} |
132 | 134 | {% block footer %} |
133 | | - <footer> |
134 | | - <div class="container"> |
135 | | - <div class="brand"> |
136 | | - <b><a data-pjax href="{{ path('about') }}">{{ 'about.vmoex'|trans }}</a></b> |
137 | | - <span class="snow">·</span> |
138 | | - <b><a data-pjax href="{{ path('yeskn_web_default_contribute') }}">{{ '支持我们'|trans }}</a></b> |
139 | | - <span class="snow">·</span> |
140 | | - <b><a data-pjax href="{{ path('buy_beer') }}">{{ 'buy_beer'|trans }} 。◕‿◕。</a></b> |
141 | | - </div> |
142 | | - |
143 | | - <br> |
144 | | - |
145 | | - <div class="language-box"> |
146 | | - <span style="display: inline-block;margin-right: 10px">{{ 'vmoex_available_with'|trans }}</span> |
147 | | - |
148 | | - <img class="footer-flag" src="{{ asset('img/flags/zh_CN.png') }}" alt="zh_CN"> |
149 | | - <a data-pjax href="javascript:" class="set-locale-link" data-locale="zh_CN">{{ 'chinese'|trans }}</a> |
150 | | - <span class="snow">·</span> |
151 | | - <img class="footer-flag" src="{{ asset('img/flags/en.png') }}" alt="en"> |
152 | | - <a href="javascript:" class="set-locale-link" data-locale="en">{{ 'english'|trans }}</a> |
153 | | - <span class="snow">·</span> |
154 | | - <img class="footer-flag" src="{{ asset('img/flags/zh_TW.png') }}" alt="zh_TW"> |
155 | | - <a href="javascript:" class="set-locale-link" data-locale="zh_TW">{{ 'chinese.tw'|trans }}</a> |
156 | | - <span class="snow">·</span> |
157 | | - <img class="footer-flag" src="{{ asset('img/flags/jp.png') }}" alt="jp"> |
158 | | - <a href="javascript:" class="set-locale-link" data-locale="jp">{{ 'japanese'|trans }}</a> |
159 | | - </div> |
160 | | - |
161 | | - {% set siteState = siteState() %} |
162 | | - <p style="margin: 20px 5px">{{ '当前在线count人'|trans({count:siteState.onlineUserCount}) }},{{ '历史最高'|trans }} 393</p> |
163 | | - <p class="copy">© 2018 Vmoex - {{ 'vmoex_slogan'|trans }}</p> |
164 | | - <p class="power">Designed with <span>❤</span> 彩虹の恋しい at Shanghai, China</p> |
165 | | - </div> |
166 | | - </footer> |
| 135 | + {% include '@YesknWeb/footer.html.twig' %} |
167 | 136 | {% endblock %} |
168 | 137 |
|
169 | | - {% include '@YesknWeb/landlord.html.twig' %} |
170 | | - |
171 | 138 | {% block foot_js_link %} |
172 | 139 | <script type="text/javascript"> |
173 | 140 | $(function () { |
|
179 | 146 | 'lib/bootstrap/dist/js/bootstrap.min.js' |
180 | 147 | 'lib/nprogress/nprogress.js' |
181 | 148 | 'lib/jquery-pjax/jquery.pjax.js' |
182 | | - 'lib-man/weditor/editor.js' |
183 | | - 'lib-man/bootoast/js/bootoast.js' |
184 | | - 'lib-man/who/jquery.atwho.min.js' |
185 | | - 'lib-man/live2d/js/live2d.js' |
186 | | - 'lib-man/live2d/js/message.js' |
187 | 149 | 'assets-private/js/functions.js' |
188 | 150 | 'assets-private/js/event.js' |
189 | 151 | 'assets-private/js/socket.js' |
190 | 152 | 'assets-private/js/pjax.js' |
191 | 153 | 'assets-private/js/common.js' |
192 | 154 | filter='uglifyjs2' %} |
193 | | - <script src="{{ asset_url }}"></script> |
194 | | - |
195 | | - <script src="https://cdn.bootcss.com/socket.io/1.3.7/socket.io.min.js"></script> |
| 155 | + <script src="{{ asset_url }}"></script> |
| 156 | + <script src="https://static.yeskn.com/weditor/editor.js"></script> |
| 157 | + <script src="https://static.yeskn.com/live2d/js/live2d.js"></script> |
| 158 | + <script src="https://static.yeskn.com/live2d/js/message.js"></script> |
| 159 | + <script src="https://static.yeskn.com/bootoast/js/bootoast.js"></script> |
| 160 | + <script src="https://static.yeskn.com/jquery-atwho/jquery.atwho.min.js"></script> |
| 161 | + <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> |
| 162 | + <script src="https://cdn.bootcss.com/socket.io/1.3.7/socket.io.min.js"></script> |
196 | 163 | {% endjavascripts %} |
197 | 164 | {% endblock %} |
198 | 165 | {% endif %} |
199 | | -<!-- Page rendered on {{ 'now'|localizeddate('long', 'long', null, 'UTC') }} --> |
200 | 166 | </body> |
201 | 167 | </html> |
0 commit comments