Fix modal opening
This commit is contained in:
parent
c6ae92eda3
commit
c175317c45
3 changed files with 6 additions and 6 deletions
|
@ -59,7 +59,7 @@
|
|||
</div>
|
||||
|
||||
<div class="fixed-action-btn">
|
||||
<a class="btn-floating btn-large red" href="#modal-create-object">
|
||||
<a class="btn-floating btn-large red modal-trigger" href="#modal-create-object">
|
||||
<i class="large material-icons">add</i>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
</div>
|
||||
|
||||
<div class="fixed-action-btn">
|
||||
<a class="btn-floating btn-large red" href="#modal-create-bucket">
|
||||
<a class="btn-floating btn-large red modal-trigger" href="#modal-create-bucket">
|
||||
<i class="large material-icons">add</i>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -3,14 +3,14 @@
|
|||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<title>S3 Manager</title>
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
<title>S3 Manager</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/css/materialize.min.css">
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
@ -18,7 +18,7 @@
|
|||
{{ template "content" . }}
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.1/js/materialize.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/js/materialize.min.js"></script>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('.modal').modal();
|
||||
|
|
Loading…
Reference in a new issue