Server IP : 127.0.0.2 / Your IP : 3.23.86.150 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/odoo/doc/_extensions/odoo_ext/ |
Upload File : |
# -*- coding: utf-8 -*- from pygments.style import Style from pygments.token import Keyword, Name, Comment, String, Error, Text, \ Number, Operator, Generic, Whitespace, Punctuation, Other, Literal BACKGROUND = '#272727' CURRENT_LINE = "#41323f" SELECTION = "#4f424c" FOREGROUND = "#e7e9db" COMMENT = "#776e71" RED = "#ef6155" ORANGE = "#f99b15" YELLOW = "#fec418" GREEN = "#48b685" AQUA = "#5bc4bf" BLUE = "#06b6ef" PURPLE = "#815ba4" class OdooStyle(Style): """Modified version of Paraiso Dark style to avoid Pygments version annoyances. ParaĆso (Dark) by Jan T. Sott Pygments template by Jan T. Sott (https://github.com/idleberg) Created with Base16 Builder by Chris Kempson (https://github.com/chriskempson/base16-builder). :copyright: Copyright 2006-2014 by the Pygments team :license: BSD """ default_style = '' background_color = BACKGROUND highlight_color = SELECTION styles = { # No corresponding class for the following: Text: FOREGROUND, Whitespace: "", Error: RED, Other: "", Comment: COMMENT, Comment.Multiline: "", Comment.Preproc: "", Comment.Single: "", Comment.Special: "", Keyword: '#cb49a8', Keyword.Constant: "", Keyword.Declaration: "", Keyword.Namespace: AQUA, Keyword.Pseudo: "", Keyword.Reserved: "", Keyword.Type: YELLOW, Operator: AQUA, Operator.Word: "", Punctuation: FOREGROUND, Name: FOREGROUND, Name.Attribute: BLUE, Name.Builtin: "", Name.Builtin.Pseudo: "", Name.Class: YELLOW, Name.Constant: RED, Name.Decorator: AQUA, Name.Entity: "", Name.Exception: RED, Name.Function: BLUE, Name.Property: "", Name.Label: "", Name.Namespace: YELLOW, Name.Other: BLUE, Name.Tag: '#21b799', Name.Variable: RED, Name.Variable.Class: "", Name.Variable.Global: "", Name.Variable.Instance: "", Number: ORANGE, Number.Float: "", Number.Hex: "", Number.Integer: "", Number.Integer.Long: "", Number.Oct: "", Literal: ORANGE, Literal.Date: GREEN, String: GREEN, String.Backtick: "", String.Char: FOREGROUND, String.Doc: COMMENT, String.Double: "", String.Escape: ORANGE, String.Heredoc: "", String.Interpol: ORANGE, String.Other: "", String.Regex: "", String.Single: "", String.Symbol: "", Generic: "", Generic.Deleted: RED, Generic.Emph: "italic", Generic.Error: "", Generic.Heading: "bold " + FOREGROUND, Generic.Inserted: GREEN, Generic.Output: "", Generic.Prompt: "bold " + COMMENT, Generic.Strong: "bold", Generic.Subheading: "bold " + AQUA, Generic.Traceback: "", } import imp import sys modname = 'pygments.styles.odoo' m = imp.new_module(modname) m.OdooStyle = OdooStyle sys.modules[modname] = m