- Add separate template files to several addons - Remove superfluous addon settings CSS filespull/1210/head
parent
f0522a998b
commit
779b38ec09
@ -1,24 +1,2 @@
|
||||
<span id="settings_birdavatar_inflated" class="settings-block fakelink"
|
||||
style="{{if $postpost}}display: none;{{else}}display: block;{{/if}}"
|
||||
onclick="openClose('settings_birdavatar_expanded'); openClose('settings_birdavatar_inflated');">
|
||||
<h3>{{$header}}</h3>
|
||||
</span>
|
||||
<div id="settings_birdavatar_expanded" class="settings-block"
|
||||
style="{{if $postpost}}display: block;{{else}}display: none;{{/if}}">
|
||||
<span class="fakelink" onclick="openClose('settings_birdavatar_expanded'); openClose('settings_birdavatar_inflated');">
|
||||
<h3>{{$header}}</h3>
|
||||
</span>
|
||||
<img src="{{$basepath}}/birdavatar/{{$uid}}?{{$uncache}}">
|
||||
<p>{{$setrandomize}}</p>
|
||||
<div class="settings-submit-wrapper" >
|
||||
<button type="submit" name="birdavatar-usebird"
|
||||
class="btn btn-primary settings-submit" value="{{$usebird}}">{{$usebird}}</button>
|
||||
|
||||
<div class="btn-group" role="group" aria-label="...">
|
||||
<button type="submit" name="birdavatar-morebird"
|
||||
class="btn btn-default settings-submit" value="{{$morebird}}">{{$morebird}}</button>
|
||||
<button type="submit" name="birdavatar-emailbird" {{if !$seed}}disabled{{/if}}
|
||||
class="btn btn-default settings-submit" value="{{$emailbird}}">{{$emailbird}}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>{{$setrandomize}}</p>
|
||||
<p><img src="{{$basepath}}/birdavatar/{{$uid}}?{{$uncache}}"></p>
|
||||
|
@ -1,18 +0,0 @@
|
||||
|
||||
#blockem-label {
|
||||
float: left;
|
||||
width: 300px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#blockem-words {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
width: 400px;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
#blockem-submit {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
{{include file="field_textarea.tpl" field=$words}}
|
@ -1,24 +1,2 @@
|
||||
<span id="settings_catavatar_inflated" class="settings-block fakelink"
|
||||
style="{{if $postpost}}display: none;{{else}}display: block;{{/if}}"
|
||||
onclick="openClose('settings_catavatar_expanded'); openClose('settings_catavatar_inflated');">
|
||||
<h3>{{$header}}</h3>
|
||||
</span>
|
||||
<div id="settings_catavatar_expanded" class="settings-block"
|
||||
style="{{if $postpost}}display: block;{{else}}display: none;{{/if}}">
|
||||
<span class="fakelink" onclick="openClose('settings_catavatar_expanded'); openClose('settings_catavatar_inflated');">
|
||||
<h3>{{$header}}</h3>
|
||||
</span>
|
||||
<img src="{{$basepath}}/catavatar/{{$uid}}?{{$uncache}}">
|
||||
<p>{{$setrandomize}}</p>
|
||||
<div class="settings-submit-wrapper" >
|
||||
<button type="submit" name="catavatar-usecat"
|
||||
class="btn btn-primary settings-submit" value="{{$usecat}}">{{$usecat}}</button>
|
||||
|
||||
<div class="btn-group" role="group" aria-label="...">
|
||||
<button type="submit" name="catavatar-morecat"
|
||||
class="btn btn-default settings-submit" value="{{$morecat}}">{{$morecat}}</button>
|
||||
<button type="submit" name="catavatar-emailcat" {{if !$seed}}disabled{{/if}}
|
||||
class="btn btn-default settings-submit" value="{{$emailcat}}">{{$emailcat}}</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p>{{$setrandomize}}</p>
|
||||
<p><img src="{{$basepath}}/catavatar/{{$uid}}?{{$uncache}}"></p>
|
||||
|
@ -1,15 +1,6 @@
|
||||
<span id="settings_curweather_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_curweather_expanded'); openClose('settings_curweather_inflated');">
|
||||
<h3>{{$header}}</h3>
|
||||
</span>
|
||||
<div id="settings_curweather_expanded" class="settings-block" style="display: none;">
|
||||
<span class="fakelink" onclick="openClose('settings_curweather_expanded'); openClose('settings_curweather_inflated');">
|
||||
<h3>{{$header}}</h3>
|
||||
</span>
|
||||
<div style="color: red; font-weight: bold;">{{$noappidtext}}</div>
|
||||
{{include file="field_input.tpl" field=$curweather_loc}}
|
||||
{{include file="field_select.tpl" field=$curweather_units}}
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" id="curweather-settings-submit" name="curweather-settings-submit" class="settings-submit" value="{{$submit}}" />
|
||||
</div>
|
||||
</div>
|
||||
{{if $noappidtext}}
|
||||
<p style="color: red; font-weight: bold;">{{$noappidtext}}</p>
|
||||
{{/if}}
|
||||
{{include file="field_input.tpl" field=$curweather_loc}}
|
||||
{{include file="field_select.tpl" field=$curweather_units}}
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
|
@ -1,14 +0,0 @@
|
||||
|
||||
|
||||
|
||||
#fromapp-label, #fromapp-force-label {
|
||||
float: left;
|
||||
width: 200px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#fromapp-input, #fromapp-force {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,2 @@
|
||||
{{include file="field_input.tpl" field=$fromapp}}
|
||||
{{include file="field_checkbox.tpl" field=$force}}
|
@ -1,14 +0,0 @@
|
||||
|
||||
|
||||
|
||||
#geonames-enable-label {
|
||||
float: left;
|
||||
width: 200px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#geonames-checkbox {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
@ -1,14 +1,2 @@
|
||||
<span id="settings_geonames_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_geonames_expanded'); openClose('settings_geonames_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="settings_geonames_expanded" class="settings-block" style="display: none;">
|
||||
<span class="fakelink" onclick="openClose('settings_geonames_expanded'); openClose('settings_geonames_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<p>{{$description nofilter}}</p>
|
||||
{{include file="field_checkbox.tpl" field=$enable}}
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" id="geonames-submit" name="geonames-submit" class="settings-submit" value="{{$submit}}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<p>{{$info}}</p>
|
||||
{{include file="field_checkbox.tpl" field=$enable}}
|
||||
|
@ -1,16 +0,0 @@
|
||||
|
||||
#gnot-desc {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#gnot-label {
|
||||
float: left;
|
||||
width: 200px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#gnot {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
@ -1,20 +1,2 @@
|
||||
<span id="settings_gnot_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_gnot_expanded\'); openClose(\'settings_gnot_inflated\');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="settings_gnot_expanded" class="settings-block" style="display: none;">
|
||||
<span class="fakelink" onclick="openClose(\'settings_gnot_expanded\'); openClose(\'settings_gnot_inflated\');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="gnot-wrapper">
|
||||
<div id="gnot-desc">{{$text}}</div>
|
||||
<label id="gnot-label" for="gnot">{{$enable}}</label>
|
||||
<input id="gnot-input" type="checkbox" name="gnot" value="1" {{$enabled}} />
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
/* provide a submit button */
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="gnot-submit" class="settings-submit" value="{{$submit}}" />
|
||||
</div>
|
||||
</div>
|
||||
<p>{{$text}}</p>
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
|
@ -1,14 +0,0 @@
|
||||
|
||||
|
||||
|
||||
#group_text-enable-label {
|
||||
float: left;
|
||||
width: 200px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#group_text-checkbox {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
@ -1,15 +1,3 @@
|
||||
<span id="settings_irc_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_irc_expanded'); openClose('settings_irc_inflated');">
|
||||
<h3>{{$header}}</h3>
|
||||
</span>
|
||||
<div id="settings_irc_expanded" class="settings-block" style="display: none;">
|
||||
<span class="fakelink" onclick="openClose('settings_irc_expanded'); openClose('settings_irc_inflated');">
|
||||
<h3>{{$header}}</h3>
|
||||
</span>
|
||||
<p>{{$info}}</p>
|
||||
{{include file="field_input.tpl" field=$autochans}}
|
||||
{{include file="field_input.tpl" field=$sitechats}}
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" id="irc-submit" name="irc-submit" class="settings-submit" value="{{$submit}}" />
|
||||
</div>
|
||||
</div>
|
||||
<p>{{$info}}</p>
|
||||
{{include file="field_input.tpl" field=$autochans}}
|
||||
{{include file="field_input.tpl" field=$sitechats}}
|
||||
|
@ -1,14 +0,0 @@
|
||||
|
||||
|
||||
|
||||
#krynn-enable-label {
|
||||
float: left;
|
||||
width: 200px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#krynn-checkbox {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
@ -1,19 +1,5 @@
|
||||
<span id="settings_langfilter_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_langfilter_expanded'); openClose('settings_langfilter_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="settings_langfilter_expanded" class="settings-block" style="display: none;">
|
||||
<span class="fakelink" onclick="openClose('settings_langfilter_expanded'); openClose('settings_langfilter_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
|
||||
<div id="langfilter-wrapper">
|
||||
<p>{{$intro}}</p>
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
{{include file="field_input.tpl" field=$languages}}
|
||||
{{include file="field/range_percent.tpl" field=$minconfidence}}
|
||||
{{include file="field_input.tpl" field=$minlength}}
|
||||
</div>
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" id="langfilter-settings-submit" name="langfilter-settings-submit" class="settings-submit" value="{{$submit}}" />
|
||||
</div>
|
||||
</div>
|
||||
<p>{{$intro}}</p>
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
{{include file="field_input.tpl" field=$languages}}
|
||||
{{include file="field/range_percent.tpl" field=$minconfidence}}
|
||||
{{include file="field_input.tpl" field=$minlength}}
|
||||
|
@ -1,13 +1,4 @@
|
||||
<span id="settings_mailstream_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_mailstream_expanded'); openClose('settings_mailstream_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="settings_mailstream_expanded" class="settings-block" style="display: none;">
|
||||
<span class="fakelink" onclick="openClose('settings_mailstream_expanded'); openClose('settings_mailstream_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
{{include file="field_input.tpl" field=$address}}
|
||||
{{include file="field_checkbox.tpl" field=$nolikes}}
|
||||
{{include file="field_checkbox.tpl" field=$attachimg}}
|
||||
<input type="submit" name="mailstream-submit" value="{{$submit}}">
|
||||
</div>
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
{{include file="field_input.tpl" field=$address}}
|
||||
{{include file="field_checkbox.tpl" field=$nolikes}}
|
||||
{{include file="field_checkbox.tpl" field=$attachimg}}
|
||||
|
@ -1,15 +1 @@
|
||||
<span id="settings_markdown_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_markdown_expanded'); openClose('settings_markdown_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="settings_markdown_expanded" class="settings-block" style="display: none;">
|
||||
<span class="fakelink" onclick="openClose('settings_markdown_expanded'); openClose('settings_markdown_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
|
||||
<div id="markdown-wrapper">
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
</div>
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" id="markdown-submit" name="markdown-submit" class="settings-submit" value="{{$submit}}" />
|
||||
</div>
|
||||
</div>
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
|
@ -1,16 +1,2 @@
|
||||
|
||||
<span id="settings_mathjax_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_mathjax_expanded'); openClose('settings_mathjax_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="settings_mathjax_expanded" class="settings-block" style="display: none;">
|
||||
<span class="fakelink" onclick="openClose('settings_mathjax_expanded'); openClose('settings_mathjax_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<p>{{$description nofilter}}</p>
|
||||
{{include file="field_checkbox.tpl" field=$mathjax_use}}
|
||||
<div class="clear"></div>
|
||||
|
||||
<div class="settings-submit-wrapper">
|
||||
<button type="submit" id="mathjax-submit" name="mathjax-submit" class="settings-submit" value="1">{{$savesettings}}</button>
|
||||
</div>
|
||||
</div>
|
||||
<p>{{$description}}</p>
|
||||
{{include file="field_checkbox.tpl" field=$mathjax_use}}
|
||||
|
@ -0,0 +1 @@
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
@ -1,19 +0,0 @@
|
||||
|
||||
#nsfw-label, #nsfw-enable-label {
|
||||
float: left;
|
||||
width: 300px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#nsfw-words, #nsfw-enable {
|
||||
float: left;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#nsfw-submit {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.nsfw-desc {
|
||||
margin-top: 10px;
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
<p>{{$info}}</p>
|
||||
{{include file="field_checkbox.tpl" field=$enabled}}
|
||||
{{include file="field_textarea.tpl" field=$words}}
|
@ -1,14 +0,0 @@
|
||||
|
||||
|
||||
|
||||
#numfriends-label {
|
||||
float: left;
|
||||
width: 200px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#numfriends {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
{{include file="field_input.tpl" field=$numfriends}}
|
@ -1,12 +0,0 @@
|
||||
<span id="settings_opmlexport_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose('settings_opmlexport_expanded'); openClose('settings_opmlexport_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
<div id="settings_opmlexport_expanded" class="settings-block" style="display: none;">
|
||||
<span class="fakelink" onclick="openClose('settings_opmlexport_expanded'); openClose('settings_opmlexport_inflated');">
|
||||
<h3>{{$title}}</h3>
|
||||
</span>
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" id="opmlexport-submit" name="opmlexport-submit" class="settings-submit" value="{{$submit}}" />
|
||||
</div>
|
||||
</div>
|
@ -1,14 +0,0 @@
|
||||
|
||||
|
||||
|
||||
#planets-enable-label {
|
||||
float: left;
|
||||
width: 200px;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
#planets-checkbox {
|
||||
float: left;
|
||||
}
|
||||
|
||||
|