-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b6ef0da
Showing
2,404 changed files
with
359,954 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
|
||
# Custom for Visual Studio | ||
*.cs diff=csharp | ||
*.sln merge=union | ||
*.csproj merge=union | ||
*.vbproj merge=union | ||
*.fsproj merge=union | ||
*.dbproj merge=union | ||
|
||
# Standard to msysgit | ||
*.doc diff=astextplain | ||
*.DOC diff=astextplain | ||
*.docx diff=astextplain | ||
*.DOCX diff=astextplain | ||
*.dot diff=astextplain | ||
*.DOT diff=astextplain | ||
*.pdf diff=astextplain | ||
*.PDF diff=astextplain | ||
*.rtf diff=astextplain | ||
*.RTF diff=astextplain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,215 @@ | ||
################# | ||
## Eclipse | ||
################# | ||
|
||
*.pydevproject | ||
.project | ||
.metadata | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.classpath | ||
.settings/ | ||
.loadpath | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
|
||
################# | ||
## Visual Studio | ||
################# | ||
|
||
## Ignore Visual Studio temporary files, build results, and | ||
## files generated by popular Visual Studio add-ons. | ||
|
||
# User-specific files | ||
*.suo | ||
*.user | ||
*.sln.docstates | ||
|
||
# Build results | ||
|
||
[Dd]ebug/ | ||
[Rr]elease/ | ||
x64/ | ||
build/ | ||
[Bb]in/ | ||
[Oo]bj/ | ||
|
||
# MSTest test Results | ||
[Tt]est[Rr]esult*/ | ||
[Bb]uild[Ll]og.* | ||
|
||
*_i.c | ||
*_p.c | ||
*.ilk | ||
*.meta | ||
*.obj | ||
*.pch | ||
*.pdb | ||
*.pgc | ||
*.pgd | ||
*.rsp | ||
*.sbr | ||
*.tlb | ||
*.tli | ||
*.tlh | ||
*.tmp | ||
*.tmp_proj | ||
*.log | ||
*.vspscc | ||
*.vssscc | ||
.builds | ||
*.pidb | ||
*.log | ||
*.scc | ||
|
||
# Visual C++ cache files | ||
ipch/ | ||
*.aps | ||
*.ncb | ||
*.opensdf | ||
*.sdf | ||
*.cachefile | ||
|
||
# Visual Studio profiler | ||
*.psess | ||
*.vsp | ||
*.vspx | ||
|
||
# Guidance Automation Toolkit | ||
*.gpState | ||
|
||
# ReSharper is a .NET coding add-in | ||
_ReSharper*/ | ||
*.[Rr]e[Ss]harper | ||
|
||
# TeamCity is a build add-in | ||
_TeamCity* | ||
|
||
# DotCover is a Code Coverage Tool | ||
*.dotCover | ||
|
||
# NCrunch | ||
*.ncrunch* | ||
.*crunch*.local.xml | ||
|
||
# Installshield output folder | ||
[Ee]xpress/ | ||
|
||
# DocProject is a documentation generator add-in | ||
DocProject/buildhelp/ | ||
DocProject/Help/*.HxT | ||
DocProject/Help/*.HxC | ||
DocProject/Help/*.hhc | ||
DocProject/Help/*.hhk | ||
DocProject/Help/*.hhp | ||
DocProject/Help/Html2 | ||
DocProject/Help/html | ||
|
||
# Click-Once directory | ||
publish/ | ||
|
||
# Publish Web Output | ||
*.Publish.xml | ||
*.pubxml | ||
|
||
# NuGet Packages Directory | ||
## TODO: If you have NuGet Package Restore enabled, uncomment the next line | ||
#packages/ | ||
|
||
# Windows Azure Build Output | ||
csx | ||
*.build.csdef | ||
|
||
# Windows Store app package directory | ||
AppPackages/ | ||
|
||
# Others | ||
sql/ | ||
*.Cache | ||
ClientBin/ | ||
[Ss]tyle[Cc]op.* | ||
~$* | ||
*~ | ||
*.dbmdl | ||
*.[Pp]ublish.xml | ||
*.pfx | ||
*.publishsettings | ||
|
||
# RIA/Silverlight projects | ||
Generated_Code/ | ||
|
||
# Backup & report files from converting an old project file to a newer | ||
# Visual Studio version. Backup files are not needed, because we have git ;-) | ||
_UpgradeReport_Files/ | ||
Backup*/ | ||
UpgradeLog*.XML | ||
UpgradeLog*.htm | ||
|
||
# SQL Server files | ||
App_Data/*.mdf | ||
App_Data/*.ldf | ||
|
||
############# | ||
## Windows detritus | ||
############# | ||
|
||
# Windows image file caches | ||
Thumbs.db | ||
ehthumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
# Recycle Bin used on file shares | ||
$RECYCLE.BIN/ | ||
|
||
# Mac crap | ||
.DS_Store | ||
|
||
|
||
############# | ||
## Python | ||
############# | ||
|
||
*.py[co] | ||
|
||
# Packages | ||
*.egg | ||
*.egg-info | ||
dist/ | ||
build/ | ||
eggs/ | ||
parts/ | ||
var/ | ||
sdist/ | ||
develop-eggs/ | ||
.installed.cfg | ||
|
||
# Installer logs | ||
pip-log.txt | ||
|
||
# Unit test / coverage reports | ||
.coverage | ||
.tox | ||
|
||
#Translations | ||
*.mo | ||
|
||
#Mr Developer | ||
.mr.developer.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
include_once "tadtools_header.php"; | ||
|
||
class FooTable{ | ||
|
||
//建構函數 | ||
function FooTable(){ | ||
|
||
} | ||
|
||
//產生語法 | ||
function render($need_jquery=true){ | ||
$jquery=$need_jquery?get_jquery():""; | ||
$FooTable=" | ||
<link href='".TADTOOLS_URL."/FooTable/css/footable-0.1.css' rel='stylesheet' type='text/css' /> | ||
$jquery | ||
<script src='".TADTOOLS_URL."/FooTable/js/footable-0.1.js' type='text/javascript'></script> | ||
<script type='text/javascript'> | ||
$(function() { | ||
$('table').footable(); | ||
}); | ||
</script> | ||
"; | ||
return $FooTable; | ||
} | ||
} | ||
|
||
/* | ||
if(file_exists(XOOPS_ROOT_PATH."/modules/tadtools/FooTable.php")){ | ||
include_once XOOPS_ROOT_PATH."/modules/tadtools/FooTable.php"; | ||
$FooTable = new FooTable(); | ||
$FooTableJS=$FooTable->render(); | ||
} | ||
把 $FooTableJS 加到表格前 | ||
table 需加上 class='footable' 以及 <thead></thead> | ||
要加入擴展符號的格子在 th 加上 data-class='expand' | ||
要藏起來的格子在 th 加上 data-hide='phone,tablet' 或 data-hide='phone' | ||
*/ | ||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Copyright 2012 Steven Usher & Brad Vincent | ||
|
||
Released under the MIT license | ||
You are free to use FooTable in commercial projects as long as this copyright header is left intact. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
.footable > thead > tr > th,.footable > thead > tr > td { | ||
position: relative; | ||
} | ||
|
||
.footable { | ||
border-spacing: 0; | ||
width: 100%; | ||
-moz-border-radius: 6px; | ||
-webkit-border-radius: 6px; | ||
border-radius: 6px; | ||
color: #444; | ||
} | ||
|
||
.footable.breakpoint > tbody > tr > td.expand { | ||
background: url('img/plus.png') no-repeat 5px center; | ||
padding-left: 40px; | ||
} | ||
|
||
.footable.breakpoint > tbody > tr.footable-detail-show > td.expand { | ||
background: url('img/minus.png') no-repeat 5px center; | ||
} | ||
|
||
.footable.breakpoint > tbody > tr.footable-row-detail { | ||
background: #eee; | ||
} | ||
|
||
.footable > tbody > tr:hover { | ||
background: #fbf8e9; | ||
} | ||
|
||
.footable.breakpoint > tbody > tr:hover:not(.footable-row-detail) { | ||
cursor: pointer; | ||
} | ||
|
||
.footable > tbody > tr > td, .footable > thead > tr > th { | ||
border-left: 0px solid #ccc; | ||
border-top: 1px solid #ccc; | ||
padding: 10px; | ||
text-align: left; | ||
} | ||
|
||
.footable > thead > tr > th, .footable > thead > tr > td { | ||
|
||
background-image: -webkit-gradient(linear, left top, left bottom, from(#ebf3fc), to(#dce9f9)); | ||
background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9); | ||
background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9); | ||
background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9); | ||
background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9); | ||
background-image: linear-gradient(to bottom, #ebf3fc, #dce9f9); | ||
-webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; | ||
-moz-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; | ||
box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; | ||
border-top: none; | ||
text-shadow: 0 1px 0 rgba(255,255,255,.5); | ||
} | ||
|
||
.footable > thead > tr > th:first-child, .footable > thead > tr > td:first-child { | ||
-moz-border-radius: 6px 0 0 0; | ||
-webkit-border-radius: 6px 0 0 0; | ||
border-radius: 6px 0 0 0; | ||
} | ||
|
||
.footable > thead > tr > th:last-child, .footable > thead > tr > td:last-child { | ||
-moz-border-radius: 0 6px 0 0; | ||
-webkit-border-radius: 0 6px 0 0; | ||
border-radius: 0 6px 0 0; | ||
} | ||
|
||
.footable > thead > tr > th:only-child, .footable > thead > tr > td:only-child { | ||
-moz-border-radius: 6px 6px 0 0; | ||
-webkit-border-radius: 6px 6px 0 0; | ||
border-radius: 6px 6px 0 0; | ||
} | ||
|
||
.footable > tbody > tr:last-child > td:first-child { | ||
-moz-border-radius: 0 0 0 6px; | ||
-webkit-border-radius: 0 0 0 6px; | ||
border-radius: 0 0 0 6px; | ||
} | ||
|
||
.footable > tbody > tr:last-child > td:last-child { | ||
-moz-border-radius: 0 0 6px 0; | ||
-webkit-border-radius: 0 0 6px 0; | ||
border-radius: 0 0 6px 0; | ||
} | ||
|
||
.footable > tbody img { | ||
vertical-align:middle; | ||
} |
Oops, something went wrong.