Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
278dd127
Commit
278dd127
authored
Sep 16, 2014
by
PkSM3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sigma click-events finally fine
parent
6a3a0735
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
121 additions
and
349 deletions
+121
-349
glyphicons.html
glyphicons.html
+31
-206
main.js
tinawebJS/js/main.js
+87
-33
sigma.min.js
tinawebJS/js/sigma.min.js
+3
-96
sigmaUtils.js
tinawebJS/js/sigmaUtils.js
+0
-14
No files found.
glyphicons.html
View file @
278dd127
...
...
@@ -8,233 +8,58 @@
<meta
charset=
"utf-8"
>
<link
rel=
"stylesheet"
href=
"jquery/jquery-ui.css"
media=
"screen"
>
<link
rel=
"stylesheet"
href=
"css/bootstrap.css"
media=
"screen"
>
<!--
<link rel="stylesheet" href="css/bootstrap.css" media="screen">
<link rel="stylesheet" href="css/freshstyle.css" media="screen">
<link rel="stylesheet" href="css/custom.css" media="screen">
<link rel="stylesheet" href="css/sidebar.css" media="screen">
<link rel="stylesheet" href="bootswatch/css/bootswatch.css">
<link rel="stylesheet" href="css/font.css" type="text/css">
<link
rel=
"stylesheet"
href=
"css/token-input.css"
type=
"text/css"
>
<link rel="stylesheet" href="css/token-input.css" type="text/css">
-->
</head>
<body
class=
"gradient"
>
<span
class=
"alert alert-danger"
>
Glyphicon example
</span>
<hr>
<div
class=
"the-icons"
>
<span
class=
" glyphicon glyphicon-asterisk "
></span>
glyphicon glyphicon-asterisk
<br>
<span
class=
" glyphicon glyphicon-plus "
></span>
glyphicon glyphicon-plus
<br>
<span
class=
" glyphicon glyphicon-euro "
></span>
glyphicon glyphicon-euro
<br>
<span
class=
" glyphicon glyphicon-minus "
></span>
glyphicon glyphicon-minus
<br>
<span
class=
" glyphicon glyphicon-cloud "
></span>
glyphicon glyphicon-cloud
<br>
<span
class=
" glyphicon glyphicon-envelope "
></span>
glyphicon glyphicon-envelope
<br>
<span
class=
" glyphicon glyphicon-pencil "
></span>
glyphicon glyphicon-pencil
<br>
<span
class=
" glyphicon glyphicon-glass "
></span>
glyphicon glyphicon-glass
<br>
<span
class=
" glyphicon glyphicon-music "
></span>
glyphicon glyphicon-music
<br>
<span
class=
" glyphicon glyphicon-search "
></span>
glyphicon glyphicon-search
<br>
<span
class=
" glyphicon glyphicon-heart "
></span>
glyphicon glyphicon-heart
<br>
<span
class=
" glyphicon glyphicon-star "
></span>
glyphicon glyphicon-star
<br>
<span
class=
" glyphicon glyphicon-star-empty "
></span>
glyphicon glyphicon-star-empty
<br>
<span
class=
" glyphicon glyphicon-user "
></span>
glyphicon glyphicon-user
<br>
<span
class=
" glyphicon glyphicon-film "
></span>
glyphicon glyphicon-film
<br>
<span
class=
" glyphicon glyphicon-th-large "
></span>
glyphicon glyphicon-th-large
<br>
<span
class=
" glyphicon glyphicon-th "
></span>
glyphicon glyphicon-th
<br>
<span
class=
" glyphicon glyphicon-th-list "
></span>
glyphicon glyphicon-th-list
<br>
<span
class=
" glyphicon glyphicon-ok "
></span>
glyphicon glyphicon-ok
<br>
<span
class=
" glyphicon glyphicon-remove "
></span>
glyphicon glyphicon-remove
<br>
<span
class=
" glyphicon glyphicon-zoom-in "
></span>
glyphicon glyphicon-zoom-in
<br>
<span
class=
" glyphicon glyphicon-zoom-out "
></span>
glyphicon glyphicon-zoom-out
<br>
<span
class=
" glyphicon glyphicon-off "
></span>
glyphicon glyphicon-off
<br>
<span
class=
" glyphicon glyphicon-signal "
></span>
glyphicon glyphicon-signal
<br>
<span
class=
" glyphicon glyphicon-cog "
></span>
glyphicon glyphicon-cog
<br>
<span
class=
" glyphicon glyphicon-trash "
></span>
glyphicon glyphicon-trash
<br>
<span
class=
" glyphicon glyphicon-home "
></span>
glyphicon glyphicon-home
<br>
<span
class=
" glyphicon glyphicon-file "
></span>
glyphicon glyphicon-file
<br>
<span
class=
" glyphicon glyphicon-time "
></span>
glyphicon glyphicon-time
<br>
<span
class=
" glyphicon glyphicon-road "
></span>
glyphicon glyphicon-road
<br>
<span
class=
" glyphicon glyphicon-download-alt "
></span>
glyphicon glyphicon-download-alt
<br>
<span
class=
" glyphicon glyphicon-download "
></span>
glyphicon glyphicon-download
<br>
<span
class=
" glyphicon glyphicon-upload "
></span>
glyphicon glyphicon-upload
<br>
<span
class=
" glyphicon glyphicon-inbox "
></span>
glyphicon glyphicon-inbox
<br>
<span
class=
" glyphicon glyphicon-play-circle "
></span>
glyphicon glyphicon-play-circle
<br>
<span
class=
" glyphicon glyphicon-repeat "
></span>
glyphicon glyphicon-repeat
<br>
<span
class=
" glyphicon glyphicon-refresh "
></span>
glyphicon glyphicon-refresh
<br>
<span
class=
" glyphicon glyphicon-list-alt "
></span>
glyphicon glyphicon-list-alt
<br>
<span
class=
" glyphicon glyphicon-lock "
></span>
glyphicon glyphicon-lock
<br>
<span
class=
" glyphicon glyphicon-flag "
></span>
glyphicon glyphicon-flag
<br>
<span
class=
" glyphicon glyphicon-headphones "
></span>
glyphicon glyphicon-headphones
<br>
<span
class=
" glyphicon glyphicon-volume-off "
></span>
glyphicon glyphicon-volume-off
<br>
<span
class=
" glyphicon glyphicon-volume-down "
></span>
glyphicon glyphicon-volume-down
<br>
<span
class=
" glyphicon glyphicon-volume-up "
></span>
glyphicon glyphicon-volume-up
<br>
<span
class=
" glyphicon glyphicon-qrcode "
></span>
glyphicon glyphicon-qrcode
<br>
<span
class=
" glyphicon glyphicon-barcode "
></span>
glyphicon glyphicon-barcode
<br>
<span
class=
" glyphicon glyphicon-tag "
></span>
glyphicon glyphicon-tag
<br>
<span
class=
" glyphicon glyphicon-tags "
></span>
glyphicon glyphicon-tags
<br>
<span
class=
" glyphicon glyphicon-book "
></span>
glyphicon glyphicon-book
<br>
<span
class=
" glyphicon glyphicon-bookmark "
></span>
glyphicon glyphicon-bookmark
<br>
<span
class=
" glyphicon glyphicon-print "
></span>
glyphicon glyphicon-print
<br>
<span
class=
" glyphicon glyphicon-camera "
></span>
glyphicon glyphicon-camera
<br>
<span
class=
" glyphicon glyphicon-font "
></span>
glyphicon glyphicon-font
<br>
<span
class=
" glyphicon glyphicon-bold "
></span>
glyphicon glyphicon-bold
<br>
<span
class=
" glyphicon glyphicon-italic "
></span>
glyphicon glyphicon-italic
<br>
<span
class=
" glyphicon glyphicon-text-height "
></span>
glyphicon glyphicon-text-height
<br>
<span
class=
" glyphicon glyphicon-text-width "
></span>
glyphicon glyphicon-text-width
<br>
<span
class=
" glyphicon glyphicon-align-left "
></span>
glyphicon glyphicon-align-left
<br>
<span
class=
" glyphicon glyphicon-align-center "
></span>
glyphicon glyphicon-align-center
<br>
<span
class=
" glyphicon glyphicon-align-right "
></span>
glyphicon glyphicon-align-right
<br>
<span
class=
" glyphicon glyphicon-align-justify "
></span>
glyphicon glyphicon-align-justify
<br>
<span
class=
" glyphicon glyphicon-list "
></span>
glyphicon glyphicon-list
<br>
<span
class=
" glyphicon glyphicon-indent-left "
></span>
glyphicon glyphicon-indent-left
<br>
<span
class=
" glyphicon glyphicon-indent-right "
></span>
glyphicon glyphicon-indent-right
<br>
<span
class=
" glyphicon glyphicon-facetime-video "
></span>
glyphicon glyphicon-facetime-video
<br>
<span
class=
" glyphicon glyphicon-picture "
></span>
glyphicon glyphicon-picture
<br>
<span
class=
" glyphicon glyphicon-map-marker "
></span>
glyphicon glyphicon-map-marker
<br>
<span
class=
" glyphicon glyphicon-adjust "
></span>
glyphicon glyphicon-adjust
<br>
<span
class=
" glyphicon glyphicon-tint "
></span>
glyphicon glyphicon-tint
<br>
<span
class=
" glyphicon glyphicon-edit "
></span>
glyphicon glyphicon-edit
<br>
<span
class=
" glyphicon glyphicon-share "
></span>
glyphicon glyphicon-share
<br>
<span
class=
" glyphicon glyphicon-check "
></span>
glyphicon glyphicon-check
<br>
<span
class=
" glyphicon glyphicon-move "
></span>
glyphicon glyphicon-move
<br>
<span
class=
" glyphicon glyphicon-step-backward "
></span>
glyphicon glyphicon-step-backward
<br>
<span
class=
" glyphicon glyphicon-fast-backward "
></span>
glyphicon glyphicon-fast-backward
<br>
<span
class=
" glyphicon glyphicon-backward "
></span>
glyphicon glyphicon-backward
<br>
<span
class=
" glyphicon glyphicon-play "
></span>
glyphicon glyphicon-play
<br>
<span
class=
" glyphicon glyphicon-pause "
></span>
glyphicon glyphicon-pause
<br>
<span
class=
" glyphicon glyphicon-stop "
></span>
glyphicon glyphicon-stop
<br>
<span
class=
" glyphicon glyphicon-forward "
></span>
glyphicon glyphicon-forward
<br>
<span
class=
" glyphicon glyphicon-fast-forward "
></span>
glyphicon glyphicon-fast-forward
<br>
<span
class=
" glyphicon glyphicon-step-forward "
></span>
glyphicon glyphicon-step-forward
<br>
<span
class=
" glyphicon glyphicon-eject "
></span>
glyphicon glyphicon-eject
<br>
<span
class=
" glyphicon glyphicon-chevron-left "
></span>
glyphicon glyphicon-chevron-left
<br>
<span
class=
" glyphicon glyphicon-chevron-right "
></span>
glyphicon glyphicon-chevron-right
<br>
<span
class=
" glyphicon glyphicon-plus-sign "
></span>
glyphicon glyphicon-plus-sign
<br>
<span
class=
" glyphicon glyphicon-minus-sign "
></span>
glyphicon glyphicon-minus-sign
<br>
<span
class=
" glyphicon glyphicon-remove-sign "
></span>
glyphicon glyphicon-remove-sign
<br>
<span
class=
" glyphicon glyphicon-ok-sign "
></span>
glyphicon glyphicon-ok-sign
<br>
<span
class=
" glyphicon glyphicon-question-sign "
></span>
glyphicon glyphicon-question-sign
<br>
<span
class=
" glyphicon glyphicon-info-sign "
></span>
glyphicon glyphicon-info-sign
<br>
<span
class=
" glyphicon glyphicon-screenshot "
></span>
glyphicon glyphicon-screenshot
<br>
<span
class=
" glyphicon glyphicon-remove-circle "
></span>
glyphicon glyphicon-remove-circle
<br>
<span
class=
" glyphicon glyphicon-ok-circle "
></span>
glyphicon glyphicon-ok-circle
<br>
<span
class=
" glyphicon glyphicon-ban-circle "
></span>
glyphicon glyphicon-ban-circle
<br>
<span
class=
" glyphicon glyphicon-arrow-left "
></span>
glyphicon glyphicon-arrow-left
<br>
<span
class=
" glyphicon glyphicon-arrow-right "
></span>
glyphicon glyphicon-arrow-right
<br>
<span
class=
" glyphicon glyphicon-arrow-up "
></span>
glyphicon glyphicon-arrow-up
<br>
<span
class=
" glyphicon glyphicon-arrow-down "
></span>
glyphicon glyphicon-arrow-down
<br>
<span
class=
" glyphicon glyphicon-share-alt "
></span>
glyphicon glyphicon-share-alt
<br>
<span
class=
" glyphicon glyphicon-resize-full "
></span>
glyphicon glyphicon-resize-full
<br>
<span
class=
" glyphicon glyphicon-resize-small "
></span>
glyphicon glyphicon-resize-small
<br>
<span
class=
" glyphicon glyphicon-exclamation-sign "
></span>
glyphicon glyphicon-exclamation-sign
<br>
<span
class=
" glyphicon glyphicon-gift "
></span>
glyphicon glyphicon-gift
<br>
<span
class=
" glyphicon glyphicon-leaf "
></span>
glyphicon glyphicon-leaf
<br>
<span
class=
" glyphicon glyphicon-fire "
></span>
glyphicon glyphicon-fire
<br>
<span
class=
" glyphicon glyphicon-eye-open "
></span>
glyphicon glyphicon-eye-open
<br>
<span
class=
" glyphicon glyphicon-eye-close "
></span>
glyphicon glyphicon-eye-close
<br>
<span
class=
" glyphicon glyphicon-warning-sign "
></span>
glyphicon glyphicon-warning-sign
<br>
<span
class=
" glyphicon glyphicon-plane "
></span>
glyphicon glyphicon-plane
<br>
<span
class=
" glyphicon glyphicon-calendar "
></span>
glyphicon glyphicon-calendar
<br>
<span
class=
" glyphicon glyphicon-random "
></span>
glyphicon glyphicon-random
<br>
<span
class=
" glyphicon glyphicon-comment "
></span>
glyphicon glyphicon-comment
<br>
<span
class=
" glyphicon glyphicon-magnet "
></span>
glyphicon glyphicon-magnet
<br>
<span
class=
" glyphicon glyphicon-chevron-up "
></span>
glyphicon glyphicon-chevron-up
<br>
<span
class=
" glyphicon glyphicon-chevron-down "
></span>
glyphicon glyphicon-chevron-down
<br>
<span
class=
" glyphicon glyphicon-retweet "
></span>
glyphicon glyphicon-retweet
<br>
<span
class=
" glyphicon glyphicon-shopping-cart "
></span>
glyphicon glyphicon-shopping-cart
<br>
<span
class=
" glyphicon glyphicon-folder-close "
></span>
glyphicon glyphicon-folder-close
<br>
<span
class=
" glyphicon glyphicon-folder-open "
></span>
glyphicon glyphicon-folder-open
<br>
<span
class=
" glyphicon glyphicon-resize-vertical "
></span>
glyphicon glyphicon-resize-vertical
<br>
<span
class=
" glyphicon glyphicon-resize-horizontal "
></span>
glyphicon glyphicon-resize-horizontal
<br>
<span
class=
" glyphicon glyphicon-hdd "
></span>
glyphicon glyphicon-hdd
<br>
<span
class=
" glyphicon glyphicon-bullhorn "
></span>
glyphicon glyphicon-bullhorn
<br>
<span
class=
" glyphicon glyphicon-bell "
></span>
glyphicon glyphicon-bell
<br>
<span
class=
" glyphicon glyphicon-certificate "
></span>
glyphicon glyphicon-certificate
<br>
<span
class=
" glyphicon glyphicon-thumbs-up "
></span>
glyphicon glyphicon-thumbs-up
<br>
<span
class=
" glyphicon glyphicon-thumbs-down "
></span>
glyphicon glyphicon-thumbs-down
<br>
<span
class=
" glyphicon glyphicon-hand-right "
></span>
glyphicon glyphicon-hand-right
<br>
<span
class=
" glyphicon glyphicon-hand-left "
></span>
glyphicon glyphicon-hand-left
<br>
<span
class=
" glyphicon glyphicon-hand-up "
></span>
glyphicon glyphicon-hand-up
<br>
<span
class=
" glyphicon glyphicon-hand-down "
></span>
glyphicon glyphicon-hand-down
<br>
<span
class=
" glyphicon glyphicon-circle-arrow-right "
></span>
glyphicon glyphicon-circle-arrow-right
<br>
<span
class=
" glyphicon glyphicon-circle-arrow-left "
></span>
glyphicon glyphicon-circle-arrow-left
<br>
<span
class=
" glyphicon glyphicon-circle-arrow-up "
></span>
glyphicon glyphicon-circle-arrow-up
<br>
<span
class=
" glyphicon glyphicon-circle-arrow-down "
></span>
glyphicon glyphicon-circle-arrow-down
<br>
<span
class=
" glyphicon glyphicon-globe "
></span>
glyphicon glyphicon-globe
<br>
<span
class=
" glyphicon glyphicon-wrench "
></span>
glyphicon glyphicon-wrench
<br>
<span
class=
" glyphicon glyphicon-tasks "
></span>
glyphicon glyphicon-tasks
<br>
<span
class=
" glyphicon glyphicon-filter "
></span>
glyphicon glyphicon-filter
<br>
<span
class=
" glyphicon glyphicon-briefcase "
></span>
glyphicon glyphicon-briefcase
<br>
<span
class=
" glyphicon glyphicon-fullscreen "
></span>
glyphicon glyphicon-fullscreen
<br>
<span
class=
" glyphicon glyphicon-dashboard "
></span>
glyphicon glyphicon-dashboard
<br>
<span
class=
" glyphicon glyphicon-paperclip "
></span>
glyphicon glyphicon-paperclip
<br>
<span
class=
" glyphicon glyphicon-heart-empty "
></span>
glyphicon glyphicon-heart-empty
<br>
<span
class=
" glyphicon glyphicon-link "
></span>
glyphicon glyphicon-link
<br>
<span
class=
" glyphicon glyphicon-phone "
></span>
glyphicon glyphicon-phone
<br>
<span
class=
" glyphicon glyphicon-pushpin "
></span>
glyphicon glyphicon-pushpin
<br>
<span
class=
" glyphicon glyphicon-usd "
></span>
glyphicon glyphicon-usd
<br>
<span
class=
" glyphicon glyphicon-gbp "
></span>
glyphicon glyphicon-gbp
<br>
<span
class=
" glyphicon glyphicon-sort "
></span>
glyphicon glyphicon-sort
<br>
<span
class=
" glyphicon glyphicon-sort-by-alphabet "
></span>
glyphicon glyphicon-sort-by-alphabet
<br>
<span
class=
" glyphicon glyphicon-sort-by-alphabet-alt "
></span>
glyphicon glyphicon-sort-by-alphabet-alt
<br>
<span
class=
" glyphicon glyphicon-sort-by-order "
></span>
glyphicon glyphicon-sort-by-order
<br>
<span
class=
" glyphicon glyphicon-sort-by-order-alt "
></span>
glyphicon glyphicon-sort-by-order-alt
<br>
<span
class=
" glyphicon glyphicon-sort-by-attributes "
></span>
glyphicon glyphicon-sort-by-attributes
<br>
<span
class=
" glyphicon glyphicon-sort-by-attributes-alt "
></span>
glyphicon glyphicon-sort-by-attributes-alt
<br>
<span
class=
" glyphicon glyphicon-unchecked "
></span>
glyphicon glyphicon-unchecked
<br>
<span
class=
" glyphicon glyphicon-expand "
></span>
glyphicon glyphicon-expand
<br>
<span
class=
" glyphicon glyphicon-collapse-down "
></span>
glyphicon glyphicon-collapse-down
<br>
<span
class=
" glyphicon glyphicon-collapse-up "
></span>
glyphicon glyphicon-collapse-up
<br>
<span
class=
" glyphicon glyphicon-log-in "
></span>
glyphicon glyphicon-log-in
<br>
<span
class=
" glyphicon glyphicon-flash "
></span>
glyphicon glyphicon-flash
<br>
<span
class=
" glyphicon glyphicon-log-out "
></span>
glyphicon glyphicon-log-out
<br>
<span
class=
" glyphicon glyphicon-new-window "
></span>
glyphicon glyphicon-new-window
<br>
<span
class=
" glyphicon glyphicon-record "
></span>
glyphicon glyphicon-record
<br>
<span
class=
" glyphicon glyphicon-save "
></span>
glyphicon glyphicon-save
<br>
<span
class=
" glyphicon glyphicon-open "
></span>
glyphicon glyphicon-open
<br>
<span
class=
" glyphicon glyphicon-saved "
></span>
glyphicon glyphicon-saved
<br>
<span
class=
" glyphicon glyphicon-import "
></span>
glyphicon glyphicon-import
<br>
<span
class=
" glyphicon glyphicon-export "
></span>
glyphicon glyphicon-export
<br>
<span
class=
" glyphicon glyphicon-send "
></span>
glyphicon glyphicon-send
<br>
<span
class=
" glyphicon glyphicon-floppy-disk "
></span>
glyphicon glyphicon-floppy-disk
<br>
<span
class=
" glyphicon glyphicon-floppy-saved "
></span>
glyphicon glyphicon-floppy-saved
<br>
<span
class=
" glyphicon glyphicon-floppy-remove "
></span>
glyphicon glyphicon-floppy-remove
<br>
<span
class=
" glyphicon glyphicon-floppy-save "
></span>
glyphicon glyphicon-floppy-save
<br>
<span
class=
" glyphicon glyphicon-floppy-open "
></span>
glyphicon glyphicon-floppy-open
<br>
<span
class=
" glyphicon glyphicon-credit-card "
></span>
glyphicon glyphicon-credit-card
<br>
<span
class=
" glyphicon glyphicon-transfer "
></span>
glyphicon glyphicon-transfer
<br>
<span
class=
" glyphicon glyphicon-cutlery "
></span>
glyphicon glyphicon-cutlery
<br>
<span
class=
" glyphicon glyphicon-header "
></span>
glyphicon glyphicon-header
<br>
<span
class=
" glyphicon glyphicon-compressed "
></span>
glyphicon glyphicon-compressed
<br>
<span
class=
" glyphicon glyphicon-earphone "
></span>
glyphicon glyphicon-earphone
<br>
<span
class=
" glyphicon glyphicon-phone-alt "
></span>
glyphicon glyphicon-phone-alt
<br>
<span
class=
" glyphicon glyphicon-tower "
></span>
glyphicon glyphicon-tower
<br>
<span
class=
" glyphicon glyphicon-stats "
></span>
glyphicon glyphicon-stats
<br>
<span
class=
" glyphicon glyphicon-sd-video "
></span>
glyphicon glyphicon-sd-video
<br>
<span
class=
" glyphicon glyphicon-hd-video "
></span>
glyphicon glyphicon-hd-video
<br>
<span
class=
" glyphicon glyphicon-subtitles "
></span>
glyphicon glyphicon-subtitles
<br>
<span
class=
" glyphicon glyphicon-sound-stereo "
></span>
glyphicon glyphicon-sound-stereo
<br>
<span
class=
" glyphicon glyphicon-sound-dolby "
></span>
glyphicon glyphicon-sound-dolby
<br>
<span
class=
" glyphicon glyphicon-sound-5-1 "
></span>
glyphicon glyphicon-sound-5-1
<br>
<span
class=
" glyphicon glyphicon-sound-6-1 "
></span>
glyphicon glyphicon-sound-6-1
<br>
<span
class=
" glyphicon glyphicon-sound-7-1 "
></span>
glyphicon glyphicon-sound-7-1
<br>
<span
class=
" glyphicon glyphicon-copyright-mark "
></span>
glyphicon glyphicon-copyright-mark
<br>
<span
class=
" glyphicon glyphicon-registration-mark "
></span>
glyphicon glyphicon-registration-mark
<br>
<span
class=
" glyphicon glyphicon-cloud-download "
></span>
glyphicon glyphicon-cloud-download
<br>
<span
class=
" glyphicon glyphicon-cloud-upload "
></span>
glyphicon glyphicon-cloud-upload
<br>
<span
class=
" glyphicon glyphicon-tree-conifer "
></span>
glyphicon glyphicon-tree-conifer
<br>
<span
class=
" glyphicon glyphicon-tree-deciduous "
></span>
glyphicon glyphicon-tree-deciduous
<br>
<!doctype html>
<!-- <head>
<meta charset="utf-8">
<title>mousedown demo</title>
<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
</head>
<body> -->
<p>
Press mouse and release here.
</p>
</div>
<script
src=
"jquery/jquery-1.10.2.js"
type=
"text/javascript"
></script>
<script>
$
(
"p"
)
.
mouseup
(
function
(
e
)
{
console
.
log
(
"mouse up"
)
console
.
log
(
e
)
})
.
mousedown
(
function
(
e
)
{
console
.
log
(
"mouse down"
)
console
.
log
(
e
)
});
</script>
<!--
<script src="jquery/jquery-ui.js" type="text/javascript"></script>
<script src="libs/jquery/jquery.ba-dotimeout.min.js" type="text/javascript"></script>
<script src="libs/jquery/jquery.mousewheel.min.js" type="text/javascript"></script>
<script src="libs/jquery/jquery.tokeninput.js" type="text/javascript"></script>
-->
<script
src=
"libs/bootstrap/js/bootstrap.min.js"
></script>
<!--
<script src="bootswatch/js/bootswatch.js"></script>
<script src="libs/bootstrap/js/bootstrap-modal.js" type="text/javascript"></script>
-->
</body>
...
...
tinawebJS/js/main.js
View file @
278dd127
...
...
@@ -539,32 +539,83 @@ function theListeners(){
// .mousewheel(onGraphScroll);
$
(
"#sigma-example"
)
.
mousemove
(
function
(){
if
(
!
isUndef
(
partialGraph
))
{
if
(
cursor_size
>
0
)
trackMouse
();
}
})
.
contextmenu
(
function
(){
return
false
;
})
.
mousewheel
(
onGraphScroll
);
$
(
document
).
keydown
(
function
(
e
)
{
if
(
e
.
shiftKey
||
e
.
which
==
16
)
{
shift_key
=
true
;
partialGraph
.
draw
();
}
});
.
mousemove
(
function
(){
if
(
!
isUndef
(
partialGraph
))
{
if
(
cursor_size
>
0
)
trackMouse
();
}
})
.
contextmenu
(
function
(){
return
false
;
})
.
mousewheel
(
onGraphScroll
)
.
mousedown
(
function
(
e
){
$
(
document
).
keyup
(
function
(
e
)
{
if
(
e
.
shiftKey
||
e
.
which
==
16
)
{
shift_key
=
false
;
partialGraph
.
draw
();
trackMouse
();
}
});
//left click!
if
(
e
.
which
==
1
){
var
targeted
=
partialGraph
.
_core
.
graph
.
nodes
.
filter
(
function
(
n
)
{
return
!!
n
[
'hover'
];
}).
map
(
function
(
n
)
{
return
n
.
id
;
});
partialGraph
.
dispatch
(
e
[
'type'
]
==
'mousedown'
?
'downgraph'
:
'upgraph'
);
if
(
cursor_size
>
0
)
{
//Multiple selection
x1
=
partialGraph
.
_core
.
mousecaptor
.
mouseX
;
y1
=
partialGraph
.
_core
.
mousecaptor
.
mouseY
;
var
counter
=
0
;
var
actualSel
=
[];
partialGraph
.
iterNodes
(
function
(
n
){
if
(
!
n
.
hidden
){
distance
=
Math
.
sqrt
(
Math
.
pow
((
x1
-
parseInt
(
n
.
displayX
)),
2
)
+
Math
.
pow
((
y1
-
parseInt
(
n
.
displayY
)),
2
)
);
if
(
parseInt
(
distance
)
<=
cursor_size
)
{
counter
++
;
actualSel
.
push
(
n
.
id
);
}
}
});
MultipleSelection
(
actualSel
);
// //The most brilliant way of knowing if an array is empty in the world of JavaScript
i
=
0
;
for
(
var
s
in
actualSel
)
{
i
++
;
break
;}
if
(
is_empty
(
actualSel
)
||
i
==
0
){
pr
(
"cursor radius ON, mouseDown -> selecciones vacias"
);
cancelSelection
(
false
);
LevelButtonDisable
(
true
);
// $("#names").html("");
// $("#opossiteNodes").html("");
// $("#information").html("");
// $("#topPapers").html("");
// $("#tips").html(getTips());
// changeButton("unselectNodes");
// if(counter>0) graphResetColor();
}
}
else
{
//Unique Selection
partialGraph
.
dispatch
(
e
[
'type'
]
==
'mousedown'
?
'downnodes'
:
'upnodes'
,
targeted
);
}
partialGraph
.
draw
();
}
});
$
(
"#zoomSlider"
).
slider
({
orientation
:
"vertical"
,
value
:
partialGraph
.
position
().
ratio
,
...
...
@@ -690,16 +741,19 @@ function theListeners(){
clustersBy
(
"default"
);
});
$
.
doTimeout
(
10
,
function
(){
var
deftoph
=
$
(
"#defaultop"
).
height
();
var
refh
=
$
(
"#fixedtop"
).
height
();
pr
(
"deftoph:"
+
deftoph
+
" vs refh:"
+
refh
)
pr
(
"deftoph:"
+
deftoph
+
" vs refh*2:"
+
refh
*
2
)
pr
(
"if deftoph > refh*2 "
)
pr
(
deftoph
+
">"
+
(
refh
*
2
)
+
" : "
+
(
deftoph
>
(
refh
*
2
))
+
" then reload window"
)
// deftoph.height(64);
// if(deftoph>(refh*2)) window.location.reload();
});
// $.doTimeout(10,function (){
// var deftoph=$("#defaultop").height();
// var refh=$("#fixedtop").height();
// pr("deftoph:"+deftoph+" vs refh:"+refh)
// pr("deftoph:"+deftoph+" vs refh*2:"+refh*2)
// pr("if deftoph > refh*2 ")
// pr(deftoph+">"+(refh*2)+" : "+(deftoph>(refh*2))+" then reload window")
// // deftoph.height(64);
// // if(deftoph>(refh*2)) window.location.reload();
// });
}
tinawebJS/js/sigma.min.js
View file @
278dd127
...
...
@@ -475,99 +475,6 @@ sigma.classes.Cascade = function() {
self
.
p
.
auto
?
2
:
self
.
p
.
drawLabels
,
true
);
}).
bind
(
'mousedown mouseup'
,
function
(
e
)
{
//pr("just click");
var
targeted
=
self
.
graph
.
nodes
.
filter
(
function
(
n
)
{
return
!!
n
[
'hover'
];
}).
map
(
function
(
n
)
{
return
n
.
id
;
});
self
.
dispatch
(
e
[
'type'
]
==
'mousedown'
?
'downgraph'
:
'upgraph'
);
// pr("=====================================")
// pr("inside mousedown mouseup sigma core");
// pr(targeted);
// pr("targ len: "+targeted.length);
// pr(e.type)
// pr("=====================================")
if
(
targeted
.
length
)
{
if
(
cursor_size
>
0
)
{
if
(
!
shift_key
)
{
x1
=
partialGraph
.
_core
.
mousecaptor
.
mouseX
;
y1
=
partialGraph
.
_core
.
mousecaptor
.
mouseY
;
var
counter
=
0
;
var
actualSel
=
[];
partialGraph
.
iterNodes
(
function
(
n
){
if
(
!
n
.
hidden
){
distance
=
Math
.
sqrt
(
Math
.
pow
((
x1
-
parseInt
(
n
.
displayX
)),
2
)
+
Math
.
pow
((
y1
-
parseInt
(
n
.
displayY
)),
2
)
);
if
(
parseInt
(
distance
)
<=
cursor_size
)
{
counter
++
;
actualSel
.
push
(
n
.
id
);
}
}
});
MultipleSelection
(
actualSel
);
partialGraph
.
draw
();
}
else
{
self
.
dispatch
(
e
[
'type'
]
==
'mousedown'
?
'downnodes'
:
'upnodes'
,
targeted
);
MultipleSelection
(
targeted
);
}
}
else
{
self
.
dispatch
(
e
[
'type'
]
==
'mousedown'
?
'downnodes'
:
'upnodes'
,
targeted
);
}
}
else
{
if
(
cursor_size
>
0
&&
e
.
type
==
"mousedown"
&&
!
shift_key
)
{
/**/
//The click WASN'T in a node and the cursor_size is ON
x1
=
partialGraph
.
_core
.
mousecaptor
.
mouseX
;
y1
=
partialGraph
.
_core
.
mousecaptor
.
mouseY
;
var
counter
=
0
;
var
actualSel
=
[];
partialGraph
.
iterNodes
(
function
(
n
){
if
(
!
n
.
hidden
){
distance
=
Math
.
sqrt
(
Math
.
pow
((
x1
-
parseInt
(
n
.
displayX
)),
2
)
+
Math
.
pow
((
y1
-
parseInt
(
n
.
displayY
)),
2
)
);
if
(
parseInt
(
distance
)
<=
cursor_size
)
{
counter
++
;
actualSel
.
push
(
n
.
id
);
}
}
});
MultipleSelection
(
actualSel
);
// //The most brilliant way of knowing if an array is empty in the world of JavaScript
i
=
0
;
for
(
var
s
in
actualSel
)
{
i
++
;
break
;}
if
(
is_empty
(
actualSel
)
||
i
==
0
){
pr
(
"cursor radius ON, mouseDown -> selecciones vacias"
);
cancelSelection
(
false
);
LevelButtonDisable
(
true
);
// $("#names").html("");
// $("#opossiteNodes").html("");
// $("#information").html("");
// $("#topPapers").html("");
// $("#tips").html(getTips());
// changeButton("unselectNodes");
// if(counter>0) graphResetColor();
}
partialGraph
.
draw
();
}
}
}).
bind
(
'move'
,
function
()
{
//Detects any movement of the cursor
//pr("move");
...
...
@@ -581,9 +488,9 @@ sigma.classes.Cascade = function() {
drawHover
();
drawActive
();
// if(cursor_size>0){
// pr("moving with mouse-circle ON");
// }
// if(cursor_size>0){
// pr("moving with mouse-circle ON");
// }
});
sigma
.
chronos
.
bind
(
'startgenerators'
,
function
()
{
...
...
tinawebJS/js/sigmaUtils.js
View file @
278dd127
...
...
@@ -214,13 +214,6 @@ function calculateFull(hex) {
var
r
=
parseInt
(
hex
.
substring
(
0
,
2
),
16
);
var
g
=
parseInt
(
hex
.
substring
(
2
,
4
),
16
);
var
b
=
parseInt
(
hex
.
substring
(
4
,
6
),
16
);
// set results
// pr( "r:"+r)
// pr( "g:"+g)
// pr( "b:"+b)
// pr("")
return
[
r
,
g
,
b
];
}
...
...
@@ -229,12 +222,5 @@ function calculatePartial(hex) {
var
r
=
parseInt
(
hex
.
substring
(
0
,
1
)
+
hex
.
substring
(
0
,
1
),
16
);
var
g
=
parseInt
(
hex
.
substring
(
1
,
2
)
+
hex
.
substring
(
1
,
2
),
16
);
var
b
=
parseInt
(
hex
.
substring
(
2
,
3
)
+
hex
.
substring
(
2
,
3
),
16
);
// set results
// pr( "r:"+r)
// pr( "g:"+g)
// pr( "b:"+b)
// pr("")
return
[
r
,
g
,
b
];
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment