| | |
| | | <apex:page standardController="Survey__c" extensions="GSurveysController" > |
| | | <apex:page standardController="Survey__c" extensions="GSurveysController" lightningStylesheets="true"> |
| | | |
| | | <apex:stylesheet value="{!$Page.labs_survey_css}" /> |
| | | <apex:includeScript value="{!URLFOR($Resource.SurveyForce, 'jquery.js')}"/> |
| | | <script src="/soap/ajax/18.0/connection.js" type="text/javascript"></script> |
| | | <script src="/soap/ajax/18.0/apex.js" type="text/javascript"></script> |
| | | <apex:includeScript value="{!URLFOR($Resource.connection20)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.apex20)}"/> |
| | | <script>sforce.connection.sessionId = '{!$Api.Session_ID}'; </script> |
| | | <script type="text/javascript"> |
| | | function confirmDelete(deleteId){ |
| | |
| | | <apex:repeat value="{!allSurveys}" var="sur" id="allSurveysRepeat"> |
| | | <div class="survey_preview"> |
| | | <h2><apex:outputLink value="/apex/SurveyManagerPage?id={!URLENCODE(sur.sId)}" >{!sur.sName}</apex:outputLink></h2> |
| | | <div class="footer"> |
| | | <apex:form > |
| | | <apex:commandLink value="{!$Label.LABS_SF_Delete}" action="{!doSurveyReset}" reRender="surveyList" onclick="confirmDelete('{!sur.sId}')"> |
| | | <apex:param assignTo="{!surveyDelete}" value="{!sur.sId}" name="d"/> |
| | | </apex:commandLink> |
| | | </apex:form> |
| | | <apex:outputLink value="/apex/SurveyManagerPage?id={!URLENCODE(sur.sId)}" >{!$Label.LABS_SF_Edit}</apex:outputLink> |
| | | </div> |
| | | <div class="footer"> |
| | | <apex:form > |
| | | <apex:commandLink value="{!$Label.LABS_SF_Delete}" action="{!doSurveyReset}" reRender="surveyList" onclick="confirmDelete('{!sur.sId}')"> |
| | | <apex:param assignTo="{!surveyDelete}" value="{!sur.sId}" name="d"/> |
| | | </apex:commandLink> |
| | | </apex:form> |
| | | <apex:outputLink value="/apex/SurveyManagerPage?id={!URLENCODE(sur.sId)}" >{!$Label.LABS_SF_Edit}</apex:outputLink> |
| | | </div> |
| | | </div> |
| | | </apex:repeat> |
| | | <br style="clear: both;" /> |