feat: add Modrinth import option to admin UI
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<select v-model="form.importerType">
|
||||
<option value="simple">Простой ZIP</option>
|
||||
<option value="curseforge">CurseForge</option>
|
||||
<option value="modrinth" disabled>Modrinth (в разработке)</option>
|
||||
<option value="modrinth">Modrinth (.mrpack)</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
|
||||
<!-- Поля для источника -->
|
||||
<div v-if="form.importMethod === 'file'" class="form-group">
|
||||
<label for="modpack-file">Файл модпака (.zip)</label>
|
||||
<input id="modpack-file" type="file" @change="onFileSelected" :required="form.importMethod === 'file'" accept=".zip" />
|
||||
<label for="modpack-file">Файл модпака (.zip, .mrpack)</label>
|
||||
<input id="modpack-file" type="file" @change="onFileSelected" :required="form.importMethod === 'file'" accept=".zip,.mrpack" />
|
||||
</div>
|
||||
<div v-if="form.importMethod === 'url'" class="form-group">
|
||||
<label for="sourceUrl">URL страницы модпака на CurseForge</label>
|
||||
|
||||
Reference in New Issue
Block a user