增加下拉菜单,默认按钮跟ACE有冲突,显示灰色
nnhy authored at 2015-03-27 18:42:36
3.33 KiB
X
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Ace.master.cs"
    Inherits="ManagerPage" %>

<!DOCTYPE html>
<html lang="zh-CN">
<head runat="server">
    <title>管理平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <!-- bootstrap & fontawesome -->
    <link rel="stylesheet" href="<%= ResolveUrl("~/bootstrap/css/bootstrap.min.css")%>" />
    <link rel="stylesheet" href="<%= ResolveUrl("~/bootstrap/css/font-awesome.min.css")%>" />

    <!-- page specific plugin styles -->

    <!-- text fonts -->
    <link rel="stylesheet" href="<%= ResolveUrl("~/bootstrap/css/ace-fonts.min.css")%>" />

    <!-- ace styles -->
    <link rel="stylesheet" href="<%= ResolveUrl("~/bootstrap/css/ace.min.css")%>" />

    <!--[if lte IE 9]>
		<link rel="stylesheet" href="<%= ResolveUrl("~/bootstrap/css/ace-part2.min.css")%>" class="ace-main-stylesheet" />
	<![endif]-->

    <!--[if lte IE 9]>
		<link rel="stylesheet" href="<%= ResolveUrl("~/bootstrap/css/ace-ie.min.css")%>" />
	<![endif]-->

    <!-- inline styles related to this page -->

    <!-- ace settings handler -->
    <script src="<%= ResolveUrl("~/bootstrap/js/ace-extra.min.js")%>"></script>

    <!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

    <!--[if lte IE 8]>
	<script src="<%= ResolveUrl("~/bootstrap/js/html5shiv.min.js")%>"></script>
	<script src="<%= ResolveUrl("~/bootstrap/js/respond.min.js")%>"></script>
	<![endif]-->

    <link rel="stylesheet" href="<%= ResolveUrl("~/bootstrap/css/bootstrap.min.css")%>" type="text/css" />
    <%--<link rel="stylesheet" href="<%= ResolveUrl("~/bootstrap/css/bootstrap-theme.min.css")%>" type="text/css" />--%>
    <link rel="stylesheet" href="<%= ResolveUrl("~/bootstrap/css/bootstrap-responsive.min.css")%>" type="text/css" />

    <!-- basic scripts -->
    <!--[if !IE]> -->
    <script type="text/javascript">
        window.jQuery || document.write("<script src='<%= ResolveUrl("~/js/jquery-2.1.3.min.js")%>'>" + "<" + "/script>");
    </script>

    <!-- <![endif]-->

    <!--[if IE]>
    <script type="text/javascript">
        window.jQuery || document.write("<script src='<%= ResolveUrl("~/js/jquery1x.min.js")%>'>"+"<"+"/script>");
    </script>
    <![endif]-->
    <script type="text/javascript">
        if ('ontouchstart' in document.documentElement) document.write("<script src='<%= ResolveUrl("~/js/jquery.mobile.custom.min.js")%>'>" + "<" + "/script>");
    </script>
    <script src="<%= ResolveUrl("~/bootstrap/js/bootstrap.min.js")%>"></script>

    <!-- 下拉列表 -->
    <link rel="stylesheet" href="<%= ResolveUrl("~/bootstrap/css/bootstrap-select.min.css")%>" type="text/css" />
    <script src="<%= ResolveUrl("~/bootstrap/js/bootstrap-select.min.js")%>"></script>
    <script src="<%= ResolveUrl("~/bootstrap/js/i18n/defaults-zh_CN.min.js")%>"></script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ContentPlaceHolder ID="C" runat="server">
        </asp:ContentPlaceHolder>
    </form>
    <script type="text/javascript">
        $('.selectpicker').selectpicker();
        /*$('.selectpicker').selectpicker({
            style: 'btn',
            size: 4
        });*/
    </script>
</body>
</html>