Commit 81409100 authored by Nicolas's avatar Nicolas

switch vue edit

parent 35ea5e0f
......@@ -102,6 +102,10 @@ li li {
width: 1em;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGklEQVQIW2NkYGD4D8SMQAwGcAY2AbBKDBUAVuYCBQPd34sAAAAASUVORK5CYII=) repeat;
}
.home{
margin-bottom:20px;
padding-bottom: 10px;
}
.invis_root, .invis{
display: none;
}
......
......@@ -13,20 +13,26 @@
<script id="score-template" type="text/template">
<header>
<div class="home"><a href="../">index</a></div>
<h1 contenteditable="true" id="title"><%- title %></h1>
<div contenteditable="true" id="stage_set" ><%= stage_set %></div>
<button class="save">Enregistrer</button>
<button class="deplieTout">Tout déplier</button>
<div class="choix_mode">
<button class="mode">Édition</button> <button class="mode_vue">Vue</button>
</div>
</header>
<ol></ol>
</script>
<script id="score-template-vue" type="text/template">
<header>
<span class="axis-title-edit"><%- title %></span>
<h1 id="title"><%- title %></h1>
<div id="stage_set" ><%= stage_set %></div>
</header>
<button class="deplieTout">Tout déplier</button>
<div class="choix_mode">
<button class="mode">Édition</button> <button class="mode_vue">Vue</button>
</div> </header>
<ol></ol>
</script>
......@@ -154,6 +160,7 @@
</head>
<body>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.8.3/underscore-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.3.3/backbone-min.js"></script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment