text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
// Copyright (c) 2022 8th Wall, Inc.
/* globals AFRAME */
AFRAME.registerComponent('target-video', {
schema: {
name: {type: 'string'},
video: {type: 'string'},
},
init() {
const {object3D} = this.el
const {name} = this.data
object3D.visible = false
const v = document.querySelector(this.da... | 8thwall/web/examples/aframe/alpha-video/target-video.js/0 | {
"file_path": "8thwall/web/examples/aframe/alpha-video/target-video.js",
"repo_id": "8thwall",
"token_count": 416
} | 0 |
// Copyright (c) 2021 8th Wall, Inc.
/* globals AFRAME */
// This component hides and shows certain elements as the camera moves
AFRAME.registerComponent('portal', {
schema: {
width: {default: 4},
height: {default: 6},
depth: {default: 1},
},
init() {
this.camera = document.getElementById('camera... | 8thwall/web/examples/aframe/portal/portal-components.js/0 | {
"file_path": "8thwall/web/examples/aframe/portal/portal-components.js",
"repo_id": "8thwall",
"token_count": 1123
} | 1 |
const reportWebVitals = (onPerfEntry) => {
if (onPerfEntry && onPerfEntry instanceof Function) {
import('web-vitals').then(({getCLS, getFID, getFCP, getLCP, getTTFB}) => {
getCLS(onPerfEntry)
getFID(onPerfEntry)
getFCP(onPerfEntry)
getLCP(onPerfEntry)
getTTFB(onPerfEntry)
})
}
... | 8thwall/web/examples/aframe/reactapp/src/reportWebVitals.js/0 | {
"file_path": "8thwall/web/examples/aframe/reactapp/src/reportWebVitals.js",
"repo_id": "8thwall",
"token_count": 164
} | 2 |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>8th Wall Web: babylon.js</title>
<link rel="stylesheet" type="text/css" href="index.css">
<!-- Babylo... | 8thwall/web/examples/babylonjs/placeground/index.html/0 | {
"file_path": "8thwall/web/examples/babylonjs/placeground/index.html",
"repo_id": "8thwall",
"token_count": 466
} | 3 |
/*
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/datablock.js/0 | {
"file_path": "8thwall/web/examples/camerapipeline/qrcode/jsqrcode/src/datablock.js",
"repo_id": "8thwall",
"token_count": 1196
} | 4 |
<!doctype html>
<html>
<head>
<title>8thWall Web: Simple Shaders</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" href="index.css">
<!-- XR Extras - provides utilities like load screen, almost there, and error hand... | 8thwall/web/examples/camerapipeline/simpleshaders/index.html/0 | {
"file_path": "8thwall/web/examples/camerapipeline/simpleshaders/index.html",
"repo_id": "8thwall",
"token_count": 310
} | 5 |
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>8th Wall Web: babylon.js</title>
<link rel="stylesheet" type="text/css" href="index.css">
<!-- Babylo... | 8thwall/web/gettingstarted/babylonjs/index.html/0 | {
"file_path": "8thwall/web/gettingstarted/babylonjs/index.html",
"repo_id": "8thwall",
"token_count": 485
} | 6 |
/* globals AFRAME, XRExtras, XR8 */
import {xrComponents} from './xr-components'
import {xrPrimitives} from './xr-primitives'
import {ensureXrAndExtras} from './ensure'
let xrextrasAframe = null
const onxrloaded = () => { XR8.addCameraPipelineModule(XRExtras.Loading.pipelineModule()) }
// We want to start showing t... | 8thwall/web/xrextras/src/aframe/aframe.js/0 | {
"file_path": "8thwall/web/xrextras/src/aframe/aframe.js",
"repo_id": "8thwall",
"token_count": 2343
} | 7 |
* {
font-family: inherit;
box-sizing: inherit;
}
.absolute-fill {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
}
.hidden {
display: none !important;
}
.error-text-outer-container {
display: flex;
align-items: center;
justify-content: center;
}
.error-text-container {
flex: 0 0 a... | 8thwall/web/xrextras/src/common.css/0 | {
"file_path": "8thwall/web/xrextras/src/common.css",
"repo_id": "8thwall",
"token_count": 723
} | 8 |
<div id="recorder" class="recorder-container">
<svg viewBox="0 0 38 38" class="progress-container">
<circle class="progress-track" r="16" cx="19" cy="19"></circle>
<circle id="progressBar" class="progress-bar" r="16" cx="19" cy="19"></circle>
<circle class="loading-circle" r="16" cx="19" cy="19"></circle>... | 8thwall/web/xrextras/src/mediarecorder/record-button.html/0 | {
"file_path": "8thwall/web/xrextras/src/mediarecorder/record-button.html",
"repo_id": "8thwall",
"token_count": 171
} | 9 |
const STATS_URL = 'https://cdn.8thwall.com/web/aframe/stats.16.min.js'
let statsModule = null
const loadJsPromise = url => new Promise((resolve, reject) => (
document.head.appendChild(
Object.assign(
document.createElement('script'),
{async: true, onload: resolve, onError: reject, src: url}
)
)... | 8thwall/web/xrextras/src/statsmodule/stats.js/0 | {
"file_path": "8thwall/web/xrextras/src/statsmodule/stats.js",
"repo_id": "8thwall",
"token_count": 557
} | 10 |
## 一、颜色模式
颜色模式有两种:
- RGBA
`rgba(0,0,0,0.5); //黑色,透明度0.5`
- HSLA(颜色(0~360),饱和度(0%~100%),明度(0%~100%),透明度(0~1))
**红橙黄绿青蓝紫红**:颜色从 0~360 顺序,各占30度。比如红色为0,黄色为120,绿色为240。
`HSLA(0, 100%, 50%, 1); // 红色不透明,饱和度100%,亮度50%`
明度默认是50%,一般建议保留50的值,如果加到100后,变成白色,降到0后为黑色。
> 注意:
>
> 1、RGBA和HSLA中的透明度**不会影响子元素的透明度,不具继承性;**
>... | Daotin/Web/02-CSS/02-CSS3/02-颜色模式,文字阴影,盒模型,边框圆角,边框阴影.md/0 | {
"file_path": "Daotin/Web/02-CSS/02-CSS3/02-颜色模式,文字阴影,盒模型,边框圆角,边框阴影.md",
"repo_id": "Daotin",
"token_count": 3831
} | 11 |
## 1、函数的定义
```javascript
// 第一种:声明式函数-------------------------------
function fn1(){
console.log("我是第一种定义方法!");
}
// 第二种:赋值式函数------------------------------------
var fn2 = function (){
console.log("我是第二种定义方法!");
}; // 注意分号
// 使用方式1:
fn2();
// 使用方式2:函数的自调用
(function (a,b){
console.log("我是第二种定义方法!" + a+b)... | Daotin/Web/03-JavaScript/01-JavaScript基础知识/04-函数.md/0 | {
"file_path": "Daotin/Web/03-JavaScript/01-JavaScript基础知识/04-函数.md",
"repo_id": "Daotin",
"token_count": 7365
} | 12 |
打飞机小案例
玩法:键盘上下左右方向键控制飞机的移动,子弹打到敌机,敌机消失,计分板显示消灭敌机数量。
代码如下:
```html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
... | Daotin/Web/03-JavaScript/02-DOM/案例04:打飞机.md/0 | {
"file_path": "Daotin/Web/03-JavaScript/02-DOM/案例04:打飞机.md",
"repo_id": "Daotin",
"token_count": 4668
} | 13 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<style>
.map {
width: 800px;
height: 600px;
background-color: #ccc;
position: relative;
}
</style>
</head>
<body>
<div class="map"></div>
<script src="comm... | Daotin/Web/03-JavaScript/04-JavaScript高级知识/案例源码/贪吃蛇/index.html/0 | {
"file_path": "Daotin/Web/03-JavaScript/04-JavaScript高级知识/案例源码/贪吃蛇/index.html",
"repo_id": "Daotin",
"token_count": 5407
} | 14 |
前提:我们在mysql创建了一个数据库: mydb.
mydb 里面有个数据表 mytable。
mytable 中的数据为:
| id | name | age |
| ---- | ------ | ---- |
| 1 | daotin | 18 |
| 2 | lvonve | 19 |
| 3 | li | 20 |
PHP代码连接数据库mydb:
```php
<?php
@header("content-type:text/html;charset=utf8");
mysql_connect("localhost:3306", "root", "root"... | Daotin/Web/05-PHP&数据库/04-PHP连接mysql数据库.md/0 | {
"file_path": "Daotin/Web/05-PHP&数据库/04-PHP连接mysql数据库.md",
"repo_id": "Daotin",
"token_count": 3243
} | 15 |
// Stacked Icons
// -------------------------
.@{fa-css-prefix}-stack {
position: relative;
display: inline-block;
width: 2em;
height: 2em;
line-height: 2em;
vertical-align: middle;
}
.@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x {
position: absolute;
left: 0;
width: 100%;
text-align: cent... | Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/font-awesome-4.7.0/less/stacked.less/0 | {
"file_path": "Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/font-awesome-4.7.0/less/stacked.less",
"repo_id": "Daotin",
"token_count": 201
} | 16 |
## 一、let
**作用:与var类似, 用于声明一个变量。**
**let和var的区别:**
- 在块作用域内有效(只要有{}出现 则只在该{}范围内生效)
- 不能重复声明
- 不会预处理, 不存在提升
```html
<script type="text/javascript">
console.log(res); //不会预处理, 不存在提升,报错
// 不能重复声明
let res = 10;
let res = 10; // 报错
</script>
```
**应用:循环遍历加监听**
我们先开看一个例子:
```html
<body>
... | Daotin/Web/08-ES6语法/03-let,const,解构赋值,模板字符串,对象简化,箭头函数,三点运算符,形参默认值.md/0 | {
"file_path": "Daotin/Web/08-ES6语法/03-let,const,解构赋值,模板字符串,对象简化,箭头函数,三点运算符,形参默认值.md",
"repo_id": "Daotin",
"token_count": 4733
} | 17 |
## async模块介绍
*Async is a utility module which provides straight-forward, powerful functions for working with asynchronous JavaScript. Although originally designed for use with Node.js and installable via npm install --save async, it can also be used directly in the browser.*
async是一个实用的模块,对于处理异步javascript来说,它可以提供简介强大... | Daotin/Web/10-Node.js/06-扩展async.md/0 | {
"file_path": "Daotin/Web/10-Node.js/06-扩展async.md",
"repo_id": "Daotin",
"token_count": 2056
} | 18 |
## 一、flux架构
什么是flux?
简单说,Flux 是一种架构思想,专门解决软件的结构问题。
一般**中大型react项目**会用到 Flux,便于管理数据模型。小型项目就没必要使用了。
### 1、基本概念
首先,Flux将一个应用分成四个部分。
- **View**: 视图层
- **Action**(动作):视图层发出的消息,用来修改数据模型(比如mouseClick)
- **Dispatcher**(派发器):用来接收Actions、执行回调函数
- **Store**(数据层):用来存放应用的状态,一旦发生变动,就提醒Views要更新页面

> Flux... | Daotin/Web/13-React/05-Flux架构.md/0 | {
"file_path": "Daotin/Web/13-React/05-Flux架构.md",
"repo_id": "Daotin",
"token_count": 8268
} | 19 |
## 一、接口
js中类的接口定义:
```typescript
interface Human {
run();
eat();
}
```
> 接口的方法没有方法体。
>
> 实现接口的类,必须实现接口中的所有方法。
## 二、依赖注入(服务)
依赖注入就是自己创建一个服务(服务的本质就是一个类),然后在使用类的时候,不需要自己new类的实例,只需要按照特定的方式注入,类的实例就会被自动创建,然后直接使用即可。
### 1、创建服务
```js
ng g service services/DIYMath // ng g s services/DIYMath
```
创建的时候会有个警告`W... | Daotin/Web/14-Angular/04-接口,依赖注入,http代理.md/0 | {
"file_path": "Daotin/Web/14-Angular/04-接口,依赖注入,http代理.md",
"repo_id": "Daotin",
"token_count": 2171
} | 20 |
Manifest-Version: 1.0
Class-Path:
| Humsen/web/web-core/src/META-INF/MANIFEST.MF/0 | {
"file_path": "Humsen/web/web-core/src/META-INF/MANIFEST.MF",
"repo_id": "Humsen",
"token_count": 15
} | 21 |
package pers.husen.web.common.constants;
/**
* 数据库字段常量
*
* @author 何明胜
*
* 2017年11月8日
*/
public class DbConstans {
/** 数据库字段有效状态 */
public static final int FIELD_VALID_FLAG = 0;
/** 数据库字段删除状态 */
public static final int FIELD_DELETED_FLAG = 1;
} | Humsen/web/web-core/src/pers/husen/web/common/constants/DbConstans.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/common/constants/DbConstans.java",
"repo_id": "Humsen",
"token_count": 159
} | 22 |
/**
* 通用助手
*
* @author 何明胜
*
* 2017年10月21日
*/
package pers.husen.web.common.helper; | Humsen/web/web-core/src/pers/husen/web/common/helper/package-info.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/common/helper/package-info.java",
"repo_id": "Humsen",
"token_count": 54
} | 23 |
package pers.husen.web.dao;
/**
* @author 何明胜
*
* 2017年9月30日
*/
public interface VisitTotalDao {
/**
* 查询所有访问量
* @return
*/
public int queryVisitTotal();
/**
* 查询当日访问量
* @return
*/
public int queryVisitToday();
/**
* 更新当日访问量和总访问量
*
* @param visitDate
* @return
*/
public int update... | Humsen/web/web-core/src/pers/husen/web/dao/VisitTotalDao.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/dao/VisitTotalDao.java",
"repo_id": "Humsen",
"token_count": 192
} | 24 |
package pers.husen.web.dbutil.mappingdb;
/**
* @author 何明胜
* @desc 文章分类数据库映射
* @created 2017年12月12日 上午10:14:34
*/
public class ArticleCategoryMapping {
/**
* 数据库名称
*/
public static final String DB_NAME = "article_category";
public static final String CATEGORY_ID = "category_id";
public s... | Humsen/web/web-core/src/pers/husen/web/dbutil/mappingdb/ArticleCategoryMapping.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/dbutil/mappingdb/ArticleCategoryMapping.java",
"repo_id": "Humsen",
"token_count": 217
} | 25 |
package pers.husen.web.service;
import java.util.ArrayList;
import pers.husen.web.bean.vo.MessageAreaVo;
import pers.husen.web.dao.MessageAreaDao;
import pers.husen.web.dao.impl.MessageAreaDaoImpl;
/**
* @author 何明胜
*
* 2017年9月25日
*/
public class MessageAreaSvc implements MessageAreaDao{
private static final Me... | Humsen/web/web-core/src/pers/husen/web/service/MessageAreaSvc.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/service/MessageAreaSvc.java",
"repo_id": "Humsen",
"token_count": 231
} | 26 |
package pers.husen.web.servlet.image;
import java.io.IOException;
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 pers.husen.web.common.handler.... | Humsen/web/web-core/src/pers/husen/web/servlet/image/ImageDownloadSvt.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/servlet/image/ImageDownloadSvt.java",
"repo_id": "Humsen",
"token_count": 357
} | 27 |
# web
个人网站项目,包括博客、代码库、文件下载、留言、登录注册等功能
网址:www.hemingsheng.cn
------------
## 主要文件结构如下
- `WebContent` -> 前端源文件 (前端三方插件在`/WebContent/plugins`下)
- `config` -> 配置文件
- `docs` -> 说明文档
- `libs` -> 后端jar包
- `src` -> 后端源文件
------------
### web工程目录结构如下:
web:
│ .classpath
│ .gitattributes
│ .gitignor... | Humsen/web/web-mobile/README.md/0 | {
"file_path": "Humsen/web/web-mobile/README.md",
"repo_id": "Humsen",
"token_count": 10856
} | 28 |
@charset "UTF-8";
.topbar-nav {
min-height: 30px;
width: 100%;
margin-bottom: 0;
}
.topbar-nav label {
color: #6e83ab;
}
.navbar-brand-a {
padding: 5px 15px 1px;
height: 30px;
}
.access-today {
margin-left: 5% !important;
}
.online-current {
margin-top: 4px;
margin-left: 20px;
}
.topbar-btn-login {
padd... | Humsen/web/web-mobile/WebContent/css/navigation/topbar.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/css/navigation/topbar.css",
"repo_id": "Humsen",
"token_count": 426
} | 29 |
/**
* jQuery MD5 hash algorithm function
*
* <code>
* Calculate the md5 hash of a String
* String $.md5 ( String str )
* </code>
*
* Calculates the MD5 hash of str using the » RSA Data Security, Inc. MD5
* Message-Digest Algorithm, and returns that hash. MD5 (Message-Digest
* algorithm 5) is a widely-... | Humsen/web/web-mobile/WebContent/js/customize-jquery.md5.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/js/customize-jquery.md5.js",
"repo_id": "Humsen",
"token_count": 4688
} | 30 |
/**
* 编辑版本特性
*
* @author 何明胜
*
* 2017年11月10日
*/
// 当前最新版本id
var latest_version_id;
// 当前编辑版本id
var curr_version_id;
//当前版本号
var curr_version_num;
$(function() {
// 获取当前最新版本
getLatestVersion();
// 绑定加载上一个版本事件
$('#btn_prevV').click(prevVersionClick);
// 绑定加载下一个版本事件
$('#btn_nextV').click(nextVersionClick... | Humsen/web/web-mobile/WebContent/js/personal_center/editor_version.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/js/personal_center/editor_version.js",
"repo_id": "Humsen",
"token_count": 2845
} | 31 |
<link rel="stylesheet" href="/css/personal_center/modify-pwd.css">
<!-- 修改用户密码脚本 -->
<script src="/js/personal_center/modify-pwd.js"></script>
<form id="modifyPwdForm" class="form-horizontal modify-pwd-form">
<div class="form-group">
<label for="oldPassword" class="col-sm-2 control-label">旧密码</label>
<div class=... | Humsen/web/web-mobile/WebContent/personal_center/modify_pwd.html/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/personal_center/modify_pwd.html",
"repo_id": "Humsen",
"token_count": 586
} | 32 |
/*
* Editor.md
*
* @file editormd.logo.css
* @version v1.5.0
* @description Open source online markdown editor.
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-06-09
*/
/*! prefixes.scss v0.1.0 | Author: Pandao | https://gi... | Humsen/web/web-mobile/WebContent/plugins/editormd/css/editormd.logo.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/css/editormd.logo.css",
"repo_id": "Humsen",
"token_count": 1011
} | 33 |
/*
* Editor.md
*
* @file editormd.amd.js
* @version v1.5.0
* @description Open source online markdown editor.
* @license MIT License
* @author Pandao
* {@link https://github.com/pandao/editor.md}
* @updateTime 2015-06-09
*/
;(function(factory) {
"use strict";
// CommonJ... | Humsen/web/web-mobile/WebContent/plugins/editormd/js/editormd.amd.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/js/editormd.amd.js",
"repo_id": "Humsen",
"token_count": 96495
} | 34 |
// 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/addon/edit/closebrackets.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/edit/closebrackets.js",
"repo_id": "Humsen",
"token_count": 2898
} | 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("./xml-hint"));
else if (typeof define == "functi... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/hint/html-hint.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/hint/html-hint.js",
"repo_id": "Humsen",
"token_count": 5221
} | 36 |
// 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/addon/mode/multiplex.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/mode/multiplex.js",
"repo_id": "Humsen",
"token_count": 1746
} | 37 |
// 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/addon/search/searchcursor.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/search/searchcursor.js",
"repo_id": "Humsen",
"token_count": 3441
} | 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/clike/clike.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/clike/clike.js",
"repo_id": "Humsen",
"token_count": 7947
} | 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/dylan/dylan.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/dylan/dylan.js",
"repo_id": "Humsen",
"token_count": 3546
} | 40 |
// 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/haxe/haxe.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/haxe/haxe.js",
"repo_id": "Humsen",
"token_count": 6878
} | 41 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
//mIRC mode by Ford_Lawnmower :: Based on Velocity mode by Steve O'Hara
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/mirc/mirc.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/mirc/mirc.js",
"repo_id": "Humsen",
"token_count": 4855
} | 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) // A... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/r/r.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/r/r.js",
"repo_id": "Humsen",
"token_count": 2490
} | 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/solr/solr.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/solr/solr.js",
"repo_id": "Humsen",
"token_count": 1122
} | 44 |
// 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("../htmlmixed/htmlmixed"),
require("../../a... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/tornado/tornado.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/tornado/tornado.js",
"repo_id": "Humsen",
"token_count": 1061
} | 45 |
/*
Name: 3024 night
Author: Jan T. Sott (http://github.com/idleberg)
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-3024-night.CodeMirror {background: #090300... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/3024-night.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/3024-night.css",
"repo_id": "Humsen",
"token_count": 800
} | 46 |
.cm-s-neat span.cm-comment { color: #a86; }
.cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; }
.cm-s-neat span.cm-string { color: #a22; }
.cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; }
.cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/neat.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/neat.css",
"repo_id": "Humsen",
"token_count": 301
} | 47 |
/*!
* Help dialog plugin for Editor.md
*
* @file help-dialog.js
* @author pandao
* @version 1.2.0
* @updateTime 2015-03-08
* {@link https://github.com/pandao/editor.md}
* @license MIT
*/
(function() {
var factory = function (exports) {
var $ = jQuery;
var pluginNam... | Humsen/web/web-mobile/WebContent/plugins/editormd/plugins/help-dialog/help-dialog.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/plugins/help-dialog/help-dialog.js",
"repo_id": "Humsen",
"token_count": 1241
} | 48 |
(function($) {
/**
* Indonesian language package
* Translated by @egig
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Silahkan isi karakter base 64 tersandi yang valid'
},
between: {
'default':... | Humsen/web/web-mobile/WebContent/plugins/validator/js/language/id_ID.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/validator/js/language/id_ID.js",
"repo_id": "Humsen",
"token_count": 7551
} | 49 |
(function($) {
/**
* Vietnamese language package
* Translated by @nghuuphuoc
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Vui lòng nhập chuỗi mã hoá base64 hợp lệ'
},
between: {
'default': 'V... | Humsen/web/web-mobile/WebContent/plugins/validator/js/language/vi_VN.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/validator/js/language/vi_VN.js",
"repo_id": "Humsen",
"token_count": 9104
} | 50 |
## 使用时请将此文件改成 mysql_connect_info.properties
# 数据库url
url_psql=jdbc:mysql://127.0.0.1:3306/
# 在linux服务器运行时查询此数据库
dbname_official=web
# 在windows本地运行时查询此数据库
dbname_test=web_test
# 数据库用户名称
username_webuser=web_user
# 数据库用户密码
password_webuser=123456
# 数据库驱动
driver_class=com.mysql.jdbc.Driver | Humsen/web/web-mobile/config/mysql_connect_info_template.properties/0 | {
"file_path": "Humsen/web/web-mobile/config/mysql_connect_info_template.properties",
"repo_id": "Humsen",
"token_count": 226
} | 51 |
@charset "UTF-8";
#bar_left {
float: left;
width: 15%;
margin-left: 1%;
}
.latest-version {
font-size: smaller;
float: right;
}
.category-hide {
display: none;
}
.category-show {
margin-left: 20px;
} | Humsen/web/web-pc/WebContent/css/navigation/leftbar.css/0 | {
"file_path": "Humsen/web/web-pc/WebContent/css/navigation/leftbar.css",
"repo_id": "Humsen",
"token_count": 94
} | 52 |
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>何明胜的个人网站</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description"
content="欢迎来到何明胜的个人网站.本站主要用于记录和分享本人的学习心得和编程经验,并分享常见可复用代码、推荐... | Humsen/web/web-pc/WebContent/index.jsp/0 | {
"file_path": "Humsen/web/web-pc/WebContent/index.jsp",
"repo_id": "Humsen",
"token_count": 1813
} | 53 |
/**
* @author 何明胜
*
* 2017年9月26日
*/
/**
* 按钮初始化
*/
$(function() {
showLoginStatus();// 显示登录状态
enterKeyClick();// 登录框和注册框绑定回车事件
});
/** 初始化 */
$(document).ready(function() {
// 登录框添加校验
loginValidator();
// 注册表单添加验证
registerValidator();
// 重置登录表单
if($('#loginForm').length > 0){
$('#loginForm').clearFo... | Humsen/web/web-pc/WebContent/js/login/formvalidator.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/js/login/formvalidator.js",
"repo_id": "Humsen",
"token_count": 12961
} | 54 |
<link rel="stylesheet" href="/css/login/retrive-pwd.css">
<form id="form_retrivePwd" class="form-horizontal">
<div class="form-group form-group-div-label">
<label class="col-sm-3 control-label form-div-label" for="txt_username">用户名</label>
<div class="col-sm-9 form-group-div-input" >
<input type="text" class="... | Humsen/web/web-pc/WebContent/module/login/retrive_pwd.html/0 | {
"file_path": "Humsen/web/web-pc/WebContent/module/login/retrive_pwd.html",
"repo_id": "Humsen",
"token_count": 515
} | 55 |
// 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-pc/WebContent/plugins/editormd/lib/codemirror/addon/display/placeholder.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/addon/display/placeholder.js",
"repo_id": "Humsen",
"token_count": 748
} | 56 |
// 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-pc/WebContent/plugins/editormd/lib/codemirror/addon/hint/anyword-hint.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/addon/hint/anyword-hint.js",
"repo_id": "Humsen",
"token_count": 668
} | 57 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// declare global: diff_match_patch, DIFF_INSERT, DIFF_DELETE, DIFF_EQUAL
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../li... | Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/addon/merge/merge.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/addon/merge/merge.js",
"repo_id": "Humsen",
"token_count": 11816
} | 58 |
// 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("./searchcursor"), require("../scroll/annotatescrol... | Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/addon/search/matchesonscrollbar.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/addon/search/matchesonscrollbar.js",
"repo_id": "Humsen",
"token_count": 1373
} | 59 |
// 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-pc/WebContent/plugins/editormd/lib/codemirror/mode/apl/apl.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/apl/apl.js",
"repo_id": "Humsen",
"token_count": 2401
} | 60 |
// 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("../../addon/mode/simple"));
else if (typeof defi... | Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/dockerfile/dockerfile.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/dockerfile/dockerfile.js",
"repo_id": "Humsen",
"token_count": 943
} | 61 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
var mode = CodeMirror.getMode({tabSize: 4, indentUnit: 2}, "haml");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
// Requires at l... | Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/haml/test.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/haml/test.js",
"repo_id": "Humsen",
"token_count": 1178
} | 62 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
var mode = CodeMirror.getMode({tabSize: 4}, "markdown");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
var modeHighlightFormatting ... | Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/markdown/test.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/markdown/test.js",
"repo_id": "Humsen",
"token_count": 8151
} | 63 |
// 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-pc/WebContent/plugins/editormd/lib/codemirror/mode/python/python.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/python/python.js",
"repo_id": "Humsen",
"token_count": 5909
} | 64 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
/**
* Smarty 2 and 3 mode.
*/
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(require("../../lib/codemirror"));
else if (typeof define ... | Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/smarty/smarty.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/smarty/smarty.js",
"repo_id": "Humsen",
"token_count": 2895
} | 65 |
// 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-pc/WebContent/plugins/editormd/lib/codemirror/mode/tiki/tiki.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/mode/tiki/tiki.js",
"repo_id": "Humsen",
"token_count": 3598
} | 66 |
{
"name": "codemirror",
"version":"5.0.0",
"main": "lib/codemirror.js",
"description": "In-browser code editing made bearable",
"licenses": [{"type": "MIT",
"url": "http://codemirror.net/LICENSE"}],
"directories": {"lib": "./lib"},
"scripts": {"test": "node ./test/run.js"},... | Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/package.json/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/package.json",
"repo_id": "Humsen",
"token_count": 454
} | 67 |
/* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */
/*<!--match-->*/
.cm-s-midnight span.CodeMirror-matchhighlight { background: #494949; }
.cm-s-midnight.CodeMirror-focused span.CodeMirror-matchhighlight { background: #314D67 !important; }
/*<!--activeline-->*/
.cm-s-midnight .CodeMirror-active... | Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/theme/midnight.css/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/theme/midnight.css",
"repo_id": "Humsen",
"token_count": 788
} | 68 |
/*
Copyright (C) 2011 by MarkLogic Corporation
Author: Mike Brevoort <mike@brevoort.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the right... | Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/theme/xq-light.css/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/editormd/lib/codemirror/theme/xq-light.css",
"repo_id": "Humsen",
"token_count": 778
} | 69 |
(function($) {
/**
* Danish language package
* Translated by @Djarnis
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Udfyld venligst dette felt med en gyldig base64-kodet værdi'
},
between: {
'... | Humsen/web/web-pc/WebContent/plugins/validator/js/language/da_DK.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/validator/js/language/da_DK.js",
"repo_id": "Humsen",
"token_count": 8184
} | 70 |
(function ($) {
/**
* Portuguese (Brazil) language package
* Translated by @marcuscarvalho6. Improved by @dgmike
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Por favor insira um código base 64 válido'
},
... | Humsen/web/web-pc/WebContent/plugins/validator/js/language/pt_BR.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/validator/js/language/pt_BR.js",
"repo_id": "Humsen",
"token_count": 7909
} | 71 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>文章</title>
<meta name="description"
content="欢迎来到何明胜的个人网站.本站主要用于记录和分享本人的学习心得和编程经验,并分享常见可复用代码、推荐书籍以及软件等资源.本站源码已托管github,欢迎访问:https://github.com/HelloHusen/web" />
<meta name="keywords" conte... | Humsen/web/web-pc/WebContent/topic/blog/blog.html/0 | {
"file_path": "Humsen/web/web-pc/WebContent/topic/blog/blog.html",
"repo_id": "Humsen",
"token_count": 790
} | 72 |
[MASTER]
load-plugins=pylint_odoo
score=n
[ODOOLINT]
readme-template-url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
manifest-required-authors=Odoo Community Association (OCA)
manifest-required-keys=license
manifest-deprecated-keys=description,active
license-allowed=AGPL-3,GPL-2,... | OCA/web/.pylintrc/0 | {
"file_path": "OCA/web/.pylintrc",
"repo_id": "OCA",
"token_count": 1334
} | 73 |
import setuptools
setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
| OCA/web/setup/web_calendar_slot_duration/setup.py/0 | {
"file_path": "OCA/web/setup/web_calendar_slot_duration/setup.py",
"repo_id": "OCA",
"token_count": 43
} | 74 |
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "web_action_conditionable",
"version": "16.0.1.0.0",
"depends": ["base", "web"],
"data": [],
"author": "Cristian Salamea,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"license": "AGPL-3",
... | OCA/web/web_action_conditionable/__manifest__.py/0 | {
"file_path": "OCA/web/web_action_conditionable/__manifest__.py",
"repo_id": "OCA",
"token_count": 220
} | 75 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_advanced_search
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 11.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2018-09-01 05:03+0000\n"
"Last-Translator: Hans Henrik Gabelgaard <hhg@gabelgaard.org>\n"
"Lan... | OCA/web/web_advanced_search/i18n/da.po/0 | {
"file_path": "OCA/web/web_advanced_search/i18n/da.po",
"repo_id": "OCA",
"token_count": 493
} | 76 |
Improvements to the ``domain`` widget, not exclusively related to this addon:
* Use relational widgets when filtering a relational field
* Allow to filter field names
Improvements to the search view in this addon:
* Use widgets ``one2many_tags`` when searching ``one2many`` fields
* Use widgets ``many2many_tags`` whe... | OCA/web/web_advanced_search/readme/ROADMAP.rst/0 | {
"file_path": "OCA/web/web_advanced_search/readme/ROADMAP.rst",
"repo_id": "OCA",
"token_count": 132
} | 77 |
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright 2017-2018 Jairo Llopis <jairo.llopis@tecnativa.com>
Copyright 2022 Camptocamp SA (https://www.camptocamp.com).
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
-->
<templates>
<t t-inherit="web.legacy.FilterMenu" t-inherit-mode="extens... | OCA/web/web_advanced_search/static/src/search/filter_menu/filter_menu.xml/0 | {
"file_path": "OCA/web/web_advanced_search/static/src/search/filter_menu/filter_menu.xml",
"repo_id": "OCA",
"token_count": 282
} | 78 |
from . import res_users
| OCA/web/web_chatter_position/models/__init__.py/0 | {
"file_path": "OCA/web/web_chatter_position/models/__init__.py",
"repo_id": "OCA",
"token_count": 7
} | 79 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_company_color
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-02 15:55+0000\n"
"PO-Revision-Date: 2023-11-07 22:38+0000\n"
"Last-Translator: Ivorra78... | OCA/web/web_company_color/i18n/es.po/0 | {
"file_path": "OCA/web/web_company_color/i18n/es.po",
"repo_id": "OCA",
"token_count": 1680
} | 80 |
# © 2022 Florian Kantelberg - initOS GmbH
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models
from odoo.http import request
class IrHttp(models.AbstractModel):
_inherit = "ir.http"
@classmethod
def _set_color_scheme(cls, response):
scheme = request.httprequest... | OCA/web/web_dark_mode/models/ir_http.py/0 | {
"file_path": "OCA/web/web_dark_mode/models/ir_http.py",
"repo_id": "OCA",
"token_count": 321
} | 81 |
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="installed_modules" model="tile.tile">
<field name="name">Installed Modules</field>
<field name="category_id" ref="category_module" />
<field name="model_id" ref="base.model_ir_module_module" />
<field name="action_id" ref="b... | OCA/web/web_dashboard_tile/demo/tile_tile.xml/0 | {
"file_path": "OCA/web/web_dashboard_tile/demo/tile_tile.xml",
"repo_id": "OCA",
"token_count": 586
} | 82 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_dialog_size
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-05-14 20:47+0000\n"
"Last-Translator: Yves Le Doeuff <yld@alliasys.fr>\n"
"Language-Team: non... | OCA/web/web_dialog_size/i18n/fr.po/0 | {
"file_path": "OCA/web/web_dialog_size/i18n/fr.po",
"repo_id": "OCA",
"token_count": 304
} | 83 |
.modal {
.modal-dialog_full_screen {
@include media-breakpoint-up(sm) {
max-width: 100%;
width: calc(100% - 50px);
}
}
.dialog_button_restore,
.dialog_button_extend {
margin-left: auto;
+ .btn-close {
margin: -8px -8px -8px 0px;
... | OCA/web/web_dialog_size/static/src/scss/web_dialog_size.scss/0 | {
"file_path": "OCA/web/web_dialog_size/static/src/scss/web_dialog_size.scss",
"repo_id": "OCA",
"token_count": 190
} | 84 |
# Copyright 2018 Tecnativa - David Vidal
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import models
from odoo.http import request
class Http(models.AbstractModel):
_inherit = "ir.http"
def session_info(self):
res = super().session_info()
user = request.env.u... | OCA/web/web_disable_export_group/models/ir_http.py/0 | {
"file_path": "OCA/web/web_disable_export_group/models/ir_http.py",
"repo_id": "OCA",
"token_count": 247
} | 85 |
================
Web Domain Field
================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:38caddd3efd0... | OCA/web/web_domain_field/README.rst/0 | {
"file_path": "OCA/web/web_domain_field/README.rst",
"repo_id": "OCA",
"token_count": 1884
} | 86 |
# Copyright 2015 Francesco OpenCode Apruzzese <cescoap@gmail.com>
# Copyright 2016 Antonio Espinosa <antonio.espinosa@tecnativa.com>
# Copyright 2017 Thomas Binsfeld <thomas.binsfeld@acsone.eu>
# Copyright 2017 Xavier Jiménez <xavier.jimenez@qubiq.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
... | OCA/web/web_environment_ribbon/__manifest__.py/0 | {
"file_path": "OCA/web/web_environment_ribbon/__manifest__.py",
"repo_id": "OCA",
"token_count": 361
} | 87 |
from . import web_environment_ribbon_backend
| OCA/web/web_environment_ribbon/models/__init__.py/0 | {
"file_path": "OCA/web/web_environment_ribbon/models/__init__.py",
"repo_id": "OCA",
"token_count": 13
} | 88 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; cha... | OCA/web/web_field_numeric_formatting/i18n/it.po/0 | {
"file_path": "OCA/web/web_field_numeric_formatting/i18n/it.po",
"repo_id": "OCA",
"token_count": 161
} | 89 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_group_expand
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-27 11:34+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
"Language-Team... | OCA/web/web_group_expand/i18n/it.po/0 | {
"file_path": "OCA/web/web_group_expand/i18n/it.po",
"repo_id": "OCA",
"token_count": 358
} | 90 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_help
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfe... | OCA/web/web_help/i18n/web_help.pot/0 | {
"file_path": "OCA/web/web_help/i18n/web_help.pot",
"repo_id": "OCA",
"token_count": 736
} | 91 |
/** @odoo-module **/
import {registry} from "@web/core/registry";
import {Component} from "@odoo/owl";
export async function findTrip(model, viewType) {
const trips = registry.category("trips").getAll();
const selectorResults = await Promise.all(
trips.map((trip) => trip.selector(model, viewType))
... | OCA/web/web_help/static/src/helpers.esm.js/0 | {
"file_path": "OCA/web/web_help/static/src/helpers.esm.js",
"repo_id": "OCA",
"token_count": 417
} | 92 |
# Copyright 2017 - 2018 Modoolar <info@modoolar.com>
# Copyright 2018 Brainbean Apps
# Copyright 2020 Manuel Calero
# Copyright 2020 CorporateHub (https://corporatehub.eu)
# License LGPLv3.0 or later (https://www.gnu.org/licenses/lgpl-3.0.en.html).
{
"name": "Web Actions Multi",
"summary": "Enables triggering ... | OCA/web/web_ir_actions_act_multi/__manifest__.py/0 | {
"file_path": "OCA/web/web_ir_actions_act_multi/__manifest__.py",
"repo_id": "OCA",
"token_count": 320
} | 93 |
# Copyright 2017 Therp BV, ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Client side message boxes",
"version": "16.0.1.0.1",
"author": "Therp BV, " "ACSONE SA/NV, " "Odoo Community Association (OCA)",
"website": "https://github.com/OCA/web",
"license": "AGP... | OCA/web/web_ir_actions_act_window_message/__manifest__.py/0 | {
"file_path": "OCA/web/web_ir_actions_act_window_message/__manifest__.py",
"repo_id": "OCA",
"token_count": 332
} | 94 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_ir_actions_act_window_message
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=... | OCA/web/web_ir_actions_act_window_message/i18n/web_ir_actions_act_window_message.pot/0 | {
"file_path": "OCA/web/web_ir_actions_act_window_message/i18n/web_ir_actions_act_window_message.pot",
"repo_id": "OCA",
"token_count": 1455
} | 95 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_ir_actions_act_window_page
#
# Translators:
# Rudolf Schnapka <rs@techno-flex.de>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-01-03 03:50+0000\n"... | OCA/web/web_ir_actions_act_window_page/i18n/de.po/0 | {
"file_path": "OCA/web/web_ir_actions_act_window_page/i18n/de.po",
"repo_id": "OCA",
"token_count": 764
} | 96 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_m2x_options
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Rudolf Schnapka <rs@techno-flex.de>, 2018
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Cre... | OCA/web/web_m2x_options/i18n/de.po/0 | {
"file_path": "OCA/web/web_m2x_options/i18n/de.po",
"repo_id": "OCA",
"token_count": 1760
} | 97 |
from odoo import models
class Http(models.AbstractModel):
_inherit = "ir.http"
def session_info(self):
IrConfigSudo = self.env["ir.config_parameter"].sudo()
session_info = super().session_info()
session_info.update({"web_m2x_options": IrConfigSudo.get_web_m2x_options()})
retur... | OCA/web/web_m2x_options/models/ir_http.py/0 | {
"file_path": "OCA/web/web_m2x_options/models/ir_http.py",
"repo_id": "OCA",
"token_count": 138
} | 98 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_notify
#
# Translators:
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-23 02:13+0000\n"
"PO-Revision-Dat... | OCA/web/web_notify/i18n/es.po/0 | {
"file_path": "OCA/web/web_notify/i18n/es.po",
"repo_id": "OCA",
"token_count": 1507
} | 99 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.