1 Star 0 Fork 44

bloy/materialUI

forked from deng-dev/materialUI 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ui-modal.html 11.87 KB
一键复制 编辑 原始数据 按行查看 历史
liudeng 提交于 2015-07-09 13:58 . init
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="initial-scale=1.0, width=device-width" name="viewport">
<title>Modals &amp; Toasts - Material</title>
<!-- css -->
<link href="css/base.min.css" rel="stylesheet">
<!-- favicon -->
<!-- ... -->
<!-- ie -->
<!--[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 class="avoid-fout">
<div class="avoid-fout-indicator avoid-fout-indicator-fixed">
<div class="progress-circular progress-circular-alt progress-circular-center">
<div class="progress-circular-wrapper">
<div class="progress-circular-inner">
<div class="progress-circular-left">
<div class="progress-circular-spinner"></div>
</div>
<div class="progress-circular-gap"></div>
<div class="progress-circular-right">
<div class="progress-circular-spinner"></div>
</div>
</div>
</div>
</div>
</div>
<header class="header">
<ul class="nav nav-list pull-left">
<li>
<a data-toggle="menu" href="#menu">
<span class="icon icon-lg">menu</span>
</a>
</li>
</ul>
<a class="header-logo" href="index.html">Material</a>
<ul class="nav nav-list pull-right">
<li>
<a data-toggle="menu" href="#profile">
<span class="access-hide">John Smith</span>
<span class="avatar"><img alt="alt text for John Smith avatar" src="images/users/avatar-001.jpg"></span>
</a>
</li>
</ul>
</header>
<nav class="menu" id="menu">
<div class="menu-scroll">
<div class="menu-wrap">
<div class="menu-content">
<a class="menu-logo" href="index.html">Material</a>
<ul class="nav">
<li>
<a href="ui-card.html">Cards</a>
</li>
<li>
<a href="ui-collapse.html">Collapsible Regions</a>
</li>
<li>
<a href="ui-dropdown.html">Dropdowns</a>
</li>
<li class="active">
<a href="ui-modal.html">Modals &amp; Toasts</a>
</li>
<li>
<a href="ui-nav.html">Navs</a>
</li>
<li>
<a href="ui-progress.html">Progress Bars</a>
</li>
<li>
<a href="ui-tab.html">Tabs</a>
</li>
<li>
<a href="ui-tile.html">Tiles</a>
</li>
</ul>
<hr>
<ul class="nav">
<li>
<a href="ui-button.html">Buttons</a>
</li>
<li>
<a href="ui-form.html">Form Elements</a>
<span class="menu-collapse-toggle collapsed" data-target="#form-elements" data-toggle="collapse"><i class="icon menu-collapse-toggle-close">close</i><i class="icon menu-collapse-toggle-default">add</i></span>
<ul class="menu-collapse collapse" id="form-elements">
<li>
<a href="ui-form-adv.html">Form Elements <small>(materialised)</small></a>
</li>
</ul>
</li>
<li>
<a href="ui-icon.html">Icons</a>
</li>
<li>
<a href="ui-table.html">Tables</a>
</li>
</ul>
<hr>
<ul class="nav">
<li>
<a href="page-affix.html">Full-Width Page <small>(with fixed LHC/RHC)</small></a>
</li>
<li>
<a href="page-palette.html">Page Palettes</a>
<span class="menu-collapse-toggle collapsed" data-target="#page-palettes" data-toggle="collapse"><i class="icon menu-collapse-toggle-close">close</i><i class="icon menu-collapse-toggle-default">add</i></span>
<ul class="menu-collapse collapse" id="page-palettes">
<li>
<a href="page-palette-blue.html">Blue Palette</a>
</li>
<li>
<a href="page-palette-green.html">Green Palette</a>
</li>
<li>
<a href="page-palette-purple.html">Purple Palette</a>
</li>
<li>
<a href="page-palette-red.html">Red Palette</a>
</li>
<li>
<a href="page-palette-yellow.html">Yellow Palette</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</nav>
<nav class="menu menu-right" id="profile">
<div class="menu-scroll">
<div class="menu-wrap">
<div class="menu-top">
<div class="menu-top-img">
<img alt="John Smith" src="images/samples/landscape.jpg">
</div>
<div class="menu-top-info">
<a class="menu-top-user" href="javascript:void(0)"><span class="avatar pull-left"><img alt="alt text for John Smith avatar" src="images/users/avatar-001.jpg"></span>John Smith</a>
</div>
<div class="menu-top-info-sub">
<small>Some additional information about John Smith</small>
</div>
</div>
<div class="menu-content">
<ul class="nav">
<li>
<a href="javascript:void(0)"><span class="icon icon-lg">account_box</span>Profile Settings</a>
</li>
<li>
<a href="javascript:void(0)"><span class="icon icon-lg">add_to_photos</span>Upload Photo</a>
</li>
<li>
<a href="page-login.html"><span class="icon icon-lg">exit_to_app</span>Logout</a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<div class="content">
<div class="content-heading">
<div class="container">
<h1 class="heading">Modals &amp; Toasts</h1>
</div>
</div>
<div class="container">
<section class="content-inner">
<h2 class="content-sub-heading">Modals</h2>
<p class="margin-half-top"><a class="btn waves-button waves-effect" data-toggle="modal" href="#modal">Toggle Modal</a></p>
<p><a class="btn waves-button waves-effect" data-toggle="modal" href="#modal-big">Full-width Modal</a></p>
<p><a class="btn waves-button waves-effect" data-toggle="modal" href="#modal-iframe">Modal with iFrame</a></p>
<h2 class="content-sub-heading">Toasts</h2>
<p><a class="btn waves-button waves-effect" data-toggle="toast" title="Simple toast with some text">Toggle Toast</a></p>
<p class="margin-half-bottom"><a class="btn waves-button waves-effect" data-toggle="toast" title="<a data-dismiss='toast'>Dismiss</a><div class='toast-text'>Simple toast with some text and a simple <a href='javascript:void(0)'>link</a>.</div>">Toast with Action Button</a></p>
</section>
</div>
</div>
<footer class="footer">
<div class="container">
<p>Material</p>
</div>
</footer>
<div class="fbtn-container">
<div class="fbtn-inner">
<a class="fbtn fbtn-red fbtn-lg" data-toggle="dropdown"><span class="fbtn-text">Links</span><span class="fbtn-ori icon">add</span><span class="fbtn-sub icon">close</span></a>
<div class="fbtn-dropdown">
<a class="fbtn" href="https://github.com/Daemonite/material" target="_blank"><span class="fbtn-text">Fork me on GitHub</span><span class="fa fa-github"></span></a>
<a class="fbtn fbtn-blue" href="https://twitter.com/daemonites" target="_blank"><span class="fbtn-text">Follow Daemon on Twitter</span><span class="fa fa-twitter"></span></a>
<a class="fbtn fbtn-alt" href="http://www.daemon.com.au/" target="_blank"><span class="fbtn-text">Visit Daemon Website</span><span class="icon">link</span></a>
</div>
</div>
</div>
<div aria-hidden="true" class="modal fade" id="modal" role="dialog" tabindex="-1">
<div class="modal-dialog modal-xs">
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">&times;</a>
<h2 class="modal-title">Modal Title</h2>
</div>
<div class="modal-inner">
<p><strong>Overflowing text to show scroll behaviour</strong></p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-alt" data-dismiss="modal" type="button">Close</button><button class="btn btn-flat btn-alt" data-dismiss="modal" type="button">OK</button></p>
</div>
</div>
</div>
</div>
<div aria-hidden="true" class="modal fade" id="modal-big" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">&times;</a>
<h2 class="modal-title">Modal Title</h2>
</div>
<div class="modal-inner">
<p><strong>Overflowing text to show scroll behaviour</strong></p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-alt" data-dismiss="modal" type="button">Close</button><button class="btn btn-flat btn-alt" data-dismiss="modal" type="button">OK</button></p>
</div>
</div>
</div>
</div>
<div aria-hidden="true" class="modal fade" id="modal-iframe" role="dialog" tabindex="-1">
<div class="modal-dialog modal-full">
<div class="modal-content">
<iframe class="iframe-seamless" src="ui-modal-iframe.html" title="Modal with iFrame"></iframe>
</div>
</div>
</div>
<script src="http://apps.bdimg.com/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="js/base.min.js"></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhiyuexin/materialUI.git
git@gitee.com:zhiyuexin/materialUI.git
zhiyuexin
materialUI
materialUI
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385