mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 05:14:23 +00:00
various fixes
This commit is contained in:
@@ -70,6 +70,7 @@
|
||||
|
||||
::selection {
|
||||
background-color: var( --highlight-backdrop );
|
||||
color: var( --secondary-color );
|
||||
}
|
||||
|
||||
#themeSelector {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<div class="home">
|
||||
<img alt="Vue logo" src="../assets/logo.png">
|
||||
<div>
|
||||
<h1>Welcome to libreevent!</h1>
|
||||
<h1>Welcome to libreǝvent!</h1>
|
||||
<p>Let's start the setup by entering the setup key below! You may define a setup key in the config file of libreevent. See <a href="https://libreevent.janishutz.com/docs/setup/setup" target="_blank">here</a> for more instructions</p>
|
||||
<form>
|
||||
<label for="key">Your setup key</label><br>
|
||||
|
||||
@@ -26,9 +26,9 @@ export default {
|
||||
}
|
||||
},
|
||||
{
|
||||
path: 'admin-accounts',
|
||||
name: 'adminAccounts',
|
||||
component: () => import( '../views/admin/AccountView.vue' ),
|
||||
path: 'locations',
|
||||
name: 'adminLocations',
|
||||
component: () => import( '../views/admin/LocationsView.vue' ),
|
||||
meta: {
|
||||
title: 'Accounts :: Admin - libreevent',
|
||||
adminAuthRequired: true,
|
||||
|
||||
@@ -56,6 +56,14 @@ export default [
|
||||
title: 'Signup - libreevent'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/account',
|
||||
name: 'account',
|
||||
component: () => import( '../views/AccountView.vue' ),
|
||||
meta: {
|
||||
title: 'Account - libreevent'
|
||||
}
|
||||
},
|
||||
{
|
||||
path: '/tickets/details',
|
||||
name: 'ticketDetails',
|
||||
|
||||
5
src/webapp/src/views/AccountView.vue
Normal file
5
src/webapp/src/views/AccountView.vue
Normal file
@@ -0,0 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>Account</h1>
|
||||
</div>
|
||||
</template>
|
||||
@@ -15,9 +15,9 @@
|
||||
<nav class="side-nav">
|
||||
<img src="@/assets/logo.png" alt="libreevent logo" style="width: 80%; margin-left: 10%; margin-bottom: 5%;">
|
||||
<router-link to="/admin" class="admin-menu">Home</router-link>
|
||||
<router-link to="/admin/admin-accounts" class="admin-menu">Admin Accounts</router-link>
|
||||
<router-link to="/admin/pages" class="admin-menu">Pages</router-link>
|
||||
<router-link to="/admin/events" class="admin-menu">Events</router-link>
|
||||
<router-link to="/admin/locations" class="admin-menu">Locations</router-link>
|
||||
<router-link to="/admin/plugins" class="admin-menu">Plugins</router-link>
|
||||
<router-link to="/admin/settings" class="admin-menu">Settings</router-link>
|
||||
<button to="/admin/login" class="admin-menu" @click="logout()">Logout</button>
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
<h2>Home</h2>
|
||||
<p>Welcome to the admin panel!</p>
|
||||
<div class="bigButton-container">
|
||||
<router-link to="/admin/admin-accounts" class="bigButton">Admin-accounts</router-link>
|
||||
<router-link to="/admin/pages" class="bigButton">Pages</router-link>
|
||||
<router-link to="/admin/events" class="bigButton">Events</router-link>
|
||||
<router-link to="/admin/locations" class="bigButton">Locations</router-link>
|
||||
<router-link to="/admin/events" class="bigButton">Plugins</router-link>
|
||||
<router-link to="/admin/events" class="bigButton">Settings</router-link>
|
||||
<a href="https://libreevent.janishutz.com/docs/admin-panel" class="bigButton" target="_blank">Documentation</a>
|
||||
|
||||
@@ -10,8 +10,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<h2>Pages</h2>
|
||||
<p>Welcome to the admin panel!</p>
|
||||
<div class="bigButtons"></div>
|
||||
<p>Here you can modify your landing page (the start page of libreǝvent) and other pages</p>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -74,6 +74,42 @@
|
||||
'max': 100,
|
||||
}
|
||||
},
|
||||
'requiredParameter': {
|
||||
'display': 'Special requirements',
|
||||
'id': 'requiredParameter',
|
||||
'tooltip':'Set this parameter to require the user to provide a certain email domain, a special number or special string of characters. Defaults to None',
|
||||
'value': 'none',
|
||||
'type': 'select',
|
||||
'restrictions': {
|
||||
'none': {
|
||||
'displayName':'None',
|
||||
'value': 'none'
|
||||
},
|
||||
'email': {
|
||||
'displayName':'Email domain',
|
||||
'value': 'email'
|
||||
},
|
||||
'numbers': {
|
||||
'displayName':'Number sequence',
|
||||
'value': 'numbers'
|
||||
},
|
||||
'string': {
|
||||
'displayName':'Text sequence',
|
||||
'value': 'string'
|
||||
},
|
||||
}
|
||||
},
|
||||
'requiredParameterValue': {
|
||||
'display': 'Maximum ticket count per account',
|
||||
'id': 'requiredParameterValue',
|
||||
'tooltip':'With this setting you can control how many tickets a person can buy. Defaults to 0, which means do not limit.',
|
||||
'value': 0,
|
||||
'type': 'number',
|
||||
'restrictions': {
|
||||
'min': 0,
|
||||
'max': 100,
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user