text stringlengths 1 2.83M | id stringlengths 16 152 | metadata dict | __index_level_0__ int64 0 949 |
|---|---|---|---|
<?php
///**
// * Created by runner.han
// * There is nothing new under the sun
// */
if (!isset($PIKA_ROOT_DIR)){
$PIKA_ROOT_DIR = '';
}
//echo $PIKA_ROOT_DIR;
?>
<div class="footer">
<div class="footer-inner">
<div class="footer-content">
<span class="bigger-120">
Pikachu PIKA~ PIKA~&... | zhuifengshaonianhanlu/pikachu/footer.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/footer.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 881
} | 883 |
/**
* Created by runner on 2018/7/8.
*/
function createAjax(){
var request=false;
if(window.XMLHttpRequest){
request=new XMLHttpRequest();
if(request.overrideMimeType){
request.overrideMimeType("text/xml");
}
}else if(window.ActiveXObject){
var versions=['Mic... | zhuifengshaonianhanlu/pikachu/pkxss/rkeypress/rk.js/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/pkxss/rkeypress/rk.js",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 812
} | 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 = "fi_local.php"){
$ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''... | zhuifengshaonianhanlu/pikachu/vul/fileinclude/fi_local.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/fileinclude/fi_local.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 1464
} | 885 |
<?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 = "infoleak.php"){
$ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''... | zhuifengshaonianhanlu/pikachu/vul/infoleak/infoleak.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/infoleak/infoleak.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 1788
} | 886 |
<?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_login.php"){
$ACTIVE = array('','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','','',''... | zhuifengshaonianhanlu/pikachu/vul/sqli/sqli_header/sqli_header_login.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/sqli/sqli_header/sqli_header_login.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 2103
} | 887 |
<?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/servercheck.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/unsafeupload/servercheck.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 1405
} | 888 |
<?php
/**
* Created by runner.han
* There is nothing new under the sun
*/
$PIKA_ROOT_DIR = "../../../";
include_once $PIKA_ROOT_DIR.'inc/config.inc.php';
include_once $PIKA_ROOT_DIR.'inc/mysql.inc.php';
include_once $PIKA_ROOT_DIR.'inc/function.php';
$SELF_PAGE = substr($_SERVER['PHP_SELF'],strrpos($_SERVER['P... | zhuifengshaonianhanlu/pikachu/vul/xss/xssblind/admin.php/0 | {
"file_path": "zhuifengshaonianhanlu/pikachu/vul/xss/xssblind/admin.php",
"repo_id": "zhuifengshaonianhanlu",
"token_count": 1827
} | 889 |
.hidden {
display: none;
}
#container {
position: absolute;
max-height: 50vh;
left: 10%;
right: 10%;
bottom: -2vh;
border-radius: 2vh;
padding: 1vh 2vh 3vh;
display: flex;
flex-direction: column;
z-index: 10;
background-color: white;
transition: 0.35s;
}
#container.collapsed {
transform: t... | 8thwall/web/examples/aframe/artgallery/index.css/0 | {
"file_path": "8thwall/web/examples/aframe/artgallery/index.css",
"repo_id": "8thwall",
"token_count": 257
} | 0 |
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>8th Wall Web: Flyer</title>
<script src="//cdn.8thwall.com/web/aframe/8frame-1.3.0.min.js"></script>
<!-- XR Extras - provi... | 8thwall/web/examples/aframe/flyer/index.html/0 | {
"file_path": "8thwall/web/examples/aframe/flyer/index.html",
"repo_id": "8thwall",
"token_count": 1014
} | 1 |
{
"short_name": "8th Wall App",
"name": "8th Wall React App",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
... | 8thwall/web/examples/aframe/reactapp/public/manifest.json/0 | {
"file_path": "8thwall/web/examples/aframe/reactapp/public/manifest.json",
"repo_id": "8thwall",
"token_count": 253
} | 2 |
# 8th Wall Web Examples - AFrame - Toss an object
Tap the screen to toss tomatoes. When they hit the ground, they splat and make a sound.
Shows physics, collision events and sound fx.

[Try the live demo here](https://8thwall.8thwall.app/tossobject-aframe)
###... | 8thwall/web/examples/aframe/tossobject/README.md/0 | {
"file_path": "8thwall/web/examples/aframe/tossobject/README.md",
"repo_id": "8thwall",
"token_count": 162
} | 3 |
<!doctype html>
<html>
<head>
<title>8thWall Web: QR Code</title>
<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="stylesheet" type="text/css" href="index.css">
<!-- X... | 8thwall/web/examples/camerapipeline/qrcode/index.html/0 | {
"file_path": "8thwall/web/examples/camerapipeline/qrcode/index.html",
"repo_id": "8thwall",
"token_count": 763
} | 4 |
/*
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/gf256poly.js/0 | {
"file_path": "8thwall/web/examples/camerapipeline/qrcode/jsqrcode/src/gf256poly.js",
"repo_id": "8thwall",
"token_count": 2515
} | 5 |
const customThreejsPipelineModule = () => {
let scene3
let engaged = false
const engage = ({canvas, canvasWidth, canvasHeight, GLctx}) => {
if (engaged) {
return
}
const scene = new window.THREE.Scene()
const camera = new window.THREE.PerspectiveCamera(
60.0, /* initial field of view;... | 8thwall/web/examples/threejs/custom-pipeline-module/customThreejsPipelineModule.js/0 | {
"file_path": "8thwall/web/examples/threejs/custom-pipeline-module/customThreejsPipelineModule.js",
"repo_id": "8thwall",
"token_count": 1105
} | 6 |
/*jshint esversion: 6, asi: true, laxbreak: true*/
// xrcontroller.js: Opens the browser's web camera and runs AR. Attach this to an entity in the
// PlayCanvas scene.
var xrcontroller = pc.createScript('xrcontroller')
// Optionally, world tracking can be disabled to increase efficiency when tracking image targets.
... | 8thwall/web/gettingstarted/playcanvas/scripts/xrcontroller.js/0 | {
"file_path": "8thwall/web/gettingstarted/playcanvas/scripts/xrcontroller.js",
"repo_id": "8thwall",
"token_count": 669
} | 7 |
import type {ComponentDefinition} from 'aframe'
declare const THREE: any
declare const XRExtras: any
const targetMeshComponent: ComponentDefinition = {
schema: {
'material-resource': {type: 'string'},
'geometry': {type: 'string'},
'height': {type: 'number'},
'width': {type: 'number'},
},
init() ... | 8thwall/web/xrextras/src/aframe/components/target-components.ts/0 | {
"file_path": "8thwall/web/xrextras/src/aframe/components/target-components.ts",
"repo_id": "8thwall",
"token_count": 5328
} | 8 |
/* globals XR8 */
import '../fonts/fonts.css'
import './loading-module.css'
import html from './loading-module.html'
const FIRST_FRAME_DELAY = 5
// This is a simplistic check to be used when we have already failed in getting
// access to the camera. This can be used to differentiate between a permission denial
// an... | 8thwall/web/xrextras/src/loadingmodule/loading-module.js/0 | {
"file_path": "8thwall/web/xrextras/src/loadingmodule/loading-module.js",
"repo_id": "8thwall",
"token_count": 6672
} | 9 |
<div class='pwa-installer-root'>
<div class='backdrop'></div>
<div class='drawer'>
<div class='container'>
<div class='content'>
<button id='close-button' class='close-button'>
<span class='close'></span>
</button>
<div class='icon-container'>
<img id='pwa-icon-... | 8thwall/web/xrextras/src/pwainstallermodule/pwa-installer-module.html/0 | {
"file_path": "8thwall/web/xrextras/src/pwainstallermodule/pwa-installer-module.html",
"repo_id": "8thwall",
"token_count": 330
} | 10 |
## 1、什么是 CSS?
CSS 全称为 Cascading Style Sheets,中文翻译为“层叠样式表”,简称 CSS。在网页制作时采用 CSS 技术,可以有效地对页面的布局、字体、颜色、背景和其它效果实现更加精确的控制。只要对相应的代码做一些简单的修改,就可以改变同一页面的不同部分的外观和格式。
## 2、CSS 的作用
简单地来讲,CSS 能对你制作的网页进行布局、颜色、背景等样式进行控制,让网页更加美观漂亮。
## 3、样式表书写位置
### 3.1、行内式
```html
<head>
<meta charset="UTF-8">
<title>Document</title>
</head... | Daotin/Web/02-CSS/01-CSS基础/01-CSS概述,选择器.md/0 | {
"file_path": "Daotin/Web/02-CSS/01-CSS基础/01-CSS概述,选择器.md",
"repo_id": "Daotin",
"token_count": 3336
} | 11 |
## 1、节点的概念
页面中的所有内容,包括标签,属性,文本(文字,空格,回车,换行等),也就是说页面的所有内容都可以叫做节点。
## 2、节点相关的属性
### 2.1、节点分类
**标签节点:**比如 div 标签,p 标签等。
**属性节点:**比如 class,value 等。
**文本节点:**比如闭合标签中的文本内容。
### 2.2、节点属性
**nodeType:节点的类型**,它的值有 1,2,3 三种。
标签节点:值为 1
属性节点:值为 2
文本节点:值为 3
**nodeName:节点的名字**
标签节点:大写的标签名字
属性节点:小写的属性名字
... | Daotin/Web/03-JavaScript/02-DOM/04-获取节点,属性增删改查.md/0 | {
"file_path": "Daotin/Web/03-JavaScript/02-DOM/04-获取节点,属性增删改查.md",
"repo_id": "Daotin",
"token_count": 5932
} | 12 |
## 一、each 方法
each 方法用来遍历 jQuery 对象的,它的参数是一个事件处理函数,这个事件处理函数有两个参数,第一个参数是索引,第二个参数时索引对应的 `DOM`对象,使用的时候注意转成 jQuery 对象。
语法:
```js
// 参数1:元素集合索引
// 参数2:索引对应的DOM元素
元素集合.each(function (index, ele) {
// ...
})
// 上面等同于
$.each(对象/数组, function(index,item){}) // 这种写法第一个参数可以是对象,也可以是数组,这个数组就包括上面的元素集合。
```
示例:
```js
$("#uu>li"... | Daotin/Web/04-jQuery/08-each,多库共存,包装集,插件.md/0 | {
"file_path": "Daotin/Web/04-jQuery/08-each,多库共存,包装集,插件.md",
"repo_id": "Daotin",
"token_count": 2536
} | 13 |
省市联动案例:
```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>
</head>
<body>
<select name="" id="province">
<option value="... | Daotin/Web/06-Ajax/06-Ajax省市联动,Ajax最好不要用全局变量.md/0 | {
"file_path": "Daotin/Web/06-Ajax/06-Ajax省市联动,Ajax最好不要用全局变量.md",
"repo_id": "Daotin",
"token_count": 2159
} | 14 |
## 一、Zepto简介

Zepto是一个轻量级的针对现代高级浏览器的 **JavaScript库**, 它**与jquery有着类似的api。**
Zepto 主要使用在移动端浏览器上面,由于移动端的浏览器都是比较新的平台,而 jQuery 主要是在 PC 上为了浏览器的兼容性而使用的,所以**在移动端一般不使用 jQuery,因为它的兼容性失去了意义。**
**Zepto 就是移动端代替 jQuery 的 js 库,它封装了很多关于手势操作的方法。如果你会用jquery,那么你也会用zepto。**
Zepto js 库文件的下载地址:https://github.com... | Daotin/Web/07-移动Web开发/03-Zepto.md/0 | {
"file_path": "Daotin/Web/07-移动Web开发/03-Zepto.md",
"repo_id": "Daotin",
"token_count": 11251
} | 15 |
window.onload = function () {
leftSlideEffect();
};
// 左侧滑动栏效果和点击效果
function leftSlideEffect() {
// 添加左侧栏的滑动效果
var mainObj = document.querySelector(".main");
var leftUlObj = document.querySelector(".main-left").children[1];
var mainLeftHeight = document.querySelector(".main-left").offsetHeight... | Daotin/Web/07-移动Web开发/案例源码/02-仿JD移动端/js/category.js/0 | {
"file_path": "Daotin/Web/07-移动Web开发/案例源码/02-仿JD移动端/js/category.js",
"repo_id": "Daotin",
"token_count": 1884
} | 16 |
/*! iScroll v5.2.0 ~ (c) 2008-2016 Matteo Spinelli ~ http://cubiq.org/license */
(function (window, document, Math) {
var rAF = window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
window.mozRequestAnimationFrame ||
window.oRequestAnimationFrame ||
window.msRequestAnimationFrame ||
function (ca... | Daotin/Web/07-移动Web开发/案例源码/03-微金所/js/iscroll.js/0 | {
"file_path": "Daotin/Web/07-移动Web开发/案例源码/03-微金所/js/iscroll.js",
"repo_id": "Daotin",
"token_count": 22445
} | 17 |
// Mixins
// --------------------------
@mixin fa-icon() {
display: inline-block;
font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration
font-size: inherit; // can't have font-size inherit on line above, so need to override
text-rendering: auto; // ... | Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/font-awesome-4.7.0/scss/_mixins.scss/0 | {
"file_path": "Daotin/Web/07-移动Web开发/案例源码/03-微金所/lib/font-awesome-4.7.0/scss/_mixins.scss",
"repo_id": "Daotin",
"token_count": 619
} | 18 |
## 一、Grunt介绍
Grunt 中文主页 : http://www.gruntjs.net/

Grunt 是一套前端**自动化构建**工具,一个基于nodeJs的命令行工具。
它是一个**任务运行器**, 配合其丰富强大的**插件**
**注意:Grunt 不支持 ES6 语法。如果要使用,需要先转化成 ES5 语法,再使用 Grunt。**
**常用功能:**
* **合并文件**(js/css)
* **压缩文件**(js/css)
* **语法检查**(js)
* **less/sass预编译处理**
* 其它...
## 二、Grunt 使用步骤
*... | Daotin/Web/11-自动化构建/01-Grunt.md/0 | {
"file_path": "Daotin/Web/11-自动化构建/01-Grunt.md",
"repo_id": "Daotin",
"token_count": 6579
} | 19 |
## 一、Vue的watch属性
我们需要实现这样一个案例:有三个文本框,第一个文本框是姓,第二个文本框是名,第三个文本框是前两个文本框的组合。需求是当前两个文本框数据变化的时候,第三个文本框自动组合。
**方式一:**
可以给第一,二个文本框添加`keyup` 事件,监听按键的抬起事件,然后拼接出第三个文本框的内容。
```html
<body>
<div id="box">
<input type="text" v-model="firstname" @keyup="keyup"> +
<input type="text" v-model="lastname" @keyup="keyup"> =
... | Daotin/Web/12-Vue/07-watch和computed.md/0 | {
"file_path": "Daotin/Web/12-Vue/07-watch和computed.md",
"repo_id": "Daotin",
"token_count": 4415
} | 20 |
我们知道,写在data中的数据是实时响应的,如果我们修改了data中的数据,响应DOM的数据也会对应的改变。
但是对于data中的对象(数组也是对象)来说,事情没那么简单。
vue判断一个对象需不需要实时响应看的是这个对象本身,也就是这个对象的引用有无发生改变,那就导致了如果我们往这个对象增删改一个元素,vue是看不到的,也就无法实时更新DOM的数据。
那怎么办?事实上,vue考虑到了这一点。
## 数组更新检测
对于数组来说,当你在使用数组的下列方法的时候,vue对这些方法进行了改装,使得你操作这个方法改变数组的时候,可以触发vue动态响应:
> push()
>
> pop()
>
> shift()
>
> u... | Daotin/Web/12-Vue/数组与对象更新检测.md/0 | {
"file_path": "Daotin/Web/12-Vue/数组与对象更新检测.md",
"repo_id": "Daotin",
"token_count": 2364
} | 21 |
/*
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步 - 创建数据库/image_upload.sql/0 | {
"file_path": "Humsen/web/docs/数据库部署/第1步 - 创建数据库/image_upload.sql",
"repo_id": "Humsen",
"token_count": 425
} | 22 |
package pers.husen.web.bean.vo;
import java.util.Date;
/**
* 图片
*
* @author 何明胜
*
* 2017年10月20日
*/
public class ImageUploadVo {
private int imageId;
private String imageName;
private String imageUrl;
private Date imageUploadDate;
private int imageType;
private int imageDownloadCount;
/**
* @return the ... | Humsen/web/web-core/src/pers/husen/web/bean/vo/ImageUploadVo.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/bean/vo/ImageUploadVo.java",
"repo_id": "Humsen",
"token_count": 599
} | 23 |
package pers.husen.web.common.helper;
import java.util.Arrays;
/**
* 判断是否是手机
*
* @author 何明胜
* <p>
* 2017年11月9日
*/
public class JudgeIsMobile {
public static boolean isMobile(String userAgent) {
String[] mobileAgents = {"iphone", "android", "phone", "mobile", "wap", "netfront", "java", "opera mobi",... | Humsen/web/web-core/src/pers/husen/web/common/helper/JudgeIsMobile.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/common/helper/JudgeIsMobile.java",
"repo_id": "Humsen",
"token_count": 1001
} | 24 |
package pers.husen.web.dao;
import java.util.ArrayList;
import pers.husen.web.bean.vo.BlogArticleVo;
/**
* 博客文章接口
*
* @author 何明胜
*
* 2017年9月17日
*/
public interface BlogArticleDao {
/**
* 查询博客文章
*
* @return 博客文章数组
*/
public ArrayList<BlogArticleVo> queryAllBlogArticles();
/**
* 根据条件询博客数量
*... | Humsen/web/web-core/src/pers/husen/web/dao/BlogArticleDao.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/dao/BlogArticleDao.java",
"repo_id": "Humsen",
"token_count": 765
} | 25 |
package pers.husen.web.dao.impl;
import java.util.ArrayList;
import java.util.Date;
import pers.husen.web.common.helper.DateFormatHelper;
import pers.husen.web.dao.VisitTotalDao;
import pers.husen.web.dbutil.DbQueryUtils;
import pers.husen.web.dbutil.DbManipulationUtils;
/**
* @author 何明胜
*
* 2017年9月30日
*/
publi... | Humsen/web/web-core/src/pers/husen/web/dao/impl/VisitTotalDaoImpl.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/dao/impl/VisitTotalDaoImpl.java",
"repo_id": "Humsen",
"token_count": 779
} | 26 |
/**
* 保存数据库的名称及其字段名
*
* @author 何明胜
*
* 2017年10月20日
*/
package pers.husen.web.dbutil.mappingdb; | Humsen/web/web-core/src/pers/husen/web/dbutil/mappingdb/package-info.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/dbutil/mappingdb/package-info.java",
"repo_id": "Humsen",
"token_count": 77
} | 27 |
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/CodeSvt.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/servlet/article/CodeSvt.java",
"repo_id": "Humsen",
"token_count": 745
} | 28 |
package pers.husen.web.servlet.module.usercenter;
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.com... | Humsen/web/web-core/src/pers/husen/web/servlet/module/usercenter/PersonalCenterSvt.java/0 | {
"file_path": "Humsen/web/web-core/src/pers/husen/web/servlet/module/usercenter/PersonalCenterSvt.java",
"repo_id": "Humsen",
"token_count": 426
} | 29 |
@charset "UTF-8";
.form-label {
text-align: left !important;
padding-left: 0;
width: 20%;
padding-right: 5px;
}
.modify-email {
text-align: left !important;
font-size: 16px;
}
.form-group-div {
margin-left: 0 !important;
margin-right: 0 !important;
}
.email-show {
font-size: 16px;
}
.form-input-div {
pad... | Humsen/web/web-mobile/WebContent/css/login/email-check.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/css/login/email-check.css",
"repo_id": "Humsen",
"token_count": 170
} | 30 |
/**
* 判断访问类型是电脑还是手机
*
* @author 何明胜
*
* 2017年9月27日
*/
$(function() {
var mobile_flag = $.isMobile(); // false为PC端,true为手机端
if (mobile_flag) {
// 调整中间内容布局
$('#fh5co-main').css({
'width' : '100%',
'float' : 'right'
});
// 左侧菜单栏
$('.fh5co-footer.footer-div').css('margin-top', 0);
// 顶部导航栏
... | Humsen/web/web-mobile/WebContent/js/is-pc-or-mobile.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/js/is-pc-or-mobile.js",
"repo_id": "Humsen",
"token_count": 608
} | 31 |
.CodeMirror-dialog {
position: absolute;
left: 0; right: 0;
background: white;
z-index: 15;
padding: .1em .8em;
overflow: hidden;
color: #333;
}
.CodeMirror-dialog-top {
border-bottom: 1px solid #eee;
top: 0;
}
.CodeMirror-dialog-bottom {
border-top: 1px solid #eee;
bottom: 0;
}
.CodeMirror-dia... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/dialog/dialog.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/dialog/dialog.css",
"repo_id": "Humsen",
"token_count": 205
} | 32 |
.CodeMirror-foldmarker {
color: blue;
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
font-family: arial;
line-height: .3;
cursor: pointer;
}
.CodeMirror-foldgutter {
width: .7em;
}
.CodeMirror-foldgutter-open,
.CodeMirror-foldgutter-folded {
cursor: pointer;
}
.Co... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/fold/foldgutter.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/fold/foldgutter.css",
"repo_id": "Humsen",
"token_count": 199
} | 33 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// Depends on jsonlint.js from https://github.com/zaach/jsonlint
// declare global: jsonlint
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
m... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/lint/json-lint.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/lint/json-lint.js",
"repo_id": "Humsen",
"token_count": 364
} | 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/scroll/scrollpastend.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/addon/scroll/scrollpastend.js",
"repo_id": "Humsen",
"token_count": 581
} | 35 |
{
"name": "codemirror",
"version":"5.0.0",
"main": ["lib/codemirror.js", "lib/codemirror.css"],
"ignore": [
"**/.*",
"node_modules",
"components",
"bin",
"demo",
"doc",
"test",
"index.html",
"package.json"
]
}
| Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/bower.json/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/bower.json",
"repo_id": "Humsen",
"token_count": 133
} | 36 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// By the Neo4j Team and contributors.
// https://github.com/neo4j-contrib/CodeMirror
(function(mod) {
if (typeof exports == "object" && typeof module == "object") // CommonJS
mod(requi... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/cypher/cypher.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/cypher/cypher.js",
"repo_id": "Humsen",
"token_count": 2700
} | 37 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
var mode = CodeMirror.getMode({tabSize: 4}, "gfm");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
var modeHighlightFormatting = Cod... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/gfm/test.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/gfm/test.js",
"repo_id": "Humsen",
"token_count": 2819
} | 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/julia/julia.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/julia/julia.js",
"repo_id": "Humsen",
"token_count": 3704
} | 39 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
var mode = CodeMirror.getMode({}, "shell");
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
MT("var",
"text [def $var] text");
... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/shell/test.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/shell/test.js",
"repo_id": "Humsen",
"token_count": 713
} | 40 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
(function() {
var mode = CodeMirror.getMode({tabSize: 4}, 'textile');
function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); }
MT('simpleParagraphs',
... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/textile/test.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/textile/test.js",
"repo_id": "Humsen",
"token_count": 4182
} | 41 |
// CodeMirror, copyright (c) by Marijn Haverbeke and others
// Distributed under an MIT license: http://codemirror.net/LICENSE
// Don't take these too seriously -- the expected results appear to be
// based on the results of actual runs without any serious manual
// verification. If a change you made causes them to fa... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/xquery/test.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/mode/xquery/test.js",
"repo_id": "Humsen",
"token_count": 1954
} | 42 |
.cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;}
.cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;}
.cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;}
.cm-s-elegant span.cm-variable {color: black;}
.cm-s-el... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/elegant.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/elegant.css",
"repo_id": "Humsen",
"token_count": 329
} | 43 |
/*
Name: Tomorrow Night - Bright
Author: Chris Kempson
Port done by Gerard Braad <me@gbraad.nl>
*/
.cm-s-tomorrow-night-bright.CodeMirror {background: #000000; color: #eaeaea;}
.cm-s-tomorrow-night-bright div.CodeMirror-selected {background: #424242 !important;}
.cm-s-tomorrow-night-bright .Co... | Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/tomorrow-night-bright.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/lib/codemirror/theme/tomorrow-night-bright.css",
"repo_id": "Humsen",
"token_count": 712
} | 44 |
/*!
* Table dialog plugin for Editor.md
*
* @file table-dialog.js
* @author pandao
* @version 1.2.1
* @updateTime 2015-06-09
* {@link https://github.com/pandao/editor.md}
* @license MIT
*/
(function() {
var factory = function (exports) {
var $ = jQuery;
var pluginN... | Humsen/web/web-mobile/WebContent/plugins/editormd/plugins/table-dialog/table-dialog.js/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/editormd/plugins/table-dialog/table-dialog.js",
"repo_id": "Humsen",
"token_count": 3140
} | 45 |
/* =======================================================
*
* Template Style
* Edit this section
*
* ======================================================= */
body {
font-weight: 300;
line-height: 1.6;
/* font-family: "Times New Roman", Times, serif; */
font-family: "Georgia", Tahoma, Sans-Serif;
/* background... | Humsen/web/web-mobile/WebContent/plugins/template/css/style.css/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/plugins/template/css/style.css",
"repo_id": "Humsen",
"token_count": 8941
} | 46 |
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>代码库</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description"
content="欢迎来到何明胜的个人网站.本站主要用于记录和分享本人的学习心得和编程经验,并分享常见可复用代码、推荐书籍以及软件等资源.本站源码已托管github,欢迎访问:https://gi... | Humsen/web/web-mobile/WebContent/topic/code/code_template.html/0 | {
"file_path": "Humsen/web/web-mobile/WebContent/topic/code/code_template.html",
"repo_id": "Humsen",
"token_count": 1003
} | 47 |
@charset "UTF-8";
.show-users-table {
margin: 50px auto;
}
.user-id-width {
min-width: 50px;
}
.user-nick-name-width{
min-width: 60px;
}
.user-common-width{
min-width: 30px;
} | Humsen/web/web-pc/WebContent/css/personal_center/show-users.css/0 | {
"file_path": "Humsen/web/web-pc/WebContent/css/personal_center/show-users.css",
"repo_id": "Humsen",
"token_count": 90
} | 48 |
table.dataTable {
clear: both;
margin-top: 6px !important;
margin-bottom: 6px !important;
max-width: none !important;
}
table.dataTable td,
table.dataTable th {
-webkit-box-sizing: content-box;
box-sizing: content-box;
}
table.dataTable td.dataTables_empty,
table.dataTable th.dataTables_empty {
text-align... | Humsen/web/web-pc/WebContent/plugins/DataTables/css/dataTables.uikit.css/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/DataTables/css/dataTables.uikit.css",
"repo_id": "Humsen",
"token_count": 1461
} | 49 |
/*! DataTables Foundation integration
* ©2011-2015 SpryMedia Ltd - datatables.net/license
*/
/**
* DataTables integration for Foundation. This requires Foundation 5 and
* DataTables 1.10 or newer.
*
* This file sets the defaults and adds options to DataTables to style its
* controls using Foundation. See http:/... | Humsen/web/web-pc/WebContent/plugins/DataTables/js/dataTables.foundation.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/DataTables/js/dataTables.foundation.js",
"repo_id": "Humsen",
"token_count": 1819
} | 50 |
(function($) {
/**
* Hungarian language package
* Translated by @blackfyre
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Kérlek, hogy érvényes base 64 karakter láncot adj meg'
},
between: {
'd... | Humsen/web/web-pc/WebContent/plugins/validator/js/language/hu_HU.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/validator/js/language/hu_HU.js",
"repo_id": "Humsen",
"token_count": 9003
} | 51 |
(function($) {
/**
* Ukrainian language package
* Translated by @oleg-voloshyn
*/
$.fn.bootstrapValidator.i18n = $.extend(true, $.fn.bootstrapValidator.i18n, {
base64: {
'default': 'Будь ласка, введіть коректний рядок base64'
},
between: {
'default'... | Humsen/web/web-pc/WebContent/plugins/validator/js/language/ua_UA.js/0 | {
"file_path": "Humsen/web/web-pc/WebContent/plugins/validator/js/language/ua_UA.js",
"repo_id": "Humsen",
"token_count": 11451
} | 52 |
Odoo by default support:
::
<tree delete="false" create="false">
with this module you can:
::
<tree delete="state=='draft'" create="state!='sent'">
It works in any tree view, so you can use it in One2many.
| OCA/web/web_action_conditionable/readme/USAGE.rst/0 | {
"file_path": "OCA/web/web_action_conditionable/readme/USAGE.rst",
"repo_id": "OCA",
"token_count": 74
} | 53 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_advanced_search
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2019-08-12 11:44+0000\n"
"Last-Translator: Pedro Castro Silva <pedrocs@exo.pt>\n"
"Language-Te... | OCA/web/web_advanced_search/i18n/pt.po/0 | {
"file_path": "OCA/web/web_advanced_search/i18n/pt.po",
"repo_id": "OCA",
"token_count": 491
} | 54 |
/** @odoo-module **/
import CustomFilterItem from "web.CustomFilterItem";
import {RecordPicker} from "../../../js/RecordPicker.esm";
import {patch} from "@web/core/utils/patch";
/**
* Patches the CustomFilterItem for legacy widgets.
*
* Tree views still use this old legacy widget, so we need to patch it.
* This i... | OCA/web/web_advanced_search/static/src/legacy/js/control_panel/custom_filter_item.esm.js/0 | {
"file_path": "OCA/web/web_advanced_search/static/src/legacy/js/control_panel/custom_filter_item.esm.js",
"repo_id": "OCA",
"token_count": 1381
} | 55 |
from . import base
| OCA/web/web_apply_field_style/models/__init__.py/0 | {
"file_path": "OCA/web/web_apply_field_style/models/__init__.py",
"repo_id": "OCA",
"token_count": 5
} | 56 |
# 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-03-13 14:23+0000\n"
"Last-Translator: Rémi <remi@le-filament.com>\n"
"Language-Team: non... | OCA/web/web_chatter_position/i18n/fr.po/0 | {
"file_path": "OCA/web/web_chatter_position/i18n/fr.po",
"repo_id": "OCA",
"token_count": 516
} | 57 |
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="webclient_bootstrap" inherit_id="web.webclient_bootstrap">
<t t-set="head_web" position="inside">
<script type="text/javascript">
odoo.web_chatter_position = "<t
t-out="request.env.user.chatter_posit... | OCA/web/web_chatter_position/views/web.xml/0 | {
"file_path": "OCA/web/web_chatter_position/views/web.xml",
"repo_id": "OCA",
"token_count": 209
} | 58 |
# Copyright 2020 Alexandre Díaz <dev@redneboa.es>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo.http import request
from odoo.addons.base.models.assetsbundle import AssetsBundle, ScssStylesheetAsset
class AssetsBundleCompanyColor(AssetsBundle):
def get_company_color_asset_node(self):
... | OCA/web/web_company_color/models/assetsbundle.py/0 | {
"file_path": "OCA/web/web_company_color/models/assetsbundle.py",
"repo_id": "OCA",
"token_count": 378
} | 59 |
# Copyright (C) 2018 DynApps <http://www.dynapps.be>
# @author Stefan Rijnhart <stefan@opener.amsterdam>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Show confirmation dialogue before copying records",
"version": "16.0.1.0.0",
"author": "Dynapps,Odoo Community Association (OCA)... | OCA/web/web_copy_confirm/__manifest__.py/0 | {
"file_path": "OCA/web/web_copy_confirm/__manifest__.py",
"repo_id": "OCA",
"token_count": 332
} | 60 |
# 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-10-23 18:56+0000\n"
"Last-Translator: Grégory Moka Tourisme <gregory@mokatourisme.fr>\n"
"Langu... | OCA/web/web_dark_mode/i18n/fr.po/0 | {
"file_path": "OCA/web/web_dark_mode/i18n/fr.po",
"repo_id": "OCA",
"token_count": 478
} | 61 |
This module extends the web module to add new dashboard overview system.
By default, the tile displays items count of a given model restricted to a given domain.
Optionally, the tile can display the result of a function on a field.
- Function is one of ``sum``, ``avg``, ``min``, ``max`` or ``median``.
- Field must b... | OCA/web/web_dashboard_tile/readme/DESCRIPTION.rst/0 | {
"file_path": "OCA/web/web_dashboard_tile/readme/DESCRIPTION.rst",
"repo_id": "OCA",
"token_count": 144
} | 62 |
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="action_category_2_tile" model="ir.actions.act_window">
<field name="name">Dashboard Items</field>
<field name="res_model">tile.tile</field>
<field name="view_mode">tree,form</field>
<field name="context">{'search_default_cat... | OCA/web/web_dashboard_tile/views/tile_category.xml/0 | {
"file_path": "OCA/web/web_dashboard_tile/views/tile_category.xml",
"repo_id": "OCA",
"token_count": 1567
} | 63 |
A module that lets the user expand/restore the dialog box size through a button
in the upper right corner (imitating most windows managers).
It also adds draggable support to the dialogs.
| OCA/web/web_dialog_size/readme/DESCRIPTION.rst/0 | {
"file_path": "OCA/web/web_dialog_size/readme/DESCRIPTION.rst",
"repo_id": "OCA",
"token_count": 44
} | 64 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_disable_export_group
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-19 19:33+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Lang... | OCA/web/web_disable_export_group/i18n/es.po/0 | {
"file_path": "OCA/web/web_disable_export_group/i18n/es.po",
"repo_id": "OCA",
"token_count": 501
} | 65 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_environment_ribbon
#
# Translators:
# Peter Hageman <hageman.p@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-07-13 16:06+0000\n"
"PO-Rev... | OCA/web/web_environment_ribbon/i18n/nl_NL.po/0 | {
"file_path": "OCA/web/web_environment_ribbon/i18n/nl_NL.po",
"repo_id": "OCA",
"token_count": 441
} | 66 |
/* Copyright 2015 Francesco OpenCode Apruzzese <cescoap@gmail.com>
Copyright 2017 Thomas Binsfeld <thomas.binsfeld@acsone.eu>
Copyright 2021 Andreas Perhab <a.perhab@wtioit.at>
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). */
.test-ribbon {
width: 300px;
top: 25px;
left: -100px;
... | OCA/web/web_environment_ribbon/static/src/css/ribbon.css/0 | {
"file_path": "OCA/web/web_environment_ribbon/static/src/css/ribbon.css",
"repo_id": "OCA",
"token_count": 411
} | 67 |
/* @odoo-module */
import {
click,
clickSave,
editInput,
getFixture,
patchWithCleanup,
} from "@web/../tests/helpers/utils";
import {
defaultLocalization,
makeFakeLocalizationService,
} from "@web/../tests/helpers/mock_services";
import {makeView, setupViewRegistries} from "@web/../tests/vi... | OCA/web/web_field_numeric_formatting/static/tests/field_tests.esm.js/0 | {
"file_path": "OCA/web/web_field_numeric_formatting/static/tests/field_tests.esm.js",
"repo_id": "OCA",
"token_count": 2821
} | 68 |
<?xml version="1.0" encoding="UTF-8" ?>
<templates xml:space="preserve">
<t t-inherit="web.ListView.Buttons" t-inherit-mode="extension" owl="1">
<xpath expr="//div[hasclass('o_list_buttons')]" position="inside">
<t t-if="model.root.isGrouped">
<button
type="bu... | OCA/web/web_group_expand/static/src/xml/list_controller.xml/0 | {
"file_path": "OCA/web/web_group_expand/static/src/xml/list_controller.xml",
"repo_id": "OCA",
"token_count": 537
} | 69 |
This allows to hide field by pressing the "p" key on the keyboard
| OCA/web/web_hide_field_with_key/readme/DESCRIPTION.rst/0 | {
"file_path": "OCA/web/web_hide_field_with_key/readme/DESCRIPTION.rst",
"repo_id": "OCA",
"token_count": 16
} | 70 |
To use this functionality you need to return following action with list of actions to execute:
.. code-block:: python
def foo(self):
self.ensure_one()
return {
'type': 'ir.actions.act_multi',
'actions': [
{'type': 'ir.actions.act_window_close'},
... | OCA/web/web_ir_actions_act_multi/readme/USAGE.rst/0 | {
"file_path": "OCA/web/web_ir_actions_act_multi/readme/USAGE.rst",
"repo_id": "OCA",
"token_count": 194
} | 71 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_m2x_options
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
# Rodrigo de Almeida Sottomaior Macedo <rmsolucoeseminformatic4@gmail.com>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 10.0\n... | OCA/web/web_m2x_options/i18n/pt_BR.po/0 | {
"file_path": "OCA/web/web_m2x_options/i18n/pt_BR.po",
"repo_id": "OCA",
"token_count": 1652
} | 72 |
/** @odoo-module **/
import {
Many2ManyTagsField,
Many2ManyTagsFieldColorEditable,
} from "@web/views/fields/many2many_tags/many2many_tags_field";
import {Dialog} from "@web/core/dialog/dialog";
import {FormController} from "@web/views/form/form_controller";
import {FormViewDialog} from "@web/views/view_dialo... | OCA/web/web_m2x_options/static/src/components/form.esm.js/0 | {
"file_path": "OCA/web/web_m2x_options/static/src/components/form.esm.js",
"repo_id": "OCA",
"token_count": 6283
} | 73 |
# Copyright 2016 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import _, api, exceptions, fields, models
from odoo.addons.bus.models.bus import channel_with_db, json_dump
DEFAULT_MESSAGE = "Default message"
SUCCESS = "success"
DANGER = "danger"
WARNING = "warning"
INFO = "inf... | OCA/web/web_notify/models/res_users.py/0 | {
"file_path": "OCA/web/web_notify/models/res_users.py",
"repo_id": "OCA",
"token_count": 1522
} | 74 |
# pylint: disable=missing-docstring
# Copyright 2023 ForgeFlow, S.L.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Web Notify Channel Message",
"summary": """
Send an instant notification to channel users when a new message is posted""",
"version": "16.0.1.0.0",
"li... | OCA/web/web_notify_channel_message/__manifest__.py/0 | {
"file_path": "OCA/web/web_notify_channel_message/__manifest__.py",
"repo_id": "OCA",
"token_count": 209
} | 75 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_pivot_computed_measure
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-07-05 12:48+0000\n"
"Last-Translator: jabelchi <jabelchi@gmail.com>\n"
"Language-T... | OCA/web/web_pivot_computed_measure/i18n/ca.po/0 | {
"file_path": "OCA/web/web_pivot_computed_measure/i18n/ca.po",
"repo_id": "OCA",
"token_count": 2097
} | 76 |
/** @odoo-module **/
/* Copyright 2022 Tecnativa - Carlos Roca
* License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html) */
import {PivotRenderer} from "@web/views/pivot/pivot_renderer";
import {patch} from "@web/core/utils/patch";
patch(PivotRenderer.prototype, "web_pivot_computed_measure.PivotRenderer", ... | OCA/web/web_pivot_computed_measure/static/src/pivot/pivot_renderer.esm.js/0 | {
"file_path": "OCA/web/web_pivot_computed_measure/static/src/pivot/pivot_renderer.esm.js",
"repo_id": "OCA",
"token_count": 197
} | 77 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_pwa_oca
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-02-01 20:33+0000\n"
"Last-Translator: Rodrigo Macedo <rmsolucoeseminformatica@protonmail.com>\n"
... | OCA/web/web_pwa_oca/i18n/pt_BR.po/0 | {
"file_path": "OCA/web/web_pwa_oca/i18n/pt_BR.po",
"repo_id": "OCA",
"token_count": 1770
} | 78 |
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-02 20:35+0000\n"
"PO-Revision-Date: 2023-09-02 20:35+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: es\n"
"MIME-Version: 1.0\n... | OCA/web/web_refresher/i18n/es.po/0 | {
"file_path": "OCA/web/web_refresher/i18n/es.po",
"repo_id": "OCA",
"token_count": 363
} | 79 |
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2022 Tecnativa - Carlos Roca
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<template>
<t
t-name="web_refresher.Pager"
t-inherit="web.Pager"
t-inherit-mode="extension"
owl="1"
>
<xpath expr="//... | OCA/web/web_refresher/static/src/xml/pager.xml/0 | {
"file_path": "OCA/web/web_refresher/static/src/xml/pager.xml",
"repo_id": "OCA",
"token_count": 279
} | 80 |
# Copyright 2016-2017 LasLabs Inc.
# Copyright 2017-2018 Tecnativa - Jairo Llopis
# Copyright 2018-2019 Tecnativa - Alexandre Díaz
# Copyright 2021 ITerra - Sergey Shebanin
# Copyright 2023 Onestein - Anjeel Haria
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
{
"name": "Web Responsive",
... | OCA/web/web_responsive/__manifest__.py/0 | {
"file_path": "OCA/web/web_responsive/__manifest__.py",
"repo_id": "OCA",
"token_count": 1187
} | 81 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_responsive
#
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-T... | OCA/web/web_responsive/i18n/web_responsive.pot/0 | {
"file_path": "OCA/web/web_responsive/i18n/web_responsive.pot",
"repo_id": "OCA",
"token_count": 1807
} | 82 |
<?xml version="1.0" encoding="UTF-8" ?>
<!-- Copyright 2021 Sergey Shebanin
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl). -->
<templates>
<t t-inherit="web.Legacy.SearchPanel" t-inherit-mode="extension" owl="1">
<xpath expr="//div[hasclass('o_search_panel')]" position="inside">
... | OCA/web/web_responsive/static/src/components/search_panel/search_panel.xml/0 | {
"file_path": "OCA/web/web_responsive/static/src/components/search_panel/search_panel.xml",
"repo_id": "OCA",
"token_count": 1368
} | 83 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_save_discard_button
#
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"
"Langua... | OCA/web/web_save_discard_button/i18n/it.po/0 | {
"file_path": "OCA/web/web_save_discard_button/i18n/it.po",
"repo_id": "OCA",
"token_count": 420
} | 84 |
* Telmo Santos <telmo.santos@camptocamp.com>
| OCA/web/web_select_all_companies/readme/CONTRIBUTORS.rst/0 | {
"file_path": "OCA/web/web_select_all_companies/readme/CONTRIBUTORS.rst",
"repo_id": "OCA",
"token_count": 19
} | 85 |
# Copyright (C) 2022 - Today: GRAP (http://www.grap.coop)
# @author: Sylvain LE GAL (https://twitter.com/legalsylvain)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Web Theme Classic",
"summary": "Contrasted style on fields to improve the UI.",
"version": "16.0.1.0.2",
... | OCA/web/web_theme_classic/__manifest__.py/0 | {
"file_path": "OCA/web/web_theme_classic/__manifest__.py",
"repo_id": "OCA",
"token_count": 325
} | 86 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_timeline
#
# Translators:
# Pedro M. Baeza <pedro.baeza@gmail.com>, 2017
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"
"PO-Revision-D... | OCA/web/web_timeline/i18n/es.po/0 | {
"file_path": "OCA/web/web_timeline/i18n/es.po",
"repo_id": "OCA",
"token_count": 1268
} | 87 |
Define a new view displaying events in an interactive visualization chart.
The widget is based on the external library
https://visjs.github.io/vis-timeline/examples/timeline
| OCA/web/web_timeline/readme/DESCRIPTION.rst/0 | {
"file_path": "OCA/web/web_timeline/readme/DESCRIPTION.rst",
"repo_id": "OCA",
"token_count": 44
} | 88 |
# Copyright 2023 Moduon Team S.L.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl-3.0)
{
"name": "Web Touchscreen",
"summary": "UX improvements for touch screens",
"version": "16.0.1.0.1",
"development_status": "Alpha",
"category": "Extra Tools",
"website": "https://github.com/OC... | OCA/web/web_touchscreen/__manifest__.py/0 | {
"file_path": "OCA/web/web_touchscreen/__manifest__.py",
"repo_id": "OCA",
"token_count": 280
} | 89 |
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * web_tree_duplicate
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-07-23 14:19+0000\n"
"Last-Translator: claudiagn <claudia.gargallo@qubiq.es>\n"
"Language-Te... | OCA/web/web_tree_duplicate/i18n/es.po/0 | {
"file_path": "OCA/web/web_tree_duplicate/i18n/es.po",
"repo_id": "OCA",
"token_count": 368
} | 90 |
========================================
Clickable many2one fields for tree views
========================================
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!... | OCA/web/web_tree_many2one_clickable/README.rst/0 | {
"file_path": "OCA/web/web_tree_many2one_clickable/README.rst",
"repo_id": "OCA",
"token_count": 1338
} | 91 |
<?xml version="1.0" encoding="UTF-8" ?>
<templates>
<t t-name="web_tree_many2one_clickable.Button" owl="1">
<button
class="btn btn-sm btn-secondary fa fa-arrow-right web_tree_many2one_clickable"
t-on-click="onClick"
>
</button>
</t>
<t t-inherit="web.ListRend... | OCA/web/web_tree_many2one_clickable/static/src/components/many2one_button/many2one_button.xml/0 | {
"file_path": "OCA/web/web_tree_many2one_clickable/static/src/components/many2one_button/many2one_button.xml",
"repo_id": "OCA",
"token_count": 405
} | 92 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.