<script> mui.plusReady(function(){ var self = plus.webview.currentWebview(); //判断用户初始化身份 mui(".boxnav span").each(function () { var typenum = this.getAttribute("typenum"); if(typenum==self.usertype){ this.parentNode.classList.add('set'); } }); }) tab("navsub");//身份切换 var nextStep = document.getElementById("nextStep"); nextStep.addEventListener('tap', function() { var typetext = document.querySelector(".boxnav li.set"); mui.openWindow({ url: '../html/identity-up.html', id: '../html/identity-up.html', show: { aniShow: "slide-in-right" }, extras:{ usertype:typetext.innerText, } }); }) function tab(name) { var oDome = document.getElementById(name); var oSpan = oDome.getElementsByTagName('ul')[0].childNodes; for(var i = 0; i < oSpan.length; i++) { oSpan[i].onclick = function() { for(var i = 0; i < oSpan.length; i++) { oSpan[i].className = ''; } this.className = 'set'; } } } </script> </body> </html> portal-front - Gogs: Go Git Service

portal html css js resource

map.html 6.0KB

    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <script type="text/javascript" src="../internal.js"></script> <script type="text/javascript" src="http://api.map.baidu.com/api?v=1.1&services=true"></script> <style type="text/css"> .content{width:530px; height: 350px;margin: 10px auto;} .content table{width: 100%} .content table td{vertical-align: middle;} #city,#address{height:21px;background: #FFF;border:1px solid #d7d7d7; line-height: 21px;} #city{width:60px} #address{width:130px} #is_dynamic_label span{vertical-align:middle;margin: 3px 0px 3px 3px;} #is_dynamic_label input{vertical-align:middle;margin: 3px 3px 3px 50px;} </style> </head> <body> <div class="content"> <table> <tr> <td><var id="lang_city"></var>:</td> <td><input id="city" type="text" /></td> <td><var id="lang_address"></var>:</td> <td><input id="address" type="text" value="" /></td> <td><a href="javascript:doSearch()" class="button"><var id="lang_search"></var></a></td> <td><label id="is_dynamic_label" for="is_dynamic"><input id="is_dynamic" type="checkbox" name="is_dynamic" /><span><var id="lang_dynamicmap"></var></span></label></td> </tr> </table> <div style="width:100%;height:340px;margin:5px auto;border:1px solid gray" id="container"></div> </div> <script type="text/javascript"> var map = new BMap.Map("container"),marker,point,styleStr; map.enableScrollWheelZoom(); map.enableContinuousZoom(); function doSearch(){ if (!document.getElementById('city').value) { alert(lang.cityMsg); return; } var search = new BMap.LocalSearch(document.getElementById('city').value, { onSearchComplete: function (results){ if (results && results.getNumPois()) { var points = []; for (var i=0; i<results.getCurrentNumPois(); i++) { points.push(results.getPoi(i).point); } if (points.length > 1) { map.setViewport(points); } else { map.centerAndZoom(points[0], 13); } point = map.getCenter(); marker.setPoint(point); } else { alert(lang.errorMsg); } } }); search.search(document.getElementById('address').value || document.getElementById('city').value); } //获得参数 function getPars(str,par){ var reg = new RegExp(par+"=((\\d+|[.,])*)","g"); return reg.exec(str)[1]; } function init(){ var mapNode = editor.selection.getRange().getClosedNode(), isMapImg = mapNode && /api[.]map[.]baidu[.]com/ig.test(mapNode.getAttribute("src")), isMapIframe = mapNode && domUtils.hasClass(mapNode, 'ueditor_baidumap'); if(isMapImg || isMapIframe){ var url, centerPos, markerPos; if(isMapIframe) { url = decodeURIComponent(mapNode.getAttribute("src")); $G('is_dynamic').checked = true; styleStr = mapNode.style.cssText; } else { url = mapNode.getAttribute("src"); styleStr = mapNode.style.cssText; } centerPos = getPars(url,"center").split(","); markerPos = getPars(url, "markers").split(","); point = new BMap.Point(Number(centerPos[0]),Number(centerPos[1])); marker = new BMap.Marker(new BMap.Point(Number(markerPos[0]), Number(markerPos[1]))); map.addControl(new BMap.NavigationControl()); map.centerAndZoom(point, Number(getPars(url,"zoom"))); }else{ point = new BMap.Point(116.404, 39.915); // 创建点坐标 marker = new BMap.Marker(point); map.addControl(new BMap.NavigationControl()); map.centerAndZoom(point, 10); // 初始化地图,设置中心点坐标和地图级别。 } marker.enableDragging(); map.addOverlay(marker); } init(); document.getElementById('address').onkeydown = function (evt){ evt = evt || event; if (evt.keyCode == 13) { doSearch(); } }; dialog.onok = function (){ var center = map.getCenter(); var zoom = map.zoomLevel; var size = map.getSize(); var mapWidth = size.width; var mapHeight = size.height; var point = marker.getPoint(); if($G('is_dynamic').checked) { var URL = editor.options.UEDITOR_HOME_URL, url = [URL + (/\/$/.test(URL) ? '':'/') + "dialogs/map/show.html" + '#center=' + center.lng + ',' + center.lat, '&zoom=' + zoom, '&width=' + mapWidth, '&height=' + mapHeight, '&markers=' + point.lng + ',' + point.lat, '&markerStyles=' + 'l,A'].join(''); editor.execCommand('inserthtml', '<iframe class="ueditor_baidumap" src="' + url + '"' + (styleStr ? ' style="' + styleStr + '"' :'') + ' frameborder="0" width="' + (mapWidth+4) + '" height="' + (mapHeight+4) + '"></iframe>'); } else { var url = "http://api.map.baidu.com/staticimage?center=" + center.lng + ',' + center.lat + "&zoom=" + zoom + "&width=" + size.width + '&height=' + size.height + "&markers=" + point.lng + ',' + point.lat; editor.execCommand('inserthtml', '<img width="'+ size.width +'"height="'+ size.height +'" src="' + url + '"' + (styleStr ? ' style="' + styleStr + '"' :'') + '/>'); } }; document.getElementById("address").focus(); </script> </body> </html>
portal-front - Gogs: Go Git Service

portal html css js resource

dialogs.js 21KB

    //用户id $(function(){ $(".onlogin .headnavbtn li").eq(0).addClass("navcurrent"); loginStatus();//判断个人是否登录 }) var userid = $.cookie("userid"); var sendId = GetQueryString('sendId'); var attrParams = GetQueryString('attrParams'); var consultId = GetQueryString('consultId'); var consultStatus = GetQueryString('consultStatus'); var assessStatus = GetQueryString('assessStatus'); var thanksStatus = GetQueryString('thanksStatus'); clickLookBtn2(sendId, attrParams, consultId, consultStatus, assessStatus, thanksStatus) //getConsultData参数 var pageSize = 5; var pageNo, isbind, status, timeType, sortType; //返回按钮 $("#backBtn").on("click", function() { if(attrParams == 'consultId') { window.location.href = "myConsult.html"; } else { window.location.href = "consult.html"; } }) //列表最后回复 function lastReplyFn(sendId, consultId) { var lastReplyTimeData, lastReplyTime, lastReplyCon; $.ajax({ url: "/ajax/tidings/qaLastRevovery", async: false, data: { "consultId": consultId, //咨询ID "senderId": sendId //登录者ID }, success: function(response) { // console.log(response) if(response["data"] == null || response["data"] == "" || response["data"] == undefined) { lastReplyTimeData = ''; lastReplyTime = ''; lastReplyCon = ''; } else { lastReplyTimeData = response["data"]["createTime"]; lastReplyTime = lastReplyTimeData.substr(0, 4) + "-" + lastReplyTimeData.substr(4, 2) + "-" + lastReplyTimeData.substr(6, 2) + " " + lastReplyTimeData.substr(8, 2) + ":" + lastReplyTimeData.substr(10, 2) lastReplyCon = response["data"]["tidingsContant"]; } }, error: function(error) { $.MsgBox.Alert('提示', "最后回复数据失败"); } }); return { "lastReplyTime": lastReplyTime, "lastReplyCon": lastReplyCon }; }; //咨询点击回复,对话页字符串拼接函数 //data:要处理的数据,htmlStr:需要拼接到页面的元素,position function dialogContentStrFn(data) { var htmlStr = ""; var dialogitem, float, dilinfobox, dilarrow, dilarrow_bor, chatImg; for(var i = 0; i < data.length; i++) { if(data[i]["professor"]["id"] == userid) { dialogitem = "dialogrightitem"; float = "floatR"; dilinfobox = "dilinfobox_r"; dilarrow = "dilarrow_r"; dilarrow_bor = "dilarrow_r_bor"; //判断自己 是否有头像 if(data[i]["professor"]["hasHeadImage"] == 0) { chatImg = 'images/default-photo.jpg'; } else { chatImg = "images/head/" + data[i]["professor"]["id"] + "_l.jpg"; } } else { dialogitem = "dialogleftitem"; float = "floatL"; dilarrow = "dilarrow_l"; dilinfobox = "dilinfobox_l"; dilarrow_bor = "dilarrow_l_bor"; //判断对方 是否有头像 if(data[i]["professor"]["hasHeadImage"] == 0) { chatImg = 'images/default-photo.jpg'; } else { chatImg = "images/head/" + data[i]["professor"]["id"] + "_l.jpg"; } } htmlStr += "<div class='" + dialogitem + "'>" + "<div class='dilmod'>" + "<div class='diluser " + float + "'>" + "<a target='_blank' class='userface userRadius'>" + "<img src='" + chatImg + "' width='100%' height='100%'>" + "</a>" + "</div>" + "<div class='dilinfobox " + dilinfobox + " " + float + "'>" + "<div class='delinfocon clearfix'>" + "<div class='dilarrow " + dilarrow + "'></div>" + "<div class='dilarrow " + dilarrow_bor + "'></div>" + "<div class='delinfomain " + float + "'>" + "<div class='cont'>" + "<p>" + data[i]["tidingsContant"] + "</p>" + "</div>" + "</div>" + "</div>" + //dilinfobox "</div>" + //dilinfobox "</div>" + //dilmod "</div>" + //dialogrightitem "</div> " }; return htmlStr; }; //咨询和回复中点击查看或者回复 function clickLookBtn2(sendId, attrParams, consultId, consultStatus, assessStatus, thanksStatus) { //收到咨询 if(attrParams == "professorId") { //调取页面 dialogHeadFn2("/ajax/consult/qapro", attrParams, consultId, thanksStatus); dialogContentDataHandle2(consultId); $("#dialog_sendBtn").click(function() { sendDialogContentFn2(sendId, consultId) }); } //收到回复 else if(attrParams == "consultId") { if(consultStatus == 0) { //进行中 dialogHeadFn2("/ajax/consult/qacon", attrParams, consultId, thanksStatus); dialogContentDataHandle2(consultId); $("#dialog_sendBtn").click(function() { sendDialogContentFn2(sendId, consultId) }); } else if(consultStatus == 2) { //待回复 dialogHeadFn2("/ajax/consult/qacon", attrParams, consultId, thanksStatus); dialogContentDataHandle2(consultId); } else if(consultStatus == 3) { //被感谢 dialogHeadFn2("/ajax/consult/qacon", attrParams, consultId, thanksStatus); dialogContentDataHandle2(consultId); } else if(consultStatus == 1) { //完成 if(assessStatus == 0) { //未评价 assessFn2(consultId, attrParams, thanksStatus) } else if(assessStatus == 1) { dialogHeadFn2("/ajax/consult/qacon", attrParams, consultId, thanksStatus); dialogContentDataHandle2(consultId); $("#dialog_sendBtn").click(function() { sendDialogContentFn2(sendId, consultId) }); } } } }; //对话页咨询内容展开和收起 var cur_status = "less"; function showMore() { //alert("show_more_init!"); var charNumbers = $("#dialog_consultContent").html().length; //总字数 var limit = 20; //显示字数 if(charNumbers > limit) { var orgText = $("#dialog_consultContent").html(); //原始文本 var orgHeight = $("#dialog_consultContent").height(); //原始高度 var showText = orgText.substring(0, limit); //最终显示的文本 var showText = showText + "..."; $("#dialog_consultContent").html(showText); var contentHeight = $("#dialog_consultContent").height(); //截取内容后的高度 $("#dialog_switch").click(function() { if(cur_status == "less") { $("#dialog_consultContent").height(contentHeight).html(orgText).animate({ height: orgHeight }, { duration: "slow" }); $(this).html("收起"); cur_status = "more"; } else { $("#dialog_consultContent").height(orgHeight).html(showText).animate({ height: contentHeight }, { duration: "fast" }); $(this).html("展开"); cur_status = "less"; } }); } else { $("#dialog_switch").hide(); } }; //对话标题处理函数 function dialogHeadFn2(url, attrParams, consultId, thanksStatus) { $.ajax({ url: url, // data: { "consultId": consultId }, type: "get", aysnc: false, success: function(response) { var myData = response["data"]; var startTime = myData["createTime"].substr(0, 4) + "年" + myData["createTime"].substr(4, 2) + "月" + myData["createTime"].substr(6, 2) + "日 " + myData["createTime"].substr(8, 2) + ":" + myData["createTime"].substr(10, 2); //咨询 if(attrParams == 'professorId') { //进行中 if(myData["consultStatus"] == 0) { $("#dil_consultStatus").text("进行中"); //咨询状态 $(".dialogfoot").css("display", "block"); //显示发送对话部分 $("#dialog_consultTitle").text(myData["consultTitle"]); //咨询主题 $("#dialog_consultTime").text(startTime); //咨询发起时间 $("#dialog_consultType").text(myData["consultType"]); //咨询目的 $("#dial_consultName").text(myData["professor"]["name"]); //与@@@对话 $("#dialog_consultContentContainer").hide() //咨询内容 } else if(myData["consultStatus"] == 3) { //已谢绝 var finishTime = myData["finishTime"].substr(0, 4) + "年" + myData["finishTime"].substr(4, 2) + "月" + myData["finishTime"].substr(6, 2) + "日 " + myData["finishTime"].substr(8, 2) + ":" + myData["finishTime"].substr(10, 2) $("#dil_consultStatus").text("已谢绝"); //咨询状态 $("#dialog_consultTitle").text(myData["consultTitle"]); //咨询主题 $("#dialog_consultTime").text(startTime); //咨询发起时间 $("#dialog_consultType").text(myData["consultType"]); //咨询目的 $("#dial_consultName").text(myData["professor"]["name"]); //与@@@对话 $("#dialog_consultContent").html(myData["consultContant"]) //咨询内容 $("#no_title").text(finishTime); //谢绝时间 $(".rejectOver").show(); //显示谢绝内容和时间模块 $(".dialogfoot").css("display", "none"); //隐藏发送对话部分 noReason(consultId); //谢绝内容 } //咨询已完成 else { $("#dil_consultStatus").text("已完成"); //咨询状态 $("#dialog_consultTitle").text(myData["consultTitle"]); //咨询主题 $("#dialog_consultTime").text(startTime); //咨询发起时间 $("#dialog_consultType").text(myData["consultType"]); //咨询目的 $("#dial_consultName").text(myData["professor"]["name"]); //与@@@对话 $("#dialog_consultContent").html(myData["consultContant"]) //咨询内容 $(".dialogfoot").css("display", "none"); //隐藏发送对话部分 //如果评价 if(myData["assessStatus"] == 1) { var startConut = myData["assessStar"]; for(var i = 0; i < startConut; i++) { $("#showAllAssess .evastar2").eq(i).addClass("addStar"); } $("#showAllAssess").removeClass("displayNone"); //总体评价 $("#dialog_assessContent").removeClass("displayNone"); $("#dialog_assessContentText").html(myData["assessContant"]); //如果感谢 if(myData["thanksStatus"] == 1) { if(myData["thanksMoney"] != null && myData["thanksMoney"] != undefined && myData["thanksMoney"] != "" && myData["thanksMoney"] != 0) { $("#dialog_thanks").removeClass("displayNone"); //感谢 $("#dialog_thanksMoney").text(myData["thanksMoney"]); } } else { //未感谢 return false; } } else { //未评价 return false; } } } //回复 else if(attrParams == 'consultId') { //回复进行中 if(myData["consultStatus"] == 0) { $("#dil_consultStatus").text("进行中"); //咨询状态 $(".dialogfoot").css("display", "block"); //显示发送对话部分 $("#dialog_consultTitle").text(myData["consultTitle"]); //咨询主题 $("#dialog_consultTime").text(startTime); //咨询发起时间 $("#dialog_consultType").text(myData["consultType"]); //咨询目的 $("#dial_consultName").text(myData["professor"]["name"]); //与@@@对话 $("#dialog_consultContentContainer").hide() //咨询内容 $("#confirmBtn").removeClass("displayNone"); //确认完成按钮显示 //点击确认完成 $("#confirmBtn").click(function() { clickConfirmFn(consultId, thanksStatus); }) //发表评论 $("#sendAssessBtn").click(function() { clickSendAssessBtn2(consultId, attrParams, thanksStatus) }); //稍后评价 $("#noAssessBtn").click(function() { noAssessFn2(consultId, attrParams, thanksStatus); }); //点击关闭 $("#closeAssessBtn").click(function() { noAssessFn2(consultId, attrParams, thanksStatus); }); } else if(myData["consultStatus"] == 2) { $("#dil_consultStatus").text("待回复"); //咨询状态 $(".dialogfoot").css("display", "block"); //显示发送对话部分 $("#dialog_consultTitle").text(myData["consultTitle"]); //咨询主题 $("#dialog_consultTime").text(startTime); //咨询发起时间 $("#dialog_consultType").text(myData["consultType"]); //咨询目的 $("#dial_consultName").text(myData["professor"]["name"]); //与@@@对话 $("#dialog_consultContentContainer").hide() //咨询内容 $(".dialogfoot").css("display", "none"); //隐藏发送对话部分 } else if(myData["consultStatus"] == 3) { var finishTime = myData["finishTime"].substr(0, 4) + "年" + myData["finishTime"].substr(4, 2) + "月" + myData["finishTime"].substr(6, 2) + "日 " + myData["finishTime"].substr(8, 2) + ":" + myData["finishTime"].substr(10, 2) $("#dil_consultStatus").text("被谢绝"); //咨询状态 $("#dialog_consultTitle").text(myData["consultTitle"]); //咨询主题 $("#dialog_consultTime").text(startTime); //咨询发起时间 $("#dialog_consultType").text(myData["consultType"]); //咨询目的 $("#dial_consultName").text(myData["professor"]["name"]); //与@@@对话 $("#dialog_consultContent").html(myData["consultContant"]) //咨询内容 $("#no_title").text(finishTime); //谢绝时间 $(".rejectOver").show(); //显示谢绝内容和时间模块 $(".dialogfoot").css("display", "none"); //隐藏发送对话部分 noReason(consultId); //谢绝内容 } else { //回复完成 $("#dil_consultStatus").text("已完成"); //咨询状态 $("#dialog_consultTitle").text(myData["consultTitle"]); //咨询主题 $("#dialog_consultTime").text(startTime); //咨询发起时间 $("#dialog_consultType").text(myData["consultType"]); //咨询目的 $("#dial_consultName").text(myData["professor"]["name"]); //与@@@对话 $("#dialog_consultContent").html(myData["consultContant"]) //咨询内容 $(".dialogfoot").css("display", "none"); //隐藏发送对话部分 //回复完成未评价 if(myData["assessStatus"] == 0) { assessFn2(consultId, attrParams, thanksStatus) } else { //评价星级 var startConut = myData["assessStar"]; for(var i = 0; i < startConut; i++) { $("#showAllAssess .evastar2").eq(i).addClass("addStar"); } $("#showAllAssess").removeClass("displayNone"); //总体评价 // $("#dialog_thanksBtn").removeClass("displayNone"); $("#dialog_assessContent").removeClass("displayNone"); $("#dialog_assessContentText").html(myData["assessContant"]); $("#dialog_consultContentContainer").show() //咨询内容 $("#confirmBtn").hide(); //未感谢 if(myData["thanksStatus"] == 0) { // $("#dialog_thanksBtn").removeClass("dispalyNone"); } else { //感谢金额 // $("#dialog_thanks").removeClass("displayNone"); // $("#dialog_thanksMoney").text(myData["thanksMoney"]); } } } }; //咨询内容展开收起效果 /*if($("#dialog_consultContent")){ showMore(); };*/ }, error: function(error) { //对话标题信息 } }); } //谢绝理由显示 function noReason(consultId) { $.ajax('/ajax/consultReject/reasons', { data: { "consultId": consultId, }, //咨询ID dataType: 'json', //服务器返回json格式数据 type: 'GET', //HTTP请求类型 timeout: 10000, //超时时间设置为10秒; success: function(data) { if(data.success && data.data) { var cent = ""; for(var i = 0; i < data.data.length; i++) { cent += ' ' + data.data[i].sort + '、' + data.data[i].rejectReason; } $("#no_cent").html("感谢您的咨询,但很抱歉,由于以下原因,暂时不能接受您的咨询:" + cent + "。"); } }, error: function() { $.MsgBox.Alert('提示', "服务器链接超时"); } }); } //点击确认完成 function clickConfirmFn(consultId, thanksStatus) { $.MsgBox.Confirm('科袖提示', '是否确定完成', function() { finishFn(consultId) }); } //点击确认完成弹窗中完成 function finishFn(consultId, thanksStatus) { //更新咨询状态 $.ajax({ url: "/ajax/consult/finishTime", type: "post", data: { "consultId": consultId, //咨询ID "consultStatus": "1", //咨询状态 0-进行中,1-已完成 }, success: function(response) { //console.log(response); $(".blackcover").remove(); $("body").css("position", ""); assessFn2(consultId, "consultId", thanksStatus); }, error: function(error) { //更新咨询状态失败 } }); }; //============对话内容数据处理函数 function dialogContentDataHandle2(consultId) { $.ajax({ "url": "/ajax/tidings/qacon", //对话内容显示接口 "type": "get", "data": { "consultId": consultId }, "success": function(response) { $("#dialogContent").empty(""); var dialogConData = response["data"]; var dialogStr; dialogStr = dialogContentStrFn(dialogConData); $("#dialogContent").prepend(dialogStr); $("#dialogContent").removeClass("dialog"); var height = $("#dialogContent").height(); $("#dialogContent").addClass("dialog"); $("#dialogContent").scrollTop(height); }, error: function(error) { } }); }; //发送按钮处理函数 function sendDialogContentFn2(sendId, consultId) { var tidingsContant = $("#dialog_sendContent").val(); //console.log(tidingStr); $.ajax({ "url": "/ajax/tidings", "type": "post", "data": { "tidingsContant": tidingsContant, "senderId": sendId, "consultId": consultId }, "success": function(response) { // console.log(response);//返回对话内容的id if(response.success) { dialogContentDataHandle2(consultId); } }, "error": function(error) { //对话发送消息失败 console.log(error); } }); $("#dialog_sendContent").val(""); }; //评价 function assessFn2(consultId, attrParams, thanksStatus) { ConsultComment(); $("#sendAssessBtn").css({ "cursor": "auto", "background-color": "#dadada" }); //评价星星样式 var start; function clickStar() { //发表评论 var cont1 = $("#assessCon").val(); if(cont1) $("#sendAssessBtn").css({ "cursor": "pointer", "background-color": "#ff9900", " border": ":1px solid #ff8500" }); $("#sendAssessBtn").click(function() { clickSendAssessBtn2(consultId, attrParams, thanksStatus) }); $(".evastar2").removeClass('addStar'); start = $(this).index() + 1; for(var i = 0; i < start; i++) { if(i < start) { $(".evastar2").eq(i).addClass("addStar"); } else { $(".evastar2").eq(i).removeClass('addStar'); } } $("#startCount").val($(".addStar").length); }; $(".evastar2").bind("click", clickStar); $("#assessCon").on("keyup", function() { var ass1 = $("#assessCon").val(); if(ass1.trim() == "") { if($("#sendAssessBtn").css("background-color") == "rgb(255, 153, 0)") { $("#sendAssessBtn").css({ "cursor": "auto", "background-color": "#dadada" }); } } else { if($("#startCount").val().trim()) { $("#sendAssessBtn").css({ "cursor": "pointer", "background-color": "#ff9900", " border": ":1px solid #ff8500" }); } } }) //稍后评价 $("#noAssessBtn").click(function() { noAssessFn2(consultId, attrParams, thanksStatus) }); //点击关闭 $("#closeAssessBtn").click(function() { noAssessFn2(consultId, attrParams, thanksStatus) }); }; //发送评价 //点击发表评论:保存发表内容和星级 function clickSendAssessBtn2(consultId, attrParams, thanksStatus) { var assessStar = $("#startCount").val(); var assessContant = $("#assessCon").val(); if($("#sendAssessBtn").css("background-color") != "rgb(255, 153, 0)") { return; } var assessContentStr = { "consultId": consultId, //咨询ID "assessStatus": "1", //评价状态 0-未评价,1-已评价 "assessStar": assessStar, //评价星级 "assessContant": assessContant //评价内容 }; //保存 $.ajax({ "url": "/ajax/consult/assess", //点击发表评论接口 "type": "post", "data": assessContentStr, "success": function(response) { $(".blackcover").remove(); $("body").css("position", ""); //发表评价后进入对话页 dialogHeadFn2("/ajax/consult/qacon", attrParams, consultId, thanksStatus); dialogContentDataHandle2(consultId); }, "error": function(error) { //发表评论失败 $.MsgBox.Alert('提示', "评论失败"); } }); }; //稍后评价、 function noAssessFn2(consultId, attrParams, thanksStatus) { $.ajax({ url: "/ajax/consult/qacon", //对话标题信息接口 data: { "consultId": consultId, "readStatus": "1" }, type: "get", aysnc: false, success: function(response) { var myData = response["data"]; var startTime2 = myData["createTime"].substr(0, 4) + "年" + myData["createTime"].substr(4, 2) + "月" + myData["createTime"].substr(6, 2) + "日 " + myData["createTime"].substr(8, 2) + ":" + myData["createTime"].substr(10, 2); $(".blackcover").remove(); $("body").css("position", ""); //稍后评价说明已经完成 $("#dil_consultStatus").text("已完成"); //咨询状态 $("#dialog_consultTitle").text(myData["consultTitle"]); //咨询主题 $("#dialog_consultTime").text(startTime2); //咨询发起时间 $("#dialog_consultType").text(myData["consultType"]); //咨询目的 $("#dial_consultName").text(myData["professor"]["name"]); //与@@@对话 $(".dialogfoot").css("display", "none"); //隐藏发送对话部分 $("#dialog_consultContentContainer").css("display", "none"); $("#confirmBtn").hide(); $("#dialog_assessBtn").removeClass("displayNone"); $("#dialog_assessBtn").click(function() { assessFn2(consultId, attrParams, thanksStatus); location.reload(true); }); }, error: function(error) { } }); dialogContentDataHandle2(consultId); };
console-front - Gogs: Go Git Service

暫無描述

XMTT 32c91545bc 修复bug 6 年之前
..
check.js be8aab797a 111 7 年之前
details.js 32c91545bc 修复bug 6 年之前
edit.js 32c91545bc 修复bug 6 年之前
eduEdit.js be40c52b5a 完善细节,更改日期选择方式 7 年之前
eduNew.js be40c52b5a 完善细节,更改日期选择方式 7 年之前
examine.js 32c91545bc 修复bug 6 年之前
honorEdit.js 801c3c3d36 新版专家录入和专家录入审核 7 年之前
honorNew.js 801c3c3d36 新版专家录入和专家录入审核 7 年之前
index.js 32c91545bc 修复bug 6 年之前
jobEdit.js 801c3c3d36 新版专家录入和专家录入审核 7 年之前
jobNew.js 801c3c3d36 新版专家录入和专家录入审核 7 年之前
new.js 32c91545bc 修复bug 6 年之前
projectEdit.js 801c3c3d36 新版专家录入和专家录入审核 7 年之前
projectNew.js 801c3c3d36 新版专家录入和专家录入审核 7 年之前
review.js 163eefcfea 2.4新增平台 6 年之前
portal-front - Gogs: Go Git Service

portal html css js resource

bootstrap-theme.min.css 23KB

    /*! * Bootstrap v3.3.6 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */.btn-danger,.btn-default,.btn-info,.btn-primary,.btn-success,.btn-warning{text-shadow:0 -1px 0 rgba(0,0,0,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 1px rgba(0,0,0,.075)}.btn-danger.active,.btn-danger:active,.btn-default.active,.btn-default:active,.btn-info.active,.btn-info:active,.btn-primary.active,.btn-primary:active,.btn-success.active,.btn-success:active,.btn-warning.active,.btn-warning:active{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-danger.disabled,.btn-danger[disabled],.btn-default.disabled,.btn-default[disabled],.btn-info.disabled,.btn-info[disabled],.btn-primary.disabled,.btn-primary[disabled],.btn-success.disabled,.btn-success[disabled],.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-danger,fieldset[disabled] .btn-default,fieldset[disabled] .btn-info,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-success,fieldset[disabled] .btn-warning{-webkit-box-shadow:none;box-shadow:none}.btn-danger .badge,.btn-default .badge,.btn-info .badge,.btn-primary .badge,.btn-success .badge,.btn-warning .badge{text-shadow:none}.btn.active,.btn:active{background-image:none}.btn-default{text-shadow:0 1px 0 #fff;background-image:-webkit-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-o-linear-gradient(top,#fff 0,#e0e0e0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#e0e0e0));background-image:linear-gradient(to bottom,#fff 0,#e0e0e0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe0e0e0', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#dbdbdb;border-color:#ccc}.btn-default:focus,.btn-default:hover{background-color:#e0e0e0;background-position:0 -15px}.btn-default.active,.btn-default:active{background-color:#e0e0e0;border-color:#dbdbdb}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#e0e0e0;background-image:none}.btn-primary{background-image:-webkit-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-o-linear-gradient(top,#337ab7 0,#265a88 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#265a88));background-image:linear-gradient(to bottom,#337ab7 0,#265a88 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff265a88', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#245580}.btn-primary:focus,.btn-primary:hover{background-color:#265a88;background-position:0 -15px}.btn-primary.active,.btn-primary:active{background-color:#265a88;border-color:#245580}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#265a88;background-image:none}.btn-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#419641 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#419641));background-image:linear-gradient(to bottom,#5cb85c 0,#419641 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#3e8f3e}.btn-success:focus,.btn-success:hover{background-color:#419641;background-position:0 -15px}.btn-success.active,.btn-success:active{background-color:#419641;border-color:#3e8f3e}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#419641;background-image:none}.btn-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#2aabd2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#2aabd2));background-image:linear-gradient(to bottom,#5bc0de 0,#2aabd2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2aabd2', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#28a4c9}.btn-info:focus,.btn-info:hover{background-color:#2aabd2;background-position:0 -15px}.btn-info.active,.btn-info:active{background-color:#2aabd2;border-color:#28a4c9}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#2aabd2;background-image:none}.btn-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#eb9316 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#eb9316));background-image:linear-gradient(to bottom,#f0ad4e 0,#eb9316 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#e38d13}.btn-warning:focus,.btn-warning:hover{background-color:#eb9316;background-position:0 -15px}.btn-warning.active,.btn-warning:active{background-color:#eb9316;border-color:#e38d13}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#eb9316;background-image:none}.btn-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c12e2a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c12e2a));background-image:linear-gradient(to bottom,#d9534f 0,#c12e2a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-color:#b92c28}.btn-danger:focus,.btn-danger:hover{background-color:#c12e2a;background-position:0 -15px}.btn-danger.active,.btn-danger:active{background-color:#c12e2a;border-color:#b92c28}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#c12e2a;background-image:none}.img-thumbnail,.thumbnail{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{background-color:#e8e8e8;background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{background-color:#2e6da4;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.navbar-default{background-image:-webkit-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-o-linear-gradient(top,#fff 0,#f8f8f8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#f8f8f8));background-image:linear-gradient(to bottom,#fff 0,#f8f8f8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075);box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 1px 5px rgba(0,0,0,.075)}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-o-linear-gradient(top,#dbdbdb 0,#e2e2e2 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dbdbdb),to(#e2e2e2));background-image:linear-gradient(to bottom,#dbdbdb 0,#e2e2e2 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.075);box-shadow:inset 0 3px 9px rgba(0,0,0,.075)}.navbar-brand,.navbar-nav>li>a{text-shadow:0 1px 0 rgba(255,255,255,.25)}.navbar-inverse{background-image:-webkit-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-o-linear-gradient(top,#3c3c3c 0,#222 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#3c3c3c),to(#222));background-image:linear-gradient(to bottom,#3c3c3c 0,#222 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0);filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);background-repeat:repeat-x;border-radius:4px}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.open>a{background-image:-webkit-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-o-linear-gradient(top,#080808 0,#0f0f0f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#080808),to(#0f0f0f));background-image:linear-gradient(to bottom,#080808 0,#0f0f0f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff0f0f0f', GradientType=0);background-repeat:repeat-x;-webkit-box-shadow:inset 0 3px 9px rgba(0,0,0,.25);box-shadow:inset 0 3px 9px rgba(0,0,0,.25)}.navbar-inverse .navbar-brand,.navbar-inverse .navbar-nav>li>a{text-shadow:0 -1px 0 rgba(0,0,0,.25)}.navbar-fixed-bottom,.navbar-fixed-top,.navbar-static-top{border-radius:0}@media (max-width:767px){.navbar .navbar-nav .open .dropdown-menu>.active>a,.navbar .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}}.alert{text-shadow:0 1px 0 rgba(255,255,255,.2);-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 1px 2px rgba(0,0,0,.05)}.alert-success{background-image:-webkit-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#c8e5bc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#c8e5bc));background-image:linear-gradient(to bottom,#dff0d8 0,#c8e5bc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0);background-repeat:repeat-x;border-color:#b2dba1}.alert-info{background-image:-webkit-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#b9def0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#b9def0));background-image:linear-gradient(to bottom,#d9edf7 0,#b9def0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0);background-repeat:repeat-x;border-color:#9acfea}.alert-warning{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#f8efc0 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#f8efc0));background-image:linear-gradient(to bottom,#fcf8e3 0,#f8efc0 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0);background-repeat:repeat-x;border-color:#f5e79e}.alert-danger{background-image:-webkit-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-o-linear-gradient(top,#f2dede 0,#e7c3c3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#e7c3c3));background-image:linear-gradient(to bottom,#f2dede 0,#e7c3c3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0);background-repeat:repeat-x;border-color:#dca7a7}.progress{background-image:-webkit-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#ebebeb 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#ebebeb),to(#f5f5f5));background-image:linear-gradient(to bottom,#ebebeb 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x}.progress-bar{background-image:-webkit-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-o-linear-gradient(top,#337ab7 0,#286090 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#286090));background-image:linear-gradient(to bottom,#337ab7 0,#286090 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff286090', GradientType=0);background-repeat:repeat-x}.progress-bar-success{background-image:-webkit-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-o-linear-gradient(top,#5cb85c 0,#449d44 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5cb85c),to(#449d44));background-image:linear-gradient(to bottom,#5cb85c 0,#449d44 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0);background-repeat:repeat-x}.progress-bar-info{background-image:-webkit-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-o-linear-gradient(top,#5bc0de 0,#31b0d5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#5bc0de),to(#31b0d5));background-image:linear-gradient(to bottom,#5bc0de 0,#31b0d5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0);background-repeat:repeat-x}.progress-bar-warning{background-image:-webkit-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-o-linear-gradient(top,#f0ad4e 0,#ec971f 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f0ad4e),to(#ec971f));background-image:linear-gradient(to bottom,#f0ad4e 0,#ec971f 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0);background-repeat:repeat-x}.progress-bar-danger{background-image:-webkit-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-o-linear-gradient(top,#d9534f 0,#c9302c 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9534f),to(#c9302c));background-image:linear-gradient(to bottom,#d9534f 0,#c9302c 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0);background-repeat:repeat-x}.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.list-group{border-radius:4px;-webkit-box-shadow:0 1px 2px rgba(0,0,0,.075);box-shadow:0 1px 2px rgba(0,0,0,.075)}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{text-shadow:0 -1px 0 #286090;background-image:-webkit-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2b669a 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2b669a));background-image:linear-gradient(to bottom,#337ab7 0,#2b669a 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2b669a', GradientType=0);background-repeat:repeat-x;border-color:#2b669a}.list-group-item.active .badge,.list-group-item.active:focus .badge,.list-group-item.active:hover .badge{text-shadow:none}.panel{-webkit-box-shadow:0 1px 2px rgba(0,0,0,.05);box-shadow:0 1px 2px rgba(0,0,0,.05)}.panel-default>.panel-heading{background-image:-webkit-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-o-linear-gradient(top,#f5f5f5 0,#e8e8e8 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#e8e8e8));background-image:linear-gradient(to bottom,#f5f5f5 0,#e8e8e8 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);background-repeat:repeat-x}.panel-primary>.panel-heading{background-image:-webkit-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-o-linear-gradient(top,#337ab7 0,#2e6da4 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#337ab7),to(#2e6da4));background-image:linear-gradient(to bottom,#337ab7 0,#2e6da4 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff337ab7', endColorstr='#ff2e6da4', GradientType=0);background-repeat:repeat-x}.panel-success>.panel-heading{background-image:-webkit-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-o-linear-gradient(top,#dff0d8 0,#d0e9c6 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#dff0d8),to(#d0e9c6));background-image:linear-gradient(to bottom,#dff0d8 0,#d0e9c6 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0);background-repeat:repeat-x}.panel-info>.panel-heading{background-image:-webkit-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-o-linear-gradient(top,#d9edf7 0,#c4e3f3 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#d9edf7),to(#c4e3f3));background-image:linear-gradient(to bottom,#d9edf7 0,#c4e3f3 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0);background-repeat:repeat-x}.panel-warning>.panel-heading{background-image:-webkit-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-o-linear-gradient(top,#fcf8e3 0,#faf2cc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#fcf8e3),to(#faf2cc));background-image:linear-gradient(to bottom,#fcf8e3 0,#faf2cc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0);background-repeat:repeat-x}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-o-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#f2dede),to(#ebcccc));background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);background-repeat:repeat-x}.well{background-image:-webkit-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-o-linear-gradient(top,#e8e8e8 0,#f5f5f5 100%);background-image:-webkit-gradient(linear,left top,left bottom,from(#e8e8e8),to(#f5f5f5));background-image:linear-gradient(to bottom,#e8e8e8 0,#f5f5f5 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0);background-repeat:repeat-x;border-color:#dcdcdc;-webkit-box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 3px rgba(0,0,0,.05),0 1px 0 rgba(255,255,255,.1)} /*# sourceMappingURL=bootstrap-theme.min.css.map */
Войти - Gogs: Go Git Service

Войти