Show All comments{% for Foo in ques.comments%}
All comments SortedUquestion = db.relationship (' Question ', backref=db.backref (' comments ', order_by=creat_time.desc))
Show number of comment bars{{Ques.comments|length}}
Complete the Personal center
1. Personal Center page layout (HTML files and corresponding style files)2. Define the View function Def usercenter (user_id):3. Passing param
Show All comments{% for Foo in ques.comments%}
All comments SortedUquestion = db.relationship (' Question ', backref=db.backref (' comments ', order_by=creat_time.desc))
Show number of comment bars{{Ques.comments|length}}
Complete the Personal center
1. Personal Center page layout (HTML files and corresponding style files)Divclass= "List-container"> Divclass= "Wenda"> H3>{#spancla
Show All comments{% for Foo in ques.comments%}
All comments SortedUquestion = db.relationship (' Question ', backref=db.backref (' comments ', order_by=creat_time.desc))
Show number of comment bars{{Ques.comments|length}}h4>Comment: ({{ques.comments|length}})h4> ulclass= "list-unstyled">{% for Foo in ques.comments%}Liclass= "List-group-item"> ahref= "{{url_for (' usercenter ', User_id=foo.author.id)}}">{{Foo.author.username}}a> spanclass= "badge
css| Page | question
1, div center body {Text-align:center}
div {margin-right:auto; margin-left:auto;}
Description
For IE, the parent element defines "text-align:center;" It's okay.
For other browsers, such as FF, only this is not centered, you need to define "Margin-right:auto" in the child elements; Margin-left:auto; ".
2, the background center body {background:url (#) #fff No-repeat
Cause of failure: Catalyst Control Centre is the control panel of the AMD graphics driver and is not started properly due to some errors.
Win7 system boot prompt Catalyst Control Center has stopped working what to do
1. If you do not use the control Panel of the AMD graphics card, uninstall the Catalyst Control Center in the Control Panel-programs and features and then power on without the Catalyst Contro
generated automatically after recompilation.Here the picture is ready ...2. Modify Kernel configuration options(1) Device Drivers--->Graphics Support--->[*] Boot Logo--->[*] Standard 224-color Linux logoSupport Kernel logo(2) Device Drivers--->Graphics Support--->Console Display Driver Support--->The item cannot be displayed on the screen without selecting it.Re-compiling the source code is the replacement of the logo, but not the center full-screen
Spring Cloud Config (configuration center)Hello everyone, have not written a technical blog for some time. Because of the work, it is difficult to allocate time. In recent years, with the rise of service, a number of services have emerged as a framework, such as Dubbo,thrift,spring-cloud. There are a lot of companies using Dubbo in China, Dubbo is also a prerequisite for Java programmers to interview, and its official documentation is very clear and u
1. Introduction The highly available distributed configuration Center, which is a microservices-ready configuration Center, is clustered to achieve high availability. Config-server and Config-client register with Eureka-server and Config-server multi-instance clustering deployment2. Retrofit Config-server1, we use the previously created Eureka-server project as a registry, port 87612, we will Config-server
Reference: In a distributed environment such as the microservices architecture, each component needs to be highly available for deployment.Eureka Server High Availability is actually registering itself as a service to other service registries, thus forming a set of mutually registered service registries to synchronize the service inventory to achieve a high availability effect.Building a two-node service registry cluster to Build a node service registry cluster:1. Create the application-peer1.p
Windows Media Center has launched the "Internet video" feature, which allows us to watch a massive video program without the help of a Third-party network TV tool (note: This feature supports the WIN7 system and does not support the Home normal edition).
The first step: in the Control Panel, select Clock, language, and area → change display language to open the Regional and Language dialog box, and in the Format and Location tabs, select Format and c
Before introducing how to turn off the Sync Center of the Win7 system, let's take a look at exactly what Sync Center is. In fact, Sync Center is a function of the Win7 system, it can help us to the computer system files backup, and quite humanized design is, we only use once, this function in the future operation will automatically start, to help us better protec
2018.6.19 received a new customer to reflect their own website was hacked, the homepage of the site was xxx tampered with, the site home was added some content with the site does not match the code, resulting in Baidu website Security Center reminds you: the page may exist XXX virus! The website in Baidu's collection and the snapshot also was hijacked into what World Cup betting, as well as xxx,xxx and so on content, according to the above customer to
1, in Metro or traditional desktop, press the keyboard "win+x" combination hotkey to bring up the shortcut menu, use the left mouse button click "Mobile Center (B)". As shown in the following illustration:
2, to ensure that the external monitor is connected to the host, and the external monitor power supply has been turned on. Under the Windows Mobility Center interface, click the Connect Monit
The CSS UL Li Center originally thought very easy to realize, because the usual is to let Li Float:left, so that the back can line up, the center did not do the request, but recently engaged in a project, must let the UI of each Li are centered, this can make me difficult, did not think that I was hard to break, But I solved it. The following method:
My method is mainly to use Li's floating fixed width to
Excel2010 for Table Custom Center radiation Fill background Method
Operation Steps
1. First open an original worksheet, select the cell that contains the entire table, click the Start tab, click the Format option group in the cells area, and then select Format Cells in the Drop-down menu that pops up.
Excel2010
2. Click the Fill tab in the Pop-up dialog box, and then click the Fill Effect option in the middle area.
Excel20
The center of the window is more annoying is how to achieve in arbitrary resolution center display, in order to solve this problem, this article tested the case here to share with you, have similar needs of friends can learn under
Paste Code
Copy Code code as follows:
$ (document). Ready (function () {
$ ("#btn_center"). Click (function () {
$ (window). Scroll (function () {
Popcenterwindo
Spring Cloud Configprovides server and client support for external configurations in distributed systems. UseConfig Server, you can manage the external properties of your application in all environments. Conceptual mapping on the client and serverSpring Environmentand thePropertysourceabstract the same. Spring Cloud ConfigSupport inGit, SVNand local storage configuration files, using theGitorSVNRepositories are a good way to support versioning,SpringThe default configuration is to use theGitRepo
Show All comments{% for Foo in ques.comments%}
All comments SortedUquestion = db.relationship (' Question ', backref=db.backref (' comments ', order_by=creat_time.desc))
Show number of comment bars{{Ques.comments|length}}
Complete the Personal center
1. Personal Center page layout (HTML files and corresponding style files)2. Define the View function Def usercenter (user_id):3. Passing param
kind of extravagant hope, which also original alone to enjoy the film, into about 35 friends to go to the cinema to enjoy, of which a lot of harvest here does not watch. In the cinema I really can't enjoy the whole movie silently and completely, I think the reason why everyone should be able to imagine. and roommate back to the bedroom has been: 59 points, the hearts of the feeling of being deceived gradually calm down, well, oneself or is suitable in small environment to appreciate their favo
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.