Fix styles

This commit is contained in:
James Brooks
2015-04-18 16:39:01 +01:00
parent 9c221b7b2a
commit fa12463ac2
29 changed files with 41 additions and 26 deletions

File diff suppressed because one or more lines are too long

21
public/build/dist/css/all-9e808a49.css vendored Normal file

File diff suppressed because one or more lines are too long

14
public/build/dist/js/all-1ee9c181.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
$(function(){function e(e,t){$(".block-"+e).removeClass("show").addClass("hidden"),$(".block-"+t).removeClass("hidden").addClass("show"),$(".steps .step").removeClass("active").filter(":lt("+t+")").addClass("active")}$.ajaxPrefilter(function(e,t,n){var o;return!e.crossDomain&&(o=$('meta[name="token"]').attr("content"))?n.setRequestHeader("X-CSRF-Token",o):void 0}),$.ajaxSetup({statusCode:{401:function(){window.location.href="/"},403:function(){window.location.href="/"}}}),autosize($("textarea.autosize")),$("form").submit(function(){var e=$(this);e.find(":submit").prop("disabled",!0)}),$("[data-method]").not(".disabled").append(function(){var e="\n";return e+="<form action='"+$(this).attr("href")+"' method='POST' style='display:none'>\n",e+=" <input type='hidden' name='_method' value='"+$(this).attr("data-method")+"'>\n",$(this).attr("data-token")&&(e+="<input type='hidden' name='_token' value='"+$(this).attr("data-token")+"'>\n"),e+="</form>\n"}).removeAttr("href").attr("onclick",' if ($(this).hasClass(\'confirm-action\')) { if(confirm("Are you sure you want to do this?")) { $(this).find("form").submit(); } } else { $(this).find("form").submit(); }'),Messenger.options={extraClasses:"messenger-fixed messenger-on-top",theme:"air"},window.CachetHQ={},moment.locale(Global.locale),$("abbr.timeago").each(function(){var e=$(this);e.livestamp(e.data("timeago")).tooltip()}),window.CachetHQ.Notifier=function(){this.notify=function(e,t,n){t="undefined"==typeof t||"error"===t?"error":t;var o={message:e,type:t,showCloseButton:!0};n=_.extend(o,n),Messenger().post(n)}},$(".sidebar-toggler").click(function(e){e.preventDefault(),$(".wrapper").toggleClass("toggled")}),$(".color-code").minicolors({control:"hue",defaultValue:$(this).val()||"",inline:!1,letterCase:"lowercase",opacity:!1,position:"bottom left",theme:"bootstrap"}),$('[data-toggle="tooltip"]').tooltip(),$("button.close").on("click",function(){$(this).parents("div.alert").addClass("hide")}),$("form[name=IncidentForm] select[name=incident\\[component_id\\]]").on("change",function(){var e=$(this).find("option:selected"),t=$("#component-status");""!==e.val()&&(t.hasClass("hidden")?t.removeClass("hidden"):t.addClass("hidden"))}),$("input[rel=datepicker]").datetimepicker({format:"DD/MM/YYYY HH:mm",minDate:new Date,sideBySide:!0,icons:{time:"ion-clock",date:"ion-android-calendar",up:"ion-ios-arrow-up",down:"ion-ios-arrow-down",previous:"ion-ios-arrow-left",next:"ion-ios-arrow-right",today:"ion-android-home",clear:"ion-trash-a"}});var t=document.getElementById("component-list");t&&new Sortable(t,{group:"omega",handle:".drag-handle",onUpdate:function(){var e=$("#component-list .striped-list-item");$.each(e,function(e){$(this).find("input[rel=order]").val(e+1)}),$.ajax({async:!0,url:"/dashboard/api/components/order",type:"POST",data:$("form[name=componentList]").serializeObject(),success:function(){(new CachetHQ.Notifier).notify("Components updated.","success")}})}}),$("form.component-inline").on("click","input[type=radio]",function(){var e=$(this).parents("form"),t=e.serializeObject();$.ajax({async:!0,url:"/dashboard/api/components/"+t.component_id,type:"POST",data:t,success:function(){(new CachetHQ.Notifier).notify(e.data("messenger"),"success")},error:function(){(new CachetHQ.Notifier).notify("Something went wrong updating the component.")}})}),$("select[name=template]").on("change",function(){var e=$(this).find("option:selected"),t=e.val();t&&$.ajax({async:!0,dataType:"json",data:{slug:t},url:"/dashboard/api/incidents/templates",success:function(e){var t=$("form[role=form]");t.find("input[name=incident\\[name\\]]").val(e.name),t.find("textarea[name=incident\\[message\\]]").val(e.template)},error:function(){(new CachetHQ.Notifier).notify("There was an error finding that template.")}})}),$("#remove-banner").click(function(){$("#banner-view").remove(),$("input[name=remove_banner]").val("1")}),$(".wizard-next").on("click",function(){var t=$("#setup-form"),n=$(this),o=n.data("currentBlock"),a=n.data("nextBlock");if(n.button("loading"),a>o){var i="/setup/step"+o;return $.post(i,t.serializeObject()).done(function(){e(o,a)}).fail(function(e){var t=_.toArray(e.responseJSON.errors);_.each(t,function(e){(new CachetHQ.Notifier).notify(e)})}).always(function(){n.button("reset")}),!1}e(o,a),n.button("reset")})});

View File

@@ -1,4 +1,4 @@
{
"dist/css/all.css": "dist/css/all-4c88e1cf.css",
"dist/js/all.js": "dist/js/all-592481fd.js"
"dist/css/all.css": "dist/css/all-9e808a49.css",
"dist/js/all.js": "dist/js/all-1ee9c181.js"
}

2
resources/assets/js/app.js Normal file → Executable file
View File

@@ -21,8 +21,6 @@ $(function() {
}
});
autosize($('textarea.autosize'));
// Prevent double form submission
$('form').submit(function() {
var $form = $(this);

0
resources/assets/sass/_errors.scss Normal file → Executable file
View File

0
resources/assets/sass/_helpers.scss Normal file → Executable file
View File

0
resources/assets/sass/_palette.scss Normal file → Executable file
View File

14
resources/assets/sass/_status-page.scss Normal file → Executable file
View File

@@ -1,5 +1,5 @@
body.status-page {
font-family: 'Open Sans', 'Helevetic Neue', Arial, sans-serif;
font-family: $base-font-family;
background-color: #F0F3F4;
color: #333333;
font-size: 1.4em;
@@ -128,7 +128,7 @@ body.status-page {
font-size: 1.2em;
}
p {
margin-top: 8px;
margin: 0;
}
}
}
@@ -139,8 +139,7 @@ body.status-page {
position: relative;
&.first {
&:before {
min-height: 110%;
max-height: 130%;
height: 130%;
top: -20px;
}
&:after {
@@ -160,14 +159,9 @@ body.status-page {
left: 26px;
top: 5px;
width: 2px;
height: 130%;
height: 100%;
background: #7266BA;
}
&:last-child {
&:before {
height: 100%;
}
}
.status-icon {
background: #fff;
width: 35px;

0
resources/assets/sass/main.scss Normal file → Executable file
View File

0
resources/assets/sass/modules/_bootstrap.scss Normal file → Executable file
View File

0
resources/assets/sass/modules/_forms.scss Normal file → Executable file
View File

0
resources/assets/sass/modules/_tabs.scss Normal file → Executable file
View File

0
resources/assets/sass/modules/_variables.scss Normal file → Executable file
View File

0
resources/assets/sass/modules/_well.scss Normal file → Executable file
View File

0
resources/assets/sass/pages/_dashboard.scss Normal file → Executable file
View File

0
resources/assets/sass/pages/_login.scss Normal file → Executable file
View File

0
resources/assets/sass/pages/_setup.scss Normal file → Executable file
View File

0
resources/assets/sass/partials/_base.scss Normal file → Executable file
View File

0
resources/assets/sass/partials/_content.scss Normal file → Executable file
View File

0
resources/assets/sass/partials/_modals.scss Normal file → Executable file
View File

0
resources/assets/sass/partials/_navbar.scss Normal file → Executable file
View File

0
resources/assets/sass/partials/_sidebar.scss Normal file → Executable file
View File

0
resources/assets/sass/partials/_variables.scss Normal file → Executable file
View File

0
resources/assets/sass/partials/_wrapper.scss Normal file → Executable file
View File

0
resources/assets/sass/plugins/_animate.scss Normal file → Executable file
View File

0
resources/assets/sass/plugins/_messenger.scss Normal file → Executable file
View File

View File