text stringlengths 9 39.2M | dir stringlengths 25 226 | lang stringclasses 163
values | created_date timestamp[s] | updated_date timestamp[s] | repo_name stringclasses 751
values | repo_full_name stringclasses 752
values | star int64 1.01k 183k | len_tokens int64 1 18.5M |
|---|---|---|---|---|---|---|---|---|
```vue
<template>
<canvas ref="$canvas" />
</template>
<script setup lang="ts">
import {onMounted, ref} from "vue";
import {toCanvas} from "qrcode";
const props = defineProps<{
uri: string
}>();
const $canvas = ref<HTMLCanvasElement | null>();
onMounted(() => {
toCanvas($canvas.value, props.uri, (error)... | /content/code_sandbox/frontend/components/Account/QrCode.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 101 |
```vue
<template>
<div class="card-header text-bg-primary d-flex flex-wrap align-items-center">
<avatar
v-if="user.avatar.url_128"
class="flex-shrink-0 me-3"
:url="user.avatar.url_128"
:service="user.avatar.service_name"
:service-url="user.avatar.s... | /content/code_sandbox/frontend/components/Account/UserInfoPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 462 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="$gettext('Enable Two-Factor Authentication')"
:error="error"
:disable-save-button="v$.$invalid"
no-enforce-focus
@submit="doSubmit"
@hidden="clearContents"
>
<div class="... | /content/code_sandbox/frontend/components/Account/TwoFactorModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,021 |
```vue
<template>
<modal
id="api_keys_modal"
ref="$modal"
size="md"
centered
:title="$gettext('Add New Passkey')"
no-enforce-focus
@hidden="onHidden"
>
<template #default>
<div
v-show="error != null"
clas... | /content/code_sandbox/frontend/components/Account/PasskeyModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,072 |
```vue
<template>
<modal
id="api_keys_modal"
ref="$modal"
size="md"
centered
:title="$gettext('Add API Key')"
no-enforce-focus
@shown="onShown"
@hidden="clearContents"
>
<template #default>
<div
v-show="error != ... | /content/code_sandbox/frontend/components/Account/ApiKeyModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 788 |
```vue
<template>
<div class="row g-3">
<div class="col-md-6">
<form-group-field
id="form_name"
class="mb-3"
tabindex="1"
:field="form.name"
:label="$gettext('Name')"
/>
<form-group-field
... | /content/code_sandbox/frontend/components/Account/EditForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 489 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="$gettext('Edit Profile')"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<account-edit-form
:form="v$"
:su... | /content/code_sandbox/frontend/components/Account/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 593 |
```vue
<template>
<card-page header-id="hdr_security">
<template #header="{id}">
<div class="d-flex align-items-center">
<div class="flex-fill">
<h3
:id="id"
class="card-title"
>
... | /content/code_sandbox/frontend/components/Account/SecurityPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,420 |
```vue
<template>
<h3 class="card-subtitle">
{{ $gettext('New Key Generated') }}
</h3>
<p class="card-text">
<b>{{ $gettext('Important: copy the key below before continuing!') }}</b>
{{ $gettext('You will not be able to retrieve it again.') }}
</p>
<p class="card-text">
... | /content/code_sandbox/frontend/components/Account/ApiKeyNewKey.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 283 |
```vue
<template>
<input
v-model="checkboxValue"
class="form-check-input"
type="checkbox"
role="switch"
>
</template>
<script setup lang="ts">
import {useVModel} from "@vueuse/core";
const props = defineProps<{
modelValue: boolean | null
}>();
const emit = defineEmits(['up... | /content/code_sandbox/frontend/components/Form/FormCheckbox.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 100 |
```vue
<template>
<slot name="default" />
<span
v-if="isRequired"
class="text-danger"
>
<span aria-hidden="true">*</span>
<span class="visually-hidden">{{ $gettext('Required') }}</span>
</span>
<span
v-if="advanced"
class="badge small text-bg-primary... | /content/code_sandbox/frontend/components/Form/FormLabel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 213 |
```vue
<template>
<form-group
v-bind="$attrs"
:id="id"
>
<template
v-if="label || slots.label"
#label="slotProps"
>
<form-label
:is-required="isRequired"
v-bind="pickProps(props, formLabelProps)"
>
... | /content/code_sandbox/frontend/components/Form/FormGroupMultiCheck.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 627 |
```vue
<template>
<div
class="form-group"
v-bind="$attrs"
>
<label
v-if="slots.label"
:for="id"
>
<slot name="label" />
</label>
<slot
:id="id"
name="default"
/>
<div
v-if="s... | /content/code_sandbox/frontend/components/Form/FormGroup.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 146 |
```vue
<template>
<div
v-for="message in errorMessages"
:key="message"
class="invalid-feedback"
>
{{ message }}
</div>
</template>
<script setup lang="ts">
import {useTranslate} from "~/vendor/gettext";
import {get, map} from "lodash";
import {computed} from "vue";
const pr... | /content/code_sandbox/frontend/components/Form/VuelidateError.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 500 |
```xml
export default {
advanced: {
type: Boolean,
default: false
},
highCpu: {
type: Boolean,
default: false
}
}
``` | /content/code_sandbox/frontend/components/Form/formLabelProps.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 39 |
```vue
<template>
<form-group
v-bind="$attrs"
:id="id"
>
<template
v-if="label || slots.label"
#label="slotProps"
>
<form-label
:is-required="isRequired"
v-bind="pickProps(props, formLabelProps)"
>
... | /content/code_sandbox/frontend/components/Form/FormGroupField.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 999 |
```vue
<template>
<form-group :id="id">
<template
v-if="label || slots.label"
#label="slotProps"
>
<slot
name="label"
v-bind="slotProps"
>
{{ label }}
</slot>
</template>
<tem... | /content/code_sandbox/frontend/components/Form/FormMarkup.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 263 |
```xml
import {computed} from "vue";
import {has} from "lodash";
export const formFieldProps = {
field: {
type: Object,
required: false,
default: () => {
return undefined;
}
},
modelValue: {
type: [String, Number, Boolean, Array],
required: false,... | /content/code_sandbox/frontend/components/Form/useFormField.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 353 |
```vue
<template>
<form-group
v-bind="$attrs"
:id="id"
>
<template #default>
<slot
name="default"
v-bind="{ id, field, model }"
>
<div class="form-check form-switch">
<form-checkbox
... | /content/code_sandbox/frontend/components/Form/FormGroupCheckbox.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 511 |
```vue
<template>
<fieldset class="form-group">
<legend v-if="slots.label || label">
<slot name="label">
{{ label }}
</slot>
</legend>
<p v-if="slots.description || description">
<slot name="description">
{{ description }}
... | /content/code_sandbox/frontend/components/Form/FormFieldset.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 141 |
```vue
<template>
<template
v-for="(option, index) in parsedOptions"
:key="index"
>
<optgroup
v-if="Array.isArray(option.options)"
:label="option.label"
>
<select-options :options="option.options" />
</optgroup>
<option
... | /content/code_sandbox/frontend/components/Form/SelectOptions.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 187 |
```vue
<template>
<input
v-bind="$attrs"
type="file"
class="form-control"
@change="uploaded"
>
</template>
<script setup lang="ts">
const props = defineProps({
modelValue: {
type: [Object],
default: null
}
});
const emit = defineEmits(['update:modelValue... | /content/code_sandbox/frontend/components/Form/FormFile.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 119 |
```vue
<template>
<form-group
v-bind="$attrs"
:id="id"
>
<template
v-if="label || slots.label"
#label="slotProps"
>
<form-label
:is-required="isRequired"
v-bind="pickProps(props, formLabelProps)"
>
... | /content/code_sandbox/frontend/components/Form/FormGroupSelect.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 549 |
```vue
<template>
<div>
<div
v-for="option in options"
:key="option.value"
class="form-check"
:class="!stacked ? 'form-check-inline' : ''"
>
<input
:id="id+'_'+option.value"
v-model="value"
:v... | /content/code_sandbox/frontend/components/Form/FormMultiCheck.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 399 |
```vue
<template>
<div class="navdrawer-header">
<router-link
:to="{ name: 'admin:index'}"
class="navbar-brand px-0"
>
{{ $gettext('Administration') }}
</router-link>
</div>
<div class="offcanvas-body">
<sidebar-menu :menu="menuItems" />
... | /content/code_sandbox/frontend/components/Admin/Sidebar.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 125 |
```vue
<template>
<card-page :title="$gettext('API Keys')">
<template #info>
<p class="card-text">
{{
$gettext('This page lists all API keys assigned to all users across the system. To manage your own API keys, visit your account profile.')
}}
... | /content/code_sandbox/frontend/components/Admin/ApiKeys.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 451 |
```vue
<template>
<h2 class="outside-card-header mb-1">
{{ $gettext('Custom Branding') }}
</h2>
<card-page
class="mb-3"
header-id="hdr_upload_custom_assets"
:title="$gettext('Upload Custom Assets')"
>
<div class="card-body">
<ul class="list-unstyled">... | /content/code_sandbox/frontend/components/Admin/Branding.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 416 |
```vue
<template>
<card-page :title="$gettext('Users')">
<template #actions>
<add-button
:text="$gettext('Add User')"
@click="doCreate"
/>
</template>
<data-table
id="users"
ref="$datatable"
paginate... | /content/code_sandbox/frontend/components/Admin/Users.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 783 |
```vue
<template>
<div class="row-of-cards">
<card-page
header-id="hdr_system_logs"
:title="$gettext('System Logs')"
>
<log-list
:url="systemLogsUrl"
@view="viewLog"
/>
</card-page>
<card-page
... | /content/code_sandbox/frontend/components/Admin/Logs.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 384 |
```vue
<template>
<card-page
header-id="hdr_storage_locations"
:title="$gettext('Storage Locations')"
>
<div class="card-body pb-0">
<nav
class="nav nav-tabs"
role="tablist"
>
<div
v-for="tab in t... | /content/code_sandbox/frontend/components/Admin/StorageLocations.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,283 |
```vue
<template>
<h2 class="outside-card-header mb-1">
{{ $gettext('Update AzuraCast') }}
</h2>
<div class="row row-of-cards">
<div class="col col-md-8">
<card-page
header-id="hdr_update_details"
:title="$gettext('Update Details')"
>
... | /content/code_sandbox/frontend/components/Admin/Updates.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,410 |
```vue
<template>
<card-page
header-id="hdr_install_geolite"
:title="$gettext('Install GeoLite IP Database')"
>
<template #info>
{{
$gettext('IP Geolocation is used to guess the approximate location of your listeners based on the IP address they connect with. ... | /content/code_sandbox/frontend/components/Admin/GeoLite.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,065 |
```xml
import {getApiUrl} from "~/router.ts";
import populateComponentRemotely from "~/functions/populateComponentRemotely.ts";
import {RouteRecordRaw} from "vue-router";
export default function useAdminRoutes(): RouteRecordRaw[] {
return [
{
path: '/',
component: () => import('~/co... | /content/code_sandbox/frontend/components/Admin/routes.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 848 |
```vue
<template>
<card-page :title="$gettext('Custom Fields')">
<template #info>
<p class="card-text">
{{
$gettext('Create custom fields to store extra metadata about each media file uploaded to your station libraries.')
}}
</p>
... | /content/code_sandbox/frontend/components/Admin/CustomFields.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 723 |
```vue
<template>
<card-page :title="$gettext('Connected AzuraRelays')">
<template #info>
<p class="card-text">
{{
$gettext('AzuraRelay is a standalone service that connects to your AzuraCast instance, automatically relays your stations via its own server, the... | /content/code_sandbox/frontend/components/Admin/Relays.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 621 |
```xml
import {useTranslate} from "~/vendor/gettext.ts";
import {GlobalPermission, userAllowed} from "~/acl.ts";
import filterMenu, { MenuCategory, ReactiveMenu } from "~/functions/filterMenu.ts";
import {computed, reactive} from "vue";
import {IconGroups, IconRadio, IconRouter} from "~/components/Common/icons.ts";
ex... | /content/code_sandbox/frontend/components/Admin/menu.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,046 |
```vue
<template>
<panel-layout v-bind="panelProps">
<template
v-if="!isHome"
#sidebar
>
<sidebar v-bind="sidebarProps" />
</template>
<template #default>
<router-view />
</template>
</panel-layout>
</template>
<script setu... | /content/code_sandbox/frontend/components/Admin/AdminLayout.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 186 |
```vue
<template>
<div>
<h2 class="outside-card-header mb-1">
{{ $gettext('Administration') }}
</h2>
<div class="row row-of-cards">
<div
v-for="panel in menuItems"
:key="panel.key"
class="col-sm-12 col-lg-4"
... | /content/code_sandbox/frontend/components/Admin/Index.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 942 |
```vue
<template>
<card-page :title="$gettext('Roles & Permissions')">
<template #info>
<p class="card-text">
{{
$gettext('AzuraCast uses a role-based access control system. Roles are given permissions to certain sections of the site, then users are assigned i... | /content/code_sandbox/frontend/components/Admin/Permissions.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 945 |
```vue
<template>
<h2 class="outside-card-header mb-1">
{{ $gettext('Backups') }}
</h2>
<div class="row row-of-cards">
<div class="col-md-6">
<card-page header-id="hdr_automatic_backups">
<template #header="{id}">
<h2
:... | /content/code_sandbox/frontend/components/Admin/Backups.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,760 |
```vue
<template>
<form
class="form vue-form"
@submit.prevent="submit"
>
<slot name="preCard" />
<section
class="card"
role="region"
aria-labelledby="hdr_system_settings"
>
<div class="card-header text-bg-primary">
... | /content/code_sandbox/frontend/components/Admin/Settings.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 723 |
```vue
<template>
<card-page
header-id="hdr_install_stereo_tool"
:title="$gettext('Install Stereo Tool')"
>
<template #info>
<p class="card-text">
{{
$gettext('Stereo Tool is a popular, proprietary tool for software audio processing. Using ... | /content/code_sandbox/frontend/components/Admin/StereoTool.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,165 |
```vue
<template>
<card-page :title="$gettext('Stations')">
<template #actions>
<add-button
:text="$gettext('Add Station')"
@click="doCreate"
/>
</template>
<data-table
id="stations"
ref="$datatable"
... | /content/code_sandbox/frontend/components/Admin/Stations.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,234 |
```vue
<template>
<card-page header-id="hdr_audit_log">
<template #header="{id}">
<div class="d-flex align-items-center">
<h2
:id="id"
class="card-title flex-fill my-0"
>
{{ $gettext('Audit Log') }}
... | /content/code_sandbox/frontend/components/Admin/AuditLog.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,066 |
```vue
<template>
<card-page
header-id="hdr_install_shoutcast"
:title="$gettext('Install Shoutcast 2 DNAS')"
>
<div class="card-body">
<loading :loading="isLoading">
<div class="row g-3">
<div class="col-md-7">
<fiel... | /content/code_sandbox/frontend/components/Admin/Shoutcast.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 703 |
```xml
export default {
apiUrl: {
type: String,
required: true,
},
testMessageUrl: {
type: String,
required: true
},
acmeUrl: {
type: String,
required: true
},
releaseChannel: {
type: String,
default: 'rolling',
required... | /content/code_sandbox/frontend/components/Admin/settingsProps.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 80 |
```vue
<template>
<div class="row g-3">
<form-group-field
id="edit_form_name"
class="col-md-6"
:field="form.name"
:label="$gettext('Field Name')"
:description="$gettext('This will be used as the label when editing individual songs, and will show in... | /content/code_sandbox/frontend/components/Admin/CustomFields/Form.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 454 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="langTitle"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<admin-custom-fields-form
:form="v$"
:auto-assig... | /content/code_sandbox/frontend/components/Admin/CustomFields/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 394 |
```vue
<template>
<modal
ref="$modal"
:title="$gettext('Log Output')"
size="lg"
>
<div style="max-height: 300px; overflow-y: scroll">
<task-output :logs="logOutput" />
</div>
</modal>
</template>
<script setup lang="ts">
import Modal from "~/components/Com... | /content/code_sandbox/frontend/components/Admin/Debug/TaskOutputModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 198 |
```vue
<template>
<h2 class="outside-card-header mb-1">
{{ $gettext('System Debugger') }}
</h2>
<div class="row row-of-cards">
<div class="col-md-6">
<card-page
header-id="hdr_clear_cache"
:title="$gettext('Clear Cache')"
>
... | /content/code_sandbox/frontend/components/Admin/Debug.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 2,125 |
```vue
<template>
<div
v-for="(row, id) in logs"
id="log-view"
:key="id"
class="card mb-3"
>
<div
:id="'log-row-'+id"
class="card-header"
>
<h4 class="mb-0">
<span
class="badge"
... | /content/code_sandbox/frontend/components/Admin/Debug/TaskOutput.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 665 |
```vue
<template>
<tab
:label="$gettext('Basic Info')"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-multi-check
id="form_edit_adapter"
class="col-md-12"
:field="v$.adapter"
:options="adapterO... | /content/code_sandbox/frontend/components/Admin/StorageLocations/Form.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 629 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="langTitle"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<tabs content-class="mt-3">
<storage-location-form v-model:f... | /content/code_sandbox/frontend/components/Admin/StorageLocations/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 666 |
```vue
<template>
<tab
:label="$gettext('Remote: SFTP')"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_edit_sftpHost"
class="col-md-12 col-lg-6"
:field="v$.sftpHost"
:label="$ge... | /content/code_sandbox/frontend/components/Admin/StorageLocations/Form/Sftp.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 562 |
```vue
<template>
<tab
:label="$gettext('Remote: Dropbox')"
:item-header-class="tabClass"
>
<div class="row g-3">
<div class="col-md-12">
<h3>{{ $gettext('Dropbox Setup Instructions') }}</h3>
<ul>
<li>
... | /content/code_sandbox/frontend/components/Admin/StorageLocations/Form/Dropbox.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 722 |
```vue
<template>
<tab
:label="$gettext('Remote: S3 Compatible')"
:item-header-class="tabClass"
>
<div class="row g-3">
<form-group-field
id="form_edit_s3CredentialKey"
class="col-md-6"
:field="v$.s3CredentialKey"
... | /content/code_sandbox/frontend/components/Admin/StorageLocations/Form/S3.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 659 |
```vue
<template>
<div class="d-flex">
<div class="flex-shrink-0">
<a
v-lightbox
:href="url"
target="_blank"
>
<img
:src="url"
width="125"
:alt="caption"
... | /content/code_sandbox/frontend/components/Admin/Branding/CustomAssetForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 513 |
```vue
<template>
<div class="row g-3">
<form-group-field
id="edit_form_email"
class="col-md-6"
:field="v$.email"
input-type="email"
:label="$gettext('E-mail Address')"
/>
<form-group-field
id="edit_form_new_password"
... | /content/code_sandbox/frontend/components/Admin/Users/Form.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 548 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="langTitle"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<admin-users-form
v-model:form="form"
:roles="ro... | /content/code_sandbox/frontend/components/Admin/Users/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 399 |
```vue
<template>
<form
class="form vue-form"
@submit.prevent="submit"
>
<section
class="card mb-3"
role="region"
>
<div class="card-header text-bg-primary">
<h2 class="card-title">
{{ $gettext('Branding Sett... | /content/code_sandbox/frontend/components/Admin/Branding/BrandingForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,512 |
```vue
<template>
<div class="row g-3">
<form-group-field
id="edit_form_name"
class="col-md-12"
:field="form.name"
:label="$gettext('New Station Name')"
/>
<form-group-field
id="edit_form_description"
class="col-md-12"
... | /content/code_sandbox/frontend/components/Admin/Stations/CloneModalForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 450 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="$gettext('Clone Station')"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<admin-stations-clone-modal-form :form="v$" />
</mod... | /content/code_sandbox/frontend/components/Admin/Stations/CloneModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 543 |
```xml
export default {
// Profile
timezones: Object,
// Frontend
isShoutcastInstalled: {
type: Boolean,
default: false
},
isStereoToolInstalled: {
type: Boolean,
default: false
},
countries: Object,
}
``` | /content/code_sandbox/frontend/components/Admin/Stations/stationFormProps.ts | xml | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 65 |
```vue
<template>
<loading :loading="isLoading">
<div
v-show="error != null"
class="alert alert-danger"
>
{{ error }}
</div>
<form
class="form vue-form"
@submit.prevent="submit"
>
<tabs content-class="mt... | /content/code_sandbox/frontend/components/Admin/Stations/StationForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,147 |
```vue
<template>
<modal
id="station_edit_modal"
ref="$modal"
size="lg"
:title="langTitle"
:busy="false"
@shown="resetForm"
@hidden="clearContents"
>
<admin-stations-form
v-bind="pickProps(props, stationFormProps)"
ref="$for... | /content/code_sandbox/frontend/components/Admin/Stations/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 661 |
```vue
<template>
<tab
:label="$gettext('Song Requests')"
:item-header-class="tabClassWithBackend"
>
<form-fieldset v-if="isBackendEnabled">
<template #label>
{{ $gettext('Song Requests') }}
</template>
<template #description>
... | /content/code_sandbox/frontend/components/Admin/Stations/Form/RequestsForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 800 |
```vue
<template>
<tab
:label="$gettext('Profile')"
:item-header-class="tabClass"
>
<div class="row g-3 mb-3">
<form-group-field
id="edit_form_name"
class="col-md-12"
:field="v$.name"
:label="$gettext('Name')"
... | /content/code_sandbox/frontend/components/Admin/Stations/Form/ProfileForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,528 |
```vue
<template>
<tab
:label="$gettext('HLS')"
:item-header-class="tabClassWithBackend"
>
<form-fieldset v-if="isBackendEnabled">
<template #label>
{{ $gettext('HTTP Live Streaming (HLS)') }}
</template>
<template #description>
... | /content/code_sandbox/frontend/components/Admin/Stations/Form/HlsForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,180 |
```vue
<template>
<tab
:label="$gettext('Administration')"
:item-header-class="tabClass"
>
<div class="row g-3 mb-3">
<form-group-checkbox
id="edit_form_is_enabled"
class="col-md-6"
:field="v$.is_enabled"
:label=... | /content/code_sandbox/frontend/components/Admin/Stations/Form/AdminForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,082 |
```vue
<template>
<tab
:label="$gettext('Streamers/DJs')"
:item-header-class="tabClassWithBackend"
>
<form-fieldset v-if="isBackendEnabled">
<template #label>
{{ $gettext('Streamers/DJs') }}
</template>
<div class="row g-3 mb-3">
... | /content/code_sandbox/frontend/components/Admin/Stations/Form/StreamersForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,749 |
```vue
<template>
<tab
:label="$gettext('Broadcasting')"
:item-header-class="tabClass"
>
<div class="row g-3 mb-3">
<form-group-multi-check
id="edit_form_frontend_type"
class="col-md-12"
:field="v$.frontend_type"
... | /content/code_sandbox/frontend/components/Admin/Stations/Form/FrontendForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 2,133 |
```vue
<template>
<form-fieldset>
<template #label>
{{ $gettext('No AutoDJ Enabled') }}
</template>
<p class="card-text">
{{ $gettext('This feature requires the AutoDJ feature to be enabled.') }}
</p>
</form-fieldset>
</template>
<script setup lang="ts">... | /content/code_sandbox/frontend/components/Admin/Stations/Form/Common/BackendDisabled.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 91 |
```vue
<template>
<section class="card">
<div class="card-header text-bg-primary">
<h2 class="card-title mb-0">
{{ $gettext('Services') }}
</h2>
</div>
<loading :loading="isLoading">
<table class="table table-striped table-responsive mb-0"... | /content/code_sandbox/frontend/components/Admin/Index/ServicesPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 512 |
```vue
<template>
<tab
:label="$gettext('AutoDJ')"
:item-header-class="tabClass"
>
<div class="row g-3 mb-3">
<form-group-multi-check
id="edit_form_backend_type"
class="col-md-12"
:field="v$.backend_type"
:option... | /content/code_sandbox/frontend/components/Admin/Stations/Form/BackendForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 3,957 |
```vue
<template>
<section class="card">
<div class="card-header text-bg-primary d-flex align-items-center">
<div class="flex-fill">
<h2 class="card-title">
{{ $gettext('Memory') }}
</h2>
</div>
<div class="flex-shrink-... | /content/code_sandbox/frontend/components/Admin/Index/MemoryStatsPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 581 |
```vue
<template>
<modal
id="cpu_stats_help_modal"
ref="$modal"
size="lg"
centered
:title="$gettext('Memory Stats Help')"
>
<div class="mb-2">
<h6>
<span class="badge text-bg-warning me-1"> </span>
{{ $gettex... | /content/code_sandbox/frontend/components/Admin/Index/MemoryStatsHelpModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 440 |
```vue
<template>
<modal
id="cpu_stats_help_modal"
ref="$modal"
size="lg"
centered
:title="$gettext('CPU Stats Help')"
>
<div class="mb-2">
<h6>
<span class="badge text-bg-danger me-1"> </span>
{{ $gettext('S... | /content/code_sandbox/frontend/components/Admin/Index/CpuStatsHelpModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 835 |
```vue
<template>
<section class="card">
<div class="card-header text-bg-primary">
<h2 class="card-title">
{{ $gettext('Disk Space') }}
</h2>
</div>
<div class="card-body">
<h6 class="mb-1 text-center">
{{ $gettext('Total D... | /content/code_sandbox/frontend/components/Admin/Index/DiskUsagePanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 315 |
```vue
<template>
<section class="card">
<div class="card-header text-bg-primary">
<h2 class="card-title mb-0">
{{ $gettext('Network Interfaces') }}
</h2>
</div>
<div class="card-body">
<tabs>
<tab
v-for... | /content/code_sandbox/frontend/components/Admin/Index/NetworkStatsPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 443 |
```vue
<template>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th
v-for="key in fields"
:key="`${key}-header`"
>
{{ key }}
... | /content/code_sandbox/frontend/components/Admin/Index/NetworkStatsTable.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 211 |
```vue
<template>
<section class="card">
<div class="card-header text-bg-primary d-flex align-items-center">
<div class="flex-fill">
<h2 class="card-title">
{{ $gettext('CPU Load') }}
</h2>
</div>
<div class="flex-shrin... | /content/code_sandbox/frontend/components/Admin/Index/CpuStatsPanel.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,108 |
```vue
<template>
<tab
:label="$gettext('Security & Privacy')"
:item-header-class="tabClass"
>
<form-fieldset>
<template #label>
{{ $gettext('Privacy') }}
</template>
<div class="row g-3">
<form-group-multi-check
... | /content/code_sandbox/frontend/components/Admin/Settings/SecurityPrivacyTab.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,040 |
```vue
<template>
<tab
:label="$gettext('Settings')"
:item-header-class="tabClass"
>
<form-fieldset>
<div class="row g-3">
<form-group-field
id="edit_form_base_url"
class="col-md-6"
:field="v$.base_ur... | /content/code_sandbox/frontend/components/Admin/Settings/GeneralTab.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,193 |
```vue
<template>
<modal
id="send_test_message"
ref="$modal"
centered
:title="$gettext('Send Test Message')"
@hidden="resetForm()"
>
<form @submit.prevent="doSendTest">
<form-group-field
id="email_address"
:field="v$.ema... | /content/code_sandbox/frontend/components/Admin/Settings/TestMessageModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 532 |
```vue
<template>
<modal-form
ref="$modal"
:loading="loading"
:title="langTitle"
:error="error"
:disable-save-button="v$.$invalid"
@submit="doSubmit"
@hidden="clearContents"
>
<tabs content-class="mt-3">
<admin-permissions-global-form
... | /content/code_sandbox/frontend/components/Admin/Permissions/EditModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 676 |
```vue
<template>
<section
class="card mb-3"
role="region"
>
<div class="card-header text-bg-primary d-flex align-items-center">
<div class="flex-fill">
<h2 class="card-title">
{{ getStationName(row.station_id) }}
</h2>
... | /content/code_sandbox/frontend/components/Admin/Permissions/Form/StationRow.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 536 |
```vue
<template>
<tab
:label="$gettext('Services')"
:item-header-class="tabClass"
>
<form-fieldset>
<template #label>
{{ $gettext('AzuraCast Update Checks') }}
</template>
<div class="row g-3">
<form-markup
... | /content/code_sandbox/frontend/components/Admin/Settings/ServicesTab.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 2,507 |
```vue
<template>
<tab :label="$gettext('Global Permissions')">
<div class="row g-3">
<form-group-field
id="edit_form_name"
class="col-md-12"
:field="form.name"
:label="$gettext('Role Name')"
/>
<form-group-... | /content/code_sandbox/frontend/components/Admin/Permissions/Form/GlobalForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 295 |
```vue
<template>
<tab :label="$gettext('Station Permissions')">
<permissions-form-station-row
v-for="(row, index) in form.permissions.$model.station"
:key="index"
v-model:row="form.permissions.$model.station[index]"
:stations="stations"
:station-p... | /content/code_sandbox/frontend/components/Admin/Permissions/Form/StationForm.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 501 |
```vue
<template>
<modal
id="run_backup_modal"
ref="$modal"
size="md"
centered
:title="$gettext('Run Manual Backup')"
@hidden="onHidden"
>
<template #default>
<div
v-show="error != null"
class="alert alert-danger... | /content/code_sandbox/frontend/components/Admin/Backups/RunBackupModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,113 |
```vue
<template>
<modal
id="log_view_modal"
ref="$modal"
size="md"
:title="$gettext('Log Viewer')"
>
<pre
id="modal-log-view-contents"
class="form-control log-viewer"
style="height: 300px; overflow-y: auto;"
>{{ lastOutput }}</... | /content/code_sandbox/frontend/components/Admin/Backups/LastOutputModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 186 |
```vue
<template>
<modal-form
ref="$modal"
size="lg"
:title="$gettext('Configure Backups')"
:loading="loading"
:disable-save-button="v$.$invalid"
@submit="submit"
@hidden="resetForm"
>
<form-fieldset>
<div class="row g-3 mb-3">
... | /content/code_sandbox/frontend/components/Admin/Backups/ConfigureModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,225 |
```vue
<template>
<modal
id="audit_log_details"
ref="$modal"
:title="$gettext('Changes')"
size="xl"
>
<table class="table table-bordered table-responsive">
<colgroup>
<col width="30%">
<col width="35%">
<col widt... | /content/code_sandbox/frontend/components/Admin/AuditLog/DetailsModal.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 352 |
```vue
<template>
<h2 class="outside-card-header mb-1">
{{ $gettext('Update Station Configuration') }}
</h2>
<div class="row">
<div class="col col-md-6">
<section
class="card"
role="region"
aria-labelledby="hdr_soft_reload"
... | /content/code_sandbox/frontend/components/Stations/Restart.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 935 |
```vue
<template>
<div class="navdrawer-header offcanvas-header">
<div class="d-flex align-items-center">
<router-link
:to="{ name: 'stations:index' }"
class="navbar-brand px-0 flex-fill"
>
{{ name }}
<div
... | /content/code_sandbox/frontend/components/Stations/Sidebar.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 841 |
```vue
<template>
<panel-layout v-bind="panelProps">
<template #sidebar>
<sidebar v-bind="sidebarProps" />
</template>
<template #default>
<router-view />
<header-inline-player />
<lightbox ref="$lightbox" />
</template>
</panel-l... | /content/code_sandbox/frontend/components/Stations/StationsLayout.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 204 |
```vue
<template>
<div class="row-of-cards">
<section
class="card"
role="region"
aria-labelledby="hdr_custom_assets"
>
<div class="card-header text-bg-primary">
<h2
id="hdr_custom_assets"
class="c... | /content/code_sandbox/frontend/components/Stations/Branding.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 321 |
```vue
<template>
<div class="row">
<div class="col-md-8">
<card-page
header-id="hdr_sftp_users"
:title="$gettext('SFTP Users')"
>
<template #actions>
<add-button
:text="$gettext('Add SFTP Use... | /content/code_sandbox/frontend/components/Stations/SftpUsers.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 787 |
```vue
<template>
<div class="row row-of-cards">
<div class="col-md-8">
<card-page header-id="hdr_streamer_accounts">
<template #header="{id}">
<div class="row align-items-center">
<div class="col-md-6">
<h2
... | /content/code_sandbox/frontend/components/Stations/Streamers.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,300 |
```vue
<template>
<card-page :title="$gettext('HLS Streams')">
<template #info>
<p class="card-text">
{{
$gettext('HTTP Live Streaming (HLS) is a new adaptive-bitrate streaming technology. From this page, you can configure the individual bitrates and formats t... | /content/code_sandbox/frontend/components/Stations/HlsStreams.vue | vue | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 804 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.