added flask framework, tambah karyawan page, scan absensi,and tambah karyawan open cv

This commit is contained in:
Naufalakram committed 2023-11-07 04:17:14 +08:00
1 parent 7a6ce35ef2
commit 23aec5c980
3186 files changed
+665236 -44

No files matched your search

Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
+1571
View File
File diff suppressed because it is too large. Load diff
+80
View File
@@ -0,0 +1,80 @@
.tour-highlight{
background: transparent;
-moz-box-shadow: 0px 0px 7px 0px rgba(0, 241, 255, 0.701961);
-webkit-box-shadow: 0px 0px 7px 0px rgba(0, 241, 255, 0.701961);
-o-box-shadow: 0px 0px 7px 0px rgba(0, 241, 255, 0.701961);
box-shadow: 0px 0px 7px 0px rgba(0, 241, 255, 0.701961);
border-radius: 2px;
}
/* bootstrap styles */
.tourist-popover{
padding: 0;
}
.tourist-popover .popover-content{
padding: 10px 0 0 0;
min-width: 200px;
}
.tourist-popover .popover-content h4{
margin: 10px 8px;
}
.tourist-popover .popover-content p{
margin: 0 8px 10px 8px;
}
.tourist-popover .popover-content .action-label{
background: rgba(0, 111, 255, 0.168627);
font-size: 14px;
padding: 3px 10px;
}
.tourist-popover .popover-content .tour-counter{
margin: 0; padding: 0;
position: absolute;
left: 10px; bottom: 14px;
font-size: 11px;
color: #acacac;
}
.tourist-popover .tour-buttons{
padding: 8px 10px;
min-height: 28px;
background: #f5f5f5;
border-radius: 0px 0px 6px 6px;
box-sizing: content-box;
}
.tourist-popover .btn-close{
background: none;
border: none;
position: absolute;
top: 4px; right: 7px;
padding: 0;
opacity: .3;
}
.tourist-popover .btn-close:hover{
opacity: .5;
}
/* qtip2 styles */
.qtip-tour, .qtip-tour .qtip-content{
padding: 0;
}
.qtip-tour .qtip-content{
padding-top: 10px;
}
.qtip-tour .qtip-content p{
margin: 0 8px 10px 8px;
}
.qtip-tour .qtip-content .action-label{
background: rgba(0, 111, 255, 0.168627);
font-size: 14px;
padding: 3px 10px;
}
.qtip-tour .qtip-content .tour-counter{
font-size: 11px;
color: #acacac;
}
.qtip-tour .tour-buttons{
padding: 8px 10px;
min-height: 28px;
background: #f5f5f5;
border-radius: 0px 0px 6px 6px;
box-sizing: content-box;
}
+1030
View File
File diff suppressed because it is too large. Load diff
+2
View File
@@ -0,0 +1,2 @@
/*! Tourist.js - http://easelinc.github.io/tourist, built 03-13-2015 */
(function(){var a,b,c,d,e={}.hasOwnProperty,f=function(a,b){function c(){this.constructor=a}for(var d in b)e.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},g=function(a,b){return function(){return a.apply(b,arguments)}};window.Tourist=window.Tourist||{},Tourist.Model=function(b){function c(){return a=c.__super__.constructor.apply(this,arguments)}return f(c,b),c.prototype._module="Tourist",c}(Backbone.Model),window.Tourist.Tip=window.Tourist.Tip||{},Tourist.Tip.Base=function(){function a(a){this.options=null!=a?a:{},this.onClickNext=g(this.onClickNext,this),this.onClickClose=g(this.onClickClose,this),this.el=$("<div/>"),this.initialize(a),this._bindClickEvents(),Tourist.Tip.Base._cacheTip(this)}return a.prototype._module="Tourist",_.extend(a.prototype,Backbone.Events),a.prototype.skipButtonTemplate='<button class="btn btn-default btn-sm pull-right tour-next">Skip this step →</button>',a.prototype.nextButtonTemplate='<button class="btn btn-primary btn-sm pull-right tour-next">Next step →</button>',a.prototype.finalButtonTemplate='<button class="btn btn-primary btn-sm pull-right tour-next">Finish up</button>',a.prototype.closeButtonTemplate='<a class="btn btn-close tour-close" href="#"><i class="icon icon-remove"></i></a>',a.prototype.okButtonTemplate='<button class="btn btn-sm tour-close btn-primary">Okay</button>',a.prototype.actionLabelTemplate=_.template('<h4 class="action-label"><%= label %></h4>'),a.prototype.actionLabels=["Do this:","Then this:","Next this:"],a.prototype.highlightClass="tour-highlight",a.prototype.template=_.template('<div>\n <div class="tour-container">\n <%= close_button %>\n <%= content %>\n <p class="tour-counter <%= counter_class %>"><%= counter%></p>\n </div>\n <div class="tour-buttons">\n <%= buttons %>\n </div>\n</div>'),a.prototype.destroy=function(){return this.el.remove()},a.prototype.render=function(a){return this.hide(),a&&(this._setTarget(a.target||!1,a),this._setZIndex(""),this._renderContent(a,this._buildContentElement(a)),a.target&&this.show(),a.zIndex&&this._setZIndex(a.zIndex,a)),this},a.prototype.show=function(){},a.prototype.hide=function(){},a.prototype.setTarget=function(a,b){return this._setTarget(a,b)},a.prototype.cleanupCurrentTarget=function(){return this.target&&this.target.removeClass&&this.target.removeClass(this.highlightClass),this.target=null},a.prototype.onClickClose=function(a){return this.trigger("click:close",this,a),!1},a.prototype.onClickNext=function(a){return this.trigger("click:next",this,a),!1},a.prototype._getTipElement=function(){},a.prototype._renderContent=function(){},a.prototype._bindClickEvents=function(){var a;return a=this._getTipElement(),a.delegate(".tour-close","click",this.onClickClose),a.delegate(".tour-next","click",this.onClickNext)},a.prototype._setTarget=function(a,b){return this.cleanupCurrentTarget(),a&&b&&b.highlightTarget&&a.addClass(this.highlightClass),this.target=a},a.prototype._setZIndex=function(a){var b;return b=this._getTipElement(),b.css("z-index",a||"")},a.prototype._buildContentElement=function(a){var b,c;return b=this._buildButtons(a),c=$($.parseHTML(this.template({content:a.content,buttons:b,close_button:this._buildCloseButton(a),counter:a.final?"":"step "+(a.index+1)+" of "+a.total,counter_class:a.final?"final":""}))),b||c.find(".tour-buttons").addClass("no-buttons"),this._renderActionLabels(c),c},a.prototype._buildButtons=function(a){var b;return b="",a.okButton&&(b+=this.okButtonTemplate),a.skipButton&&(b+=this.skipButtonTemplate),a.nextButton&&(b+=a.final?this.finalButtonTemplate:this.nextButtonTemplate),b},a.prototype._buildCloseButton=function(a){return a.closeButton?this.closeButtonTemplate:""},a.prototype._renderActionLabels=function(a){var b,c,d,e,f,g,h;for(d=a.find(".action"),c=0,h=[],f=0,g=d.length;g>f;f++)b=d[f],e=$($.parseHTML(this.actionLabelTemplate({label:this.actionLabels[c]}))),e.insertBefore(b),h.push(c++);return h},a._cacheTip=function(a){return Tourist.Tip.Base._cachedTips||(Tourist.Tip.Base._cachedTips=[]),Tourist.Tip.Base._cachedTips.push(a)},a.destroy=function(){var a,b,c,d;if(Tourist.Tip.Base._cachedTips){for(d=Tourist.Tip.Base._cachedTips,b=0,c=d.length;c>b;b++)a=d[b],a.destroy();return Tourist.Tip.Base._cachedTips=null}},a}(),Tourist.Tip.Bootstrap=function(a){function c(){return b=c.__super__.constructor.apply(this,arguments)}return f(c,a),c.prototype.initialize=function(a){var b;return b={showEffect:null,hideEffect:null},this.options=_.extend(b,a),this.tip=new Tourist.Tip.BootstrapTip(this.options)},c.prototype.destroy=function(){return this.tip.destroy(),c.__super__.destroy.call(this)},c.prototype.show=function(){var a;return this.options.showEffect?(a=Tourist.Tip.Bootstrap.effects[this.options.showEffect],a.call(this,this.tip,this.tip.el)):this.tip.show()},c.prototype.hide=function(){var a;return this.options.hideEffect?(a=Tourist.Tip.Bootstrap.effects[this.options.hideEffect],a.call(this,this.tip,this.tip.el)Line truncated
File diff suppressed because it is too large. Load diff