text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
import { computed, unref } from 'vue' import { useFileActionsCopyQuickLink, useFileActionsCreateLink } from '../../../../../src/composables/actions/files' import { defaultComponentMocks, getComposableWrapper } from 'web-test-helpers' import { mock } from 'vitest-mock-extended' import { FileAction } from '../../../....
owncloud/web/packages/web-pkg/tests/unit/composables/actions/files/useFileActionsCopyQuicklink.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/actions/files/useFileActionsCopyQuicklink.spec.ts", "repo_id": "owncloud", "token_count": 1627 }
845
import { useSpaceActionsDelete } from '../../../../../src/composables/actions' import { useMessages, useModals } from '../../../../../src/composables/piniaStores' import { buildSpace, SpaceResource } from '@ownclouders/web-client/src/helpers' import { defaultComponentMocks, mockAxiosResolve, RouteLocation, getC...
owncloud/web/packages/web-pkg/tests/unit/composables/actions/spaces/useSpaceActionsDelete.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/actions/spaces/useSpaceActionsDelete.spec.ts", "repo_id": "owncloud", "token_count": 2239 }
846
import { nextTick } from 'vue' import { createWrapper, createAppBar } from './spec' import { useFileListHeaderPosition } from '../../../../src/composables/fileListHeaderPosition' describe('useFileListHeaderPosition', () => { it('should be valid', () => { const wrapper = createWrapper() expect(useFileListHea...
owncloud/web/packages/web-pkg/tests/unit/composables/fileListHeaderPosition/useFileListHeaderPosition.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/fileListHeaderPosition/useFileListHeaderPosition.spec.ts", "repo_id": "owncloud", "token_count": 451 }
847
import { useGetMatchingSpace } from '../../../../src/composables/spaces' import { defaultComponentMocks, getComposableWrapper, RouteLocation } from 'web-test-helpers' import { mock } from 'vitest-mock-extended' import { Resource, SpaceResource } from '@ownclouders/web-client' describe('useSpaceHelpers', () => { it('...
owncloud/web/packages/web-pkg/tests/unit/composables/spaces/useGetMatchingSpace.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/composables/spaces/useGetMatchingSpace.spec.ts", "repo_id": "owncloud", "token_count": 839 }
848
import { getExpirationRules } from '../../../../src/helpers/share' import { mock } from 'vitest-mock-extended' import { PublicExpirationCapability } from '@ownclouders/web-client/src/ocs/capabilities' import { createTestingPinia } from 'web-test-helpers' import { useCapabilityStore } from '../../../../src/composables/p...
owncloud/web/packages/web-pkg/tests/unit/helpers/share/link.spec.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/tests/unit/helpers/share/link.spec.ts", "repo_id": "owncloud", "token_count": 375 }
849
import { Ability } from '@ownclouders/web-client/src/helpers/resource/types' import { ArchiverService, ClientService, LoadingService, PreviewService, PasswordPolicyService } from './src/services' export * from './src' declare module 'vue' { interface ComponentCustomProperties { $ability: Ability $...
owncloud/web/packages/web-pkg/types.d.ts/0
{ "file_path": "owncloud/web/packages/web-pkg/types.d.ts", "repo_id": "owncloud", "token_count": 158 }
850
<template> <div> <oc-select :model-value="currentThemeOrAuto" :clearable="false" :options="availableThemesAndAuto" option-label="name" @update:model-value="updateTheme" /> </div> </template> <script lang="ts"> import { computed, defineComponent, ref, unref } from 'vue' import {...
owncloud/web/packages/web-runtime/src/components/ThemeSwitcher.vue/0
{ "file_path": "owncloud/web/packages/web-runtime/src/components/ThemeSwitcher.vue", "repo_id": "owncloud", "token_count": 632 }
851
import { RuntimeApi } from '../types' import { buildRuntimeApi } from '../api' import { App } from 'vue' import { isFunction, isObject } from 'lodash-es' import { NextApplication } from './next' import { Router } from 'vue-router' import { RuntimeError, useAppsStore } from '@ownclouders/web-pkg' import { AppConfigObjec...
owncloud/web/packages/web-runtime/src/container/application/classic.ts/0
{ "file_path": "owncloud/web/packages/web-runtime/src/container/application/classic.ts", "repo_id": "owncloud", "token_count": 1226 }
852
export interface SettingsValue { identifier: { bundle: string extension: string setting: string } value: { accountUuid: string bundleId: string id: string resource: { type: string } settingId: string boolValue?: boolean listValue?: { values: { string...
owncloud/web/packages/web-runtime/src/helpers/settings.ts/0
{ "file_path": "owncloud/web/packages/web-runtime/src/helpers/settings.ts", "repo_id": "owncloud", "token_count": 319 }
853
import { RouteLocation, RouteParams, Router, RouteRecordNormalized } from 'vue-router' import { AuthContext, authContextValues, contextQueryToFileContextProps, queryItemAsString, WebRouteMeta } from '@ownclouders/web-pkg' /** * Checks if the `to` route or the route it was reached from (i.e. the `contextRout...
owncloud/web/packages/web-runtime/src/router/helpers.ts/0
{ "file_path": "owncloud/web/packages/web-runtime/src/router/helpers.ts", "repo_id": "owncloud", "token_count": 1836 }
854
import { Modal, useModals } from '@ownclouders/web-pkg' import { mock } from 'vitest-mock-extended' import { PropType, defineComponent } from 'vue' import ModalWrapper from 'web-runtime/src/components/ModalWrapper.vue' import { defaultPlugins, shallowMount, defaultComponentMocks } from 'web-test-helpers' const CustomM...
owncloud/web/packages/web-runtime/tests/unit/components/ModalWrapper.spec.ts/0
{ "file_path": "owncloud/web/packages/web-runtime/tests/unit/components/ModalWrapper.spec.ts", "repo_id": "owncloud", "token_count": 2049 }
855
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`SidebarToggle component > should show the "Toggle sidebar"-button with sidebar opened and closed 1`] = ` "<button type="button" aria-label="Open sidebar to view details" class="oc-button oc-rounded oc-button-m oc-button-justify-content-center oc-bu...
owncloud/web/packages/web-runtime/tests/unit/components/Topbar/__snapshots__/SidebarToggle.spec.ts.snap/0
{ "file_path": "owncloud/web/packages/web-runtime/tests/unit/components/Topbar/__snapshots__/SidebarToggle.spec.ts.snap", "repo_id": "owncloud", "token_count": 371 }
856
import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router' // @vitest-environment jsdom describe('buildUrl', () => { it.each` location | base | path | expected ${'https://localho...
owncloud/web/packages/web-runtime/tests/unit/router/index.spec.ts/0
{ "file_path": "owncloud/web/packages/web-runtime/tests/unit/router/index.spec.ts", "repo_id": "owncloud", "token_count": 1773 }
857
export * from './axios' export * from './useGetMatchingSpaceMock' export * from './pinia'
owncloud/web/packages/web-test-helpers/src/mocks/index.ts/0
{ "file_path": "owncloud/web/packages/web-test-helpers/src/mocks/index.ts", "repo_id": "owncloud", "token_count": 32 }
858
exports.command = function (callback) { const helperElementId = 'helperClipboardInput' this.execute( function (elementId) { const myInput = document.createElement('INPUT') const inputId = document.createAttribute('id') inputId.value = elementId myInput.setAttributeNode(inputId) myI...
owncloud/web/tests/acceptance/customCommands/getClipBoardContent.js/0
{ "file_path": "owncloud/web/tests/acceptance/customCommands/getClipBoardContent.js", "repo_id": "owncloud", "token_count": 364 }
859
Feature: deleting files and folders As a user I want to delete files and folders So that I can keep my filing system clean and tidy Background: Given user "Alice" has been created with default attributes and without skeleton files in the server Scenario Outline: Delete a file with problematic character...
owncloud/web/tests/acceptance/features/webUIDeleteFilesFolders/deleteFilesFolders.feature/0
{ "file_path": "owncloud/web/tests/acceptance/features/webUIDeleteFilesFolders/deleteFilesFolders.feature", "repo_id": "owncloud", "token_count": 1193 }
860
@public_link_share-feature-required Feature: Create public link shares As a user I want to share files through a publicly accessible link So that users who do not have an account on my ownCloud server can access them Background: Given user "Alice" has been created with default attributes and without skelet...
owncloud/web/tests/acceptance/features/webUISharingPublicBasic/publicLinkCreate.feature/0
{ "file_path": "owncloud/web/tests/acceptance/features/webUISharingPublicBasic/publicLinkCreate.feature", "repo_id": "owncloud", "token_count": 3376 }
861
const occHelper = require('./occHelper') const { difference } = require('./objects') const _ = require('lodash') const config = {} async function rollbackSystemConfigs(oldSysConfig, newSysConfig) { const configToChange = difference(newSysConfig, oldSysConfig) for (const key in configToChange) { if (typeof co...
owncloud/web/tests/acceptance/helpers/config.js/0
{ "file_path": "owncloud/web/tests/acceptance/helpers/config.js", "repo_id": "owncloud", "token_count": 733 }
862
module.exports = { commands: { /** * @enum {string} * @readonly */ ContextMenuItem: Object.freeze({ showDetails: 'detailsButton', showActions: 'actionsButton', selectRenameFile: 'renameButton' }), /** * @param {string} elementName the name of the element (mapped ...
owncloud/web/tests/acceptance/pageObjects/FilesPageElement/contextMenu.js/0
{ "file_path": "owncloud/web/tests/acceptance/pageObjects/FilesPageElement/contextMenu.js", "repo_id": "owncloud", "token_count": 668 }
863
module.exports = { url: function () { return this.api.launchUrl }, elements: { body: 'body', usernameInput: { selector: 'input[autocomplete="kopano-account username"]' }, passwordInput: { selector: 'input[autocomplete="kopano-account current-password"]' }, loginSubmitButton...
owncloud/web/tests/acceptance/pageObjects/ocisLoginPage.js/0
{ "file_path": "owncloud/web/tests/acceptance/pageObjects/ocisLoginPage.js", "repo_id": "owncloud", "token_count": 790 }
864
const { When } = require('@cucumber/cucumber') When('pause for {int}', async function (duration) { await new Promise((resolve) => setTimeout(resolve, duration)) })
owncloud/web/tests/acceptance/stepDefinitions/debugContext.js/0
{ "file_path": "owncloud/web/tests/acceptance/stepDefinitions/debugContext.js", "repo_id": "owncloud", "token_count": 53 }
865
{ "server": "https://ocis:9200", "theme": "https://ocis:9200/themes/owncloud/theme.json", "openIdConnect": { "metadata_url": "https://ocis:9200/.well-known/openid-configuration", "authority": "https://ocis:9200", "client_id": "web", "response_type": "code", "scope": "openid profile email" },...
owncloud/web/tests/drone/config-ocis.json/0
{ "file_path": "owncloud/web/tests/drone/config-ocis.json", "repo_id": "owncloud", "token_count": 321 }
866
Feature: lock As a user I can see that a file is locked if it is opened by a user with edit permissions, and I am restricted in some actions such as moving deleting renaming a locked file Scenario: file lock indication Given "Admin" creates following users using API | id | | Alice | |...
owncloud/web/tests/e2e/cucumber/features/app-provider/lock.feature/0
{ "file_path": "owncloud/web/tests/e2e/cucumber/features/app-provider/lock.feature", "repo_id": "owncloud", "token_count": 659 }
867
Feature: GDPR export As a user I want to export a report of all my personal data So I know what data is currently being stored on the system Background: Given "Admin" creates following users using API | id | | Alice | Scenario: User should be able to create and download a GDPR export ...
owncloud/web/tests/e2e/cucumber/features/smoke/gdprExport.feature/0
{ "file_path": "owncloud/web/tests/e2e/cucumber/features/smoke/gdprExport.feature", "repo_id": "owncloud", "token_count": 154 }
868
Feature: check files pagination in project space As a user I want to navigate a large number of files using pagination So that I do not have to scroll deep down Scenario: pagination Given "Admin" creates following user using API | id | | Alice | And "Admin" assigns following roles to the...
owncloud/web/tests/e2e/cucumber/features/spaces/pagination.feature/0
{ "file_path": "owncloud/web/tests/e2e/cucumber/features/spaces/pagination.feature", "repo_id": "owncloud", "token_count": 514 }
869
import { Given, When, Then } from '@cucumber/cucumber' import { World } from '../../environment' import { config } from '../../../config' import { objects } from '../../../support' async function createNewSession(world: World, stepUser: string) { const { page } = await world.actorsEnvironment.createActor({ key: ...
owncloud/web/tests/e2e/cucumber/steps/ui/session.ts/0
{ "file_path": "owncloud/web/tests/e2e/cucumber/steps/ui/session.ts", "repo_id": "owncloud", "token_count": 775 }
870
import { checkResponseStatus, request } from '../http' import { Group, Me, User } from '../../types' import join from 'join-path' import { config } from '../../../config' import { getApplicationEntity } from './utils' import { userRoleStore } from '../../store' import { UsersEnvironment } from '../../environment' expo...
owncloud/web/tests/e2e/support/api/graph/userManagement.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/api/graph/userManagement.ts", "repo_id": "owncloud", "token_count": 1569 }
871
import { Browser, BrowserContextOptions } from '@playwright/test' import path from 'path' export interface ActorsOptions { browser: Browser context: { acceptDownloads: boolean reportDir: string reportVideo: boolean reportHar: boolean reportTracing: boolean } } export interface ActorOptions e...
owncloud/web/tests/e2e/support/environment/actor/shared.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/environment/actor/shared.ts", "repo_id": "owncloud", "token_count": 335 }
872
import { Page } from '@playwright/test' const groupsNavSelector = '//a[@data-nav-name="admin-settings-groups"]' const appLoadingSpinnerSelector = '#app-loading-spinner' export class Groups { #page: Page constructor({ page }: { page: Page }) { this.#page = page } async navigate(): Promise<void> { awai...
owncloud/web/tests/e2e/support/objects/app-admin-settings/page/groups.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/objects/app-admin-settings/page/groups.ts", "repo_id": "owncloud", "token_count": 156 }
873
import { Page } from '@playwright/test' export class Projects { #page: Page constructor({ page }: { page: Page }) { this.#page = page } async navigate(): Promise<void> { await this.#page.locator('//a[@data-nav-name="files-spaces-projects"]').click() await this.#page.locator('#app-loading-spinner'...
owncloud/web/tests/e2e/support/objects/app-files/page/spaces/projects.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/objects/app-files/page/spaces/projects.ts", "repo_id": "owncloud", "token_count": 127 }
874
import { Locator, Page } from '@playwright/test' const closeTextEditorOrViewerButton = '#app-top-bar-close' const saveTextEditorOrViewerButton = '#app-save-action' const texEditor = '#text-editor' const pdfViewer = '#pdf-viewer' const imageViewer = '.stage' export const close = (page: Page): Promise<unknown> => { r...
owncloud/web/tests/e2e/support/objects/app-files/utils/editor.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/objects/app-files/utils/editor.ts", "repo_id": "owncloud", "token_count": 393 }
875
import { Token } from '../types' export const createdTokenStore = new Map<string, Token>() export const keycloakTokenStore = new Map<string, Token>()
owncloud/web/tests/e2e/support/store/token.ts/0
{ "file_path": "owncloud/web/tests/e2e/support/store/token.ts", "repo_id": "owncloud", "token_count": 44 }
876
import { CompilerOptions } from '@vue/compiler-sfc' export const compilerOptions: CompilerOptions = { whitespace: 'preserve' }
owncloud/web/vite.config.common.ts/0
{ "file_path": "owncloud/web/vite.config.common.ts", "repo_id": "owncloud", "token_count": 42 }
877
FROM mattrayner/lamp:latest-2004-php7 LABEL maintainer="8023 - i@8023.moe" LABEL description="pikachu on php7 with expect @230613" COPY . /app/ RUN apt-get update -y &&\ apt-get install -y php7.4-dev php-pear expect tcl-dev tcl-expect-dev &&\ ln -s /usr/include/tcl8.6/tcl.h /usr/include/tcl.h &&\ ln -s /usr...
zhuifengshaonianhanlu/pikachu/Dockerfile/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/Dockerfile", "repo_id": "zhuifengshaonianhanlu", "token_count": 664 }
878
<?php // error_reporting(0); include_once '../inc/config.inc.php'; include_once '../inc/mysql.inc.php'; $link=connect(); // 判断是否登录,没有登录不能访问 if(!check_login($link)){ header("location:../pkxss_login.php"); } if(isset($_GET['id']) && is_numeric($_GET['id'])){ $id=escape($link, $_GET['id']); $query="delete f...
zhuifengshaonianhanlu/pikachu/pkxss/rkeypress/pkxss_keypress_result.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/pkxss/rkeypress/pkxss_keypress_result.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 702 }
879
<?php $html=<<<A <pre> Good morning, and in case I don't see ya, good afternoon, good evening, and good night! </pre> A; ?>
zhuifengshaonianhanlu/pikachu/vul/dir/soup/truman.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/dir/soup/truman.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 51 }
880
<?php /** * Created by runner.han * There is nothing new under the sun */ $SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1); if ($SELF_PAGE = "findabc.php"){ $ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',...
zhuifengshaonianhanlu/pikachu/vul/infoleak/findabc.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/infoleak/findabc.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 2238 }
881
<?php /** * Created by runner.han * There is nothing new under the sun */ $SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1); if ($SELF_PAGE = "sqli_header.php"){ $ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''...
zhuifengshaonianhanlu/pikachu/vul/sqli/sqli_header/sqli_header.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/sqli/sqli_header/sqli_header.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 1628 }
882
<?php /** * Created by runner.han * There is nothing new under the sun */ $SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1); if ($SELF_PAGE = "unsafedownload.php"){ $ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''...
zhuifengshaonianhanlu/pikachu/vul/unsafedownload/down_nba.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/unsafedownload/down_nba.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 2632 }
883
<?php /** * Created by runner.han * There is nothing new under the sun */ $SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1); if ($SELF_PAGE = "clientcheck.php"){ $ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''...
zhuifengshaonianhanlu/pikachu/vul/unsafeupload/getimagesize.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/unsafeupload/getimagesize.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 1386 }
884
<?php /** * Created by runner.han * There is nothing new under the sun */ $SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['PHP_SELF'],'/')+1); if ($SELF_PAGE = "xss_stored.php"){ $ACTIVE = array('','','','','','','','active open','','','','active','','','','','','','','','','','','','','','','','','...
zhuifengshaonianhanlu/pikachu/vul/xss/xss_stored.php/0
{ "file_path": "zhuifengshaonianhanlu/pikachu/vul/xss/xss_stored.php", "repo_id": "zhuifengshaonianhanlu", "token_count": 1852 }
885
<!doctype html> <html> <head> <title>8th Wall Web: Art Gallery</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> <!-- We've included a slightly modified version of A-Frame, which fixes s...
8thwall/web/examples/aframe/artgallery/index.html/0
{ "file_path": "8thwall/web/examples/aframe/artgallery/index.html", "repo_id": "8thwall", "token_count": 776 }
0
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>8th Wall Web: Toss an Object</title> <!-- We've included a slightly modified version of A-Frame, which fixes some polish concerns --> <script src="//cdn.8thwall.com/web/aframe/8frame-1.1.0.min.js"></script> <script src="//cdn.8thwall.com...
8thwall/web/examples/aframe/tossobject/index.html/0
{ "file_path": "8thwall/web/examples/aframe/tossobject/index.html", "repo_id": "8thwall", "token_count": 1129 }
1
// Copyright (c) 2018 8th Wall, Inc. // Define a custom pipeline module. This module scans the camera feed for qr codes, and makes the // result available to other modules in onUpdate. It requires that the CameraPixelArray module is // installed and configured to provide a luminance (black and white) image. const qrpr...
8thwall/web/examples/camerapipeline/qrcode/index.js/0
{ "file_path": "8thwall/web/examples/camerapipeline/qrcode/index.js", "repo_id": "8thwall", "token_count": 1776 }
2
/* Ported to JavaScript by Lazar Laszlo 2011 lazarsoft@gmail.com, www.lazarsoft.info */ /* * * Copyright 2007 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
8thwall/web/examples/camerapipeline/qrcode/jsqrcode/src/grid.js/0
{ "file_path": "8thwall/web/examples/camerapipeline/qrcode/jsqrcode/src/grid.js", "repo_id": "8thwall", "token_count": 1998 }
3
# 8th Wall Web Examples - three.js - Flyer This example uses image targets to display information about jellyfish on a flyer. ![artgallery-screenshot](../../../images/screenshot-flyer.jpg) ![flyer](./flyer.jpg) [Try the live demo here](https://templates.8thwall.app/flyer-threejs) ## Uploading to Console To link t...
8thwall/web/examples/threejs/flyer/README.md/0
{ "file_path": "8thwall/web/examples/threejs/flyer/README.md", "repo_id": "8thwall", "token_count": 144 }
4
.hidden { display: none; }
8thwall/web/gettingstarted/aframe-imagetarget/index.css/0
{ "file_path": "8thwall/web/gettingstarted/aframe-imagetarget/index.css", "repo_id": "8thwall", "token_count": 12 }
5
.hidden { display: none; }
8thwall/web/gettingstarted/threejs-imagetarget/index.css/0
{ "file_path": "8thwall/web/gettingstarted/threejs-imagetarget/index.css", "repo_id": "8thwall", "token_count": 12 }
6
# XR Extras This library provides modules that extend the [Camera Pipeline Module framework](https://docs.8thwall.com/web/#camerapipelinemodule) in [8th Wall XR](https://8thwall.com/products-web.html) to handle common application needs. The library is served at [//cdn.8thwall.com/web/xrextras/xrextras.js](https://cdn...
8thwall/web/xrextras/README.md/0
{ "file_path": "8thwall/web/xrextras/README.md", "repo_id": "8thwall", "token_count": 2647 }
7
// Get a promise that resolves when an event with the given name has been dispacted to the window. const waitEventPromise = eventname => new Promise(resolve => window.addEventListener(eventname, resolve, {once: true})) // If XR and XRExtras aren't loaded, wait for them. const ensureXrAndExtras = () => { const eventn...
8thwall/web/xrextras/src/aframe/ensure.js/0
{ "file_path": "8thwall/web/xrextras/src/aframe/ensure.js", "repo_id": "8thwall", "token_count": 164 }
8
/* globals XR8 */ const currentConfig = { enableEndCard: true, footerImageUrl: 'https://cdn.8thwall.com/web/img/almostthere/v2/poweredby-horiz-white-4.svg', } const internalConfig = {} let waitingOnXr = false let loadedWatermarkUrl const updateWatermarkImage = () => { const newImageUrl = internalConfig.water...
8thwall/web/xrextras/src/mediarecorder/capture-config.js/0
{ "file_path": "8thwall/web/xrextras/src/mediarecorder/capture-config.js", "repo_id": "8thwall", "token_count": 582 }
9
/* globals XR8 */ import '../fonts/fonts.css' import './pwa-installer-module.css' import {MILLISECONDS_PER_SECOND, MILLISECONDS_PER_DAY} from './time' import html from './pwa-installer-module.html' import iosActionSvg from './ios-action-icon-svg.html' const NUM_VISITS_BEFORE_INSTALL_PROMPT = 2 const PROMPT_DISMISSAL_...
8thwall/web/xrextras/src/pwainstallermodule/pwa-installer-module.js/0
{ "file_path": "8thwall/web/xrextras/src/pwainstallermodule/pwa-installer-module.js", "repo_id": "8thwall", "token_count": 4060 }
10
## 1、文本元素 CSS 的文本属性设置: ### 1.1、属性 ```css font-size: 50px; /*文字大小*/ font-weight: bold; /*文字粗细 */ font-family: "微软雅黑"; /*文本的字体*/ font-style: normal | italic; /*normal:默认值 italic:斜体*/ line-height: 50px /*行高*/ ``` ### 1.2、连写方式 ```css /* 格式:font: font-style font-weight font-size/line-he...
Daotin/Web/02-CSS/01-CSS基础/02-文本元素、标签分类、CSS三大特性.md/0
{ "file_path": "Daotin/Web/02-CSS/01-CSS基础/02-文本元素、标签分类、CSS三大特性.md", "repo_id": "Daotin", "token_count": 3039 }
11
## 1、元素创建的三种方式 ### 1.1、方式一 `document.write("标签代码及内容");` 示例: ```html <body> <input type="button" value="按钮" id="btn"> <script src="common.js"></script> <script> my$("btn").onclick = function() { document.write("<p>这是一个p标签</p>"); }; // document.write("<p>这是一个p标签</p>")...
Daotin/Web/03-JavaScript/02-DOM/05-元素的创建,元素增删改查.md/0
{ "file_path": "Daotin/Web/03-JavaScript/02-DOM/05-元素的创建,元素增删改查.md", "repo_id": "Daotin", "token_count": 4506 }
12
需求:使用接口文档验证用户名、邮箱、手机的唯一性 ## 1、接口文档 当前端界面需要从服务器获取数据的时候,其实就是眼访问一个 URL 地址,指定特定的参数即可。这个 URL 对应的是 php 或者 jsp 等都是服务器开发人员已经开发好了。服务器开发人员开发好相关的接口之后,会提供一份接口文档给前端开发人员,在接口中会详细说明你要获取什么数据,访问什么地址,传入什么参数等等内容,下面就是一个简单接口文档的内容: **验证用户名唯一性的接口** | 地址 | /server/checkUsername.php | | ------- | -----------------------------...
Daotin/Web/06-Ajax/07-接口文档,验证用户名唯一性案例.md/0
{ "file_path": "Daotin/Web/06-Ajax/07-接口文档,验证用户名唯一性案例.md", "repo_id": "Daotin", "token_count": 10908 }
13
我们先看看要实现的效果图: ![](./images/19.png) ### 1、项目需求: - 全屏页面 - 右侧的页面随着页面宽度的变化而变化,左侧栏宽度固定不变。 - 左侧栏可以上下滑动,如果滑动超出上下范围自动反弹回去 - 点击左侧栏每个项目,自动滚动左侧栏使得项目置顶 - 当点击项目可能使得超出滑动范围的时候,以滑动范围为准,当前点击的项目不必置顶。 ### 2、项目分析 **如何实现一个全屏页面,没有滚动条?** 如下面的结构:大盒子1和大盒子2分为上下结构,小盒子3和小盒子4在大盒子2的内部,分为左右结构。 ![](./images/4.png) 那么如何排布,使得上下左右都没有滚动条呢? *...
Daotin/Web/07-移动Web开发/04-实现JD分类页面.md/0
{ "file_path": "Daotin/Web/07-移动Web开发/04-实现JD分类页面.md", "repo_id": "Daotin", "token_count": 12394 }
14
;(function () { 'use strict'; /** * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs. * * @codingstandard ftlabs-jsv2 * @copyright The Financial Times Limited [All Rights Reserved] * @license MIT License (see LICENSE.txt) */ /*jslint browser:true, node:true*/ /*global de...
Daotin/Web/07-移动Web开发/案例源码/02-仿JD移动端/js/fastclick.js/0
{ "file_path": "Daotin/Web/07-移动Web开发/案例源码/02-仿JD移动端/js/fastclick.js", "repo_id": "Daotin", "token_count": 8481 }
15
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet" href="./css/base.css"> <link rel="stylesheet" href=...
Daotin/Web/07-移动Web开发/案例源码/02-仿JD移动端/新建文件夹/category.html/0
{ "file_path": "Daotin/Web/07-移动Web开发/案例源码/02-仿JD移动端/新建文件夹/category.html", "repo_id": "Daotin", "token_count": 6364 }
16
$(function () { // 获取所有的item元素 var items = $(".carousel-inner .item"); // 当屏幕大小改变的时候,动态创建图片 // triggle函数表示页面在第一次加载的时候,自动触发一次。 $(window).on("resize", function () { // 判断屏幕的大小,以决定加载大图还是小图 var screenWidth = $(window).width(); // 添加大屏幕的图片 if (screenWidth >= 768) { ...
Daotin/Web/07-移动Web开发/案例源码/03-微金所/js/wjs-index.js/0
{ "file_path": "Daotin/Web/07-移动Web开发/案例源码/03-微金所/js/wjs-index.js", "repo_id": "Daotin", "token_count": 1802 }
17
// This file is autogenerated via the `commonjs` Grunt task. You can require() this file in a CommonJS environment. require('../../js/transition.js') require('../../js/alert.js') require('../../js/button.js') require('../../js/carousel.js') require('../../js/collapse.js') require('../../js/dropdown.js') require('../../...
Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/bootstrap/js/npm.js/0
{ "file_path": "Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/bootstrap/js/npm.js", "repo_id": "Daotin", "token_count": 172 }
18
/* FONT PATH * -------------------------- */ @font-face { font-family: 'FontAwesome'; src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), url('#{$fa-font-path}/fontawesome-webfont.wof...
Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/font-awesome-4.7.0/scss/_path.scss/0
{ "file_path": "Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/font-awesome-4.7.0/scss/_path.scss", "repo_id": "Daotin", "token_count": 332 }
19
## 几个要点: - Nodejs 是基于 Chrome 的 V8 引擎开发的一个 C++ 程序,目的是提供一个 **JS 的运行环境**。 - Node.js 和浏览器是不同的环境,是有着很多细小的差异的。首先,二者各自包含的全局变量不同。document 对象是用来操作页面的,所以只有浏览器环境下才可以直接使用。但是如果是要放到 Node.js 环境下运行代码,就不要使用 document 。同样的道理,Node.js 中可以直接拿来使用的 http 对象,在浏览器环境下就没有。其次,Node.js 和浏览器对 ES6 新特性的支持程度也是不同的,这一点也要注意。(参考:[Node.js与浏览器的区别](http://node...
Daotin/Web/10-Node.js/00-什么是Node.js.md/0
{ "file_path": "Daotin/Web/10-Node.js/00-什么是Node.js.md", "repo_id": "Daotin", "token_count": 1616 }
20
## 一、Gulp介绍 Gulp 中文主页: http://www.gulpjs.com.cn/ ![](./images/11.png) gulp是与grunt功能类似的**前端项目构建**工具, 也是基于Nodejs的**自动任务运行器** 。能自动化地完成 javascript/coffee/sass/less/html/image/css 等文件的合并、压缩、检查、监听文件变化、浏览器自动刷新、测试等任务。 gulp比Grunt更加高效,Gulp是基于**异步多任务**的处理方式,而 Grunt 则是同步的任务处理方式。使得Gulp 更易于使用。 **注意:Gulp 也不支持 ES6 语法。** ##...
Daotin/Web/11-自动化构建/02-Gulp.md/0
{ "file_path": "Daotin/Web/11-自动化构建/02-Gulp.md", "repo_id": "Daotin", "token_count": 7720 }
21
举例示例内容链接到上一篇 **Vue的组件** --- <!-- TOC --> - [一、slot内容插槽](#一slot内容插槽) - [1、slot的基本使用](#1slot的基本使用) - [2、具名slot](#2具名slot) - [3、slot-scope](#3slot-scope) - [补充](#3补充) <!-- /TOC --> ## 一、slot内容插槽 ### 1、slot的基本使用 现在我们在component文件夹新建一个组件Box.js ```js // Box.js export let Box = { template: require('...
Daotin/Web/12-Vue/08-内容插槽slot.md/0
{ "file_path": "Daotin/Web/12-Vue/08-内容插槽slot.md", "repo_id": "Daotin", "token_count": 5578 }
22
## 什么是混入 混入(mixin)相当于从一个组件中抽出公共的部分形成的一个对象。 这个对象可以包含任意组件选项(如,data,created等,组件有的属性,它都可以有)。 例如: ```js // 定义一个混入对象 var myMixin = { created: function () { this.hello() }, methods: { hello: function () { console.log('hello from mixin!') } } } // 定义一个使用混入对象的组件 var Component = Vue.extend({ mi...
Daotin/Web/12-Vue/混入.md/0
{ "file_path": "Daotin/Web/12-Vue/混入.md", "repo_id": "Daotin", "token_count": 1852 }
23
## 项目介绍 📚 本项目为从零开始学 Web 前端系列图文教程。从零基础开始,手把手教你进入前端开发的世界。从入门到进阶,我们一同前行。 ![](https://img.shields.io/badge/stars-129-blue.svg) ![](https://img.shields.io/badge/forks-47-blue.svg) ![](https://img.shields.io/badge/licence-MIT-success.svg) 对于非计算机专业的我来说,初学前端领域的时候,常常因为找不到适合零基础自学的教程感到无助,即使找到了一些学习资料,也因为零零散散不成体系而让人困惑,所以才有了本教程。...
Daotin/Web/README.md/0
{ "file_path": "Daotin/Web/README.md", "repo_id": "Daotin", "token_count": 790 }
24
/* Navicat Premium Data Transfer Source Server : 阿里云MySQL Source Server Type : MySQL Source Server Version : 50718 Source Host : rm-wz9lp2i9322g0n06zvo.mysql.rds.aliyuncs.com:3306 Source Schema : web Target Server Type : MySQL Target Server Version : 50718 File Encoding ...
Humsen/web/docs/数据库部署/第1步 - 创建数据库/message_area.sql/0
{ "file_path": "Humsen/web/docs/数据库部署/第1步 - 创建数据库/message_area.sql", "repo_id": "Humsen", "token_count": 462 }
25
package pers.husen.web.bean.vo; import java.util.Date; /** * @author 何明胜 * * 2017年9月25日 */ public class MessageAreaVo { private int messageId; private int messageParent; private int messageBelong; private String messageContent; private Date messageDate; private String messageEmail; private String messageUs...
Humsen/web/web-core/src/pers/husen/web/bean/vo/MessageAreaVo.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/bean/vo/MessageAreaVo.java", "repo_id": "Humsen", "token_count": 775 }
26
package pers.husen.web.common.helper; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; /** * @desc MD5加密工具 * * @author 何明胜 * * @created 2017年12月29日 上午10:56:47 */ public class Md5EncryptHelper { private static final String KEY_MD5 = "MD5"; /** 全局数组 */ private static...
Humsen/web/web-core/src/pers/husen/web/common/helper/Md5EncryptHelper.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/common/helper/Md5EncryptHelper.java", "repo_id": "Humsen", "token_count": 905 }
27
package pers.husen.web.dao; import java.util.ArrayList; import pers.husen.web.bean.vo.CodeLibraryVo; /** * @author 何明胜 * * 2017年9月28日 */ public interface CodeLibraryDao { /** * 根据条件查询代码库数量 * @param cVo * @return */ public int queryCodeTotalCount(CodeLibraryVo cVo); /** * 根据条件查询某一页的代码库 * @param c...
Humsen/web/web-core/src/pers/husen/web/dao/CodeLibraryDao.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/dao/CodeLibraryDao.java", "repo_id": "Humsen", "token_count": 669 }
28
package pers.husen.web.dbutil; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import pers.husen.web.dbutil.assist.DbConnectUtils; import pers.husen.web.dbutil.assist.SetPsParamUtils; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import j...
Humsen/web/web-core/src/pers/husen/web/dbutil/DbManipulationUtils.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/dbutil/DbManipulationUtils.java", "repo_id": "Humsen", "token_count": 760 }
29
/** * 个人网站 web * * @author 何明胜 * * 2017年10月21日 */ package pers.husen.web;
Humsen/web/web-core/src/pers/husen/web/package-info.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/package-info.java", "repo_id": "Humsen", "token_count": 50 }
30
package pers.husen.web.servlet.article; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import...
Humsen/web/web-core/src/pers/husen/web/servlet/article/CodeUploadSvt.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/servlet/article/CodeUploadSvt.java", "repo_id": "Humsen", "token_count": 1007 }
31
package pers.husen.web.servlet.releasefea; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; imp...
Humsen/web/web-core/src/pers/husen/web/servlet/releasefea/EditRlseFetrSvt.java/0
{ "file_path": "Humsen/web/web-core/src/pers/husen/web/servlet/releasefea/EditRlseFetrSvt.java", "repo_id": "Humsen", "token_count": 764 }
32
@charset "UTF-8"; .forget-pwd { margin-left: 12%; } .navbar-bottom { text-align: center; background-color: whitesmoke; } .login-title { margin: 0; } .qq-fixed-bottom { bottom: 20px; margin-bottom: 0; border-width: 1px 0 0; }
Humsen/web/web-mobile/WebContent/css/login/login.css/0
{ "file_path": "Humsen/web/web-mobile/WebContent/css/login/login.css", "repo_id": "Humsen", "token_count": 108 }
33
<!-- 放在login.jsp里面 --> <!-- 右侧固定栏 --> <link rel="stylesheet" href="/css/navigation/rightbar.css" /> <div id="rightBar"> <div> <div class="sidebar-module"> <h4>关于本站</h4> <p>&emsp;欢迎来到何明胜的个人网站.</p> <p>体验账户:husen,密码:admin123,登录可以看到后台菜单,并体检管理员权限,盼文明操作。此代码为初级Java web项目,已停止维护,仅供参考。</p> <p>本站源码已托管github。欢迎访问:<...
Humsen/web/web-mobile/WebContent/module/navigation/rightbar.html/0
{ "file_path": "Humsen/web/web-mobile/WebContent/module/navigation/rightbar.html", "repo_id": "Humsen", "token_count": 559 }
34
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE // Open simple dialogs on top of an editor. Relies on dialog.css. (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemi...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/dialog/dialog.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/dialog/dialog.js", "repo_id": "Humsen", "token_count": 1935 }
35
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("./foldcode")); else if (typeof define == "functi...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/fold/foldgutter.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/fold/foldgutter.js", "repo_id": "Humsen", "token_count": 1947 }
36
/* The lint marker gutter */ .CodeMirror-lint-markers { width: 16px; } .CodeMirror-lint-tooltip { background-color: infobackground; border: 1px solid black; border-radius: 4px 4px 4px 4px; color: infotext; font-family: monospace; font-size: 10pt; overflow: hidden; padding: 2px 5px; position: fixed;...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/lint/lint.css/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/lint/lint.css", "repo_id": "Humsen", "token_count": 1537 }
37
.CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div { position: absolute; background: #ccc; -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #bbb; border-radius: 2px; } .CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical { position: abso...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/scroll/simplescrollbars.css/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/scroll/simplescrollbars.css", "repo_id": "Humsen", "token_count": 554 }
38
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // A...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/d/d.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/d/d.js", "repo_id": "Humsen", "token_count": 3037 }
39
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // A...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/kotlin/kotlin.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/kotlin/kotlin.js", "repo_id": "Humsen", "token_count": 3571 }
40
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function() { var mode = CodeMirror.getMode({indentUnit: 2}, "php"); function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } MT('simple_test', '[meta...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/php/test.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/php/test.js", "repo_id": "Humsen", "token_count": 2947 }
41
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // A...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/sieve/sieve.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/sieve/sieve.js", "repo_id": "Humsen", "token_count": 1867 }
42
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") { // CommonJS mod(require("../../lib/codemirror")); } else if (typeof define == "function" && define.amd) ...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/textile/textile.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/textile/textile.js", "repo_id": "Humsen", "token_count": 6119 }
43
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // A...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/xquery/xquery.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/xquery/xquery.js", "repo_id": "Humsen", "token_count": 5979 }
44
.cm-s-erlang-dark.CodeMirror { background: #002240; color: white; } .cm-s-erlang-dark div.CodeMirror-selected { background: #b36539 !important; } .cm-s-erlang-dark.CodeMirror ::selection { background: rgba(179, 101, 57, .99); } .cm-s-erlang-dark.CodeMirror ::-moz-selection { background: rgba(179, 101, 57, .99); } .cm-s...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/erlang-dark.css/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/erlang-dark.css", "repo_id": "Humsen", "token_count": 922 }
45
/* Name: Tomorrow Night - Eighties Author: Chris Kempson CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror) Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ .cm-s-tomorrow-night-eighties.CodeMirror {background: #00000...
Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/tomorrow-night-eighties.css/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/tomorrow-night-eighties.css", "repo_id": "Humsen", "token_count": 850 }
46
/*! * Test plugin for Editor.md * * @file test-plugin.js * @author pandao * @version 1.2.0 * @updateTime 2015-03-07 * {@link https://github.com/pandao/editor.md} * @license MIT */ (function() { var factory = function (exports) { var $ = jQuery; // if usi...
Humsen/web/web-mobile/WebContent/plugins/editormd/plugins/test-plugin/test-plugin.js/0
{ "file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/plugins/test-plugin/test-plugin.js", "repo_id": "Humsen", "token_count": 660 }
47
@charset "UTF-8"; .upload-file-form { margin-top: 50px; }
Humsen/web/web-pc/WebContent/css/personal_center/upload-file.css/0
{ "file_path": "Humsen/web/web-pc/WebContent/css/personal_center/upload-file.css", "repo_id": "Humsen", "token_count": 29 }
48
<!-- DataTables CSS --> <link rel="stylesheet" href="/plugins/DataTables/css/jquery.dataTables.css"> <!-- bootstrap --> <link rel="stylesheet" href="/plugins/DataTables/css/dataTables.bootstrap4.css"> <!-- 自定义css --> <link rel="stylesheet" href="/css/personal_center/show-users.css"> <!-- jQuery --> <!-- <script sr...
Humsen/web/web-pc/WebContent/personal_center/show_users.html/0
{ "file_path": "Humsen/web/web-pc/WebContent/personal_center/show_users.html", "repo_id": "Humsen", "token_count": 340 }
49
# Translation of Odoo Server. # This file contains the translation of the following modules: # * web_advanced_search_x2x # # Translators: # Rodrigo de Almeida Sottomaior Macedo <rmsolucoeseminformatic4@gmail.com>, 2017 msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-...
OCA/web/web_advanced_search/i18n/pt_BR.po/0
{ "file_path": "OCA/web/web_advanced_search/i18n/pt_BR.po", "repo_id": "OCA", "token_count": 610 }
50
/** @odoo-module **/ import AdvancedFilterItem from "./advanced_filter_item.esm"; import FilterMenu from "web.FilterMenu"; import {patch} from "@web/core/utils/patch"; /** * Patches the FilterMenu for legacy widgets. * * Tree views still use this old legacy widget, so we need to patch it. * This is likely to disa...
OCA/web/web_advanced_search/static/src/legacy/js/control_panel/filter_menu.esm.js/0
{ "file_path": "OCA/web/web_advanced_search/static/src/legacy/js/control_panel/filter_menu.esm.js", "repo_id": "OCA", "token_count": 169 }
51
# © 2023 David BEAL @ Akretion # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). import logging from odoo import api, exceptions, models logger = logging.getLogger(__name__) class Base(models.AbstractModel): _inherit = "base" @api.model def _get_view(self, view_id=None, view_type="f...
OCA/web/web_apply_field_style/models/base.py/0
{ "file_path": "OCA/web/web_apply_field_style/models/base.py", "repo_id": "OCA", "token_count": 955 }
52
This documentation is for developers. If you want to configure your calendar view's snap duration, make sure that you action includes a context similar to this (example is the default value):: {"calendar_slot_duration": "00:30:00"} It can be added in actions defined on python or as ``ir.actions.act_window`` reco...
OCA/web/web_calendar_slot_duration/readme/CONFIGURE.rst/0
{ "file_path": "OCA/web/web_calendar_slot_duration/readme/CONFIGURE.rst", "repo_id": "OCA", "token_count": 86 }
53
# Translation of Odoo Server. # This file contains the translation of the following modules: # * web_chatter_position # msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2023-04-03 13:22+0000\n" "Last-Translator: Bole <bole@dajmi5.com>\n" "Language-Team: none\n" ...
OCA/web/web_chatter_position/i18n/hr.po/0
{ "file_path": "OCA/web/web_chatter_position/i18n/hr.po", "repo_id": "OCA", "token_count": 567 }
54
================= Web Company Color ================= .. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:0d77639a7...
OCA/web/web_company_color/README.rst/0
{ "file_path": "OCA/web/web_company_color/README.rst", "repo_id": "OCA", "token_count": 1207 }
55
# Copyright 2020 Alexandre Díaz <dev@redneboa.es> # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models from .assetsbundle import AssetsBundleCompanyColor class QWeb(models.AbstractModel): _inherit = "ir.qweb" def _generate_asset_nodes_cache( self, bundle, ...
OCA/web/web_company_color/models/ir_qweb.py/0
{ "file_path": "OCA/web/web_company_color/models/ir_qweb.py", "repo_id": "OCA", "token_count": 574 }
56
# Translation of Odoo Server. # This file contains the translation of the following modules: # * web_copy_confirm # msgid "" msgstr "" "Project-Id-Version: Odoo Server 14.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2021-10-13 20:46+0000\n" "Last-Translator: Corneliuus <cornelius@clk-it.de>\n" "Language-Team: no...
OCA/web/web_copy_confirm/i18n/de.po/0
{ "file_path": "OCA/web/web_copy_confirm/i18n/de.po", "repo_id": "OCA", "token_count": 400 }
57
# Translation of Odoo Server. # This file contains the translation of the following modules: # * web_dark_mode # msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2023-02-16 14:23+0000\n" "Last-Translator: Bole <bole@dajmi5.com>\n" "Language-Team: none\n" "Langua...
OCA/web/web_dark_mode/i18n/hr.po/0
{ "file_path": "OCA/web/web_dark_mode/i18n/hr.po", "repo_id": "OCA", "token_count": 537 }
58