markdown-wiki - Gogs: Go Git Service

markdown格式wiki文档

theme-tomorrow.js 2.8KB

    define("ace/theme/tomorrow",["require","exports","module","ace/lib/dom"], function(require, exports, module) { exports.isDark = false; exports.cssClass = "ace-tomorrow"; exports.cssText = ".ace-tomorrow .ace_gutter {\ background: #f6f6f6;\ color: #4D4D4C\ }\ .ace-tomorrow .ace_print-margin {\ width: 1px;\ background: #f6f6f6\ }\ .ace-tomorrow {\ background-color: #FFFFFF;\ color: #4D4D4C\ }\ .ace-tomorrow .ace_cursor {\ color: #AEAFAD\ }\ .ace-tomorrow .ace_marker-layer .ace_selection {\ background: #D6D6D6\ }\ .ace-tomorrow.ace_multiselect .ace_selection.ace_start {\ box-shadow: 0 0 3px 0px #FFFFFF;\ }\ .ace-tomorrow .ace_marker-layer .ace_step {\ background: rgb(255, 255, 0)\ }\ .ace-tomorrow .ace_marker-layer .ace_bracket {\ margin: -1px 0 0 -1px;\ border: 1px solid #D1D1D1\ }\ .ace-tomorrow .ace_marker-layer .ace_active-line {\ background: #EFEFEF\ }\ .ace-tomorrow .ace_gutter-active-line {\ background-color : #dcdcdc\ }\ .ace-tomorrow .ace_marker-layer .ace_selected-word {\ border: 1px solid #D6D6D6\ }\ .ace-tomorrow .ace_invisible {\ color: #D1D1D1\ }\ .ace-tomorrow .ace_keyword,\ .ace-tomorrow .ace_meta,\ .ace-tomorrow .ace_storage,\ .ace-tomorrow .ace_storage.ace_type,\ .ace-tomorrow .ace_support.ace_type {\ color: #8959A8\ }\ .ace-tomorrow .ace_keyword.ace_operator {\ color: #3E999F\ }\ .ace-tomorrow .ace_constant.ace_character,\ .ace-tomorrow .ace_constant.ace_language,\ .ace-tomorrow .ace_constant.ace_numeric,\ .ace-tomorrow .ace_keyword.ace_other.ace_unit,\ .ace-tomorrow .ace_support.ace_constant,\ .ace-tomorrow .ace_variable.ace_parameter {\ color: #F5871F\ }\ .ace-tomorrow .ace_constant.ace_other {\ color: #666969\ }\ .ace-tomorrow .ace_invalid {\ color: #FFFFFF;\ background-color: #C82829\ }\ .ace-tomorrow .ace_invalid.ace_deprecated {\ color: #FFFFFF;\ background-color: #8959A8\ }\ .ace-tomorrow .ace_fold {\ background-color: #4271AE;\ border-color: #4D4D4C\ }\ .ace-tomorrow .ace_entity.ace_name.ace_function,\ .ace-tomorrow .ace_support.ace_function,\ .ace-tomorrow .ace_variable {\ color: #4271AE\ }\ .ace-tomorrow .ace_support.ace_class,\ .ace-tomorrow .ace_support.ace_type {\ color: #C99E00\ }\ .ace-tomorrow .ace_heading,\ .ace-tomorrow .ace_markup.ace_heading,\ .ace-tomorrow .ace_string {\ color: #718C00\ }\ .ace-tomorrow .ace_entity.ace_name.ace_tag,\ .ace-tomorrow .ace_entity.ace_other.ace_attribute-name,\ .ace-tomorrow .ace_meta.ace_tag,\ .ace-tomorrow .ace_string.ace_regexp,\ .ace-tomorrow .ace_variable {\ color: #C82829\ }\ .ace-tomorrow .ace_comment {\ color: #8E908C\ }\ .ace-tomorrow .ace_indent-guide {\ background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bdu3f/BwAlfgctduB85QAAAABJRU5ErkJggg==) right repeat-y\ }"; var dom = require("../lib/dom"); dom.importCssString(exports.cssText, exports.cssClass); });
portal-front - Gogs: Go Git Service

portal html css js resource

cmp-settled-reg.html 2.8KB

    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>企业入驻</title> <link type="text/css" rel="stylesheet" href="css/bootstrap.min.css"> <link type="text/css" rel="stylesheet" href="css/common.css"> <link type="text/css" rel="stylesheet" href="css/cmpindex.css"> <script type="text/javascript" src="js/public/jquery-1.11.1.js"></script> </head> <body> <!--头部--> <header> <script type="text/javascript" src="js/public/cmpHeader.js"></script> </header> <!--中间--> <div id="container"> <div class="conBanner"></div> <div class="containerCon"> <div class="conTit"> <h4 class="tit-hh4"><img src="images/business_icon_chuangjian_nor.png">创建账户</h4> </div> <form class="cmpAllFrm"> <ul class="cmpAllUl cmpSettledul" id="cmpSettledul"> <li> <p class="smalltip">请输入与营业执照一致的企业名称,注册后不可更改!</p> <input type="text" class="frmtype frmtypeW" placeholder="请输入企业名称" id="companyName"/> <div class="frmmsg msgReg1"><span></span></div> <!--<div class="frmmsg msgReg1"><span>该企业已注册企业账户,若您是企业管理者,<a class="cmpColor" href="cmp-settled-reback.html">您可以点击这里找回账户</a></span></div> <div class="frmmsg msgReg1"><span>该企业已成为【科袖认证企业】,若有问题请联系客服 010-62343359</span></div>--> </li> <li> <input type="email" class="frmtype frmtypeW displayNone" autocomplete="off"/> <input type="email" class="frmtype frmtypeW companyEmail" placeholder="请输入企业邮箱" autocomplete="off"/> <div class="frmmsg msgReg2"><span></span></div> </li> <li> <input type="password" class="frmtype frmtypeW" placeholder="请设置您的登录密码" id="companyPasw"/> <div class="frmmsg msgReg3"><span></span></div> </li> <li> <!--选中状态为图片business_button_xuanze_hig.png--> <img class="cmpAgree ifxuanze" src="images/business_button_xuanze_hig.png" /> <span>我是本企业的官方代表,且有权代表企业注册此账户!</span> </li> <li> <button type="button" disabled class="frmtype frmtypeW btnModel btnModelBig headRadius save-block" id="registerSubmit">创建企业账户</button> </li> </ul> </form> </div> </div> <!--底部--> <footer> <script type="text/javascript" src="js/public/cmpFooter.js"></script> </footer> <script type="text/javascript" src="js/public/jquery.cookie.js"></script> <script type="text/javascript" src="js/public/jquery.similar.msgbox.js"></script> <script type="text/javascript" src="js/public/common.js"></script> <script type="text/javascript" src="js/cmp-settled-reg.js"></script> </body> </html>
ekexiu.app - Gogs: Go Git Service

No Description

changepass.js 1.9KB

    //注册信息 mui.ready(function() { /*定义全局变量*/ var restPassword = document.getElementById("restPassword"); var oldPassword = document.getElementById("oldPassword"); var newPassword = document.getElementById("newPassword"); var newPassword2 = document.getElementById("newPassword2"); /*校验修改密码按钮显示状态*/ mui('.maincon').on('keyup', "#oldPassword,#newPassword,#newPassword2", function() { hideButtn2(oldPassword,newPassword,restPassword,"frmactiveok",newPassword2); }); /*修改密码按钮*/ restPassword.addEventListener('tap', function() { valOld(); }) function valOld(){ if(oldPassword.value.length < 6 || newPassword.value.length < 6 || newPassword2.value.length < 6){ plus.nativeUI.toast("密码不少于6位,请输入正确的密码", toastStyle); return; }else if(oldPassword.value == newPassword.value){ plus.nativeUI.toast("新旧密码不能一致", toastStyle); return; }else if(newPassword2.value != newPassword.value){ plus.nativeUI.toast("两次输入密码不一致", toastStyle); return; }else{ modifySuccess(); } } /*修改密码*/ function modifySuccess() { var userId = plus.storage.getItem('userid'); console.log(userId) mui.ajax(baseUrl + '/ajax/cp', { data:{ "id":userId, "npw":newPassword2.value, "onw":oldPassword.value }, dataType: 'json', //数据格式类型 type: 'post', //http请求类型 timeout: 10000, //超时设置 success: function(data) { console.log(data.success) if(data.data){ plus.nativeUI.toast("密码修改成功",toastStyle); mui.currentWebview.close(); goLoginFun(); return; }else{ plus.nativeUI.toast("原密码填写错误",toastStyle); return; } }, error: function() { plus.nativeUI.toast("服务器链接超时", toastStyle); return; } }); } })