Little mistakes.
このコミットが含まれているのは:
コミット
9d6e8a9029
|
@ -99,9 +99,9 @@ Vue.component('new-items', __webpack_require__(54));
|
|||
Vue.component('hot-items', __webpack_require__(50));
|
||||
|
||||
// Entry page.
|
||||
Vue.component('entry-description', __webpack_require__(50));
|
||||
Vue.component('entry-changelog', __webpack_require__(50));
|
||||
Vue.component('entry-screenshots', __webpack_require__(50));
|
||||
Vue.component('entry-description', __webpack_require__(184));
|
||||
Vue.component('entry-changelog', __webpack_require__(189));
|
||||
Vue.component('entry-screenshots', __webpack_require__(194));
|
||||
|
||||
new Vue({
|
||||
el: '#app'
|
||||
|
@ -43343,25 +43343,25 @@ Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
|||
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
name: 'new-items',
|
||||
data: function data() {
|
||||
return {
|
||||
items: []
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
var _this = this;
|
||||
name: 'new-items',
|
||||
data: function data() {
|
||||
return {
|
||||
items: []
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
var _this = this;
|
||||
|
||||
axios.get('/api/rpc/file/getnewfiles').then(function (data) {
|
||||
data.data.forEach(function (cb) {
|
||||
_this.items.push({
|
||||
'id': cb.id,
|
||||
'title': cb.title,
|
||||
'submit_date': __WEBPACK_IMPORTED_MODULE_0_moment___default.a.unix(cb.submit_date).format("YYYY/MM/DD")
|
||||
});
|
||||
});
|
||||
axios.get('/api/rpc/file/getnewfiles').then(function (data) {
|
||||
data.data.forEach(function (cb) {
|
||||
_this.items.push({
|
||||
'id': cb.id,
|
||||
'title': cb.title,
|
||||
'submit_date': __WEBPACK_IMPORTED_MODULE_0_moment___default.a.unix(cb.submit_date).format("YYYY/MM/DD")
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
@ -60220,5 +60220,408 @@ exports.push([module.i, "\n.col {\n\t\ttext-align: center;\n}\n", ""]);
|
|||
// exports
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 184 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var disposed = false
|
||||
function injectStyle (ssrContext) {
|
||||
if (disposed) return
|
||||
__webpack_require__(185)
|
||||
}
|
||||
var normalizeComponent = __webpack_require__(51)
|
||||
/* script */
|
||||
var __vue_script__ = __webpack_require__(187)
|
||||
/* template */
|
||||
var __vue_template__ = __webpack_require__(188)
|
||||
/* template functional */
|
||||
var __vue_template_functional__ = false
|
||||
/* styles */
|
||||
var __vue_styles__ = injectStyle
|
||||
/* scopeId */
|
||||
var __vue_scopeId__ = null
|
||||
/* moduleIdentifier (server only) */
|
||||
var __vue_module_identifier__ = null
|
||||
var Component = normalizeComponent(
|
||||
__vue_script__,
|
||||
__vue_template__,
|
||||
__vue_template_functional__,
|
||||
__vue_styles__,
|
||||
__vue_scopeId__,
|
||||
__vue_module_identifier__
|
||||
)
|
||||
Component.options.__file = "resources/assets/js/components/EntryDescription.vue"
|
||||
|
||||
/* hot reload */
|
||||
if (false) {(function () {
|
||||
var hotAPI = require("vue-hot-reload-api")
|
||||
hotAPI.install(require("vue"), false)
|
||||
if (!hotAPI.compatible) return
|
||||
module.hot.accept()
|
||||
if (!module.hot.data) {
|
||||
hotAPI.createRecord("data-v-3413e53e", Component.options)
|
||||
} else {
|
||||
hotAPI.reload("data-v-3413e53e", Component.options)
|
||||
}
|
||||
module.hot.dispose(function (data) {
|
||||
disposed = true
|
||||
})
|
||||
})()}
|
||||
|
||||
module.exports = Component.exports
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 185 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||||
|
||||
// load the styles
|
||||
var content = __webpack_require__(186);
|
||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
||||
if(content.locals) module.exports = content.locals;
|
||||
// add the styles to the DOM
|
||||
var update = __webpack_require__(180)("685a8a5e", content, false, null);
|
||||
// Hot Module Replacement
|
||||
if(false) {
|
||||
// When the styles change, update the <style> tags
|
||||
if(!content.locals) {
|
||||
module.hot.accept("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-3413e53e\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./EntryDescription.vue", function() {
|
||||
var newContent = require("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-3413e53e\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./EntryDescription.vue");
|
||||
if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];
|
||||
update(newContent);
|
||||
});
|
||||
}
|
||||
// When the module is disposed, remove the <style> tags
|
||||
module.hot.dispose(function() { update(); });
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
/* 186 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
exports = module.exports = __webpack_require__(5)(false);
|
||||
// imports
|
||||
|
||||
|
||||
// module
|
||||
exports.push([module.i, "\n.col {\n\t\ttext-align: center;\n}\n", ""]);
|
||||
|
||||
// exports
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 187 */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
name: 'entry-description',
|
||||
data: function data() {
|
||||
return {
|
||||
id: 1,
|
||||
description: ''
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
var _this = this;
|
||||
|
||||
axios.get('/api/rpc/file/getfiledescription' + this.id).then(function (data) {
|
||||
_this.description = data.data.description;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
/* 188 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var render = function() {
|
||||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c("div", { staticClass: "container" }, [
|
||||
_c("div", { staticClass: "row" }, [
|
||||
_c("div", { staticClass: "col-md-12" }, [
|
||||
_vm._v("\n\t\t\t\t" + _vm._s(_vm.description) + "\n\t\t\t")
|
||||
])
|
||||
])
|
||||
])
|
||||
}
|
||||
var staticRenderFns = []
|
||||
render._withStripped = true
|
||||
module.exports = { render: render, staticRenderFns: staticRenderFns }
|
||||
if (false) {
|
||||
module.hot.accept()
|
||||
if (module.hot.data) {
|
||||
require("vue-hot-reload-api") .rerender("data-v-3413e53e", module.exports)
|
||||
}
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
/* 189 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var disposed = false
|
||||
function injectStyle (ssrContext) {
|
||||
if (disposed) return
|
||||
__webpack_require__(190)
|
||||
}
|
||||
var normalizeComponent = __webpack_require__(51)
|
||||
/* script */
|
||||
var __vue_script__ = __webpack_require__(192)
|
||||
/* template */
|
||||
var __vue_template__ = __webpack_require__(193)
|
||||
/* template functional */
|
||||
var __vue_template_functional__ = false
|
||||
/* styles */
|
||||
var __vue_styles__ = injectStyle
|
||||
/* scopeId */
|
||||
var __vue_scopeId__ = null
|
||||
/* moduleIdentifier (server only) */
|
||||
var __vue_module_identifier__ = null
|
||||
var Component = normalizeComponent(
|
||||
__vue_script__,
|
||||
__vue_template__,
|
||||
__vue_template_functional__,
|
||||
__vue_styles__,
|
||||
__vue_scopeId__,
|
||||
__vue_module_identifier__
|
||||
)
|
||||
Component.options.__file = "resources/assets/js/components/EntryChangelog.vue"
|
||||
|
||||
/* hot reload */
|
||||
if (false) {(function () {
|
||||
var hotAPI = require("vue-hot-reload-api")
|
||||
hotAPI.install(require("vue"), false)
|
||||
if (!hotAPI.compatible) return
|
||||
module.hot.accept()
|
||||
if (!module.hot.data) {
|
||||
hotAPI.createRecord("data-v-6b2e7e39", Component.options)
|
||||
} else {
|
||||
hotAPI.reload("data-v-6b2e7e39", Component.options)
|
||||
}
|
||||
module.hot.dispose(function (data) {
|
||||
disposed = true
|
||||
})
|
||||
})()}
|
||||
|
||||
module.exports = Component.exports
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 190 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
// style-loader: Adds some css to the DOM by adding a <style> tag
|
||||
|
||||
// load the styles
|
||||
var content = __webpack_require__(191);
|
||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
||||
if(content.locals) module.exports = content.locals;
|
||||
// add the styles to the DOM
|
||||
var update = __webpack_require__(180)("11509360", content, false, null);
|
||||
// Hot Module Replacement
|
||||
if(false) {
|
||||
// When the styles change, update the <style> tags
|
||||
if(!content.locals) {
|
||||
module.hot.accept("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-6b2e7e39\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./EntryChangelog.vue", function() {
|
||||
var newContent = require("!!../../../../node_modules/css-loader/index.js!../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\"vue\":true,\"id\":\"data-v-6b2e7e39\",\"scoped\":false,\"hasInlineConfig\":true}!../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./EntryChangelog.vue");
|
||||
if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];
|
||||
update(newContent);
|
||||
});
|
||||
}
|
||||
// When the module is disposed, remove the <style> tags
|
||||
module.hot.dispose(function() { update(); });
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
/* 191 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
exports = module.exports = __webpack_require__(5)(false);
|
||||
// imports
|
||||
|
||||
|
||||
// module
|
||||
exports.push([module.i, "\n.col {\n\t\ttext-align: center;\n}\n", ""]);
|
||||
|
||||
// exports
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 192 */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
name: 'entry-changelog',
|
||||
data: function data() {
|
||||
return {
|
||||
id: 1,
|
||||
changelog: ''
|
||||
};
|
||||
},
|
||||
created: function created() {
|
||||
var _this = this;
|
||||
|
||||
axios.get('/api/rpc/file/getfilechangelog' + this.id).then(function (data) {
|
||||
_this.changelog = data.data.changelog;
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
/* 193 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var render = function() {
|
||||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c("div", { staticClass: "container" }, [
|
||||
_c("div", { staticClass: "row" }, [
|
||||
_c("div", { staticClass: "col-md-12" }, [
|
||||
_vm._v("\n\t\t\t\t" + _vm._s(_vm.changelog) + "\n\t\t\t")
|
||||
])
|
||||
])
|
||||
])
|
||||
}
|
||||
var staticRenderFns = []
|
||||
render._withStripped = true
|
||||
module.exports = { render: render, staticRenderFns: staticRenderFns }
|
||||
if (false) {
|
||||
module.hot.accept()
|
||||
if (module.hot.data) {
|
||||
require("vue-hot-reload-api") .rerender("data-v-6b2e7e39", module.exports)
|
||||
}
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
/* 194 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var disposed = false
|
||||
var normalizeComponent = __webpack_require__(51)
|
||||
/* script */
|
||||
var __vue_script__ = __webpack_require__(195)
|
||||
/* template */
|
||||
var __vue_template__ = __webpack_require__(196)
|
||||
/* template functional */
|
||||
var __vue_template_functional__ = false
|
||||
/* styles */
|
||||
var __vue_styles__ = null
|
||||
/* scopeId */
|
||||
var __vue_scopeId__ = null
|
||||
/* moduleIdentifier (server only) */
|
||||
var __vue_module_identifier__ = null
|
||||
var Component = normalizeComponent(
|
||||
__vue_script__,
|
||||
__vue_template__,
|
||||
__vue_template_functional__,
|
||||
__vue_styles__,
|
||||
__vue_scopeId__,
|
||||
__vue_module_identifier__
|
||||
)
|
||||
Component.options.__file = "resources/assets/js/components/EntryScreenshots.vue"
|
||||
|
||||
/* hot reload */
|
||||
if (false) {(function () {
|
||||
var hotAPI = require("vue-hot-reload-api")
|
||||
hotAPI.install(require("vue"), false)
|
||||
if (!hotAPI.compatible) return
|
||||
module.hot.accept()
|
||||
if (!module.hot.data) {
|
||||
hotAPI.createRecord("data-v-3d893e9c", Component.options)
|
||||
} else {
|
||||
hotAPI.reload("data-v-3d893e9c", Component.options)
|
||||
}
|
||||
module.hot.dispose(function (data) {
|
||||
disposed = true
|
||||
})
|
||||
})()}
|
||||
|
||||
module.exports = Component.exports
|
||||
|
||||
|
||||
/***/ }),
|
||||
/* 195 */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
name: 'entry-screenshots'
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
/* 196 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
var render = function() {
|
||||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _vm._m(0)
|
||||
}
|
||||
var staticRenderFns = [
|
||||
function() {
|
||||
var _vm = this
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
return _c("div", { staticClass: "container" }, [
|
||||
_c("div", { staticClass: "row" }, [
|
||||
_c("div", { staticClass: "col-md-12" }, [
|
||||
_vm._v("\n (IMG)\n ")
|
||||
])
|
||||
])
|
||||
])
|
||||
}
|
||||
]
|
||||
render._withStripped = true
|
||||
module.exports = { render: render, staticRenderFns: staticRenderFns }
|
||||
if (false) {
|
||||
module.hot.accept()
|
||||
if (module.hot.data) {
|
||||
require("vue-hot-reload-api") .rerender("data-v-3d893e9c", module.exports)
|
||||
}
|
||||
}
|
||||
|
||||
/***/ })
|
||||
/******/ ]);
|
|
@ -22,9 +22,9 @@ Vue.component('new-items', require('./components/NewEntries.vue'));
|
|||
Vue.component('hot-items', require('./components/HotEntries.vue'));
|
||||
|
||||
// Entry page.
|
||||
Vue.component('entry-description', require('./components/HotEntries.vue'));
|
||||
Vue.component('entry-changelog', require('./components/HotEntries.vue'));
|
||||
Vue.component('entry-screenshots', require('./components/HotEntries.vue'));
|
||||
Vue.component('entry-description', require('./components/EntryDescription.vue'));
|
||||
Vue.component('entry-changelog', require('./components/EntryChangelog.vue'));
|
||||
Vue.component('entry-screenshots', require('./components/EntryScreenshots.vue'));
|
||||
|
||||
new Vue({
|
||||
el: '#app'
|
||||
|
|
|
@ -5,38 +5,38 @@
|
|||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">@lang('entry.title', ['name' => 'Some Mod 2.0'], ['user' => 'Someuser'])</div>
|
||||
<div class="panel-heading">__('entry.title', ['name' => 'Some Mod 2.0'], ['user' => 'Someuser'])</div>
|
||||
|
||||
<div class="panel-body">
|
||||
@lang('entry.download')
|
||||
| @lang('entry.update')
|
||||
| @lang('entry.remove')
|
||||
| @lang('entry.approve')
|
||||
| @lang('entry.report')
|
||||
__('entry.download')
|
||||
| __('entry.update')
|
||||
| __('entry.remove')
|
||||
| __('entry.approve')
|
||||
| __('entry.report')
|
||||
<br />
|
||||
@lang('entry.views', ['count' => '1000'])
|
||||
| @lang('entry.downloads', ['count' => '1000'])
|
||||
| @lang('entry.submitted', ['datetime' => '1945/05/05'])
|
||||
| @lang('entry.updated', ['datetime' => '2050/12/01'])
|
||||
| @lang('entry.filesize', ['size' => '1 TB'])
|
||||
__('entry.views', ['count' => '1000'])
|
||||
| __('entry.downloads', ['count' => '1000'])
|
||||
| __('entry.submitted', ['datetime' => '1945/05/05'])
|
||||
| __('entry.updated', ['datetime' => '2050/12/01'])
|
||||
| __('entry.filesize', ['size' => '1 TB'])
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">@lang('entry.screenshots')</div>
|
||||
<div class="panel-heading">__('entry.screenshots')</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<entry-screenshots />
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">@lang('entry.description')</div>
|
||||
<div class="panel-heading">__('entry.description')</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<entry-description />
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">@lang('entry.changelog', ['version' => '2.0'])</div>
|
||||
<div class="panel-heading">__('entry.changelog', ['version' => '2.0'])</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<entry-changelog />
|
||||
|
|
新しいイシューから参照