示例#1
0
" rel="stylesheet">
    <!-- Bootstrap theme -->
    <link href="<?php 
WEB::_root('template/bootstrap/dist/css/bootstrap-theme.min.css');
?>
" rel="stylesheet">

    <!-- Bootstrap Datepicker -->
    <link href="<?php 
WEB::_root('template/css/datepicker.css');
?>
" rel="stylesheet">
    
    <!-- Custom styles for this template -->
    <link href="<?php 
WEB::_root('template/css/theme.css');
?>
" rel="stylesheet">

    <!-- Logo Font -->
    <link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>

  <body role="document">
示例#2
0
"><\/script>');
    }
    </script>

    <!--// Need to have a local copy of jQuery if google not avail -->

    <script src="<?php 
WEB::_root('template/bootstrap/dist/js/bootstrap.min.js');
?>
"></script>
    <script src="<?php 
WEB::_root('template/js/bootstrap-datepicker.js');
?>
"></script>
    <script src="<?php 
WEB::_root('template/js/chosen.jquery.min.js');
?>
"></script>

    <script>
	    $('.dp').datepicker({
				format: 'yyyy-mm-dd'
			});

        // Force a refresh when using the view modal
        $(document.body).on('hidden.bs.modal', function () {
          $('.modal').removeData('bs.modal')
        });

        $(".cs").chosen({
            placeholder_text_multiple: "Select from (Multiple Selects Allowed)",