1
0
mirror of https://github.com/typemill/typemill.git synced 2025-10-16 23:28:52 +02:00

Version 1.2.3: Reorder Pages

This commit is contained in:
Sebastian
2018-09-14 00:31:25 +02:00
parent 98100a28b5
commit c2baf33f63
68 changed files with 82 additions and 63 deletions

View File

@@ -43,7 +43,7 @@ class Settings
'contentFolder' => 'content',
'cache' => true,
'cachePath' => $rootPath . 'cache',
'version' => '1.2.2',
'version' => '1.2.3',
'setup' => true,
'welcome' => true
];

View File

@@ -125,7 +125,7 @@ let navi = new Vue({
this.$refs.draggit[0].onStart(evt);
},
onEnd(evt){
this.$refs.draggit[0].save(evt);
this.$refs.draggit[0].onEnd(evt);
},
showModal: function(e){
this.modalWindow = "modal show";

View File

@@ -17,7 +17,7 @@
<link rel="stylesheet" href="{{ base_url }}/system/author/css/fontello/css/fontello.css" />
<link rel="stylesheet" href="{{ base_url }}/system/author/css/normalize.css" />
<link rel="stylesheet" href="{{ base_url }}/system/author/css/style.css?20180724" />
<link rel="stylesheet" href="{{ base_url }}/system/author/css/style.css?20180914" />
<link rel="stylesheet" href="{{ base_url }}/system/author/css/color-picker.min.css" />
</head>
<body>
@@ -35,11 +35,11 @@
<footer></footer>
</div>
<script src="{{ base_url }}/system/author/js/vue.min.js"></script>
<script src="{{ base_url }}/system/author/js/autosize.min.js"></script>
<script src="{{ base_url }}/system/author/js/sortable.min.js"></script>
<script src="{{ base_url }}/system/author/js/autosize.min.js?20180914"></script>
<script src="{{ base_url }}/system/author/js/sortable.min.js?20180914"></script>
<script src="{{ base_url }}/system/author/js/vuedraggable.min.js"></script>
<script src="{{ base_url }}/system/author/js/author.js?20180724"></script>
<script src="{{ base_url }}/system/author/js/vue-editor.js?20180724"></script>
<script src="{{ base_url }}/system/author/js/vue-navi.js"></script>
<script src="{{ base_url }}/system/author/js/author.js?20180914"></script>
<script src="{{ base_url }}/system/author/js/vue-editor.js?20180914"></script>
<script src="{{ base_url }}/system/author/js/vue-navi.js?20180914"></script>
</body>
</html>

View File

@@ -8,7 +8,7 @@
<a href="{{ base_url }}/tm/content"><i class="icon-home"></i><span class="level-1">Homepage</span></a>
</div>
</div>
<draggable :element="'ul'" class="navi-list" :list="items" @start="onStart" @start="onEnd" :options="{group:{ name:'folder'}, animation: 150, 'disabled': freeze }">
<draggable :element="'ul'" class="navi-list" :list="items" @start="onStart" @end="onEnd" :options="{group:{ name:'folder'}, animation: 150, 'disabled': freeze }">
<navigation ref="draggit" v-for="item in items" :freeze="freeze" :name="item.name" :active="item.active" :parent="item.activeParent" :level="item.keyPath" :root="root" :url="item.urlRelWoF" v-bind:id="item.keyPath" :key="item.keyPath" :filetype="item.elementType" :folder="item.folderContent"></navigation>
</draggable>