Made the treema visible to be build, but disabled and hidden the buttons

This commit is contained in:
Maikel Langezaal 2016-03-11 21:01:06 +01:00
parent acba838db4
commit e07d2561bd

View file

@ -30,5 +30,28 @@ block content
hr
else
.alert.alert-danger
span Admin only. Turn around.
ol.breadcrumb
li
a(href="/editor", data-i18n="editor.main_title") CodeCombat Editors
li
a(href="/editor/achievement", data-i18n="editor.achievement_title") Achievement Editor
li.active
| #{view.achievement.attributes.name}
button.achievement-tool-button(data-i18n="", disabled=true, style="display:none;").btn.btn-primary#recalculate-all-button Recalculate All
button.achievement-tool-button(data-i18n="", disabled=true, style="display:none;").btn.btn-primary#recalculate-button Recalculate
button.achievement-tool-button(data-i18n="common.delete", disabled=true, style="display:none;").btn.btn-primary#delete-button Delete
button.achievement-tool-button(data-i18n="common.save", disabled=true, style="display:none;").btn.btn-primary#save-button Save
h3(data-i18n="achievement.edit_achievement_title") Edit Achievement
span
|: "#{view.achievement.attributes.name}"
#achievement-treema
#achievement-view.clearfix
h3(data-i18n="resources.patches") Patches
.patches-view
hr